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