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