Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.4
      1 #	$NetBSD: GENERIC,v 1.4 2000/04/08 18:16:42 kleink Exp $
      2 #
      3 #	GENERIC -- everything that's currently supported
      4 #
      5 
      6 include "arch/prep/conf/std.prep"
      7 
      8 #ident		"GENERIC-$Revision: 1.4 $"
      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 # Pull in config fragments for kernel crypto.  This is required for
     67 # options IPSEC etc. to work. If you want to run with IPSEC, uncomment
     68 # one of these, based on whether you use crypto-us or crypto-intl, and
     69 # adjust the prefixes as necessary.
     70 
     71 #prefix ../crypto-us/sys
     72 #cinclude "conf/files.crypto-us"
     73 #prefix
     74 
     75 #prefix ../crypto-intl/sys
     76 #cinclude "conf/files.crypto-intl"
     77 #prefix
     78 
     79 # Networking options
     80 #options 	GATEWAY		# packet forwarding
     81 options 	INET		# IP + ICMP + TCP + UDP
     82 options 	INET6		# IPv6
     83 #options 	IPSEC		# IP security
     84 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
     85 #options 	IPSEC_DEBUG	# debug for IP security
     86 #options 	MROUTING	# IP multicast routing
     87 options 	NETATALK	# AppleTalk networking protocols
     88 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     89 options 	PPP_DEFLATE	# Deflate compression support for PPP
     90 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     91 options 	PFIL_HOOKS	# pfil(9) packet filter hooks
     92 options 	IPFILTER_LOG	# ipmon(8) log support
     93 
     94 # Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
     95 #options 	TCP_COMPAT_42
     96 
     97 # These options enable verbose messages for several subsystems.
     98 # Warning, these may compile large string tables into the kernel!
     99 options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    100 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    101 options 	SCSIVERBOSE	# human readable SCSI error messages
    102 
    103 options 	NFS_BOOT_BOOTP
    104 options 	NFS_BOOT_BOOTPARAM
    105 options 	NFS_BOOT_DHCP
    106 
    107 #
    108 # wscons options
    109 #
    110 # builtin terminal emulations
    111 options 	WSEMUL_VT100		# VT100 / VT220 emulation
    112 # different kernel output - see dev/wscons/wsdisplayvar.h
    113 options 	WS_KERNEL_FG=WSCOL_GREEN
    114 #options 	WS_KERNEL_BG=WSCOL_BLACK
    115 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
    116 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    117 # allocate a number of virtual screens at autoconfiguration time
    118 #options 	WSDISPLAY_DEFAULTSCREENS=4
    119 # use a large software cursor that doesn't blink
    120 options 	PCDISPLAY_SOFTCURSOR
    121 
    122 # Kernel root file system and dump configuration.
    123 config	netbsd	root on ? type ?
    124 #config	netbsd	root on de0 type nfs
    125 #config	netbsd	root on le0 type nfs
    126 
    127 #
    128 # Device configuration
    129 #
    130 
    131 mainbus0 at root
    132 cpu0	at mainbus0
    133 
    134 # Basic Bus Support
    135 
    136 # PCI bus support
    137 pci0	at mainbus0 bus ?
    138 pci*	at pchb? bus ?
    139 pci*	at ppb? bus ?
    140 
    141 # PCI bridges
    142 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    143 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    144 pcib*	at pci? dev ? function ?	# PCI-ISA bridges
    145 
    146 # ISA bus support
    147 isa*	at pcib?			# ISA on PCI-ISA bridge
    148 
    149 # Console Devices
    150 
    151 # ISA console.
    152 #pc0	at isa? port 0x60 irq 1		# generic PC console device
    153 
    154 # Keyboard layout configuration for pccons
    155 #options	FRENCH_KBD
    156 #options	FINNISH_KBD
    157 #options	GERMAN_KBD
    158 #options	NORWEGIAN_KBD
    159 
    160 # wscons
    161 pckbc0		at isa?			# pc keyboard controller
    162 pckbd*		at pckbc?		# PC keyboard
    163 pms*		at pckbc?		# PS/2 mouse for wsmouse
    164 pmsi*		at pckbc?		# PS/2 "Intelli"mouse for wsmouse
    165 vga*		at pci?
    166 wsdisplay*	at vga? console ?
    167 wskbd*		at pckbd? console ?
    168 wsmouse*	at pms? mux 0
    169 wsmouse*	at pmsi? mux 0
    170 
    171 pcppi0	at isa?				# PC prog. periph. interface
    172 isabeep0 at pcppi?			# "keyboard" beep
    173 
    174 mcclock0 at isa? port 0x70		# mc146818 and compatible
    175 
    176 # Serial Devices
    177 
    178 # ISA serial interfaces
    179 com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
    180 com1	at isa? port 0x2f8 irq 3
    181 
    182 # Parallel Printer Interfaces
    183 
    184 # ISA parallel printer interfaces
    185 lpt0	at isa? port 0x3bc irq 7	# standard PC parallel ports
    186 
    187 # SCSI Controllers and Devices
    188 
    189 # PCI SCSI controllers
    190 pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
    191 
    192 # SCSI bus support
    193 scsibus* at pcscp?
    194 
    195 # SCSI devices
    196 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    197 st*	at scsibus? target ? lun ?	# SCSI tape drives
    198 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    199 ch*	at scsibus? target ? lun ?	# SCSI autochangers
    200 ss*	at scsibus? target ? lun ?	# SCSI scanners
    201 uk*	at scsibus? target ? lun ?	# SCSI unknown
    202 
    203 # Network Interfaces
    204 
    205 # PCI network interfaces
    206 de*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
    207 ep*	at pci? dev ? function ?	# 3Com 3c59x
    208 #le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
    209 ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
    210 vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
    211 
    212 # MII/PHY support
    213 ukphy*	at mii? phy ?			# generic unknown PHYs
    214 
    215 # Audio device
    216 
    217 # MIDI support
    218 midi*	at pcppi?		# MIDI interface to the PC speaker
    219 
    220 # The spkr driver provides a simple tone interface to the built in speaker.
    221 spkr0	at pcppi?		# PC speaker
    222 
    223 # Joysticks
    224 
    225 # ISA joysticks. Probe is a little strange; add only if you have one.
    226 joy0	at isa? port 0x201
    227 
    228 # Pseudo-Devices
    229 
    230 # disk/mass storage pseudo-devices
    231 pseudo-device	ccd		4	# concatenated/striped disk devices
    232 pseudo-device	raid		4	# RAIDframe disk driver
    233 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    234 pseudo-device	md		1	# memory disk device (ramdisk)
    235 pseudo-device	vnd		4	# disk-like interface to files
    236 
    237 # network pseudo-devices
    238 pseudo-device	loop			# network loopback
    239 pseudo-device	bpfilter	8	# Berkeley packet filter
    240 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    241 pseudo-device	ppp		2	# Point-to-Point Protocol
    242 pseudo-device	sl		2	# Serial Line IP
    243 pseudo-device	strip		2	# Starmode Radio IP (Metricom)
    244 pseudo-device	tun		2	# network tunneling over tty
    245 pseudo-device	gre		2	# generic L3 over IP tunnel
    246 pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
    247 pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
    248 #pseudo-device	faith		2	# IPv[46] tcp relay translation i/f
    249 
    250 # miscellaneous pseudo-devices
    251 pseudo-device	pty		64	# pseudo-terminals
    252 #pseudo-device	tb		1	# tablet line discipline
    253 pseudo-device	sequencer	1	# MIDI sequencer
    254 #pseudo-device	rnd			# /dev/random and in-kernel generator
    255 #options	RND_COM			# use "com" randomness as well
    256 
    257 # a pseudo device needed for Coda	# also needs CODA (above)
    258 pseudo-device	vcoda		4	# coda minicache <-> venus comm.
    259 
    260 # mouse & keyboard multiplexor pseudo-devices
    261 pseudo-device	wsmux		2
    262