GENERIC revision 1.25 1 # $NetBSD: GENERIC,v 1.25 2001/07/08 16:32:23 abs Exp $
2 #
3 # GENERIC -- everything that's currently supported
4 #
5
6 include "arch/prep/conf/std.prep"
7
8 #ident "GENERIC-$Revision: 1.25 $"
9
10 maxusers 32
11
12 # Standard system options
13
14 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
15 options NTP # NTP phase/frequency locked loop
16
17 options KTRACE # system call tracing via ktrace(1)
18
19 options SYSVMSG # System V-like message queues
20 options SYSVSEM # System V-like semaphores
21 #options SEMMNI=10 # number of semaphore identifiers
22 #options SEMMNS=60 # number of semaphores in system
23 #options SEMUME=10 # max number of undo entries per process
24 #options SEMMNU=30 # number of undo structures in system
25 options SYSVSHM # System V-like memory sharing
26 #options SHMMAXPGS=1024 # 1024 pages is the default
27
28 options LKM # loadable kernel modules
29
30 # Diagnostic/debugging support options
31 options DIAGNOSTIC # cheap kernel consistency checks
32 #options DEBUG # expensive debugging checks/support
33 #options KMEMSTATS # kernel memory statistics (vmstat -m)
34 options DDB # in-kernel debugger
35 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
36 #makeoptions DEBUG="-g"
37
38 # Compatibility options
39 options COMPAT_13 # NetBSD 1.3,
40 options COMPAT_14 # NetBSD 1.4,
41 options COMPAT_43 # and 4.3BSD
42 #options COMPAT_LINUX # Linux binary compatibility (experimental)
43 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
44
45 # File systems
46 file-system FFS # UFS
47 file-system EXT2FS # second extended file system (linux)
48 file-system LFS # log-structured file system
49 file-system MFS # memory file system
50 file-system NFS # Network File System client
51 file-system NTFS # Windows/NT file system (experimental)
52 file-system CD9660 # ISO 9660 + Rock Ridge file system
53 file-system MSDOSFS # MS-DOS file system
54 file-system FDESC # /dev/fd
55 file-system KERNFS # /kern
56 file-system NULLFS # loopback file system
57 file-system OVERLAY # overlay file system
58 file-system PORTAL # portal filesystem (still experimental)
59 file-system PROCFS # /proc
60 file-system UMAPFS # NULLFS + uid and gid remapping
61 file-system UNION # union file system
62 #file-system CODA # Coda File System; also needs vcoda (below)
63
64 # File system options
65 options QUOTA # UFS quotas
66 options FFS_EI # FFS Endian Independant support
67 options SOFTDEP # FFS soft updates support.
68 options NFSSERVER # Network File System server
69 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
70 # immutable) behave as system flags.
71
72 # Networking options
73 #options GATEWAY # packet forwarding
74 options INET # IP + ICMP + TCP + UDP
75 options INET6 # IPv6
76 #options IPSEC # IP security
77 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
78 #options IPSEC_DEBUG # debug for IP security
79 #options MROUTING # IP multicast routing
80 options NETATALK # AppleTalk networking protocols
81 options PPP_BSDCOMP # BSD-Compress compression support for PPP
82 options PPP_DEFLATE # Deflate compression support for PPP
83 options PPP_FILTER # Active filter support for PPP (requires bpf)
84 options PFIL_HOOKS # pfil(9) packet filter hooks
85 options IPFILTER_LOG # ipmon(8) log support
86 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
87
88 # These options enable verbose messages for several subsystems.
89 # Warning, these may compile large string tables into the kernel!
90 options MIIVERBOSE # verbose PHY autoconfig messages
91 options PCIVERBOSE # verbose PCI device autoconfig messages
92 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
93 options PCMCIAVERBOSE # verbose PCMCIA configuration messages
94 options SCSIVERBOSE # human readable SCSI error messages
95 #options USBVERBOSE # verbose USB device autoconfig messages
96
97 options NFS_BOOT_BOOTP
98 options NFS_BOOT_BOOTPARAM
99 options NFS_BOOT_DHCP
100
101 #
102 # wscons options
103 #
104 # builtin terminal emulations
105 options WSEMUL_VT100 # VT100 / VT220 emulation
106 # different kernel output - see dev/wscons/wsdisplayvar.h
107 options WS_KERNEL_FG=WSCOL_GREEN
108 #options WS_KERNEL_BG=WSCOL_BLACK
109 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
110 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
111 # allocate a number of virtual screens at autoconfiguration time
112 #options WSDISPLAY_DEFAULTSCREENS=4
113 # use a large software cursor that doesn't blink
114 options PCDISPLAY_SOFTCURSOR
115
116 # Kernel root file system and dump configuration.
117 config netbsd root on ? type ?
118 #config netbsd root on de0 type nfs
119 #config netbsd root on le0 type nfs
120
121
122 #
123 # Device configuration
124 #
125
126 mainbus0 at root
127 cpu0 at mainbus0
128
129
130 # Basic Bus Support
131
132 # PCI bus support
133 pci0 at mainbus0 bus ?
134 pci* at pchb? bus ?
135 pci* at ppb? bus ?
136
137 options PCI_NETBSD_CONFIGURE
138
139 # PCI bridges
140 pchb* at pci? dev ? function ? # PCI-Host bridges
141 ppb* at pci? dev ? function ? # PCI-PCI bridges
142 pcib* at pci? dev ? function ? # PCI-ISA bridges
143
144 # ISA bus support
145 isa* at pcib? # ISA on PCI-ISA bridge
146
147 # PCMCIA bus support
148 pcmcia* at pcic? controller ? socket ?
149
150 # ISA PCMCIA controllers
151 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
152
153 #options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
154 #options PCIC_ISA_ALLOC_IOBASE=0x0400
155 #options PCIC_ISA_ALLOC_IOSIZE=0x0100
156
157 # ISA Plug-and-Play bus support
158 isapnp0 at isa?
159
160 # Console Devices
161
162 # ISA console.
163 #pc0 at isa? port 0x60 irq 1 # generic PC console device
164
165 # Keyboard layout configuration for pccons
166 #options FRENCH_KBD
167 #options FINNISH_KBD
168 #options GERMAN_KBD
169 #options NORWEGIAN_KBD
170
171 # wscons
172 pckbc0 at isa? # pc keyboard controller
173 pckbd* at pckbc? # PC keyboard
174 pms* at pckbc? # PS/2 mouse for wsmouse
175 pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse
176 vga* at pci?
177 wsdisplay* at vga? console ?
178 wskbd* at pckbd? console ?
179 wsmouse* at pms? mux 0
180 wsmouse* at pmsi? mux 0
181
182 pcppi0 at isa? # PC prog. periph. interface
183 isabeep0 at pcppi? # "keyboard" beep
184
185 mcclock0 at isa? port 0x70 # mc146818 and compatible
186
187
188 # Serial Devices
189
190 # ISA serial interfaces
191 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
192 com1 at isa? port 0x2f8 irq 3
193
194 # PCMCIA serial interfaces
195 com* at pcmcia? function ? # Modems and serial cards
196
197 pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
198 com* at pcmcom? slave ? # ...and the slave devices
199
200
201 # Parallel Printer Interfaces
202
203 # ISA parallel printer interfaces
204 lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
205
206
207 # SCSI Controllers and Devices
208
209 # PCI SCSI controllers
210 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
211 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
212 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
213 siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
214
215 # PCMCIA SCSI controllers
216 aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
217
218 # SCSI bus support
219 scsibus* at ahc?
220 scsibus* at aic?
221 scsibus* at iha?
222 scsibus* at pcscp?
223 scsibus* at siop?
224
225 # SCSI devices
226 sd* at scsibus? target ? lun ? # SCSI disk drives
227 st* at scsibus? target ? lun ? # SCSI tape drives
228 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
229 ch* at scsibus? target ? lun ? # SCSI autochangers
230 ss* at scsibus? target ? lun ? # SCSI scanners
231 uk* at scsibus? target ? lun ? # SCSI unknown
232
233
234 # IDE and related devices
235
236 # PCMCIA IDE controllers
237 wdc* at pcmcia? function ?
238
239 # IDE drives
240 # Flags are used only with controllers that support DMA operations
241 # and mode settings (e.g. some pciide controllers)
242 # The lowest order four bits (rightmost digit) of the flags define the PIO
243 # mode to use, the next set of four bits the DMA mode and the third set the
244 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
245 # to use, and the last bit must be 1 for this setting to be used.
246 # For DMA and UDMA, 0xf (1111) means 'disable'.
247 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
248 # (0xc=1100, 0xa=1010, 0xf=1111)
249 # 0x0000 means "use whatever the drive claims to support".
250 wd* at wdc? channel ? drive ? flags 0x0000
251
252 # ATAPI bus support
253 atapibus* at wdc? channel ?
254
255 # ATAPI devices
256 # flags have the same meaning as for IDE drives.
257 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
258 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
259 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
260
261
262 # Network Interfaces
263
264 # PCI network interfaces
265 de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
266 ep* at pci? dev ? function ? # 3Com 3c59x
267 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
268 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
269 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
270 rtk* at pci? dev ? function ? # Realtek 8129/8139
271 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
272
273 # ISA network interfaces
274 ep* at isa? port ? irq ? # 3Com 3c509 Ethernet
275 ne0 at isa? port 0x280 irq 9 # NE2000-compatible Ethernet
276 ne1 at isa? port 0x300 irq 10
277 we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
278
279 # ISA Plug-and-Play network intefaces
280 ep* at isapnp? # 3Com 3c509 Ethernet
281 ne* at isapnp? # NE2000-compatible Ethernet
282
283 # PCMCIA network interfaces
284 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
285 ne* at pcmcia? function ? # NE2000-compatible Ethernet
286
287 mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards
288 com* at mhzc?
289 sm* at mhzc?
290
291 # MII/PHY support
292 dmphy* at mii? phy ? # Davicom DM9101 PHYs
293 exphy* at mii? phy ? # 3Com internal PHYs
294 icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
295 inphy* at mii? phy ? # Intel 82555 PHYs
296 iophy* at mii? phy ? # Intel 82553 PHYs
297 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
298 nsphy* at mii? phy ? # NS83840 PHYs
299 nsphyter* at mii? phy ? # NS83843 PHYs
300 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
301 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
302 tlphy* at mii? phy ? # ThunderLAN PHYs
303 tqphy* at mii? phy ? # TDK Semiconductor PHYs
304 ukphy* at mii? phy ? # generic unknown PHYs
305
306
307 # USB Controller and Devices
308
309 # PCI USB controllers
310 #uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
311 #ohci* at pci? dev ? function ? # Open Host Controller
312
313 # USB bus support
314 #usb* at uhci?
315 #usb* at ohci?
316
317 # USB Hubs
318 #uhub* at usb?
319 #uhub* at uhub? port ? configuration ? interface ?
320
321 # USB Mice
322 #ums* at uhub? port ? configuration ? interface ?
323 #wsmouse* at ums? mux 0
324
325 # USB Keyboards
326 #ukbd* at uhub? port ? configuration ? interface ?
327 #wskbd* at ukbd? console ? mux 1
328
329 # USB Generic HID devices
330 #uhid* at uhub? port ? configuration ? interface ?
331
332 # USB Printer
333 #ulpt* at uhub? port ? configuration ? interface ?
334
335 # USB Modem
336 #umodem* at uhub? port ? configuration ?
337 #ucom* at umodem?
338
339 # USB Mass Storage
340 #umass* at uhub? port ? configuration ? interface ?
341 #scsibus* at umass? channel ?
342 #atapibus* at umass? channel ?
343
344 # USB audio
345 #uaudio* at uhub? port ? configuration ?
346
347 # USB Ethernet adapters
348 #aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
349 #cue* at uhub? port ? # CATC USB-EL1201A based adapters
350 #kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
351
352 # Prolofic PL2301/PL2302 host-to-host adapter
353 #upl* at uhub? port ?
354
355 # Serial adapters
356 # FTDI FT8U100AX serial adapter
357 #uftdi* at uhub? port ?
358 #ucom* at uftdi? portno ?
359
360 # Diamond Multimedia Rio 500
361 #urio* at uhub? port ?
362
363 # USB Handspring Visor
364 #uvisor* at uhub? port ?
365 #ucom* at uvisor?
366
367 # Y@P firmware loader
368 #uyap* at uhub? port ?
369
370 # USB Generic driver
371 #ugen* at uhub? port ?
372
373 # USB scanners
374 #uscanner* at uhub? port ?
375
376
377 # Audio device
378
379 # ISA Plug-and-Play audio devices
380 #wss* at isapnp? # CS4232
381
382 # Audio support
383 #audio* at uaudio?
384 #audio* at wss?
385
386 # MIDI support
387 midi* at pcppi? # MIDI interface to the PC speaker
388
389 # The spkr driver provides a simple tone interface to the built in speaker.
390 spkr0 at pcppi? # PC speaker
391
392 # Joysticks
393
394 # ISA joysticks. Probe is a little strange; add only if you have one.
395 joy0 at isa? port 0x201
396
397
398 # Pseudo-Devices
399
400 # disk/mass storage pseudo-devices
401 pseudo-device ccd 4 # concatenated/striped disk devices
402 #pseudo-device raid 4 # RAIDframe disk driver
403 #options RAID_AUTOCONFIG # auto-configuration of RAID components
404 pseudo-device md 1 # memory disk device (ramdisk)
405 pseudo-device vnd 4 # disk-like interface to files
406
407 # network pseudo-devices
408 pseudo-device loop # network loopback
409 pseudo-device bpfilter 8 # Berkeley packet filter
410 pseudo-device ipfilter # IP filter (firewall) and NAT
411 pseudo-device ppp 2 # Point-to-Point Protocol
412 pseudo-device sl 2 # Serial Line IP
413 pseudo-device strip 2 # Starmode Radio IP (Metricom)
414 pseudo-device tun 2 # network tunneling over tty
415 pseudo-device gre 2 # generic L3 over IP tunnel
416 pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003)
417 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
418 #pseudo-device faith 2 # IPv[46] tcp relay translation i/f
419 #pseudo-device stf 2 # 6to4 IPv6 over IPv4 encapsulation
420 pseudo-device vlan # IEEE 802.1q encapsulation
421
422 # miscellaneous pseudo-devices
423 pseudo-device pty # pseudo-terminals
424 pseudo-device tb 1 # tablet line discipline
425 pseudo-device sequencer 1 # MIDI sequencer
426 pseudo-device rnd # /dev/random and in-kernel generator
427 #options RND_COM # use "com" randomness as well
428
429 # a pseudo device needed for Coda # also needs CODA (above)
430 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
431
432 # mouse & keyboard multiplexor pseudo-devices
433 pseudo-device wsmux 2
434