Home | History | Annotate | Line # | Download | only in conf
NET4501 revision 1.71.2.1
      1 # $NetBSD: NET4501,v 1.71.2.1 2010/04/30 14:39:28 uebayasi Exp $
      2 #
      3 # NET4501 -- kernel configuration for a Soekris Engineering net4501
      4 # single-board computer.
      5 #
      6 #	http://www.soekris.com/
      7 # 
      8 
      9 include 	"arch/i386/conf/std.i386"
     10 
     11 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     12 
     13 #ident 		"NET4501-$Revision: 1.71.2.1 $"
     14 
     15 maxusers	32		# estimated number of users
     16 
     17 # AMD Elan SC520's timer runs at a different frequency
     18 options 	TIMER_FREQ=1189200
     19 
     20 makeoptions 	COPTS="-Os"
     21 
     22 # CPU-related options.
     23 #options 	VM86		# virtual 8086 emulation
     24 #options 	USER_LDT	# user-settable LDT; used by WINE
     25 
     26 #options 	MTRR		# memory-type range register syscall support
     27 #options 	PERFCTRS	# performance-monitoring counters support
     28 
     29 # delay between "rebooting ..." message and hardware reset, in milliseconds
     30 #options 	CPURESET_DELAY=2000
     31 
     32 # This option allows you to force a serial console at the specified
     33 # I/O address.   see console(4) for details.
     34 #options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
     35 #	you don't want the option below ON iff you are using the
     36 #	serial console option of the new boot strap code.
     37 #options 	CONS_OVERRIDE	# Always use above! independent of boot info
     38 
     39 # The following options override the memory sizes passed in from the boot
     40 # block.  Use them *only* if the boot block is unable to determine the correct
     41 # values.  Note that the BIOS may *correctly* report less than 640k of base
     42 # memory if the extended BIOS data area is located at the top of base memory
     43 # (as is the case on most recent systems).
     44 #options 	REALBASEMEM=639		# size of base memory (in KB)
     45 #options 	REALEXTMEM=15360	# size of extended memory (in KB)
     46 
     47 # Standard system options
     48 
     49 options 	INSECURE	# disable kernel security levels
     50 
     51 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     52 options 	NTP		# NTP phase/frequency locked loop
     53 
     54 options 	KTRACE		# system call tracing via ktrace(1)
     55 
     56 options 	SYSVMSG		# System V-like message queues
     57 options 	SYSVSEM		# System V-like semaphores
     58 #options 	SEMMNI=10	# number of semaphore identifiers
     59 #options 	SEMMNS=60	# number of semaphores in system
     60 #options 	SEMUME=10	# max number of undo entries per process
     61 #options 	SEMMNU=30	# number of undo structures in system
     62 options 	SYSVSHM		# System V-like memory sharing
     63 
     64 options 	USERCONF	# userconf(4) support
     65 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     66 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     67 
     68 # Diagnostic/debugging support options
     69 #options 	DIAGNOSTIC	# expensive kernel consistency checks
     70 #options 	DEBUG		# expensive debugging checks/support
     71 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
     72 options 	DDB		# in-kernel debugger
     73 #options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
     74 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     75 #options 	KGDB		# remote debugger
     76 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
     77 #makeoptions 	DEBUG="-g"	# compile full symbol table
     78 
     79 # Compatibility options
     80 options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
     81 options 	COMPAT_09	# NetBSD 0.9
     82 options 	COMPAT_10	# NetBSD 1.0
     83 options 	COMPAT_11	# NetBSD 1.1
     84 options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
     85 options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
     86 options 	COMPAT_14	# NetBSD 1.4
     87 options 	COMPAT_15	# NetBSD 1.5
     88 options 	COMPAT_16	# NetBSD 1.6
     89 options 	COMPAT_20	# NetBSD 2.0
     90 options 	COMPAT_30	# NetBSD 3.0 compatibility.
     91 options 	COMPAT_40	# NetBSD 4.0
     92 options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
     93 options 	COMPAT_386BSD_MBRPART # recognize old partition ID
     94 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     95 
     96 #options 	COMPAT_SVR4	# binary compatibility with SVR4
     97 #options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
     98 #options 	COMPAT_LINUX	# binary compatibility with Linux
     99 #options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
    100 #options 	COMPAT_MACH	# binary compatibility with Mach binaries
    101 #options 	EXEC_MACHO	# exec MACH-O binaries
    102 #options 	COMPAT_PECOFF	# kernel support to run Win32 apps
    103 options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    104 
    105 # File systems
    106 file-system	FFS		# UFS
    107 #file-system	EXT2FS		# second extended file system (linux)
    108 #file-system	LFS		# log-structured file system
    109 file-system	MFS		# memory file system
    110 file-system	NFS		# Network File System client
    111 #file-system	NTFS		# Windows/NT file system (experimental)
    112 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
    113 #file-system	MSDOSFS		# MS-DOS file system
    114 file-system	FDESC		# /dev/fd
    115 file-system	KERNFS		# /kern
    116 #file-system	NULLFS		# loopback file system
    117 #file-system	OVERLAY		# overlay file system
    118 file-system	PROCFS		# /proc
    119 #file-system	UMAPFS		# NULLFS + uid and gid remapping
    120 #file-system	UNION		# union file system
    121 #file-system	CODA		# Coda File System; also needs vcoda (below)
    122 file-system	PTYFS		# /dev/pts/N support
    123 #file-system	TMPFS		# Efficient memory file-system
    124 
    125 # File system options
    126 #options 	QUOTA		# UFS quotas
    127 #options 	FFS_EI		# FFS Endian Independent support
    128 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
    129 #options 	NFSSERVER	# Network File System server
    130 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    131 				# immutable) behave as system flags.
    132 
    133 # Networking options
    134 options 	GATEWAY		# packet forwarding
    135 options 	INET		# IP + ICMP + TCP + UDP
    136 options 	INET6		# IPv6
    137 #options 	IPSEC		# IP security
    138 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
    139 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
    140 #options 	IPSEC_DEBUG	# debug for IP security
    141 options 	MROUTING	# IP multicast routing
    142 options 	PIM		# Protocol Independent Multicast
    143 #options 	ISO,TPIP	# OSI
    144 #options 	EON		# OSI tunneling over IP
    145 #options 	NETATALK	# AppleTalk networking protocols
    146 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    147 #options 	PPP_DEFLATE	# Deflate compression support for PPP
    148 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    149 options 	PFIL_HOOKS	# pfil(9) packet filter hooks
    150 #options 	IPFILTER_LOG	# ipmon(8) log support
    151 #options 	IPFILTER_LOOKUP	# ippool(8) support
    152 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    153 
    154 # These options enable verbose messages for several subsystems.
    155 # Warning, these may compile large string tables into the kernel!
    156 #options 	MIIVERBOSE	# verbose PHY autoconfig messages
    157 #options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    158 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    159 
    160 options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
    161 
    162 # Kernel root file system and dump configuration.
    163 config		netbsd	root on ? type ?
    164 #config		netbsd	root on sd0a type ffs
    165 #config		netbsd	root on ? type nfs
    166 
    167 #
    168 # Device configuration
    169 #
    170 
    171 # Basic Bus Support
    172 
    173 # PCI bus support
    174 pci*	at elansc? bus ?
    175 
    176 # Configure PCI using BIOS information
    177 #options 	PCIBIOS			# PCI BIOS support
    178 #options 	PCIBIOSVERBOSE		# PCI BIOS verbose info
    179 #options 	PCI_ADDR_FIXUP		# fixup PCI I/O addresses
    180 #options 	PCI_BUS_FIXUP		# fixup PCI bus numbering
    181 #options 	PCI_INTR_FIXUP		# fixup PCI interrupt routing
    182 #options 	PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11
    183 #options 	PCIBIOS_INTR_GUESS	# see pcibios(4)
    184 #options 	PCIINTR_DEBUG		# super-verbose PCI interrupt fixup
    185 
    186 # PCI bridges
    187 elansc* at mainbus? bus ?			# Elan SC520 System Controller
    188 #elanpar*	at elansc?			# Programmable Address Regions
    189 #elanpex*	at elansc?			# PCI Exception Instrumentation
    190 gpio* 	at elansc?
    191 #gpioow* 	at gpio? offset 6 mask 0x1	# 1-wire bus bitbanging via gpio
    192 #onewire*	at gpioow?
    193 
    194 # 1-Wire devices
    195 #owtemp* 	at onewire?			# Temperature sensors
    196 
    197 # ISA bus support
    198 isa0	at mainbus?
    199 
    200 # CardBus bridge support
    201 cbb*		at pci? dev ? function ?
    202 cardslot*	at cbb?
    203 
    204 # CardBus bus support
    205 cardbus*	at cardslot?
    206 pcmcia* 	at cardslot?
    207 
    208 # Cardbus NICs
    209 ath*	at cardbus? function ?	# Atheros 5210/5211/5212 802.11
    210 atw*	at cardbus? function ?	# ADMtek ADM8211 (802.11)
    211 ral*	at cardbus? function ?	# Ralink RT2x60 (802.11)
    212 rtw*	at cardbus? function ?	# Realtek RTL8180 (802.11)
    213 
    214 # Coprocessor Support
    215 
    216 # Math Coprocessor support
    217 npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
    218 
    219 # ISA serial interfaces
    220 com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
    221 com1	at isa? port 0x2f8 irq 3
    222 
    223 # IDE and related devices
    224 
    225 # ATA (IDE) bus support
    226 atabus* at ata?
    227 
    228 # ISA ST506, ESDI, and IDE controllers
    229 # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
    230 # fall back to 16bits I/O if 32bits I/O are not functional).
    231 # Some controllers pass the initial 32bit test, but will fail later.
    232 wdc0	at isa? port 0x1f0 irq 14 flags 0x00
    233 
    234 # IDE drives
    235 # Flags are used only with controllers that support DMA operations
    236 # and mode settings (e.g. some pciide controllers)
    237 # The lowest order four bits (rightmost digit) of the flags define the PIO
    238 # mode to use, the next set of four bits the DMA mode and the third set the
    239 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
    240 # to use, and the last bit must be 1 for this setting to be used.
    241 # For DMA and UDMA, 0xf (1111) means 'disable'.
    242 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
    243 # (0xc=1100, 0xa=1010, 0xf=1111)
    244 # 0x0000 means "use whatever the drive claims to support".
    245 wd*	at atabus? drive ? flags 0x0000
    246 
    247 # Network Interfaces
    248 
    249 # PCI network interfaces
    250 ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
    251 #ipw*	at pci? dev ? function ?	# Intel PRO/Wireless 2100
    252 #iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
    253 sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
    254 wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
    255 
    256 # PCI crypto coprocessors
    257 hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
    258 
    259 # PCMCIA network interfaces
    260 awi*	at pcmcia? function ?
    261 wi*	at pcmcia? function ?		# Lucent/Intersil WaveLAN/IEEE (802.11)
    262 
    263 # MII/PHY support
    264 nsphyter* at mii? phy ? 		# NS83843 PHYs
    265 
    266 # Pseudo-Devices
    267 
    268 pseudo-device 	crypto		# opencrypto framework
    269 
    270 # network pseudo-devices
    271 pseudo-device	bpfilter		# Berkeley packet filter
    272 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    273 pseudo-device	loop			# network loopback
    274 pseudo-device	ppp			# Point-to-Point Protocol
    275 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    276 #pseudo-device	sl			# Serial Line IP
    277 #pseudo-device	strip			# Starmode Radio IP (Metricom)
    278 pseudo-device	tun			# network tunneling over tty
    279 pseudo-device	tap			# virtual Ethernet
    280 pseudo-device	gre			# generic L3 over IP tunnel
    281 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
    282 pseudo-device	faith			# IPv[46] TCP relay translation i/f
    283 pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    284 pseudo-device	vlan			# IEEE 802.1q encapsulation
    285 pseudo-device	bridge			# simple inter-network bridging
    286 
    287 # miscellaneous pseudo-devices
    288 pseudo-device	pty			# pseudo-terminals
    289 #pseudo-device	sequencer	1	# MIDI sequencer
    290 # rnd works; RND_COM does not on port i386 yet.
    291 pseudo-device	rnd			# /dev/random and in-kernel generator
    292 #options 	RND_COM			# use "com" randomness as well (BROKEN)
    293 pseudo-device	clockctl		# user control of clock subsystem
    294 #pseudo-device	fss			# file system snapshot device
    295