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