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