1 # $NetBSD: GENERIC,v 1.148 2009/01/24 05:06:07 mrg Exp $
3 # GENERIC machine description file
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.
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
12 # For further information on compiling NetBSD kernels, see the config(8)
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
21 include "arch/prep/conf/std.prep"
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
25 #ident "GENERIC-$Revision: 1.149 $"
31 options PIC_OPENPIC # OpenPIC support (7043-140)
35 # Standard system options
37 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
38 options NTP # NTP phase/frequency locked loop
40 options KTRACE # system call tracing via ktrace(1)
42 options SYSVMSG # System V-like message queues
43 options SYSVSEM # System V-like semaphores
44 options SYSVSHM # System V-like memory sharing
45 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
48 options USERCONF # userconf(4) support
49 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
50 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
52 # Enable experimental buffer queue strategy for better responsiveness under
53 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
54 #options BUFQ_READPRIO
55 #options BUFQ_PRIOCSCAN
57 # Diagnostic/debugging support options
58 #options DIAGNOSTIC # cheap kernel consistency checks
59 #options DEBUG # expensive debugging checks/support
60 #options KMEMSTATS # kernel memory statistics (vmstat -m)
61 options DDB # in-kernel debugger
62 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
63 #makeoptions DEBUG="-g"
65 # Compatibility options
66 options COMPAT_13 # NetBSD 1.3,
67 options COMPAT_14 # NetBSD 1.4,
68 options COMPAT_15 # NetBSD 1.5,
69 options COMPAT_16 # NetBSD 1.6,
70 options COMPAT_20 # NetBSD 2.0,
71 options COMPAT_30 # NetBSD 3.0,
72 options COMPAT_40 # NetBSD 4.0 compatibility.
73 options COMPAT_50 # NetBSD 5.0 compatibility.
74 options COMPAT_43 # and 4.3BSD
75 #options COMPAT_LINUX # Linux binary compatibility
76 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
77 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
81 file-system EXT2FS # second extended file system (linux)
82 #file-system LFS # log-structured file system
83 file-system MFS # memory file system
84 file-system NFS # Network File System client
85 #file-system NTFS # Windows/NT file system (experimental)
86 file-system CD9660 # ISO 9660 + Rock Ridge file system
87 file-system MSDOSFS # MS-DOS file system
88 #file-system FDESC # /dev/fd
89 file-system KERNFS # /kern
90 file-system NULLFS # loopback file system
91 #file-system OVERLAY # overlay file system
92 file-system PROCFS # /proc
93 #file-system UMAPFS # NULLFS + uid and gid remapping
94 file-system UNION # union file system
95 #file-system CODA # Coda File System; also needs vcoda (below)
96 file-system PTYFS # /dev/pts/N support
97 #file-system TMPFS # Efficient memory file-system
98 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
100 # File system options
101 options QUOTA # UFS quotas
102 #options FFS_EI # FFS Endian Independant support
103 options WAPBL # File system journaling support - Experimental
104 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
105 options NFSSERVER # Network File System server
106 #options FFS_NO_SNAPSHOT # No FFS snapshot support
107 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
108 # immutable) behave as system flags.
111 #options GATEWAY # packet forwarding
112 options INET # IP + ICMP + TCP + UDP
114 #options IPSEC # IP security
115 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
116 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
117 #options IPSEC_DEBUG # debug for IP security
118 #options MROUTING # IP multicast routing
119 #options PIM # Protocol Independent Multicast
120 #options NETATALK # AppleTalk networking protocols
121 options PPP_BSDCOMP # BSD-Compress compression support for PPP
122 options PPP_DEFLATE # Deflate compression support for PPP
123 options PPP_FILTER # Active filter support for PPP (requires bpf)
124 options PFIL_HOOKS # pfil(9) packet filter hooks
125 options IPFILTER_LOG # ipmon(8) log support
126 options IPFILTER_LOOKUP # ippool(8) support
127 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
128 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
130 #options ALTQ # Manipulate network interfaces' output queues
131 #options ALTQ_BLUE # Stochastic Fair Blue
132 #options ALTQ_CBQ # Class-Based Queueing
133 #options ALTQ_CDNR # Diffserv Traffic Conditioner
134 #options ALTQ_FIFOQ # First-In First-Out Queue
135 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
136 #options ALTQ_HFSC # Hierarchical Fair Service Curve
137 #options ALTQ_LOCALQ # Local queueing discipline
138 #options ALTQ_PRIQ # Priority Queueing
139 #options ALTQ_RED # Random Early Detection
140 #options ALTQ_RIO # RED with IN/OUT
141 #options ALTQ_WFQ # Weighted Fair Queueing
143 # These options enable verbose messages for several subsystems.
144 # Warning, these may compile large string tables into the kernel!
145 #options MIIVERBOSE # verbose PHY autoconfig messages
146 options PCIVERBOSE # verbose PCI device autoconfig messages
147 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
148 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
149 options SCSIVERBOSE # human readable SCSI error messages
150 #options USBVERBOSE # verbose USB device autoconfig messages
151 #options RESIDUAL_DATA_DUMP # verbosely dump residual data
152 #options NVRAM_DUMP # verbosely dump contents of nvram.
153 # Warning: output may not be ascii!
155 #options NFS_BOOT_BOOTP
156 options NFS_BOOT_BOOTPARAM
157 options NFS_BOOT_DHCP
162 # builtin terminal emulations
163 options WSEMUL_VT100 # VT100 / VT220 emulation
164 # different kernel output - see dev/wscons/wsdisplayvar.h
165 options WS_KERNEL_FG=WSCOL_GREEN
166 #options WS_KERNEL_BG=WSCOL_BLACK
167 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
168 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
169 # allocate a number of virtual screens at autoconfiguration time
170 #options WSDISPLAY_DEFAULTSCREENS=4
171 # use a large software cursor that doesn't blink
172 options PCDISPLAY_SOFTCURSOR
174 # Kernel root file system and dump configuration.
175 config netbsd root on ? type ?
176 #config netbsd root on tlp0 type nfs
177 #config netbsd root on pcn0 type nfs
181 # Device configuration
191 pci0 at mainbus0 bus ?
196 pchb* at pci? dev ? function ? # PCI-Host bridges
197 ppb* at pci? dev ? function ? # PCI-PCI bridges
198 pcib* at pci? dev ? function ? # PCI-ISA bridges
199 pceb* at pci? dev ? function ? # PCI-EISA bridges
205 isa* at pcib? # ISA on PCI-ISA bridge
209 pcmcia* at pcic? controller ? socket ?
211 # ISA PCMCIA controllers
212 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
214 #options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
215 #options PCIC_ISA_ALLOC_IOBASE=0x0400
216 #options PCIC_ISA_ALLOC_IOSIZE=0x0100
218 # ISA Plug-and-Play bus support
221 # PnPbus bus support (required)
227 pckbc0 at isa? # pc keyboard controller
228 pckbd* at pckbc? # PC keyboard
229 pms* at pckbc? # PS/2 mouse for wsmouse
231 wsdisplay* at vga? console ?
232 wskbd* at pckbd? console ?
233 wsmouse* at pms? mux 0
235 attimer0 at isa? # AT Timer
236 pcppi0 at isa? # PC prog. periph. interface
237 isabeep0 at pcppi? # "keyboard" beep
239 #mcclock0 at isa? port 0x70 # mc146818 and compatible
240 mcclock* at pnpbus? # mc146818 and compatible
241 mkclock* at pnpbus? # mk48t18 and compatible
245 # Cryptographic Devices
247 # PCI cryptographic devices
248 #hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
249 #ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
254 # ISA serial interfaces
255 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
256 com1 at isa? port 0x2f8 irq 3
258 # PCMCIA serial interfaces
259 com* at pcmcia? function ? # Modems and serial cards
261 #pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
262 #com* at pcmcom? slave ? # ...and the slave devices
265 # Parallel Printer Interfaces
267 # ISA parallel printer interfaces
268 lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
271 # SCSI Controllers and Devices
273 # PCI SCSI controllers
274 #adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
275 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
276 #iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
277 #pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
278 siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
279 esiop* at pci? dev ? function ? # Symbios 53c875 SCSI and newer
281 # PCMCIA SCSI controllers
282 aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
283 spc* at pcmcia? function ? # Fujitsu MB87030/MB89352 SCSI
296 sd* at scsibus? target ? lun ? # SCSI disk drives
297 st* at scsibus? target ? lun ? # SCSI tape drives
298 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
299 #ch* at scsibus? target ? lun ? # SCSI autochangers
300 #ss* at scsibus? target ? lun ? # SCSI scanners
301 uk* at scsibus? target ? lun ? # SCSI unknown
303 # IDE and related devices
305 # IDE controller found on most Power Personal machines
308 # PCI IDE controllers
309 pciide* at pci? dev ? function ? flags 0x0000
310 hptide* at pci? dev ? function ?
311 slide* at pci? dev ? function ?
313 fdc0 at pnpbus? # standard ISA floppy controller
316 # ISA Plug-and-Play IDE controllers
319 # PCMCIA IDE controllers
320 wdc* at pcmcia? function ?
322 # ATA (IDE) bus support
326 # Flags are used only with controllers that support DMA operations
327 # and mode settings (e.g. some pciide controllers)
328 # The lowest order four bits (rightmost digit) of the flags define the PIO
329 # mode to use, the next set of four bits the DMA mode and the third set the
330 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
331 # to use, and the last bit must be 1 for this setting to be used.
332 # For DMA and UDMA, 0xf (1111) means 'disable'.
333 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
334 # (0xc=1100, 0xa=1010, 0xf=1111)
335 # 0x0000 means "use whatever the drive claims to support".
336 wd* at atabus? drive ? flags 0x0000
342 # flags have the same meaning as for IDE drives.
343 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
344 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
345 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
347 # Miscellaneous mass storage devices
351 # PCI network interfaces
352 ep* at pci? dev ? function ? # 3Com 3c59x
353 ex* at pci? dev ? function ? # 3Com 3c90x[BC]
354 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
355 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
356 pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
357 rtk* at pci? dev ? function ? # Realtek 8129/8139
358 sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
359 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
360 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
362 # pnpbus network interfaces
363 we* at pnpbus? # WD/SMC Ethernet
365 # ISA network interfaces
366 #ep* at isa? port ? irq ? # 3Com 3c509 Ethernet
367 #ne0 at isa? port 0x280 irq 9 # NE2000-compatible Ethernet
368 #ne1 at isa? port 0x300 irq 10
369 #we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
370 we1 at isa? port 0x300 iomem 0xe8000 irq 11
372 # ISA Plug-and-Play network intefaces
373 #ep* at isapnp? # 3Com 3c509 Ethernet
374 #ne* at isapnp? # NE2000-compatible Ethernet
376 # PCMCIA network interfaces
377 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
378 ne* at pcmcia? function ? # NE2000-compatible Ethernet
381 dmphy* at mii? phy ? # Davicom DM9101 PHYs
382 exphy* at mii? phy ? # 3Com internal PHYs
383 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
384 inphy* at mii? phy ? # Intel 82555 PHYs
385 iophy* at mii? phy ? # Intel 82553 PHYs
386 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
387 nsphy* at mii? phy ? # NS83840 PHYs
388 nsphyter* at mii? phy ? # NS83843 PHYs
389 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
390 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
391 tlphy* at mii? phy ? # ThunderLAN PHYs
392 tqphy* at mii? phy ? # TDK Semiconductor PHYs
393 ukphy* at mii? phy ? # generic unknown PHYs
396 # USB Controller and Devices
398 # PCI USB controllers
399 #uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
400 #ohci* at pci? dev ? function ? # Open Host Controller
402 # PCMCIA USB controllers
403 #slhci* at pcmcia? function ? # ScanLogic SL811HS
412 #uhub* at uhub? port ?
415 #uhidev* at uhub? port ? configuration ? interface ?
418 #ums* at uhidev? reportid ?
419 #wsmouse* at ums? mux 0
422 #ukbd* at uhidev? reportid ?
423 #wskbd* at ukbd? console ? mux 1
426 #ucycom* at uhidev? reportid ?
428 # USB Generic HID devices
429 #uhid* at uhidev? reportid ?
432 #ulpt* at uhub? port ? configuration ? interface ?
435 #umodem* at uhub? port ? configuration ?
439 #umass* at uhub? port ? configuration ? interface ?
440 #scsibus* at umass? channel ?
444 #uaudio* at uhub? port ? configuration ?
446 # USB Ethernet adapters
447 #aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
448 #axe* at uhub? port ? # ASIX AX88172 based adapters
449 #cue* at uhub? port ? # CATC USB-EL1201A based adapters
450 #kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
451 #url* at uhub? port ? # Realtek RTL8150L based adapters
452 #udav* at uhub? port ? # Davicom DM9601 based adapters
454 # Prolific PL2301/PL2302 host-to-host adapter
455 #upl* at uhub? port ?
458 #uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
459 #ucom* at uftdi? portno ?
461 #umct* at uhub? port ? # MCT USB-RS232 serial adapter
462 #ucom* at umct? portno ?
464 #uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
465 #ucom* at uplcom? portno ?
467 #uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
468 #ucom* at uvscom? portno ?
470 # Diamond Multimedia Rio 500
471 #urio* at uhub? port ?
473 # USB Handspring Visor
474 #uvisor* at uhub? port ?
477 # Kyocera AIR-EDGE PHONE
478 #ukyopon* at uhub? port ?
479 #ucom* at ukyopon? portno ?
481 # Y@P firmware loader
482 #uyap* at uhub? port ?
485 #ugen* at uhub? port ?
488 #uscanner* at uhub? port ?
493 # ISA Plug-and-Play audio devices
494 #wss* at isapnp? # CS4232
495 #wss0 at isa? port 0x530 irq 5 drq 1 drq2 0
502 #midi* at pcppi? # MIDI interface to the PC speaker
504 # The spkr driver provides a simple tone interface to the built in speaker.
505 #spkr0 at pcppi? # PC speaker
510 # ISA Plug-and-Play joysticks
511 #joy* at isapnp? # Game ports (usually on audio cards)
513 # ISA joysticks. Probe is a little strange; add only if you have one.
514 #joy0 at isa? port 0x201
516 # Pull in optional local configuration
517 cinclude "arch/prep/conf/GENERIC.local"
521 pseudo-device crypto # /dev/crypto device
522 pseudo-device swcrypto # software crypto implementation
524 # disk/mass storage pseudo-devices
525 pseudo-device ccd 4 # concatenated/striped disk devices
526 #pseudo-device cgd 4 # cryptographic disk devices
527 pseudo-device raid 8 # RAIDframe disk driver
528 options RAID_AUTOCONFIG # auto-configuration of RAID components
529 # Options to enable various other RAIDframe RAID types.
530 #options RF_INCLUDE_EVENODD=1
531 #options RF_INCLUDE_RAID5_RS=1
532 #options RF_INCLUDE_PARITYLOGGING=1
533 #options RF_INCLUDE_CHAINDECLUSTER=1
534 #options RF_INCLUDE_INTERDECLUSTER=1
535 #options RF_INCLUDE_PARITY_DECLUSTERING=1
536 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
537 pseudo-device fss 4 # file system snapshot device
538 pseudo-device md 1 # memory disk device (ramdisk)
539 pseudo-device vnd # disk-like interface to files
540 #options VND_COMPRESSION # compressed vnd(4)
542 # network pseudo-devices
543 pseudo-device loop # network loopback
544 pseudo-device bpfilter # Berkeley packet filter
545 #pseudo-device carp # Common Address Redundancy Protocol
546 pseudo-device ipfilter # IP filter (firewall) and NAT
547 pseudo-device ppp # Point-to-Point Protocol
548 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
549 #pseudo-device sl # Serial Line IP
550 pseudo-device strip # Starmode Radio IP (Metricom)
551 pseudo-device tun # network tunneling over tty
552 pseudo-device tap # virtual Ethernet
553 pseudo-device gre # generic L3 over IP tunnel
554 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
555 #pseudo-device faith # IPv[46] tcp relay translation i/f
556 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
557 pseudo-device vlan # IEEE 802.1q encapsulation
558 pseudo-device bridge # simple inter-network bridging
559 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
560 pseudo-device agr # IEEE 802.3ad link aggregation
564 pseudo-device accf_data # "dataready" accept filter
565 pseudo-device accf_http # "httpready" accept filter
567 # miscellaneous pseudo-devices
568 pseudo-device pty # pseudo-terminals
569 #pseudo-device sequencer 1 # MIDI sequencer
570 pseudo-device rnd # /dev/random and in-kernel generator
571 #options RND_COM # use "com" randomness as well
572 pseudo-device clockctl # user control of clock subsystem
573 pseudo-device ksyms # /dev/ksyms
574 #pseudo-device pf # PF packet filter
575 #pseudo-device pflog # PF log if
577 # a pseudo device needed for Coda # also needs CODA (above)
578 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
580 # wscons pseudo-devices
581 pseudo-device wsmux # mouse & keyboard multiplexor
584 options FILEASSOC # fileassoc(9) - required for Veriexec
588 # a pseudo device needed for veriexec
589 pseudo-device veriexec 1
591 # Uncomment the fingerprint methods below that are desired. Note that
592 # removing fingerprint methods will have almost no impact on the kernel
595 options VERIFIED_EXEC_FP_RMD160
596 options VERIFIED_EXEC_FP_SHA256
597 options VERIFIED_EXEC_FP_SHA384
598 options VERIFIED_EXEC_FP_SHA512
599 options VERIFIED_EXEC_FP_SHA1
600 options VERIFIED_EXEC_FP_MD5