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