NET4501 revision 1.95
1# $NetBSD: NET4501,v 1.95 2017/07/31 15:43:33 maxv 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.95 $"
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 	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 	PMC		# 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
49options 	INSECURE	# disable kernel security levels
50
51options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
52options 	NTP		# NTP phase/frequency locked loop
53
54options 	KTRACE		# system call tracing via ktrace(1)
55
56options 	SYSVMSG		# System V-like message queues
57options 	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
62options 	SYSVSHM		# System V-like memory sharing
63
64options 	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	# inexpensive kernel consistency checks
70#options 	DEBUG		# expensive debugging checks/support
71options 	DDB		# in-kernel debugger
72pseudo-device	ksyms
73#options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
74options 	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,
82options 	COMPAT_10	# NetBSD 1.0,
83options 	COMPAT_11	# NetBSD 1.1,
84options 	COMPAT_12	# NetBSD 1.2 (and 386BSD and BSDI),
85options 	COMPAT_13	# NetBSD 1.3 (and 386BSD and BSDI),
86options 	COMPAT_14	# NetBSD 1.4,
87options 	COMPAT_15	# NetBSD 1.5,
88options 	COMPAT_16	# NetBSD 1.6,
89options 	COMPAT_20	# NetBSD 2.0,
90options 	COMPAT_30	# NetBSD 3.0,
91options 	COMPAT_40	# NetBSD 4.0,
92options 	COMPAT_50	# NetBSD 5.0,
93options 	COMPAT_60	# NetBSD 6.0, and
94options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
95#options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI compatibility.
96options 	COMPAT_386BSD_MBRPART # recognize old partition ID
97
98#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
99#options 	COMPAT_LINUX	# binary compatibility with Linux
100#options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
101options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
102
103# File systems
104file-system	FFS		# UFS
105#file-system	EXT2FS		# second extended file system (linux)
106#file-system	LFS		# log-structured file system
107file-system	MFS		# memory file system
108file-system	NFS		# Network File System client
109#file-system	NTFS		# Windows/NT file system (experimental)
110#file-system	CD9660		# ISO 9660 + Rock Ridge file system
111#file-system	MSDOSFS		# MS-DOS file system
112file-system	FDESC		# /dev/fd
113file-system	KERNFS		# /kern
114#file-system	NULLFS		# loopback file system
115#file-system	OVERLAY		# overlay file system
116file-system	PROCFS		# /proc
117#file-system	UMAPFS		# NULLFS + uid and gid remapping
118#file-system	UNION		# union file system
119#file-system	CODA		# Coda File System; also needs vcoda (below)
120file-system	PTYFS		# /dev/pts/N support
121#file-system	TMPFS		# Efficient memory file-system
122
123# File system options
124#options 	QUOTA		# legacy UFS quotas
125#options 	QUOTA2		# new, in-filesystem UFS quotas
126#options 	FFS_EI		# FFS Endian Independent support
127#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
128#options 	NFSSERVER	# Network File System server
129#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
130				# immutable) behave as system flags.
131
132# Networking options
133options 	GATEWAY		# packet forwarding
134options 	INET		# IP + ICMP + TCP + UDP
135options 	INET6		# IPv6
136#options 	IPSEC		# IP security
137#options 	IPSEC_DEBUG	# debug for IP security
138options 	MROUTING	# IP multicast routing
139options 	PIM		# Protocol Independent Multicast
140#options 	NETATALK	# AppleTalk networking protocols
141#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
142#options 	PPP_DEFLATE	# Deflate compression support for PPP
143#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
144#options 	IPFILTER_LOG	# ipmon(8) log support
145#options 	IPFILTER_LOOKUP	# ippool(8) support
146#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
147
148# These options enable verbose messages for several subsystems.
149# Warning, these may compile large string tables into the kernel!
150#options 	MIIVERBOSE	# verbose PHY autoconfig messages
151#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
152#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
153
154options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
155
156# Kernel root file system and dump configuration.
157config		netbsd	root on ? type ?
158#config		netbsd	root on sd0a type ffs
159#config		netbsd	root on ? type nfs
160
161#
162# Device configuration
163#
164
165# Basic Bus Support
166
167# PCI bus support
168pci*	at elansc? bus ?
169
170# Configure PCI using BIOS information
171#options 	PCIBIOS			# PCI BIOS support
172#options 	PCIBIOSVERBOSE		# PCI BIOS verbose info
173#options 	PCI_ADDR_FIXUP		# fixup PCI I/O addresses
174#options 	PCI_BUS_FIXUP		# fixup PCI bus numbering
175#options 	PCI_INTR_FIXUP		# fixup PCI interrupt routing
176#options 	PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11
177#options 	PCIBIOS_INTR_GUESS	# see pcibios(4)
178#options 	PCIINTR_DEBUG		# super-verbose PCI interrupt fixup
179
180# PCI bridges
181elansc* at mainbus? bus ?			# Elan SC520 System Controller
182#elanpar*	at elansc?			# Programmable Address Regions
183#elanpex*	at elansc?			# PCI Exception Instrumentation
184gpio*		at elansc?
185#gpioow* 	at gpio? offset 6 mask 0x1	# 1-wire bus bitbanging via gpio
186#onewire*	at gpioow?
187
188# 1-Wire devices
189#owtemp* 	at onewire?			# Temperature sensors
190
191# ISA bus support
192isa0	at mainbus?
193
194# CardBus bridge support
195cbb*		at pci? dev ? function ?
196cardslot*	at cbb?
197
198# CardBus bus support
199cardbus*	at cardslot?
200pcmcia* 	at cardslot?
201
202# Cardbus NICs
203ath*	at cardbus? function ?	# Atheros 5210/5211/5212 802.11
204atw*	at cardbus? function ?	# ADMtek ADM8211 (802.11)
205ral*	at cardbus? function ?	# Ralink RT2x60 (802.11)
206rtw*	at cardbus? function ?	# Realtek RTL8180 (802.11)
207
208# ISA serial interfaces
209com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
210com1	at isa? port 0x2f8 irq 3
211
212# IDE and related devices
213
214# ATA (IDE) bus support
215atabus* at ata?
216
217# ISA ST506, ESDI, and IDE controllers
218# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
219# fall back to 16bits I/O if 32bits I/O are not functional).
220# Some controllers pass the initial 32bit test, but will fail later.
221wdc0	at isa? port 0x1f0 irq 14 flags 0x00
222
223# IDE drives
224# Flags are used only with controllers that support DMA operations
225# and mode settings (e.g. some pciide controllers)
226# The lowest order four bits (rightmost digit) of the flags define the PIO
227# mode to use, the next set of four bits the DMA mode and the third set the
228# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
229# to use, and the last bit must be 1 for this setting to be used.
230# For DMA and UDMA, 0xf (1111) means 'disable'.
231# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
232# (0xc=1100, 0xa=1010, 0xf=1111)
233# 0x0000 means "use whatever the drive claims to support".
234wd*	at atabus? drive ? flags 0x0000
235
236# Network Interfaces
237
238# PCI network interfaces
239ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
240#ipw*	at pci? dev ? function ?	# Intel PRO/Wireless 2100
241#iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
242sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
243wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
244
245# PCI crypto coprocessors
246hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
247
248# PCMCIA network interfaces
249awi*	at pcmcia? function ?
250wi*	at pcmcia? function ?		# Lucent/Intersil WaveLAN/IEEE (802.11)
251
252# MII/PHY support
253nsphyter* at mii? phy ? 		# NS83843 PHYs
254
255# Pseudo-Devices
256
257pseudo-device 	crypto		# opencrypto framework
258
259# network pseudo-devices
260pseudo-device	bpfilter		# Berkeley packet filter
261pseudo-device	ipfilter		# IP filter (firewall) and NAT
262pseudo-device	loop			# network loopback
263pseudo-device	ppp			# Point-to-Point Protocol
264pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
265#pseudo-device	sl			# Serial Line IP
266#pseudo-device	strip			# Starmode Radio IP (Metricom)
267pseudo-device	tun			# network tunneling over tty
268pseudo-device	tap			# virtual Ethernet
269pseudo-device	gre			# generic L3 over IP tunnel
270pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
271pseudo-device	faith			# IPv[46] TCP relay translation i/f
272pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
273pseudo-device	vlan			# IEEE 802.1q encapsulation
274pseudo-device	bridge			# simple inter-network bridging
275
276# miscellaneous pseudo-devices
277pseudo-device	pty			# pseudo-terminals
278#pseudo-device	sequencer		# MIDI sequencer
279# rnd works; RND_COM does not on port i386 yet.
280#options 	RND_COM			# use "com" randomness as well (BROKEN)
281pseudo-device	clockctl		# user control of clock subsystem
282#pseudo-device	fss			# file system snapshot device
283