1 # $NetBSD: GENERIC,v 1.127 2009/01/24 05:06:05 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/cats/conf/std.cats"
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
25 # estimated number of users
29 # Standard system options
31 options INSECURE # disable kernel securelevel
33 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
34 options NTP # NTP phase/frequency locked loop
36 # experimental ELF support when used on a CATS board running ABLE
38 #makeoptions ABLEELF="1"
40 # Enable experimental buffer queue strategy for better responsiveness under
41 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
42 #options BUFQ_READPRIO
43 #options BUFQ_PRIOCSCAN
47 # For StrongARM systems
48 options CPU_SA110 # Support the SA110 core
49 makeoptions CPUFLAGS="-march=armv4 -mtune=strongarm"
53 #options ARMFPE # ARM Ltd FPE
58 file-system LFS # log-structured file system
59 file-system MFS # memory file system
60 file-system NFS # Network file system
61 file-system ADOSFS # AmigaDOS-compatible file system
62 file-system EXT2FS # second extended file system (linux)
63 file-system CD9660 # ISO 9660 + Rock Ridge file system
64 file-system MSDOSFS # MS-DOS file system
65 file-system FDESC # /dev/fd
66 file-system KERNFS # /kern
67 file-system NULLFS # loopback file system
68 file-system OVERLAY # overlay filesystem
69 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
70 file-system PROCFS # /proc
71 file-system UMAPFS # NULLFS + uid and gid remapping
72 file-system UNION # union file system
73 file-system CODA # Coda File System; also needs vcode (below)
74 file-system PTYFS # /dev/pts/N support
75 #file-system TMPFS # Efficient memory file-system
76 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
79 options QUOTA # UFS quotas
80 #options FFS_EI # FFS Endian Independant support
82 options WAPBL # File system journaling support - Experimental
83 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
84 #options FFS_NO_SNAPSHOT # No FFS snapshot support
88 #options GATEWAY # packet forwarding
89 options INET # IP + ICMP + TCP + UDP
91 #options IPSEC # IP security
92 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
93 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
94 #options IPSEC_DEBUG # debug for IP security
95 #options MROUTING # IP multicast routing
96 #options PIM # Protocol Independent Multicast
97 #options ISO,TPIP # OSI
98 #options EON # OSI tunneling over IP
99 options NETATALK # AppleTalk networking
100 options PFIL_HOOKS # pfil(9) packet filter hooks
101 options PPP_BSDCOMP # BSD-Compress compression support for PPP
102 options PPP_DEFLATE # Deflate compression support for PPP
103 options PPP_FILTER # Active filter support for PPP (requires bpf)
104 options IPFILTER_LOG # ipmon(8) log support
105 options IPFILTER_LOOKUP # ippool(8) support
106 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
107 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
109 #options ALTQ # Manipulate network interfaces' output queues
110 #options ALTQ_BLUE # Stochastic Fair Blue
111 #options ALTQ_CBQ # Class-Based Queueing
112 #options ALTQ_CDNR # Diffserv Traffic Conditioner
113 #options ALTQ_FIFOQ # First-In First-Out Queue
114 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
115 #options ALTQ_HFSC # Hierarchical Fair Service Curve
116 #options ALTQ_LOCALQ # Local queueing discipline
117 #options ALTQ_PRIQ # Priority Queueing
118 #options ALTQ_RED # Random Early Detection
119 #options ALTQ_RIO # RED with IN/OUT
120 #options ALTQ_WFQ # Weighted Fair Queueing
122 options NFS_BOOT_BOOTP
123 options NFS_BOOT_DHCP
124 #options NFS_BOOT_BOOTPARAM
126 # Compatibility options
128 #options COMPAT_43 # 4.3BSD compatibility.
129 options COMPAT_50 # NetBSD 5.0 compatibility.
130 options COMPAT_40 # NetBSD 4.0 compatibility.
131 options COMPAT_30 # NetBSD 3.0 compatibility.
132 options COMPAT_20 # NetBSD 2.0 compatibility.
133 options COMPAT_16 # NetBSD 1.6 compatibility.
134 options COMPAT_15 # NetBSD 1.5 compatibility.
135 options COMPAT_14 # NetBSD 1.4 compatibility.
136 options COMPAT_13 # NetBSD 1.3 compatibility.
137 #options COMPAT_12 # NetBSD 1.2 compatibility.
138 #options COMPAT_11 # NetBSD 1.1 compatibility.
139 #options COMPAT_10 # NetBSD 1.0 compatibility.
140 #options COMPAT_09 # NetBSD 0.9 compatibility.
141 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
142 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
144 # Shared memory options
146 options SYSVMSG # System V-like message queues
147 options SYSVSEM # System V-like semaphores
148 options SYSVSHM # System V-like memory sharing
149 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
153 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
154 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
155 #options MEMORY_DISK_IS_ROOT # use memory disk as root
157 # Miscellaneous kernel options
158 options KTRACE # system call tracing, a la ktrace(1)
159 options IRQSTATS # manage IRQ statistics
160 #options KMEMSTATS # kernel memory statistics
161 options SCSIVERBOSE # Verbose SCSI errors
162 options PCIVERBOSE # Verbose PCI descriptions
163 options MIIVERBOSE # verbose PHY autoconfig messages
164 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
165 options USBVERBOSE # verbose USB device autoconfig messages
166 options USERCONF # userconf(4) support
167 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
168 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
170 # if set defines a keycode for the fcom console to break into ddb.
171 # 0x40 == @, see man ascii(7)
172 #options DDB_KEYCODE=0x40
175 #options WSEMUL_SUN # sun terminal emulation
176 options WSEMUL_VT100 # VT100 / VT220 emulation
177 # different kernel output - see dev/wscons/wsdisplayvar.h
178 options WS_KERNEL_FG=WSCOL_GREEN
179 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
180 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
181 options WSDISPLAY_COMPAT_USL # VT handling
182 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
183 # see dev/wscons/wskbdmap_mfii.h for implemented layouts
184 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
186 # Development and Debugging options
188 #options PORTMASTER # Enable PortMaster only options
189 #options DIAGNOSTIC # internally consistency checks
190 #options PMAP_DEBUG # Enable pmap_debug_level code
191 options DDB # in-kernel debugger
192 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
193 #makeoptions DEBUG="-g" # compile full symbol table
194 #options SYMTAB_SPACE=500000
196 config netbsd root on ? type ?
198 # The main bus device
205 footbridge0 at mainbus?
210 # system clock via footbridge
211 #clock* at footbridge?
214 # PCI bus via footbridge
215 pci0 at footbridge? # PCI bus
220 ppb* at pci? dev ? function ? # PCI-PCI bridges
221 # XXX 'puc's aren't really bridges, but there's no better place for them here
222 #puc* at pci? dev ? function ? # PCI "universal" comm. cards
224 # Cryptographic Devices
226 # PCI cryptographic devices
227 hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
228 ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
231 # PCI serial interfaces
232 #com* at puc? port ? # 16x50s on "universal" comm boards
233 #cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
235 # PCI parallel printer interfaces
236 #lpt* at puc? port ? # || ports on "universal" comm boards
238 # PCI SCSI Controllers and Buses
239 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], ULTRA SCSI
241 #adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI
243 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI controllers
245 #bha* at pci? dev ? function ? # BusLogic 9xx SCSI
247 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
249 #isp* at pci? dev ? function ? # Qlogic ISP 10x0 SCSI controllers
251 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
253 siop* at pci? dev ? function ? # NCR 53c8xx SCSI
255 esiop* at pci? dev ? function ? # NCR 53c875 SCSI and newer
259 sd* at scsibus? target ? lun ? # SCSI disk drives
260 st* at scsibus? target ? lun ? # SCSI tape drives
261 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
262 #ch* at scsibus? target ? lun ? # SCSI auto-changers
263 #uk* at scsibus? target ? lun ? # SCSI unknown device
264 #ss* at scsibus? target ? lun ? # SCSI scanner
266 # PCI IDE Controllers and Devices
267 # PCI IDE controllers - see pciide(4) for supported hardware.
268 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
269 # how to set up DMA modes for this chip. This may work, or may cause
270 # a machine hang with some controllers.
271 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
272 acardide* at pci? dev ? function ? # Acard IDE controllers
273 aceride* at pci? dev ? function ? # Acer Lab IDE controllers
274 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
275 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
276 cypide* at pci? dev ? function ? # Cypress IDE controllers
277 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
278 optiide* at pci? dev ? function ? # Opti IDE controllers
279 pdcide* at pci? dev ? function ? # Promise IDE controllers
280 pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
281 satalink* at pci? dev ? function ? # SiI SATALink controllers
282 siside* at pci? dev ? function ? # SiS IDE controllers
283 slide* at pci? dev ? function ? # Symphony Labs IDE controllers
284 viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
286 # ATA (IDE) bus support
290 # Flags are used only with controllers that support DMA operations
291 # and mode settings (e.g. some pciide controllers)
292 # The lowest order four bits (rightmost digit) of the flags define the PIO
293 # mode to use, the next set of four bits the DMA mode and the third set the
294 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
295 # to use, and the last bit must be 1 for this setting to be used.
296 # For DMA and UDMA, 0xf (1111) means 'disable'.
297 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
298 # (0xc=1100, 0xa=1010, 0xf=1111)
299 # 0x0000 means "use whatever the drive claims to support".
300 wd* at atabus? drive ? flags 0x0000 # the drives themselves
306 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
307 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
308 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
310 # PCI network interfaces
311 #en* at pci? dev ? function ? # ENI/Adaptec ATM
312 ep* at pci? dev ? function ? # 3C590 ethernet cards
313 ex* at pci? dev ? function ? # 3Com 90x[B]
314 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
315 #esh* at pci? dev ? function ? # Essential HIPPI card
316 #fpa* at pci? dev ? function ? # DEC DEFPA FDDI
317 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
318 #le* at pci? dev ? function ? # PCnet-PCI Ethernet
319 ne* at pci? dev ? function ? # NE2000 compat ethernet
320 #ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
321 sip* at pci? dev ? function ? # SiS 900 Ethernet
322 #tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
323 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
324 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
325 #lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
326 rtk* at pci? dev ? function ? # Realtek 8129/8139
329 acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
330 amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
331 bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
332 brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
333 dmphy* at mii? phy ? # Davicom DM9101 PHYs
334 exphy* at mii? phy ? # 3Com internal PHYs
335 glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
336 gphyter* at mii? phy ? # NS83861 Gig-E PHY
337 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
338 inphy* at mii? phy ? # Intel 82555 PHYs
339 iophy* at mii? phy ? # Intel 82553 PHYs
340 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
341 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
342 nsphy* at mii? phy ? # NS83840 PHYs
343 nsphyter* at mii? phy ? # NS83843 PHYs
344 pnaphy* at mii? phy ? # generic HomePNA PHYs
345 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
346 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
347 tlphy* at mii? phy ? # ThunderLAN PHYs
348 tqphy* at mii? phy ? # TDK Semiconductor PHYs
349 ukphy* at mii? phy ? # generic unknown PHYs
350 urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
352 # USB Controller and Devices
354 # PCI USB controllers
355 ohci* at pci? # Open Host Controller
362 uhub* at uhub? port ?
365 uhidev* at uhub? port ? configuration ? interface ?
368 ums* at uhidev? reportid ?
372 ukbd* at uhidev? reportid ?
373 wskbd* at ukbd? console ?
376 ucycom* at uhidev? reportid ?
378 # USB Generic HID devices
379 uhid* at uhidev? reportid ?
382 ulpt* at uhub? port ? configuration ? interface ?
385 umodem* at uhub? port ? configuration ?
389 umass* at uhub? port ? configuration ? interface ?
390 scsibus* at umass? channel ?
393 uaudio* at uhub? port ? configuration ?
397 umidi* at uhub? port ? configuration ?
400 # USB Ethernet adapters
401 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
402 axe* at uhub? port ? # ASIX AX88172 based adapters
403 cue* at uhub? port ? # CATC USB-EL1201A based adapters
404 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
405 url* at uhub? port ? # Realtek RTL8150L based adapters
406 udav* at uhub? port ? # Davicom DM9601 based adapters
408 # Prolific PL2301/PL2302 host-to-host adapter
412 # FTDI FT8U100AX serial adapter
413 uftdi* at uhub? port ?
414 ucom* at uftdi? portno ?
416 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
417 ucom* at uplcom? portno ?
419 umct* at uhub? port ? # MCT USB-RS232 serial adapter
420 ucom* at umct? portno ?
422 # Diamond Multimedia Rio 500
423 urio* at uhub? port ?
425 # USB Handspring Visor
426 uvisor* at uhub? port ?
429 # Kyocera AIR-EDGE PHONE
430 ukyopon* at uhub? port ?
431 ucom* at ukyopon? portno ?
434 uscanner* at uhub? port ?
436 # USB scanners that use SCSI emulation, e.g., HP5300
437 usscanner* at uhub? port ?
438 scsibus* at usscanner? channel ?
440 # Y@P firmware loader
441 uyap* at uhub? port ?
444 ugen* at uhub? port ?
449 #eap* at pci? dev ? function ? # Ensoniq AudioPCI
450 #sv* at pci? dev ? function ? # S3 SonicVibes
457 wsdisplay* at vga? console ?
461 pcib* at pci? dev ? function ? # PCI-ISA bridge
462 isa* at pcib? # ISA bus
464 # ISA Plug-and-Play bus support
468 pckbc0 at isa? # pc keyboard controller
469 pckbd* at pckbc? # PC keyboard
470 pms* at pckbc? # PS/2 mouse for wsmouse
471 wskbd* at pckbd? console ?
478 # ISA Plug-and-Play serial interfaces
479 com* at isapnp? # Modems and serial boards
481 # ISA Plug-and-Play network interfaces
482 ep* at isapnp? # 3Com 3c509 Ethernet
483 fmv* at isapnp? # Fujitsu FMV-183
484 ne* at isapnp? # NE2000-compatible
486 # ISA serial interfaces
487 com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
488 com1 at isa? port 0x2f8 irq 3
489 #com2 at isa? port 0x3e8 irq 9
490 #com3 at isa? port 0x2e8 irq 10
492 # ISA parallel printer interfaces
493 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
494 lpt1 at isa? port 0x278 irq 5
495 #lpt2 at isa? port 0x3bc
498 #fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
499 #fdc1 at isa? port 0x370 irq ? drq ?
500 #fd* at fdc? drive ? # the drives themselves
502 # ISA network interface
503 #ne0 at isa? port 0x280 irq 9
504 #ne1 at isa? port 0x300 irq 10
505 #ep* at isa? port ? irq ?
507 # The spkr driver provides a simple tone interface to the built in speaker.
508 spkr0 at pcppi? # PC speaker
510 ds1687rtc0 at isa? port 0x72 # Dallas 1687 RTC
512 # ISA Plug-and-Play audio devices
513 ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio
514 sb* at isapnp? # SoundBlaster-compatible audio
515 wss* at isapnp? # Windows Sound System
517 # OPL[23] FM syntheziers
530 midi* at pcppi? # MIDI interface to the PC speaker
531 midi* at sb? # SB MPU401 port
532 midi* at opl? # OPL FM synth
533 #midi* at mpu? # MPU 401
537 # ISA Plug-and-Play joysticks
538 joy* at isapnp? # Game ports (usually on audio cards)
540 # ISA joysticks. Probe is a little strange; add only if you have one.
541 #joy0 at isa? port 0x201
545 pseudo-device crypto # /dev/crypto device
546 pseudo-device swcrypto # software crypto implementation
548 # disk/mass storage pseudo-devices
549 pseudo-device ccd 2 # concatenated/striped disk devices
550 pseudo-device fss 4 # file system snapshot device
551 #pseudo-device cgd 2 # cryptographic disk devices
552 pseudo-device md 1 # memory disk device (ramdisk)
553 pseudo-device vnd # disk-like interface to files
554 #options VND_COMPRESSION # compressed vnd(4)
555 pseudo-device putter # for puffs and pud
557 # network pseudo-devices
558 pseudo-device bpfilter # Berkeley packet filter
559 #pseudo-device carp # Common Address Redundancy Protocol
560 pseudo-device ipfilter # IP filter (firewall) and NAT
561 pseudo-device loop # network loopback
562 pseudo-device ppp # Point-to-Point Protocol
563 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
564 pseudo-device sl # Serial Line IP
565 pseudo-device strip # Starmode Radio IP (Metricom)
566 pseudo-device tun # network tunneling over tty
567 pseudo-device tap # virtual Ethernet
568 pseudo-device gre # generic L3 over IP tunnel
569 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
570 #pseudo-device faith # IPv[46] tcp relay translation i/f
571 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
572 pseudo-device vlan # IEEE 802.1q encapsulation
573 pseudo-device bridge # simple inter-network bridging
574 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
575 pseudo-device agr # IEEE 802.3ad link aggregation
579 pseudo-device accf_data # "dataready" accept filter
580 pseudo-device accf_http # "httpready" accept filter
582 # miscellaneous pseudo-devices
583 pseudo-device pty # pseudo-terminals
584 pseudo-device sequencer 1 # MIDI sequencer
585 pseudo-device rnd # /dev/random and in-kernel generator
586 #options RND_COM # use "com" randomness as well (BROKEN)
587 pseudo-device clockctl # user control of clock subsystem
589 # a pseudo device needed for Coda # also needs CODA (above)
590 pseudo-device vcoda 4 # coda minicache <-> venus comm.
592 # mouse & keyboard multiplexor pseudo-devices
595 pseudo-device ksyms # /dev/ksyms
596 #pseudo-device pf # PF packet filter
597 #pseudo-device pflog # PF log if
601 # a pseudo device needed for veriexec
602 #pseudo-device veriexec 1
604 # Uncomment the fingerprint methods below that are desired. Note that
605 # removing fingerprint methods will have almost no impact on the kernel
608 #options VERIFIED_EXEC_FP_RMD160
609 #options VERIFIED_EXEC_FP_SHA256
610 #options VERIFIED_EXEC_FP_SHA384
611 #options VERIFIED_EXEC_FP_SHA512
612 #options VERIFIED_EXEC_FP_SHA1
613 #options VERIFIED_EXEC_FP_MD5