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