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