GENERIC revision 1.110.4.11 1 # $NetBSD: GENERIC,v 1.110.4.11 2002/11/11 22:00:09 nathanw Exp $
2 #
3 # GENERIC machine description file
4 #
5 # This machine description file is used to generate the default NetBSD
6 # kernel. The generic kernel does not include all options, subsystems
7 # and device drivers, but should be useful for most applications.
8 #
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
11 #
12 # For further information on compiling NetBSD kernels, see the config(8)
13 # man page.
14 #
15 # For further information on hardware support for this architecture, see
16 # the intro(4) man page. For further information about kernel options
17 # for this architecture, see the options(4) man page. For an explanation
18 # of each device driver in this file see the section 4 man page for the
19 # device.
20
21 include "arch/macppc/conf/std.macppc"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.110.4.11 $"
26
27 maxusers 32
28
29 options ALTIVEC # Include AltiVec support
30
31 # Standard system options
32 #options UCONSOLE # users can use TIOCCONS (for xconsole)
33 #options INSECURE # disable kernel security levels
34
35 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
36 options NTP # NTP phase/frequency locked loop
37 options KTRACE # system call tracing via ktrace(1)
38 options SYSTRACE # system call vetting via systrace(1)
39
40 options SYSVMSG # System V message queues
41 options SYSVSEM # System V semaphores
42 #options SEMMNI=10 # number of semaphore identifiers
43 #options SEMMNS=60 # number of semaphores in system
44 #options SEMUME=10 # max number of undo entries per process
45 #options SEMMNU=30 # number of undo structures in system
46 options SYSVSHM # System V shared memory
47 #options SHMMAXPGS=1024 # 1024 pages is the default
48
49 options LKM # loadable kernel modules
50
51 options USERCONF # userconf(4) support
52 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
53
54 # Enable experimental buffer queue strategy for better responsiness under
55 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
56 #options NEW_BUFQ_STRATEGY
57
58 # Diagnostic/debugging support options
59 options DIAGNOSTIC # cheap kernel consistency checks
60 #options DEBUG # expensive debugging checks/support
61 options ZS_CONSOLE_ABORT# allow break to get into DDB on serial
62 options DDB # in-kernel debugger
63 #options DDB_ONPANIC=0 # don't go into ddb on panic.
64 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
65 #options TRAP_PANICWAIT
66
67 #makeoptions DEBUG="-g" # compile full symbol table
68
69 # Compatibility options
70 options COMPAT_09 # NetBSD 0.9,
71 options COMPAT_10 # NetBSD 1.0,
72 options COMPAT_11 # NetBSD 1.1,
73 options COMPAT_12 # NetBSD 1.2,
74 options COMPAT_13 # NetBSD 1.3,
75 options COMPAT_14 # NetBSD 1.4,
76 options COMPAT_43 # and 4.3BSD
77 #options COMPAT_386BSD_MBRPART # recognize old partition ID
78 options COMPAT_LINUX # Linux binary compatibility
79 #options COMPAT_MACH # Mach binary compatibility (experimental)
80 #options EXEC_MACHO # Mach-O binary support, needed for COMPAT_MACH
81 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
82
83 # File systems
84 file-system FFS # UFS
85 file-system EXT2FS # second extended file system (linux)
86 file-system LFS # log-structured file system
87 file-system MFS # memory file system
88 file-system NFS # Network File System client
89 file-system CD9660 # ISO 9660 + Rock Ridge file system
90 file-system MSDOSFS # MS-DOS file system
91 file-system FDESC # /dev/fd
92 file-system KERNFS # /kern
93 file-system NULLFS # loopback file system
94 file-system OVERLAY # overlay file system
95 file-system PORTAL # portal filesystem (still experimental)
96 file-system PROCFS # /proc
97 file-system UMAPFS # NULLFS + uid and gid remapping
98 file-system UNION # union file system
99
100 # File system options
101 options QUOTA # UFS quotas
102 #options FFS_EI # FFS Endian Independant support
103 options SOFTDEP # FFS soft updates support.
104 options NFSSERVER # Network File System server
105 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
106 # immutable) behave as system flags.
107 options APPLE_UFS # Apple UFS support in FFS
108
109 options NFS_BOOT_DHCP # Support DHCP NFS root
110
111 # Networking options
112 #options GATEWAY # packet forwarding
113 options INET # IP + ICMP + TCP + UDP
114 options INET6 # IPV6
115 #options IPSEC # IP security
116 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
117 #options IPSEC_DEBUG # debug for IP security
118 #options MROUTING # IP multicast routing
119 #options NS # XNS
120 #options NSIP # XNS tunneling over IP
121 #options ISO,TPIP # OSI
122 #options EON # OSI tunneling over IP
123 #options CCITT,LLC,HDLC # X.25
124 options NETATALK # AppleTalk networking protocols
125 options PPP_BSDCOMP # BSD-Compress compression support for PPP
126 options PPP_DEFLATE # Deflate compression support for PPP
127 options PPP_FILTER # Active filter support for PPP (requires bpf)
128 options PFIL_HOOKS # pfil(9) packet filter hooks
129 options IPFILTER_LOG # ipmon(8) log support
130 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
131 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
132
133 # These options enable verbose messages for several subsystems.
134 # Warning, these may compile large string tables into the kernel!
135 options PCIVERBOSE # verbose PCI device autoconfig messages
136 options MIIVERBOSE # verbose PHY autoconfig messages
137 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
138 options SCSIVERBOSE # human readable SCSI error messages
139 options USBVERBOSE # verbose USB device autoconfig messages
140
141 # wscons options
142 #options WSEMUL_SUN # sun terminal emulation
143 options WSEMUL_VT100 # VT100 / VT220 emulation
144 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
145 options FONT_GALLANT12x22
146
147 # Kernel root file system and dump configuration.
148 config netbsd root on ? type ?
149
150 #
151 # Device configuration
152 #
153
154 mainbus* at root
155
156 cpu* at mainbus?
157 bandit* at mainbus?
158 grackle* at mainbus?
159 uninorth* at mainbus?
160
161 pci* at bandit? bus ?
162 pci* at grackle? bus ?
163 pci* at uninorth? bus ?
164 pci* at ppb? bus ?
165
166 pchb* at pci? dev ? function ? # PCI-Host bridges
167 ppb* at pci? dev ? function ? # PCI-PCI bridges
168 # XXX 'puc's aren't really bridges, but there's no better place for them here
169 puc* at pci? dev ? function ? # PCI "universal" comm. cards
170
171 fpa* at pci? dev ? function ? # DEC PCI FDDI (DEFPA) Controller
172 ep* at pci? dev ? function ? # 3Com 3c59x
173 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
174 ex* at pci? dev ? function ? # 3Com 90x[BC]
175 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
176 lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
177 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
178 rtk* at pci? dev ? function ? # Realtek 8129/8139
179 sip* at pci? dev ? function ? # SiS 900/7016 Ethernet
180 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
181 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
182 adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
183 ahc* at pci? dev ? function ? # Adaptec 294x, aic78x0 SCSI
184 bha* at pci? dev ? function ? # BusLogic 9xx SCSI
185 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
186 isp* at pci? dev ? function ? # Qlogic ISP 10x0/2xx0 SCSI/Fibre Chan
187 pcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI SCSI
188 siop* at pci? dev ? function ? # NCR 53c8xx SCSI
189 trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
190 ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer
191 #options OFB_ENABLE_CACHE # Speed up console
192 pciide* at pci? dev ? function ?
193 cbb* at pci? dev ? function ? # PCI-CardBus bridge
194 #gm* at pci? dev ? function ? # gmac ethernet (old)
195 gem* at pci? dev ? function ? # gmac ethernet
196 obio0 at pci? dev ? function ?
197 #macofcons0 at pci? dev ? function ? # OpenFirmware console (for debugging)
198
199 bmtphy* at mii? phy ? # Broadcom BCM5201/BCM5202 PHYs
200 brgphy* at mii? phy ? # Broadcom BCM5400 PHYs
201 exphy* at mii? phy ? # 3Com internal PHYs
202 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
203 inphy* at mii? phy ? # Intel 82555 PHYs
204 iophy* at mii? phy ? # Intel 82553 PHYs
205 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
206 nsphy* at mii? phy ? # NS83840 PHYs
207 nsphyter* at mii? phy ? # NS83843 PHYs
208 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
209 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
210 tlphy* at mii? phy ? # ThunderLAN PHYs
211 tqphy* at mii? phy ? # TDK Semiconductor PHYs
212 ukphy* at mii? phy ? # generic unknown PHYs
213
214 # PCI serial interfaces
215 com* at puc? port ? # 16x50s on "universal" comm boards
216 cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
217 #cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards
218
219 bm* at obio? # bmac ethernet
220 mc* at obio? # MACE ethernet
221 esp* at obio? flags 0x00ff # 53c9x SCSI
222 mesh* at obio? flags 0xffff # MESH SCSI
223 nvram* at obio? # nvram
224 adb* at obio? # Apple Desktop Bus
225 apm0 at adb? # APM emulation
226 aed* at adb? # ADB Event Device
227 akbd* at adb? # ADB keyboard
228 ams* at adb? # ADB mouse
229 abtn* at adb?
230 zsc* at obio?
231 zstty* at zsc? channel ?
232 mediabay* at obio?
233 wdc* at mediabay? flags 0
234 # awacs is disabled because on some systems--e.g., a 350MHz G4 GigE--
235 # it may generate interrupt storms, rendering the machine unusable.
236 # If you uncomment this, you'll also want to uncomment "audio* at awacs?"
237 # below.
238 #awacs* at obio? # Apple audio device
239 wi* at obio? # AirMac
240
241 cardslot* at cbb?
242 cardbus* at cardslot?
243 pcmcia* at cardslot?
244
245 com* at pcmcia? function ? # Modems and serial cards
246 wdc* at pcmcia? function ? # PCMCIA IDE controllers
247 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
248 mbe* at pcmcia? function ? # MB8696x based Ethernet
249 ne* at pcmcia? function ? # NE2000-compatible Ethernet
250 awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS)
251 wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
252 ex* at cardbus? dev ? function ? # 3Com 3C575TX
253 tlp* at cardbus? dev ? function ? # DECchip 21143
254 rtk* at cardbus? dev ? function ? # Realtek 8129/8139
255
256 wsdisplay0 at ofb? console ?
257 wskbd0 at akbd? console ?
258 wsmouse0 at ams?
259
260 scsibus* at adv?
261 scsibus* at adw?
262 scsibus* at ahc?
263 scsibus* at bha?
264 scsibus* at iha?
265 scsibus* at isp?
266 scsibus* at esp?
267 scsibus* at mesh?
268 scsibus* at pcscp?
269 scsibus* at siop?
270 scsibus* at trm?
271
272 sd* at scsibus? target ? lun ? # SCSI disks
273 st* at scsibus? target ? lun ? # SCSI tape drives
274 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
275 ch* at scsibus? target ? lun ? # SCSI autochangers
276 ss* at scsibus? target ? lun ? # SCSI scanners
277 uk* at scsibus? target ? lun ? # SCSI unknown
278
279 wdc* at obio? flags 0x1
280 wd* at pciide? channel ? drive ?
281 wd* at wdc? channel ? drive ? flags 0x0000
282
283 atapibus* at pciide? channel ?
284 atapibus* at wdc? channel ?
285
286 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
287 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
288 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
289
290 # PCI USB controllers
291 ohci* at pci? dev ? function ? # Open Host Controller
292
293 usb* at ohci? # USB bus support
294 uhub* at usb? # USB Hubs
295 uhub* at uhub? port ? configuration ? interface ?
296
297 uhidev* at uhub? port ? configuration ? interface ? # USB HID device
298
299 ums* at uhidev? reportid ? # USB Mice
300 wsmouse* at ums?
301
302 ukbd* at uhidev? reportid ? # USB Keyboards
303 wskbd* at ukbd? console ?
304
305 uhid* at uhidev? reportid ? # USB Generic HID
306
307 ulpt* at uhub? port ? configuration ? interface ? # USB Printer
308
309 umodem* at uhub? port ? configuration ? # USB Modem
310 ucom* at umodem?
311
312 umass* at uhub? port ? configuration ? interface ? # USB Mass Storage
313 atapibus* at umass? channel ?
314 scsibus* at umass? channel ?
315
316 uaudio* at uhub? port ? configuration ? # USB audio
317
318 # USB Ethernet adapters
319 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
320 cue* at uhub? port ? # CATC USB-EL1201A based adapters
321 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
322
323 uscanner* at uhub? port ? # USB scanners
324 uyap* at uhub? port ? # Y@P firmware loader
325 ugen* at uhub? port ? configuration ? interface ? # USB Generic driver
326
327 # PCI IEEE1394 controllers
328 fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
329 #fwlynx* at pci? dev ? function ? # IEEE1394 TI Lynx Controller
330 fw* at fwbus? # IP over 1394
331
332 # IEEE1394 nodes
333 #fwnode* at fwbus? idhi ? idlo ?
334 #fwscsi* at fwnode?
335 #scsibus* at fwscsi?
336
337 # Audio Devices
338
339 # PCI audio devices
340 #clcs* at pci? dev ? function ? # Cirrus Logic CS4280
341 #cmpci* at pci? dev ? function ? # C-Media CMI8338/8738
342 eap* at pci? dev ? function ? # Ensoniq AudioPCI
343 #eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
344 #fms* at pci? dev ? function ? # Forte Media FM801
345 #sv* at pci? dev ? function ? # S3 SonicVibes
346
347 # OPL[23] FM synthesizers
348 #opl* at cmpci? flags 1
349 #opl* at eso?
350 #opl* at fms?
351
352 # Audio support
353 #audio* at awacs?
354 #audio* at clcs?
355 #audio* at cmpci?
356 audio* at eap?
357 #audio* at eso?
358 #audio* at fms?
359 #audio* at sv?
360 audio* at uaudio?
361
362 # MPU 401 UARTs
363 #mpu* at cmpci?
364 #mpu* at eso?
365 #mpu* at fms?
366
367 # MIDI support
368 midi* at eap? # 137[01] MIDI port
369 #midi* at mpu? # MPU 401
370
371 pseudo-device vnd 4 # disk-like interface to files
372 pseudo-device ccd 4 # concatenated/striped disk devices
373 #pseudo-device cgd 4 # cryptographic disk devices
374 #pseudo-device raid 8 # RAIDframe disk driver
375 #options RAID_AUTOCONFIG # auto-configuration of RAID components
376 # Options to enable various other RAIDframe RAID types.
377 # options RF_INCLUDE_EVENODD=1
378 # options RF_INCLUDE_RAID5_RS=1
379 # options RF_INCLUDE_PARITYLOGGING=1
380 # options RF_INCLUDE_CHAINDECLUSTER=1
381 # options RF_INCLUDE_INTERDECLUSTER=1
382 # options RF_INCLUDE_PARITY_DECLUSTERING=1
383 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
384 pseudo-device md 1 # memory disk device
385 pseudo-device loop # network loopback
386 pseudo-device bpfilter 8 # packet filter
387 pseudo-device ipfilter # IP filter (firewall) and NAT
388 pseudo-device ppp 2 # Point-to-Point Protocol
389 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
390 pseudo-device sl 2 # Serial Line IP
391 pseudo-device tun 4 # network tunneling over tty
392 #pseudo-device gre 2 # generic L3 over IP tunnel
393 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
394 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
395 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
396 pseudo-device vlan # IEEE 802.1q encapsulation
397 pseudo-device bridge # simple inter-network bridging
398 pseudo-device pty # pseudo-terminals
399 pseudo-device rnd # /dev/random and in-kernel generator
400 pseudo-device openfirm # /dev/openfirm
401 pseudo-device wsmux # mouse and keyboard multiplexor
402 pseudo-device clockctl # user control of clock subsystem
403