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