GENERIC revision 1.39.2.5 1 1.39.2.5 bouyer # $NetBSD: GENERIC,v 1.39.2.5 2001/04/02 16:28:21 bouyer Exp $
2 1.39.2.2 bouyer # $OpenBSD: GENERIC,v 1.29 1999/08/29 12:14:03 niklas Exp $
3 1.39.2.2 bouyer #
4 1.39.2.2 bouyer # GENERIC -- everything that's currently supported
5 1.39.2.2 bouyer #
6 1.39.2.2 bouyer
7 1.39.2.2 bouyer include "arch/arc/conf/std.arc"
8 1.39.2.2 bouyer
9 1.39.2.5 bouyer #ident "GENERIC-$Revision: 1.39.2.5 $"
10 1.39.2.2 bouyer
11 1.39.2.2 bouyer maxusers 32 # estimated number of users
12 1.39.2.2 bouyer
13 1.39.2.2 bouyer # Standard system options
14 1.39.2.2 bouyer
15 1.39.2.2 bouyer options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
16 1.39.2.2 bouyer options NTP # NTP phase/frequency locked loop
17 1.39.2.2 bouyer
18 1.39.2.2 bouyer options KTRACE # system call tracing via ktrace(1)
19 1.39.2.2 bouyer
20 1.39.2.2 bouyer options SYSVMSG # System V-like message queues
21 1.39.2.2 bouyer options SYSVSEM # System V-like semaphores
22 1.39.2.2 bouyer options SYSVSHM # System V-like memory sharing
23 1.39.2.2 bouyer #options SHMMAXPGS=1024 # 1024 pages is the default
24 1.39.2.2 bouyer
25 1.39.2.2 bouyer options LKM # loadable kernel modules
26 1.39.2.2 bouyer
27 1.39.2.2 bouyer # Diagnostic/debugging support options
28 1.39.2.2 bouyer options DIAGNOSTIC # cheap kernel consistency checks
29 1.39.2.2 bouyer #options DEBUG # expensive debugging checks/support
30 1.39.2.2 bouyer #options KMEMSTATS # kernel memory statistics (vmstat -m)
31 1.39.2.2 bouyer options DDB # in-kernel debugger
32 1.39.2.2 bouyer #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
33 1.39.2.2 bouyer #options KGDB # remote gdb
34 1.39.2.2 bouyer #options KGDBRATE=19200 # kernel gdb port rate (default 9600)
35 1.39.2.2 bouyer #options KGDBDEV="17*256+0" # device for kernel gdb
36 1.39.2.2 bouyer #makeoptions DEBUG="-g" # compile full symbol table
37 1.39.2.2 bouyer
38 1.39.2.2 bouyer # Compatibility options
39 1.39.2.2 bouyer options COMPAT_10 # NetBSD 1.0,
40 1.39.2.2 bouyer options COMPAT_11 # NetBSD 1.1,
41 1.39.2.2 bouyer options COMPAT_12 # NetBSD 1.2,
42 1.39.2.2 bouyer options COMPAT_13 # NetBSD 1.3,
43 1.39.2.2 bouyer options COMPAT_14 # NetBSD 1.4,
44 1.39.2.2 bouyer options COMPAT_43 # and 4.3BSD
45 1.39.2.2 bouyer options COMPAT_386BSD_MBRPART # recognize old partition ID
46 1.39.2.2 bouyer
47 1.39.2.2 bouyer # mipsel specific
48 1.39.2.2 bouyer options COMPAT_ULTRIX # Ultrix binary compatibility
49 1.39.2.2 bouyer options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
50 1.39.2.2 bouyer
51 1.39.2.2 bouyer # File systems
52 1.39.2.2 bouyer file-system FFS # fast filesystem
53 1.39.2.2 bouyer file-system EXT2FS # second extended file system (linux)
54 1.39.2.2 bouyer file-system LFS # log-structured file system
55 1.39.2.2 bouyer file-system MFS # memory file system
56 1.39.2.2 bouyer file-system NTFS # Windows/NT file system (experimental)
57 1.39.2.2 bouyer file-system CD9660 # ISO 9660 + Rock Ridge file system
58 1.39.2.2 bouyer file-system MSDOSFS # MS-DOS file system
59 1.39.2.2 bouyer file-system NFS # Network File System client
60 1.39.2.2 bouyer file-system FDESC # /dev/fd
61 1.39.2.2 bouyer file-system KERNFS # /kern
62 1.39.2.2 bouyer file-system NULLFS # loopback file system
63 1.39.2.2 bouyer file-system OVERLAY # overlay file system
64 1.39.2.2 bouyer file-system PORTAL # portal filesystem (still experimental)
65 1.39.2.2 bouyer file-system PROCFS # /proc
66 1.39.2.2 bouyer file-system UMAPFS # NULLFS + uid and gid remapping
67 1.39.2.2 bouyer file-system UNION # union file system
68 1.39.2.2 bouyer #file-system CODA # Coda File System; also needs vcoda (below)
69 1.39.2.2 bouyer
70 1.39.2.2 bouyer # File system options
71 1.39.2.2 bouyer options QUOTA # FFS quotas
72 1.39.2.2 bouyer #options FFS_EI # FFS Endian Independent support
73 1.39.2.2 bouyer options SOFTDEP # FFS soft updates support.
74 1.39.2.2 bouyer options NFSSERVER # Network File System server
75 1.39.2.2 bouyer #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
76 1.39.2.2 bouyer # immutable) behave as system flags.
77 1.39.2.2 bouyer
78 1.39.2.2 bouyer # Networking options
79 1.39.2.2 bouyer #options GATEWAY # IP packet forwarding
80 1.39.2.2 bouyer options INET # IP + ICMP + TCP + UDP
81 1.39.2.2 bouyer options INET6 # IPV6
82 1.39.2.2 bouyer #options IPSEC # IP security
83 1.39.2.2 bouyer #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
84 1.39.2.2 bouyer #options IPSEC_DEBUG # debug for IP security
85 1.39.2.2 bouyer #options MROUTING # IP multicast routing
86 1.39.2.2 bouyer options NS # XNS
87 1.39.2.2 bouyer #options NSIP # XNS tunneling over IP
88 1.39.2.2 bouyer options ISO,TPIP # OSI networking
89 1.39.2.2 bouyer #options EON # OSI tunneling over IP
90 1.39.2.2 bouyer options CCITT,LLC,HDLC # X.25
91 1.39.2.2 bouyer options NETATALK # AppleTalk networking protocols
92 1.39.2.2 bouyer options PPP_BSDCOMP # BSD-Compress compression support for PPP
93 1.39.2.2 bouyer options PPP_DEFLATE # Deflate compression support for PPP
94 1.39.2.2 bouyer options PPP_FILTER # Active filter support for PPP (requires bpf)
95 1.39.2.2 bouyer options PFIL_HOOKS # pfil(9) packet filter hooks
96 1.39.2.2 bouyer options IPFILTER_LOG # ipmon(8) log support
97 1.39.2.2 bouyer
98 1.39.2.2 bouyer # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
99 1.39.2.2 bouyer #options TCP_COMPAT_42
100 1.39.2.2 bouyer
101 1.39.2.2 bouyer # These options enable verbose messages for several subsystems.
102 1.39.2.2 bouyer # Warning, these may compile large string tables into the kernel!
103 1.39.2.2 bouyer #options EISAVERBOSE # verbose EISA device autoconfig messages
104 1.39.2.2 bouyer options PCIVERBOSE # verbose PCI device autoconfig messages
105 1.39.2.2 bouyer #options PCI_CONFIG_DUMP # verbosely dump PCI config space
106 1.39.2.2 bouyer options SCSIVERBOSE # human readable SCSI error messages
107 1.39.2.2 bouyer
108 1.39.2.2 bouyer # wscons terminal emulation
109 1.39.2.2 bouyer options WSEMUL_VT100 # VT100 emulation
110 1.39.2.2 bouyer
111 1.39.2.2 bouyer # Kernel root file system and dump configuration.
112 1.39.2.2 bouyer options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
113 1.39.2.2 bouyer config netbsd root on ? type ?
114 1.39.2.2 bouyer #config netbsd root on sd0a type ffs
115 1.39.2.2 bouyer #config netbsd root on ? type nfs
116 1.39.2.2 bouyer
117 1.39.2.2 bouyer #
118 1.39.2.2 bouyer # Device configuration
119 1.39.2.2 bouyer #
120 1.39.2.2 bouyer
121 1.39.2.2 bouyer mainbus0 at root
122 1.39.2.2 bouyer cpu* at mainbus0
123 1.39.2.2 bouyer
124 1.39.2.3 bouyer #### Jazz-Internal bus devices
125 1.39.2.2 bouyer
126 1.39.2.3 bouyer jazzio* at mainbus0 # Jazz-Internal bus.
127 1.39.2.3 bouyer aclock0 at jazzio?
128 1.39.2.3 bouyer #pc0 at jazzio?
129 1.39.2.3 bouyer #opms0 at jazzio?
130 1.39.2.3 bouyer vga0 at jazzio? # Jazz localbus VGA
131 1.39.2.3 bouyer pckbc0 at jazzio? # PC keyboard controller
132 1.39.2.3 bouyer com0 at jazzio?
133 1.39.2.3 bouyer com1 at jazzio?
134 1.39.2.3 bouyer lpt0 at jazzio?
135 1.39.2.3 bouyer sn0 at jazzio?
136 1.39.2.2 bouyer
137 1.39.2.3 bouyer fdc0 at jazzio?
138 1.39.2.2 bouyer fd* at fdc? drive ?
139 1.39.2.2 bouyer
140 1.39.2.3 bouyer asc0 at jazzio?
141 1.39.2.2 bouyer scsibus* at asc?
142 1.39.2.2 bouyer
143 1.39.2.3 bouyer #siop0 at jazzio?
144 1.39.2.2 bouyer #scsibus* at siop?
145 1.39.2.2 bouyer
146 1.39.2.2 bouyer #### ISA bus devices
147 1.39.2.2 bouyer
148 1.39.2.2 bouyer isabr* at mainbus0 # ISA Bus bridge (std ISA bus).
149 1.39.2.2 bouyer isa* at isabr?
150 1.39.2.2 bouyer #isadma0 at isa?
151 1.39.2.2 bouyer
152 1.39.2.2 bouyer aclock0 at isa? port 0x70 irq 0
153 1.39.2.2 bouyer
154 1.39.2.2 bouyer pc0 at isa? port 0x60 irq 1 # generic PC console device
155 1.39.2.2 bouyer #vga0 at isa?
156 1.39.2.2 bouyer #pckbc0 at isa? # PC keyboard controller
157 1.39.2.2 bouyer com0 at isa? port 0x3f8 irq 4
158 1.39.2.2 bouyer com1 at isa? port 0x2f8 irq 3
159 1.39.2.2 bouyer com2 at isa? port 0x3e8 irq 4
160 1.39.2.2 bouyer com3 at isa? port 0x2e8 irq 3
161 1.39.2.2 bouyer ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards
162 1.39.2.2 bouyer com* at ast? slave ?
163 1.39.2.2 bouyer
164 1.39.2.2 bouyer # Joystick driver. Probe is a little strange; add only if you have one.
165 1.39.2.2 bouyer #joy0 at isa? port 0x201
166 1.39.2.2 bouyer
167 1.39.2.2 bouyer # ISA ST506, ESDI, and IDE controllers
168 1.39.2.2 bouyer # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
169 1.39.2.2 bouyer # fall back to 16bits I/O if 32bits I/O are not functional).
170 1.39.2.2 bouyer # Some controllers pass the initial 32bit test, but will fail later.
171 1.39.2.2 bouyer # XXX - should be configured
172 1.39.2.2 bouyer #wdc0 at isa? port 0x1f0 irq 14 flags 0x00
173 1.39.2.2 bouyer #wdc1 at isa? port 0x170 irq 15 flags 0x00
174 1.39.2.2 bouyer #wdc* at isapnp?
175 1.39.2.2 bouyer
176 1.39.2.2 bouyer # IDE drives
177 1.39.2.2 bouyer # Flags are used only with controllers that support DMA operations
178 1.39.2.2 bouyer # and mode settings (e.g. some pciide controllers)
179 1.39.2.2 bouyer # The lowest order four bits (rightmost digit) of the flags define the PIO
180 1.39.2.2 bouyer # mode to use, the next set of four bits the DMA mode and the third set the
181 1.39.2.2 bouyer # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
182 1.39.2.2 bouyer # to use, and the last bit must be 1 for this setting to be used.
183 1.39.2.2 bouyer # For DMA and UDMA, 0xf (1111) means 'disable'.
184 1.39.2.2 bouyer # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
185 1.39.2.2 bouyer # (0xc=1100, 0xa=1010, 0xf=1111)
186 1.39.2.2 bouyer # 0x0000 means "use whatever the drive claims to support".
187 1.39.2.2 bouyer # XXX - should be configured
188 1.39.2.2 bouyer #wd* at wdc? channel ? drive ? flags 0x0000
189 1.39.2.2 bouyer
190 1.39.2.2 bouyer # ATAPI bus support
191 1.39.2.2 bouyer # XXX - should be configured
192 1.39.2.2 bouyer #atapibus* at wdc? channel ?
193 1.39.2.2 bouyer
194 1.39.2.2 bouyer # ISA parallel printer interfaces
195 1.39.2.2 bouyer lpt0 at isa? port 0x378 irq 7
196 1.39.2.2 bouyer
197 1.39.2.2 bouyer # ISA network interfaces
198 1.39.2.2 bouyer # XXX - should be configured
199 1.39.2.2 bouyer #ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
200 1.39.2.2 bouyer #ep0 at isa? port ? irq ? # 3C509 ethernet cards
201 1.39.2.2 bouyer #ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
202 1.39.2.2 bouyer #ne1 at isa? port 0x300 irq 10
203 1.39.2.2 bouyer #ne* at isapnp? # NE[12]000 PnP ethernet
204 1.39.2.2 bouyer #we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
205 1.39.2.2 bouyer #we1 at isa? port 0x300 iomem 0xcc000 irq 10
206 1.39.2.2 bouyer #we* at isapnp?
207 1.39.2.2 bouyer
208 1.39.2.2 bouyer # XXX - should be configured
209 1.39.2.2 bouyer #btl0 at isa? port 0x330 irq ? drq ?
210 1.39.2.2 bouyer #scsibus* at btl?
211 1.39.2.2 bouyer
212 1.39.2.2 bouyer #### Algor bus devices
213 1.39.2.2 bouyer
214 1.39.2.2 bouyer #algor* at mainbus0 # Algorithmics local bus.
215 1.39.2.2 bouyer
216 1.39.2.2 bouyer #aclock0 at algor?
217 1.39.2.2 bouyer #com0 at algor?
218 1.39.2.2 bouyer #com1 at algor?
219 1.39.2.2 bouyer #lpt0 at algor?
220 1.39.2.2 bouyer
221 1.39.2.2 bouyer #### PCI bus devices
222 1.39.2.2 bouyer
223 1.39.2.2 bouyer necpb* at mainbus0 # NEC RISCstation PCI host bridge.
224 1.39.2.2 bouyer pci* at necpb?
225 1.39.2.2 bouyer
226 1.39.2.2 bouyer #pbcpcibr* at mainbus0 # Algorithmics PCI bus bridge.
227 1.39.2.2 bouyer #pci* at pbcpcibr?
228 1.39.2.2 bouyer
229 1.39.2.2 bouyer #pcivga* at pci? dev ? function ?
230 1.39.2.2 bouyer #siop* at pci? dev ? function ?
231 1.39.2.2 bouyer #scsibus* at siop?
232 1.39.2.2 bouyer #de* at pci? dev ? function ?
233 1.39.2.2 bouyer
234 1.39.2.2 bouyer ex* at pci? dev ? function ? # 3Com 90x[B]
235 1.39.2.2 bouyer fxp* at pci? dev ? function ? # Intel EtherExpress PRO
236 1.39.2.2 bouyer le* at pci? dev ? function ? # PCnet-PCI
237 1.39.2.2 bouyer ne* at pci? dev ? function ? # NE2000-compatible
238 1.39.2.2 bouyer tlp* at pci? dev ? function ? # DECchip 21x4x (and clones)
239 1.39.2.2 bouyer #options TLP_MATCH_21040
240 1.39.2.2 bouyer #options TLP_MATCH_21041
241 1.39.2.2 bouyer #options TLP_MATCH_21140
242 1.39.2.2 bouyer #options TLP_MATCH_21142
243 1.39.2.2 bouyer
244 1.39.2.2 bouyer # IDE and related devices
245 1.39.2.2 bouyer # PCI IDE controllers - see pciide(4) for supported hardware.
246 1.39.2.2 bouyer # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
247 1.39.2.2 bouyer # how to set up DMA modes for this chip. This may work, or may cause
248 1.39.2.2 bouyer # a machine hang with some controllers.
249 1.39.2.2 bouyer pciide* at pci ? dev ? function ? flags 0x0000
250 1.39.2.2 bouyer wd* at pciide? channel ? drive ? flags 0x0000
251 1.39.2.2 bouyer atapibus* at pciide? channel ?
252 1.39.2.2 bouyer
253 1.39.2.2 bouyer tga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics
254 1.39.2.5 bouyer ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
255 1.39.2.5 bouyer scsibus* at ahc?
256 1.39.2.2 bouyer
257 1.39.2.2 bouyer #### MII/PHY support
258 1.39.2.2 bouyer
259 1.39.2.2 bouyer exphy* at mii? phy ? # 3Com internal PHYs
260 1.39.2.2 bouyer icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
261 1.39.2.2 bouyer inphy* at mii? phy ? # Intel 82555 PHYs
262 1.39.2.2 bouyer iophy* at mii? phy ? # Intel 82553 PHYs
263 1.39.2.2 bouyer lxtphy* at mii? phy ? # Level One LXT-970 PHYs
264 1.39.2.2 bouyer nsphy* at mii? phy ? # NS83840 PHYs
265 1.39.2.2 bouyer nsphyter* at mii? phy ? # NS83843 PHYs
266 1.39.2.2 bouyer qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
267 1.39.2.2 bouyer sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
268 1.39.2.2 bouyer tlphy* at mii? phy ? # ThunderLAN PHYs
269 1.39.2.2 bouyer tqphy* at mii? phy ? # TDK Semiconductor PHYs
270 1.39.2.2 bouyer ukphy* at mii? phy ? # generic unknown PHYs
271 1.39.2.2 bouyer
272 1.39.2.2 bouyer #### SCSI bus devices
273 1.39.2.2 bouyer
274 1.39.2.2 bouyer sd* at scsibus? target ? lun ?
275 1.39.2.2 bouyer st* at scsibus? target ? lun ?
276 1.39.2.2 bouyer cd* at scsibus? target ? lun ?
277 1.39.2.2 bouyer ch* at scsibus? target ? lun ?
278 1.39.2.2 bouyer ss* at scsibus? target ? lun ?
279 1.39.2.2 bouyer uk* at scsibus? target ? lun ?
280 1.39.2.2 bouyer
281 1.39.2.2 bouyer #### ATAPI bus devices
282 1.39.2.2 bouyer
283 1.39.2.2 bouyer # flags have the same meaning as for IDE drives.
284 1.39.2.2 bouyer cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
285 1.39.2.2 bouyer sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
286 1.39.2.2 bouyer uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
287 1.39.2.2 bouyer
288 1.39.2.2 bouyer #### Workstation Console attachments
289 1.39.2.2 bouyer
290 1.39.2.2 bouyer wsdisplay* at vga?
291 1.39.2.2 bouyer wsdisplay* at tga?
292 1.39.2.2 bouyer pckbd* at pckbc? # PC keyboard (kbd port)
293 1.39.2.2 bouyer wskbd* at pckbd?
294 1.39.2.2 bouyer pms* at pckbc? # PS/2-style mouse (aux port)
295 1.39.2.2 bouyer wsmouse* at pms?
296 1.39.2.2 bouyer #pmsi* at pckbc? # PS/2 "Intelli"mouse (aux port)
297 1.39.2.2 bouyer #wsmouse* at pmsi?
298 1.39.2.2 bouyer
299 1.39.2.2 bouyer #### Pseudo devices
300 1.39.2.2 bouyer
301 1.39.2.2 bouyer # disk/mass storage pseudo-devices
302 1.39.2.2 bouyer pseudo-device ccd 4 # concatenated/striped disk devices
303 1.39.2.2 bouyer #pseudo-device raid 4 # RAIDframe disk driver
304 1.39.2.2 bouyer pseudo-device md 1 # memory disk device (ramdisk)
305 1.39.2.2 bouyer pseudo-device vnd 4 # disk-like interface to files
306 1.39.2.2 bouyer
307 1.39.2.2 bouyer # network pseudo-devices
308 1.39.2.2 bouyer pseudo-device bpfilter 8 # Berkeley packet filter
309 1.39.2.2 bouyer pseudo-device ipfilter # IP filter (firewall) and NAT
310 1.39.2.2 bouyer pseudo-device loop 1 # network loopback
311 1.39.2.2 bouyer pseudo-device ppp 2 # Point-to-Point Protocol
312 1.39.2.2 bouyer pseudo-device sl 2 # Serial Line IP
313 1.39.2.2 bouyer #pseudo-device strip 2 # Starmode Radio IP (Metricom)
314 1.39.2.2 bouyer pseudo-device tun 2 # network tunneling over tty
315 1.39.2.2 bouyer #pseudo-device gre 2 # generic L3 over IP tunnel
316 1.39.2.2 bouyer pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003)
317 1.39.2.2 bouyer pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
318 1.39.2.2 bouyer #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
319 1.39.2.2 bouyer #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
320 1.39.2.3 bouyer pseudo-device vlan # IEEE 802.1q encapsulation
321 1.39.2.2 bouyer
322 1.39.2.2 bouyer # miscellaneous pseudo-devices
323 1.39.2.2 bouyer pseudo-device pty # pseudo-terminals
324 1.39.2.2 bouyer pseudo-device tb 1 # tablet line discipline
325 1.39.2.2 bouyer #pseudo-device sequencer 1 # MIDI sequencer
326 1.39.2.2 bouyer # rnd works; RND_COM does not on port arc yet.
327 1.39.2.2 bouyer pseudo-device rnd # /dev/random and in-kernel generator
328 1.39.2.2 bouyer #options RND_COM # use "com" randomness as well (BROKEN)
329 1.39.2.2 bouyer
330 1.39.2.2 bouyer # a pseudo device needed for Coda # also needs CODA (above)
331 1.39.2.2 bouyer #pseudo-device vcoda 4 # coda minicache <-> venus comm.
332 1.39.2.2 bouyer
333 1.39.2.2 bouyer # mouse & keyboard multiplexor pseudo-devices
334 1.39.2.2 bouyer #pseudo-device wsmux 2
335