Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.27
      1 # $NetBSD: GENERIC,v 1.27 2002/04/25 15:06:25 atatat 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/cats/conf/std.cats"
     22 
     23 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     24 
     25 # estimated number of users
     26 
     27 maxusers	32
     28 
     29 # Standard system options
     30 
     31 options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
     32 options 	INSECURE	# disable kernel securelevel
     33 
     34 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     35 options 	NTP		# NTP phase/frequency locked loop
     36 
     37 # CPU options
     38 
     39 # For StrongARM systems
     40 options 	CPU_SA110	# Support the SA110 core
     41 makeoptions	COPTS="-O2 -march=armv4 -mtune=strongarm"
     42 
     43 # FPA options
     44 
     45 #options 	ARMFPE		# ARM Ltd FPE
     46 
     47 # File systems
     48 
     49 file-system	FFS		# UFS
     50 file-system	LFS		# log-structured file system
     51 file-system	MFS		# memory file system
     52 file-system	NFS		# Network file system
     53 file-system 	ADOSFS		# AmigaDOS-compatible file system
     54 file-system 	EXT2FS		# second extended file system (linux)
     55 file-system	CD9660		# ISO 9660 + Rock Ridge file system
     56 file-system	MSDOSFS		# MS-DOS file system
     57 file-system	FDESC		# /dev/fd
     58 file-system	KERNFS		# /kern
     59 file-system	NULLFS		# loopback file system
     60 file-system 	OVERLAY		# overlay filesystem
     61 file-system	PORTAL		# portal filesystem (still experimental)
     62 file-system	PROCFS		# /proc
     63 file-system	UMAPFS		# NULLFS + uid and gid remapping
     64 file-system	UNION		# union file system
     65 file-system	CODA		# Coda File System; also needs vcode (below)
     66 
     67 # File system options
     68 options 	QUOTA		# UFS quotas
     69 #options 	FFS_EI		# FFS Endian Independant support
     70 options 	NFSSERVER
     71 options 	SOFTDEP		# FFS soft updates support
     72 
     73 # Networking options
     74 
     75 #options 	GATEWAY		# packet forwarding
     76 options 	INET		# IP + ICMP + TCP + UDP
     77 options 	INET6		# IPV6
     78 #options 	IPSEC		# IP security
     79 #options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
     80 #options 	IPSEC_DEBUG	# debug for IP security
     81 #options 	MROUTING	# IP multicast routing
     82 options 	NS		# XNS
     83 #options 	NSIP		# XNS tunneling over IP
     84 options 	ISO,TPIP	# OSI
     85 #options 	EON		# OSI tunneling over IP
     86 options 	CCITT,LLC,HDLC	# X.25
     87 options 	NETATALK	# AppleTalk networking
     88 options 	PFIL_HOOKS	# pfil(9) packet filter hooks
     89 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     90 options 	PPP_DEFLATE	# Deflate compression support for PPP
     91 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     92 options 	IPFILTER_LOG	# ipmon(8) log support
     93 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     94 
     95 options 	NFS_BOOT_BOOTP
     96 options 	NFS_BOOT_DHCP
     97 #options 	NFS_BOOT_BOOTPARAM
     98 
     99 # Compatibility options
    100 
    101 #options 	COMPAT_43	# 4.3BSD compatibility.
    102 options 	COMPAT_14	# NetBSD 1.4 compatibility.
    103 options 	COMPAT_13	# NetBSD 1.3 compatibility.
    104 #options 	COMPAT_12	# NetBSD 1.2 compatibility.
    105 #options 	COMPAT_11	# NetBSD 1.1 compatibility.
    106 #options 	COMPAT_10	# NetBSD 1.0 compatibility.
    107 #options 	COMPAT_09	# NetBSD 0.9 compatibility.
    108 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    109 
    110 # Shared memory options
    111 
    112 options 	SYSVMSG		# System V-like message queues
    113 options 	SYSVSEM		# System V-like semaphores
    114 #options 	SEMMNI=10	# number of semaphore identifiers
    115 #options 	SEMMNS=60	# number of semaphores in system
    116 #options 	SEMUME=10	# max number of undo entries per process
    117 #options 	SEMMNU=30	# number of undo structures in system
    118 options 	SYSVSHM		# System V-like memory sharing
    119 #options 	SHMMAXPGS=1024	# 1024 pages is the default
    120 
    121 # Device options
    122 
    123 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    124 #options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
    125 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    126 
    127 # Miscellaneous kernel options
    128 options 	KTRACE		# system call tracing, a la ktrace(1)
    129 options 	IRQSTATS	# manage IRQ statistics
    130 #options 	LKM		# loadable kernel modules
    131 #options 	KMEMSTATS	# kernel memory statistics
    132 options 	SCSIVERBOSE	# Verbose SCSI errors
    133 options 	PCIVERBOSE	# Verbose PCI descriptions
    134 options 	MIIVERBOSE	# verbose PHY autoconfig messages
    135 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    136 options 	USBVERBOSE	# verbose USB device autoconfig messages
    137 #options 	DDB_KEYCODE=0x40
    138 options 	PMAP_STATIC_L1S=128
    139 #options 	USERCONF	# userconf(4) support
    140 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    141 
    142 # wscons options
    143 #options 	WSEMUL_SUN		# sun terminal emulation
    144 options 	WSEMUL_VT100		# VT100 / VT220 emulation
    145 # different kernel output - see dev/wscons/wsdisplayvar.h
    146 options 	WS_KERNEL_FG=WSCOL_GREEN
    147 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    148 options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
    149 options 	WSDISPLAY_COMPAT_USL		# VT handling
    150 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    151 # see dev/wscons/wskbdmap_mfii.h for implemented layouts
    152 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    153 
    154 # Development and Debugging options
    155 
    156 #options 	ARM700BUGTRACK	# track the ARM700 swi bug
    157 #options 	PORTMASTER	# Enable PortMaster only options
    158 options 	DIAGNOSTIC	# internally consistency checks
    159 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    160 #options 	IPKDB		# remote kernel debugging
    161 options 	DDB		# in-kernel debugger
    162 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    163 #makeoptions	DEBUG="-g"	# compile full symbol table
    164 
    165 config		netbsd	root on ? type ?
    166 
    167 # The main bus device
    168 mainbus0 at root
    169 
    170 # The boot cpu
    171 cpu0 at mainbus?
    172 
    173 # Core logic
    174 footbridge0	at mainbus?
    175 
    176 # footbridge uart
    177 fcom0	at footbridge?
    178 
    179 # system clock via footbridge
    180 #clock*	at footbridge?
    181 
    182 # time-of-day device via footbridge or RTC
    183 todclock0	at todservice?
    184 
    185 # PCI bus support
    186 # PCI bus via footbridge
    187 pci0	at footbridge?			# PCI bus
    188 
    189 pci*	at ppb? bus ?
    190 
    191 # PCI bridges
    192 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    193 # XXX 'puc's aren't really bridges, but there's no better place for them here
    194 #puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
    195 
    196 # PCI serial interfaces
    197 #com*	at puc? port ?			# 16x50s on "universal" comm boards
    198 #cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
    199 
    200 # PCI parallel printer interfaces
    201 #lpt*	at puc? port ?			# || ports on "universal" comm boards
    202 
    203 # PCI SCSI Controllers and Buses
    204 adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], ULTRA SCSI
    205 scsibus* at adv?
    206 #adw*	at pci? dev ? function ?	# AdvanSys 9xxUW SCSI
    207 #scsibus* at adw?
    208 ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI controllers
    209 scsibus* at ahc?
    210 #bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
    211 #scsibus* at bha?
    212 iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
    213 scsibus* at iha?
    214 isp*	at pci? dev ? function ?	# Qlogic ISP 10x0 SCSI controllers
    215 scsibus* at isp?
    216 pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
    217 scsibus* at pcscp?
    218 siop*	at pci? dev ? function ?	# NCR 53c8xx SCSI
    219 scsibus* at siop?
    220 
    221 # SCSI devices
    222 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    223 st*	at scsibus? target ? lun ?	# SCSI tape drives
    224 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    225 #ch*	at scsibus? target ? lun ?	# SCSI auto-changers
    226 #uk*	at scsibus? target ? lun ?	# SCSI unknown device
    227 #ss*	at scsibus? target ? lun ?	# SCSI scanner
    228 
    229 # PCI IDE Controllers and Devices
    230 # PCI IDE controllers - see pciide(4) for supported hardware.
    231 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
    232 # how to set up DMA modes for this chip. This may work, or may cause
    233 # a machine hang with some controllers.
    234 pciide* at pci? dev ? function ? flags 0x0000
    235 
    236 # IDE drives
    237 # Flags are used only with controllers that support DMA operations
    238 # and mode settings (e.g. some pciide controllers)
    239 # The lowest order four bits (rightmost digit) of the flags define the PIO
    240 # mode to use, the next set of four bits the DMA mode and the third set the
    241 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
    242 # to use, and the last bit must be 1 for this setting to be used.
    243 # For DMA and UDMA, 0xf (1111) means 'disable'.
    244 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
    245 # (0xc=1100, 0xa=1010, 0xf=1111)
    246 # 0x0000 means "use whatever the drive claims to support".
    247 wd*	at pciide? channel ? drive ? flags 0x0000	# the drives themselves
    248 
    249 # ATAPI bus support
    250 atapibus* at pciide? channel ?
    251 
    252 # ATAPI devices
    253 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    254 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    255 uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    256 
    257 # PCI network interfaces
    258 #en*	at pci? dev ? function ?	# ENI/Adaptec ATM
    259 ep*	at pci? dev ? function ?	# 3C590 ethernet cards
    260 ex*	at pci? dev ? function ?	# 3Com 90x[B]
    261 epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
    262 #esh*	at pci? dev ? function ?	# Essential HIPPI card
    263 #fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
    264 fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
    265 #le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
    266 ne*	at pci? dev ? function ?	# NE2000 compat ethernet
    267 #ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
    268 sip*	at pci? dev ? function ?	# SiS 900 Ethernet
    269 #tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
    270 tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
    271 vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
    272 #lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
    273 rtk*	at pci? dev ? function ?	# Realtek 8129/8139
    274 
    275 # MII/PHY support
    276 exphy*	at mii? phy ?			# 3Com internal PHYs
    277 #icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
    278 inphy*	at mii? phy ?			# Intel 82555 PHYs
    279 #iophy*	at mii? phy ?			# Intel 82553 PHYs
    280 #lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
    281 nsphy*	at mii? phy ?			# NS83840 PHYs
    282 #nsphyter* at mii? phy ?		# NS83843 PHYs
    283 qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
    284 #sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    285 #tlphy*	at mii? phy ?			# ThunderLAN PHYs
    286 #tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
    287 ukphy*	at mii? phy ?			# generic unknown PHYs
    288 
    289 # USB Controller and Devices
    290 
    291 # PCI USB controllers
    292 ohci*	at pci?				# Open Host Controller
    293 
    294 # USB bus support
    295 usb*	at ohci?
    296 
    297 # USB Hubs
    298 uhub*	at usb?
    299 uhub*	at uhub? port ? configuration ? interface ?
    300 
    301 # USB HID device
    302 uhidev*	at uhub? port ? configuration ? interface ?
    303 
    304 # USB Mice
    305 ums*	at uhidev? reportid ?
    306 wsmouse*	at ums?
    307 
    308 # USB Keyboards
    309 ukbd*	at uhidev? reportid ?
    310 wskbd*	at ukbd? console ?
    311 
    312 # USB Generic HID devices
    313 uhid*	at uhidev? reportid ?
    314 
    315 # USB Printer
    316 ulpt*	at uhub? port ? configuration ? interface ?
    317 
    318 # USB Modem
    319 umodem*	at uhub? port ? configuration ?
    320 ucom*	at umodem?
    321 
    322 # USB Mass Storage
    323 umass*	at uhub? port ? configuration ? interface ?
    324 atapibus* at umass? channel ?
    325 scsibus* at umass? channel ?
    326 
    327 # USB audio
    328 uaudio*	at uhub? port ? configuration ?
    329 audio*	at uaudio?
    330 
    331 # USB MIDI
    332 umidi*	at uhub? port ? configuration ?
    333 midi*	at umidi?
    334 
    335 # USB Ethernet adapters
    336 aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    337 cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    338 kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    339 
    340 # Prolofic PL2301/PL2302 host-to-host adapter
    341 upl*	at uhub? port ?
    342 
    343 # Serial adapters
    344 # FTDI FT8U100AX serial adapter
    345 uftdi*	at uhub? port ?
    346 ucom*	at uftdi? portno ?
    347 
    348 uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
    349 ucom*	at uplcom? portno ?
    350 
    351 umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
    352 ucom*	at umct? portno ?
    353 
    354 # Diamond Multimedia Rio 500
    355 urio*	at uhub? port ?
    356 
    357 # USB Handspring Visor
    358 uvisor*	at uhub? port ?
    359 ucom*	at uvisor?
    360 
    361 # USB scanners
    362 uscanner* at uhub? port ?
    363 
    364 # USB scanners that use SCSI emulation, e.g., HP5300
    365 usscanner* at uhub? port ?
    366 scsibus* at usscanner? channel ?
    367 
    368 # Y@P firmware loader
    369 uyap* at uhub? port ?
    370 
    371 # USB Generic driver
    372 ugen* at uhub? port ?
    373 
    374 # Audio Devices
    375 
    376 # PCI audio devices
    377 #eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
    378 #sv*	at pci? dev ? function ?	# S3 SonicVibes
    379 
    380 # Audio support
    381 #audio*	at eap?
    382 #audio*	at sv?
    383 
    384 vga*		at pci?
    385 wsdisplay*	at vga? console ?
    386 
    387 # ISA bus bridging
    388 
    389 pcib*	at pci? dev ? function ?	# PCI-ISA bridge
    390 isa*	at pcib?			# ISA bus
    391 
    392 # ISA Plug-and-Play bus support
    393 isapnp0	at isa?
    394 
    395 # wscons
    396 pckbc0	at isa?			# pc keyboard controller
    397 pckbd*	at pckbc?		# PC keyboard
    398 pms*		at pckbc?		# PS/2 mouse for wsmouse
    399 wskbd*		at pckbd? console ?
    400 wsmouse*	at pms?
    401 
    402 pcppi0	at isa?
    403 sysbeep0	at pcppi?
    404 
    405 # ISA Plug-and-Play serial interfaces
    406 com*	at isapnp?			# Modems and serial boards
    407 
    408 # ISA Plug-and-Play network interfaces
    409 ep*	at isapnp?			# 3Com 3c509 Ethernet
    410 
    411 # ISA serial interfaces
    412 com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
    413 com1	at isa? port 0x2f8 irq 3
    414 #com2	at isa? port 0x3e8 irq 9
    415 #com3	at isa? port 0x2e8 irq 10
    416 
    417 # ISA parallel printer interfaces
    418 lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
    419 lpt1	at isa? port 0x278 irq 5
    420 #lpt2	at isa? port 0x3bc
    421 
    422 # ISA floppy
    423 #fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
    424 #fdc1	at isa? port 0x370 irq ? drq ?
    425 #fd*	at fdc? drive ?			# the drives themselves
    426 
    427 # ISA network interface
    428 #ne0	at isa? port 0x280 irq 9
    429 #ne1	at isa? port 0x300 irq 10
    430 #ep*	at isa? port ? irq ?
    431 
    432 # The spkr driver provides a simple tone interface to the built in speaker.
    433 spkr0	at pcppi?			# PC speaker
    434 
    435 dsrtc0	at isa? port 0x72		# Dallas RTC
    436 
    437 # ISA Plug-and-Play audio devices
    438 ess*	at isapnp?			# ESS Tech ES1887, ES1888, ES888 audio
    439 sb*	at isapnp?			# SoundBlaster-compatible audio
    440 wss*	at isapnp?			# Windows Sound System
    441 
    442 # OPL[23] FM syntheziers
    443 opl*	at ess?
    444 opl*	at sb?
    445 
    446 # Audio support
    447 audio*	at ess?
    448 audio*	at sb?
    449 audio*	at wss?
    450 
    451 # MPU 401 UARTs
    452 #mpu*	at sb?
    453 
    454 # MIDI support
    455 midi*	at pcppi?		# MIDI interface to the PC speaker
    456 midi*	at sb?			# SB MPU401 port
    457 midi*	at opl?			# OPL FM synth
    458 #midi*	at mpu?			# MPU 401
    459 
    460 # Joysticks
    461 
    462 # ISA Plug-and-Play joysticks
    463 joy*	at isapnp?			# Game ports (usually on audio cards)
    464 
    465 # ISA joysticks. Probe is a little strange; add only if you have one.
    466 #joy0	at isa? port 0x201
    467 
    468 # Pseudo-Devices
    469 
    470 # disk/mass storage pseudo-devices
    471 pseudo-device	ccd		2	# concatenated/striped disk devices
    472 pseudo-device	md		1	# memory disk device (ramdisk)
    473 pseudo-device	vnd		4	# disk-like interface to files
    474 
    475 # network pseudo-devices
    476 pseudo-device	bpfilter	4	# Berkeley packet filter
    477 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    478 pseudo-device	loop			# network loopback
    479 pseudo-device	ppp		2	# Point-to-Point Protocol
    480 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    481 pseudo-device	sl		2	# Serial Line IP
    482 pseudo-device	strip		2	# Starmode Radio IP (Metricom)
    483 pseudo-device	tun		2	# network tunneling over tty
    484 pseudo-device	gre		2	# generic L3 over IP tunnel
    485 pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
    486 #pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
    487 #pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
    488 pseudo-device	vlan			# IEEE 802.1q encapsulation
    489 pseudo-device	bridge			# simple inter-network bridging
    490 
    491 # miscellaneous pseudo-devices
    492 pseudo-device	pty			# pseudo-terminals
    493 pseudo-device	tb		1	# tablet line discipline
    494 pseudo-device	sequencer	1	# MIDI sequencer
    495 pseudo-device	rnd			# /dev/random and in-kernel generator
    496 #options 	RND_COM			# use "com" randomness as well (BROKEN)
    497 
    498 # a pseudo device needed for Coda	# also needs CODA (above)
    499 pseudo-device	vcoda		4	# coda minicache <-> venus comm.
    500 
    501 # mouse & keyboard multiplexor pseudo-devices
    502 pseudo-device	wsmux
    503