GENERIC revision 1.168 1 # $NetBSD: GENERIC,v 1.168 2003/12/14 01:32:02 thorpej 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.168 $"
26
27 maxusers 32
28
29 options ALTIVEC # Include AltiVec support
30
31 # Standard system options
32 #options INSECURE # disable kernel security levels
33
34 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
35 options NTP # NTP phase/frequency locked loop
36 options KTRACE # system call tracing via ktrace(1)
37 options SYSTRACE # system call vetting via systrace(1)
38
39 options SYSVMSG # System V message queues
40 options SYSVSEM # System V semaphores
41 #options SEMMNI=10 # number of semaphore identifiers
42 #options SEMMNS=60 # number of semaphores in system
43 #options SEMUME=10 # max number of undo entries per process
44 #options SEMMNU=30 # number of undo structures in system
45 options SYSVSHM # System V shared memory
46 #options SHMMAXPGS=1024 # 1024 pages is the default
47
48 options LKM # loadable kernel modules
49
50 options USERCONF # userconf(4) support
51 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
52
53 # Enable experimental buffer queue strategy for better responsiveness under
54 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
55 #options NEW_BUFQ_STRATEGY
56
57 # Diagnostic/debugging support options
58 options DIAGNOSTIC # cheap kernel consistency checks
59 #options DEBUG # expensive debugging checks/support
60 options ZS_CONSOLE_ABORT# allow break to get into DDB on serial
61 options DDB # in-kernel debugger
62 #options DDB_ONPANIC=0 # don't go into ddb on panic.
63 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
64 #options TRAP_PANICWAIT
65
66 #makeoptions DEBUG="-g" # compile full symbol table
67
68 # Compatibility options
69 options COMPAT_09 # NetBSD 0.9,
70 options COMPAT_10 # NetBSD 1.0,
71 options COMPAT_11 # NetBSD 1.1,
72 options COMPAT_12 # NetBSD 1.2,
73 options COMPAT_13 # NetBSD 1.3,
74 options COMPAT_14 # NetBSD 1.4,
75 options COMPAT_16 # NetBSD 1.6,
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_DARWIN # Darwin binary compatibility (experimental)
80 #options COMPAT_MACH # Mach compatibility, needed for COMPAT_DARWIN
81 #options EXEC_MACHO # Mach-O binary support, needed for COMPAT_MACH
82 #options DEBUG_DARWIN # COMPAT_DARWIN debugging
83 #options DEBUG_MACH # COMPAT_MACH debugging
84 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
85
86 # File systems
87 file-system FFS # UFS
88 file-system EXT2FS # second extended file system (linux)
89 file-system LFS # log-structured file system
90 file-system MFS # memory file system
91 file-system NFS # Network File System client
92 file-system CD9660 # ISO 9660 + Rock Ridge file system
93 file-system MSDOSFS # MS-DOS file system
94 file-system FDESC # /dev/fd
95 file-system KERNFS # /kern
96 file-system NULLFS # loopback file system
97 file-system OVERLAY # overlay file system
98 file-system PORTAL # portal filesystem (still experimental)
99 file-system PROCFS # /proc
100 file-system UMAPFS # NULLFS + uid and gid remapping
101 file-system UNION # union file system
102
103 # File system options
104 options QUOTA # UFS quotas
105 #options FFS_EI # FFS Endian Independant support
106 options SOFTDEP # FFS soft updates support.
107 options NFSSERVER # Network File System server
108 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
109 # immutable) behave as system flags.
110 options APPLE_UFS # Apple UFS support in FFS
111
112 options NFS_BOOT_DHCP # Support DHCP NFS root
113
114 # Networking options
115 #options GATEWAY # packet forwarding
116 options INET # IP + ICMP + TCP + UDP
117 options INET6 # IPV6
118 #options IPSEC # IP security
119 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
120 #options IPSEC_DEBUG # debug for IP security
121 #options MROUTING # IP multicast routing
122 #options NS # XNS
123 #options NSIP # XNS tunneling over IP
124 #options ISO,TPIP # OSI
125 #options EON # OSI tunneling over IP
126 #options CCITT,LLC,HDLC # X.25
127 options NETATALK # AppleTalk networking protocols
128 options PPP_BSDCOMP # BSD-Compress compression support for PPP
129 options PPP_DEFLATE # Deflate compression support for PPP
130 options PPP_FILTER # Active filter support for PPP (requires bpf)
131 options PFIL_HOOKS # pfil(9) packet filter hooks
132 options IPFILTER_LOG # ipmon(8) log support
133 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
134 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
135
136 # These options enable verbose messages for several subsystems.
137 # Warning, these may compile large string tables into the kernel!
138 options PCIVERBOSE # verbose PCI device autoconfig messages
139 options MIIVERBOSE # verbose PHY autoconfig messages
140 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
141 options SCSIVERBOSE # human readable SCSI error messages
142 options USBVERBOSE # verbose USB device autoconfig messages
143
144 # wscons options
145 #options WSEMUL_SUN # sun terminal emulation
146 options WSEMUL_VT100 # VT100 / VT220 emulation
147 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
148 options FONT_GALLANT12x22
149
150 # Optional Mac keyboard tweaks
151
152 # Tweak the keyboard driver to treat the caps lock key on an ADB
153 # keyboard as a control key; requires special remapping because of
154 # ADB's strange emulation of a mechanically-locked key.
155 #options CAPS_IS_CONTROL
156
157 # On Mac laptops, several function keys double as "hot keys"
158 # (brightness, volume, eject) when the Fn modifier is held down. Mac
159 # OS X likes to reprogram the keyboard controller to send hot key
160 # events when Fn is not held down and send function key events when it
161 # is. This option transforms the non-keyboard "button" events back
162 # into function key events.
163 #options FORCE_FUNCTION_KEYS
164
165 # Kernel root file system and dump configuration.
166 config netbsd root on ? type ?
167
168 #
169 # Device configuration
170 #
171
172 mainbus* at root
173
174 cpu* at mainbus?
175 bandit* at mainbus?
176 grackle* at mainbus?
177 uninorth* at mainbus?
178
179 pci* at bandit? bus ?
180 pci* at grackle? bus ?
181 pci* at uninorth? bus ?
182 pci* at ppb? bus ?
183
184 pchb* at pci? dev ? function ? # PCI-Host bridges
185 ppb* at pci? dev ? function ? # PCI-PCI bridges
186 # XXX 'puc's aren't really bridges, but there's no better place for them here
187 puc* at pci? dev ? function ? # PCI "universal" comm. cards
188 lpt* at puc? port ? # || ports on > "universal" comm boards
189
190 # PCI Network devices
191 an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
192 atw* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
193 bge* at pci? dev ? function ? # Broadcom 570x Gigabit Ethernet
194 ep* at pci? dev ? function ? # 3Com 3c59x
195 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
196 ex* at pci? dev ? function ? # 3Com 90x[BC]
197 fpa* at pci? dev ? function ? # DEC PCI FDDI (DEFPA) Controller
198 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
199 gem* at pci? dev ? function ? # gmac ethernet
200 #gm* at pci? dev ? function ? # gmac ethernet (old)
201 gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
202 le* at pci? dev ? function ? # PCnet-PCI Ethernet
203 lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
204 mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet
205 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
206 pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
207 rtk* at pci? dev ? function ? # Realtek 8129/8139
208 sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet
209 sip* at pci? dev ? function ? # SiS 900/7016 Ethernet
210 ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
211 stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit
212 #ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
213 tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
214 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
215 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
216 wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b)
217 wm* at pci? dev ? function ? # Intel 82543/82544 gigabit
218
219 # PCI SCSI controllers
220 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
221 adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
222 ahc* at pci? dev ? function ? # Adaptec 294x, aic78x0 SCSI
223 bha* at pci? dev ? function ? # BusLogic 9xx SCSI
224 esiop* at pci? dev ? function ? # NCR 53c8xx SCSI (enhanced)
225 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
226 isp* at pci? dev ? function ? # Qlogic ISP 10x0/2xx0 SCSI/Fibre Chan
227 pcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI SCSI
228 siop* at pci? dev ? function ? # NCR 53c8xx SCSI
229 trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
230
231 # Other PCI devices
232 ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer
233 #options OFB_ENABLE_CACHE # Speed up console
234 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
235 acardide* at pci? dev ? function ? # Acard IDE controllers
236 aceride* at pci? dev ? function ? # Acer Lab IDE controllers
237 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
238 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
239 cypide* at pci? dev ? function ? # Cypress IDE controllers
240 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
241 optiide* at pci? dev ? function ? # Opti IDE controllers
242 piixide* at pci? dev ? function ? # Intel IDE controllers
243 pdcide* at pci? dev ? function ? # Promise IDE controllers
244 satalink* at pci? dev ? function ? # SiI SATALink controllers
245 siside* at pci? dev ? function ? # SiS IDE controllers
246 slide* at pci? dev ? function ? # Symphony Labs IDE controllers
247 viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
248 wdc* at pci? dev ? function ? # Kauai ATA
249 cbb* at pci? dev ? function ? # PCI-CardBus bridge
250 obio0 at pci? dev ? function ?
251 #macofcons0 at pci? dev ? function ? # OpenFirmware console (for debugging)
252
253 acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
254 amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
255 bmtphy* at mii? phy ? # Broadcom BCM5201/BCM5202 PHYs
256 brgphy* at mii? phy ? # Broadcom BCM5400 PHYs
257 dmphy* at mii? phy ? # Davicom DM9101 PHYs
258 exphy* at mii? phy ? # 3Com internal PHYs
259 glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
260 gphyter* at mii? phy ? # NS83861 Gig-E PHY
261 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
262 inphy* at mii? phy ? # Intel 82555 PHYs
263 iophy* at mii? phy ? # Intel 82553 PHYs
264 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
265 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
266 nsphy* at mii? phy ? # NS83840 PHYs
267 nsphyter* at mii? phy ? # NS83843 PHYs
268 pnaphy* at mii? phy ? # generic HomePNA PHYs
269 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
270 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
271 tlphy* at mii? phy ? # ThunderLAN PHYs
272 tqphy* at mii? phy ? # TDK Semiconductor PHYs
273 ukphy* at mii? phy ? # generic unknown PHYs
274 urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
275
276 # PCI serial interfaces
277 com* at puc? port ? # 16x50s on "universal" comm boards
278 cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
279 #cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards
280
281 bktr* at pci? dev ? function ? # Brooktree video/audio capture/tuner
282 radio* at bktr?
283
284 bm* at obio? # bmac ethernet
285 mc* at obio? # MACE ethernet
286 esp* at obio? flags 0x00ff # 53c9x SCSI
287 mesh* at obio? flags 0xffff # MESH SCSI
288 nvram* at obio? # nvram
289 adb* at obio? # Apple Desktop Bus
290 apm0 at adb? # APM emulation
291 aed* at adb? # ADB Event Device
292 akbd* at adb? # ADB keyboard
293 ams* at adb? # ADB mouse
294 abtn* at adb?
295 zsc* at obio?
296 zstty* at zsc? channel ?
297 mediabay* at obio?
298 wdc* at mediabay? flags 0
299 # awacs is disabled because on some systems--e.g., a 350MHz G4 GigE--
300 # it may generate interrupt storms, rendering the machine unusable.
301 # If you uncomment this, you'll also want to uncomment "audio* at awacs?"
302 # below.
303 #awacs* at obio? # Apple audio device
304 wi* at obio? # AirMac
305
306 cardslot* at cbb?
307 cardbus* at cardslot?
308 pcmcia* at cardslot?
309
310 com* at pcmcia? function ? # Modems and serial cards
311 wdc* at pcmcia? function ? # PCMCIA IDE controllers
312 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
313 mbe* at pcmcia? function ? # MB8696x based Ethernet
314 ne* at pcmcia? function ? # NE2000-compatible Ethernet
315 awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS)
316 wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
317 atw* at cardbus? dev ? function ? # ADMtek ADM8211 (802.11)
318 ex* at cardbus? dev ? function ? # 3Com 3C575TX
319 tlp* at cardbus? dev ? function ? # DECchip 21143
320 rtk* at cardbus? dev ? function ? # Realtek 8129/8139
321
322 wsdisplay0 at ofb? console ?
323 wskbd0 at akbd? console ?
324 wsmouse0 at ams?
325
326 scsibus* at adv?
327 scsibus* at adw?
328 scsibus* at ahc?
329 scsibus* at bha?
330 scsibus* at iha?
331 scsibus* at isp?
332 scsibus* at esp?
333 scsibus* at mesh?
334 scsibus* at pcscp?
335 scsibus* at siop?
336 scsibus* at esiop?
337 scsibus* at trm?
338
339 sd* at scsibus? target ? lun ? # SCSI disks
340 st* at scsibus? target ? lun ? # SCSI tape drives
341 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
342 ch* at scsibus? target ? lun ? # SCSI autochangers
343 ss* at scsibus? target ? lun ? # SCSI scanners
344 uk* at scsibus? target ? lun ? # SCSI unknown
345
346 wdc* at obio? flags 0x1
347 atabus* at ata?
348 wd* at atabus? drive ? flags 0x0000
349
350 atapibus* at atapi?
351
352 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
353 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
354 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
355
356 # PCI USB controllers
357 ohci* at pci? dev ? function ? # Open Host Controller
358
359 usb* at ohci? # USB bus support
360 uhub* at usb? # USB Hubs
361 uhub* at uhub? port ? configuration ? interface ?
362
363 uhidev* at uhub? port ? configuration ? interface ? # USB HID device
364
365 ums* at uhidev? reportid ? # USB Mice
366 wsmouse* at ums?
367
368 ukbd* at uhidev? reportid ? # USB Keyboards
369 wskbd* at ukbd? console ?
370
371 uhid* at uhidev? reportid ? # USB Generic HID
372
373 ulpt* at uhub? port ? configuration ? interface ? # USB Printer
374
375 umodem* at uhub? port ? configuration ? # USB Modem
376 ucom* at umodem?
377
378 umass* at uhub? port ? configuration ? interface ? # USB Mass Storage
379 atapibus* at umass?
380 scsibus* at umass? channel ?
381
382 uaudio* at uhub? port ? configuration ? # USB audio
383
384 # D-Link DSB-R100 USB FM radio tuner
385 udsbr* at uhub? port ?
386 radio* at udsbr?
387
388 # USB Ethernet adapters
389 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
390 cue* at uhub? port ? # CATC USB-EL1201A based adapters
391 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
392 uax* at uhub? port ? # ASIX AX88172 based adapters
393 url* at uhub? port ? # Realtek RTL8150L based adapters
394 udav* at uhub? port ? # Davicom DM9601 based adapters
395
396 uscanner* at uhub? port ? # USB scanners
397 uyap* at uhub? port ? # Y@P firmware loader
398 ugen* at uhub? port ? configuration ? interface ? # USB Generic driver
399
400 # PCI IEEE1394 controllers
401 fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
402 #fwlynx* at pci? dev ? function ? # IEEE1394 TI Lynx Controller
403 fw* at fwbus? # IP over 1394
404
405 # IEEE1394 nodes
406 #fwnode* at fwbus? idhi ? idlo ?
407 #sbpscsi* at fwnode?
408 #scsibus* at sbpscsi?
409
410 # Audio Devices
411
412 # PCI audio devices
413 #clcs* at pci? dev ? function ? # Cirrus Logic CS4280
414 #cmpci* at pci? dev ? function ? # C-Media CMI8338/8738
415 eap* at pci? dev ? function ? # Ensoniq AudioPCI
416 #eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
417 #fms* at pci? dev ? function ? # Forte Media FM801
418 #sv* at pci? dev ? function ? # S3 SonicVibes
419
420 # OPL[23] FM synthesizers
421 #opl* at cmpci? flags 1
422 #opl* at eso?
423 #opl* at fms?
424
425 # Audio support
426 #audio* at awacs?
427 #audio* at clcs?
428 #audio* at cmpci?
429 audio* at eap?
430 #audio* at eso?
431 #audio* at fms?
432 #audio* at sv?
433 audio* at uaudio?
434
435 # MPU 401 UARTs
436 #mpu* at cmpci?
437 #mpu* at eso?
438 #mpu* at fms?
439
440 # MIDI support
441 midi* at eap? # 137[01] MIDI port
442 #midi* at mpu? # MPU 401
443
444 pseudo-device vnd 4 # disk-like interface to files
445 pseudo-device ccd 4 # concatenated/striped disk devices
446 #pseudo-device cgd 4 # cryptographic disk devices
447 #pseudo-device raid 8 # RAIDframe disk driver
448 #options RAID_AUTOCONFIG # auto-configuration of RAID components
449 # Options to enable various other RAIDframe RAID types.
450 # options RF_INCLUDE_EVENODD=1
451 # options RF_INCLUDE_RAID5_RS=1
452 # options RF_INCLUDE_PARITYLOGGING=1
453 # options RF_INCLUDE_CHAINDECLUSTER=1
454 # options RF_INCLUDE_INTERDECLUSTER=1
455 # options RF_INCLUDE_PARITY_DECLUSTERING=1
456 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
457 pseudo-device md 1 # memory disk device
458 pseudo-device loop # network loopback
459 pseudo-device bpfilter 8 # packet filter
460 pseudo-device ipfilter # IP filter (firewall) and NAT
461 pseudo-device ppp 2 # Point-to-Point Protocol
462 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
463 pseudo-device sl 2 # Serial Line IP
464 pseudo-device tun 4 # network tunneling over tty
465 #pseudo-device gre 2 # generic L3 over IP tunnel
466 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
467 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
468 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
469 pseudo-device vlan # IEEE 802.1q encapsulation
470 pseudo-device bridge # simple inter-network bridging
471 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
472 pseudo-device pty # pseudo-terminals
473 pseudo-device rnd # /dev/random and in-kernel generator
474 pseudo-device openfirm # /dev/openfirm
475 pseudo-device wsmux # mouse and keyboard multiplexor
476 pseudo-device clockctl # user control of clock subsystem
477 pseudo-device ksyms # /dev/ksyms
478