Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.1
      1 #	$NetBSD: GENERIC,v 1.1 2000/02/29 15:21:25 nonaka Exp $
      2 #
      3 #	GENERIC config file
      4 #
      5 
      6 include "arch/prep/conf/std.prep"
      7 
      8 #ident		"GENERIC-$Revision: 1.1 $"
      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 
    101 options 	NFS_BOOT_BOOTP
    102 options 	NFS_BOOT_BOOTPARAM
    103 options 	NFS_BOOT_DHCP
    104 
    105 #
    106 # wscons options
    107 #
    108 # builtin terminal emulations
    109 options 	WSEMUL_VT100		# VT100 / VT220 emulation
    110 # different kernel output - see dev/wscons/wsdisplayvar.h
    111 options 	WS_KERNEL_FG=WSCOL_GREEN
    112 #options 	WS_KERNEL_BG=WSCOL_BLACK
    113 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
    114 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    115 # allocate a number of virtual screens at autoconfiguration time
    116 #options 	WSDISPLAY_DEFAULTSCREENS=4
    117 # use a large software cursor that doesn't blink
    118 options 	PCDISPLAY_SOFTCURSOR
    119 
    120 # Kernel root file system and dump configuration.
    121 config	netbsd	root on ? type ?
    122 #config	netbsd	root on ne0 type nfs
    123 #config	netbsd	root on ep0 type nfs
    124 
    125 #
    126 # Device configuration
    127 #
    128 
    129 mainbus0 at root
    130 cpu0	at mainbus0
    131 
    132 # Basic Bus Support
    133 
    134 # PCI bus support
    135 pci0	at mainbus0 bus ?
    136 pci*	at pchb? bus ?
    137 
    138 # PCI bridges
    139 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    140 pcib*	at pci? dev ? function ?	# PCI-ISA bridges
    141 
    142 # ISA bus support
    143 isa*	at pcib?			# ISA on PCI-ISA bridge
    144 
    145 # Console Devices
    146 
    147 # ISA console.
    148 #pc0	at isa? port 0x60 irq 1		# generic PC console device
    149 
    150 # Keyboard layout configuration for pccons
    151 #options	FRENCH_KBD
    152 #options	FINNISH_KBD
    153 #options	GERMAN_KBD
    154 #options	NORWEGIAN_KBD
    155 
    156 # wscons
    157 pckbc0		at isa?			# pc keyboard controller
    158 pckbd*		at pckbc?		# PC keyboard
    159 pms*		at pckbc?		# PS/2 mouse for wsmouse
    160 pmsi*		at pckbc?		# PS/2 "Intelli"mouse for wsmouse
    161 vga*		at pci?
    162 wsdisplay*	at vga? console ?
    163 wskbd*		at pckbd? console ?
    164 wsmouse*	at pms? mux 0
    165 wsmouse*	at pmsi? mux 0
    166 
    167 pcppi0	at isa?				# PC prog. periph. interface
    168 isabeep0 at pcppi?			# "keyboard" beep
    169 
    170 mcclock0 at isa? port 0x70		# mc146818 and compatible
    171 
    172 # Serial Devices
    173 
    174 # ISA serial interfaces
    175 com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
    176 com1	at isa? port 0x2f8 irq 3
    177 
    178 # Parallel Printer Interfaces
    179 
    180 # ISA parallel printer interfaces
    181 lpt0	at isa? port 0x3bc irq 7	# standard PC parallel ports
    182 
    183 # Network Interfaces
    184 
    185 # PCI network interfaces
    186 ep*	at pci? dev ? function ?	# 3Com 3c59x
    187 ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
    188 
    189 # MII/PHY support
    190 
    191 # Joysticks
    192 
    193 # ISA joysticks. Probe is a little strange; add only if you have one.
    194 joy0	at isa? port 0x201
    195 
    196 # Pseudo-Devices
    197 
    198 # disk/mass storage pseudo-devices
    199 pseudo-device	ccd		4	# concatenated/striped disk devices
    200 #pseudo-device	raid		4	# RAIDframe disk driver
    201 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    202 pseudo-device	md		1	# memory disk device (ramdisk)
    203 pseudo-device	vnd		4	# disk-like interface to files
    204 
    205 # network pseudo-devices
    206 pseudo-device	loop			# network loopback
    207 pseudo-device	bpfilter	8	# Berkeley packet filter
    208 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    209 pseudo-device	ppp		2	# Point-to-Point Protocol
    210 pseudo-device	sl		2	# Serial Line IP
    211 pseudo-device	strip		2	# Starmode Radio IP (Metricom)
    212 pseudo-device	tun		2	# network tunneling over tty
    213 pseudo-device	gre		2	# generic L3 over IP tunnel
    214 pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
    215 pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
    216 #pseudo-device	faith		2	# IPv[46] tcp relay translation i/f
    217 
    218 # miscellaneous pseudo-devices
    219 pseudo-device	pty		64	# pseudo-terminals
    220 #pseudo-device	tb		1	# tablet line discipline
    221 #pseudo-device	sequencer	1	# MIDI sequencer
    222 #pseudo-device	rnd			# /dev/random and in-kernel generator
    223 #options	RND_COM			# use "com" randomness as well
    224 
    225 # a pseudo device needed for Coda	# also needs CODA (above)
    226 #pseudo-device	vcoda		4	# coda minicache <-> venus comm.
    227 
    228 # mouse & keyboard multiplexor pseudo-devices
    229 pseudo-device	wsmux		2
    230