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