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