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