ADM5120-USB revision 1.21.6.1 1 # $NetBSD: ADM5120-USB,v 1.21.6.1 2019/01/07 13:46:57 martin Exp $
2 #
3 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
4 # DBAu1000 and DBAu1500 evaluation boards.
5
6 include "arch/evbmips/conf/std.adm5120"
7
8 #ident "GENERIC-$Revision: 1.21.6.1 $"
9
10 maxusers 32
11
12 options MIPS32
13 options NOFPU # No FPU
14 options FPEMUL # emulate FPU insn
15 options CONSPEED=115200 # YAMON default
16 options HZ=512 # for profiling
17
18 #options LOCKDEBUG
19 options SOSEND_COUNTERS
20 options INET_CSUM_COUNTERS
21 options TCP_CSUM_COUNTERS
22 options UDP_CSUM_COUNTERS
23 options TCP_OUTPUT_COUNTERS
24
25 #options NTP # network time protocol
26
27 # Debugging options
28 ##options DIAGNOSTIC # extra kernel sanity checking
29 ##options DEBUG # extra kernel debugging support
30 options DDB # kernel dynamic debugger
31 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
32 makeoptions DEBUG="-g" # compile full symbol table
33 makeoptions CPUFLAGS="-march=4kc" # compile full symbol table
34 makeoptions COPY_SYMTAB=1 # size for embedded symbol table
35
36 #options MEMORY_DISK_HOOKS
37 #options MEMORY_DISK_IS_ROOT # Force root on ram-disk
38 #options MEMORY_DISK_ROOT_SIZE=16384 # 2 Megabytes
39
40 # Compatibility options
41 #options COMPAT_43 # compatibility with 4.3BSD binaries
42 #options COMPAT_10 # NetBSD 0.9,
43 #options COMPAT_10 # NetBSD 1.0,
44 #options COMPAT_11 # NetBSD 1.1,
45 #options COMPAT_12 # NetBSD 1.2,
46 #options COMPAT_13 # NetBSD 1.3,
47 #options COMPAT_14 # NetBSD 1.4, and
48 #options COMPAT_16 # NetBSD 1.6 binary compatibility
49 #options EXEC_ECOFF # exec ECOFF binaries
50 #options COMPAT_ULTRIX # binary compatibility with Ultrix
51
52 # File systems
53 file-system FFS # Berkeley Fast Filesystem
54 file-system MFS # memory-based filesystem
55 #file-system EXT2FS # second extended file system (linux)
56 file-system NFS # Sun NFS-compatible filesystem client
57 #file-system KERNFS # kernel data-structure filesystem
58 #file-system NULLFS # NULL layered filesystem
59 #file-system OVERLAY # overlay file system
60 #file-system FDESC # user file descriptor filesystem
61 #file-system UMAPFS # uid/gid remapping filesystem
62 #file-system LFS # Log-based filesystem (still experimental)
63 #file-system PROCFS # /proc
64 #file-system CD9660 # ISO 9660 + Rock Ridge file system
65 #file-system UNION # union file system
66 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
67 #file-system CODA # Coda File System; also needs vcoda (below)
68
69 # File system options
70 #options NFSSERVER # Sun NFS-compatible filesystem server
71 #options QUOTA # legacy UFS quotas
72 #options QUOTA2 # new, in-filesystem UFS quotas
73 #options DISKLABEL_EI # disklabel Endian Independent support
74 #options FFS_EI # FFS Endian Independent support
75 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
76 # immutable) behave as system flags.
77
78 # Alternate buffer queue strategies for better responsiveness under high
79 # disk I/O load.
80 #options BUFQ_READPRIO
81 options BUFQ_PRIOCSCAN
82
83 # Networking options
84 #options GATEWAY # IP packet forwarding
85 options INET # Internet protocols
86 #options INET6 # IPV6
87 #options IPSEC # IP security
88 #options IPSEC_DEBUG # debug for IP security
89 #options MROUTING # packet forwarding of multicast packets
90 #options NETATALK # AppleTalk (over Ethernet) protocol
91 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
92 #options PPP_DEFLATE # Deflate compression support for PPP
93 #options PPP_FILTER # Active filter support for PPP (requires bpf)
94 #options IPFILTER_LOG # ipmon(8) log support
95
96 # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
97 #options TCP_COMPAT_42
98
99 # JIT compiler for bpfilter
100 #options SLJIT
101 #options BPFJIT
102
103 # These options enable verbose messages for several subsystems.
104 # Warning, these may compile large string tables into the kernel!
105 #options MIIVERBOSE # verbose PHY autoconfig messages
106 #options PCIVERBOSE # verbose PCI device autoconfig messages
107 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
108 #options SCSIVERBOSE # human readable SCSI error messages
109 #options USBVERBOSE # verbose USB device autoconfig messages
110
111 options NFS_BOOT_DHCP
112
113 # Pretty much only one device to use for the root file system.
114 #config netbsd root on ? type ?
115 config netbsd-admsw0 root on admsw0 type nfs
116
117 mainbus0 at root
118
119 cpu0 at mainbus?
120
121 # Network pseudo-devices
122 #pseudo-device bpfilter # Berkeley packet filter
123 pseudo-device loop # network loopback
124 #pseudo-device ppp # Point-to-Point Protocol
125 #pseudo-device sl # Serial Line IP
126 #pseudo-device strip # Starmode Radio IP (Metricom)
127 #pseudo-device tun # network tunneling over tty
128 #pseudo-device gre # generic L3 over IP tunnel
129 #pseudo-device ipip # RFC 2003 IP Encapsulation
130 #pseudo-device gif # RFC1933 tunnel
131 #pseudo-device faith # IPv[46] tcp relay translation
132 # Miscellaneous pseudo-devices
133 pseudo-device pty # pseudo-terminals
134 #pseudo-device tb 1 # tablet line discipline
135 #pseudo-device sequencer # MIDI sequencer
136 # rnd works; RND_COM does not on port i386 yet.
137 #options RND_COM # use "com" randomness (BROKEN)
138
139 # A pseudo device needed for Coda # also needs CODA (above)
140 #pseudo-device vcoda # coda minicache <-> venus comm.
141 pseudo-device md # memory disk device (ramdisk)
142 pseudo-device ksyms
143
144 obio* at mainbus?
145 gpio* at mainbus?
146 extio* at mainbus?
147
148 uart* at obio? addr ?
149 admsw* at obio? addr ?
150
151 #USB
152 options USB_DEBUG
153 options UHUB_DEBUG
154 ahci* at obio? addr ?
155 usb* at ahci?
156 uhub* at usb?
157 uhub* at uhub? port ? configuration ? interface ?
158 ugen* at uhub? port ?
159 umass* at uhub? port ?
160 wd* at umass?
161
162 options MSGBUFSIZE=65536
163
164 scsibus* at scsi?
165 sd* at scsibus? target ? lun ? # SCSI disk drives
166
167