xref: /netbsd-src/sys/arch/i386/conf/NET4501 (revision c78676accca07215237e546e46e3c7eee6d5716d)
1*c78676acSchristos# $NetBSD: NET4501,v 1.106 2024/01/29 18:27:13 christos Exp $
275533175Sthorpej#
375533175Sthorpej# NET4501 -- kernel configuration for a Soekris Engineering net4501
475533175Sthorpej# single-board computer.
575533175Sthorpej#
675533175Sthorpej#	http://www.soekris.com/
775533175Sthorpej#
875533175Sthorpej
975533175Sthorpejinclude 	"arch/i386/conf/std.i386"
1075533175Sthorpej
11d1b38523Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
12d1b38523Satatat
13*c78676acSchristos#ident 		"NET4501-$Revision: 1.106 $"
1475533175Sthorpej
1575533175Sthorpejmaxusers	32		# estimated number of users
1675533175Sthorpej
1717c96901Sthorpej# AMD Elan SC520's timer runs at a different frequency
1817c96901Sthorpejoptions 	TIMER_FREQ=1189200
1917c96901Sthorpej
20cc00177aSchristosmakeoptions	COPTS="-Os"
2135abec3cSthorpej
2275533175Sthorpej# CPU-related options.
2375533175Sthorpej#options 	USER_LDT	# user-settable LDT; used by WINE
2475533175Sthorpej
2575533175Sthorpej#options 	MTRR		# memory-type range register syscall support
2675533175Sthorpej
2775533175Sthorpej# delay between "rebooting ..." message and hardware reset, in milliseconds
2875533175Sthorpej#options 	CPURESET_DELAY=2000
2975533175Sthorpej
3075533175Sthorpej# This option allows you to force a serial console at the specified
3175533175Sthorpej# I/O address.   see console(4) for details.
3275533175Sthorpej#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
3375533175Sthorpej#	you don't want the option below ON iff you are using the
3475533175Sthorpej#	serial console option of the new boot strap code.
3575533175Sthorpej#options 	CONS_OVERRIDE	# Always use above! independent of boot info
3675533175Sthorpej
3775533175Sthorpej# The following options override the memory sizes passed in from the boot
3875533175Sthorpej# block.  Use them *only* if the boot block is unable to determine the correct
3975533175Sthorpej# values.  Note that the BIOS may *correctly* report less than 640k of base
4075533175Sthorpej# memory if the extended BIOS data area is located at the top of base memory
4175533175Sthorpej# (as is the case on most recent systems).
4275533175Sthorpej#options 	REALBASEMEM=639		# size of base memory (in KB)
4375533175Sthorpej#options 	REALEXTMEM=15360	# size of extended memory (in KB)
4475533175Sthorpej
4575533175Sthorpej# Standard system options
4675533175Sthorpej
4775533175Sthorpejoptions 	INSECURE	# disable kernel security levels
4875533175Sthorpej
4975533175Sthorpejoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
5075533175Sthorpejoptions 	NTP		# NTP phase/frequency locked loop
5175533175Sthorpej
5275533175Sthorpejoptions 	KTRACE		# system call tracing via ktrace(1)
5375533175Sthorpej
5475533175Sthorpejoptions 	SYSVMSG		# System V-like message queues
5575533175Sthorpejoptions 	SYSVSEM		# System V-like semaphores
5675533175Sthorpej#options 	SEMMNI=10	# number of semaphore identifiers
5775533175Sthorpej#options 	SEMMNS=60	# number of semaphores in system
5875533175Sthorpej#options 	SEMUME=10	# max number of undo entries per process
5975533175Sthorpej#options 	SEMMNU=30	# number of undo structures in system
6075533175Sthorpejoptions 	SYSVSHM		# System V-like memory sharing
6175533175Sthorpej
623ea2e21fSlukemoptions 	USERCONF	# userconf(4) support
6375533175Sthorpej#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
64f68a9f1fSatatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
6575533175Sthorpej
6675533175Sthorpej# Diagnostic/debugging support options
67ed9d9bd4Sdholland#options 	DIAGNOSTIC	# inexpensive kernel consistency checks
6875533175Sthorpej#options 	DEBUG		# expensive debugging checks/support
6975533175Sthorpejoptions 	DDB		# in-kernel debugger
707fe7089aSuebayasipseudo-device	ksyms
71a66bf666Sszptvlfn#options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
7275533175Sthorpejoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
7375533175Sthorpej#options 	KGDB		# remote debugger
7475533175Sthorpej#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
7575533175Sthorpej#makeoptions	DEBUG="-g"	# compile full symbol table
7675533175Sthorpej
7775533175Sthorpej# Compatibility options
7895772a88Smrginclude 	"conf/compat_netbsd09.config"
795ea7bae9Smaxvoptions 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
8075533175Sthorpejoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
8175533175Sthorpej
8275533175Sthorpej#options 	COMPAT_LINUX	# binary compatibility with Linux
83f3ec8521Snia#options 	COMPAT_OSSAUDIO	# binary compatibility with Linux
8475533175Sthorpej
8575533175Sthorpej# File systems
8675533175Sthorpejfile-system	FFS		# UFS
8775533175Sthorpej#file-system	EXT2FS		# second extended file system (linux)
8875533175Sthorpej#file-system	LFS		# log-structured file system
8975533175Sthorpejfile-system	MFS		# memory file system
9075533175Sthorpejfile-system	NFS		# Network File System client
9175533175Sthorpej#file-system	NTFS		# Windows/NT file system (experimental)
9275533175Sthorpej#file-system	CD9660		# ISO 9660 + Rock Ridge file system
9375533175Sthorpej#file-system	MSDOSFS		# MS-DOS file system
9475533175Sthorpejfile-system	FDESC		# /dev/fd
9575533175Sthorpejfile-system	KERNFS		# /kern
9675533175Sthorpej#file-system	NULLFS		# loopback file system
9775533175Sthorpej#file-system	OVERLAY		# overlay file system
9875533175Sthorpejfile-system	PROCFS		# /proc
9975533175Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
10075533175Sthorpej#file-system	UNION		# union file system
10175533175Sthorpej#file-system	CODA		# Coda File System; also needs vcoda (below)
10293c362d7Schristosfile-system	PTYFS		# /dev/pts/N support
1037a13fe4aSjmmv#file-system	TMPFS		# Efficient memory file-system
10475533175Sthorpej
10575533175Sthorpej# File system options
106063f96f3Sbouyer#options 	QUOTA		# legacy UFS quotas
107063f96f3Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
108453fe0dbSrin#options 	DISKLABEL_EI	# disklabel Endian Independent support
10975533175Sthorpej#options 	FFS_EI		# FFS Endian Independent support
110ff9b47d6Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
11175533175Sthorpej#options 	NFSSERVER	# Network File System server
11275533175Sthorpej
11375533175Sthorpej# Networking options
114f711992bSthorpejoptions 	GATEWAY		# packet forwarding
11575533175Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
116692ddffeSdhollandoptions 	INET6		# IPv6
11775533175Sthorpej#options 	IPSEC		# IP security
11875533175Sthorpej#options 	IPSEC_DEBUG	# debug for IP security
11975533175Sthorpejoptions 	MROUTING	# IP multicast routing
1206e3c6399Smanuoptions 	PIM		# Protocol Independent Multicast
12175533175Sthorpej#options 	NETATALK	# AppleTalk networking protocols
12275533175Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
12375533175Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
12475533175Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
12575533175Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
12675533175Sthorpej
12775533175Sthorpej# These options enable verbose messages for several subsystems.
12875533175Sthorpej# Warning, these may compile large string tables into the kernel!
12975533175Sthorpej#options 	MIIVERBOSE	# verbose PHY autoconfig messages
13075533175Sthorpej#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
13175533175Sthorpej#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
13275533175Sthorpej
13375533175Sthorpejoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
13475533175Sthorpej
13575533175Sthorpej# Kernel root file system and dump configuration.
13675533175Sthorpejconfig		netbsd	root on ? type ?
13775533175Sthorpej#config		netbsd	root on sd0a type ffs
13875533175Sthorpej#config		netbsd	root on ? type nfs
13975533175Sthorpej
14075533175Sthorpej#
14175533175Sthorpej# Device configuration
14275533175Sthorpej#
14375533175Sthorpej
14475533175Sthorpej# Basic Bus Support
14575533175Sthorpej
14675533175Sthorpej# PCI bus support
1472c7f43b5Sdyoungpci*	at elansc? bus ?
14875533175Sthorpej
14975533175Sthorpej# Configure PCI using BIOS information
15075533175Sthorpej#options 	PCIBIOS			# PCI BIOS support
15175533175Sthorpej#options 	PCIBIOSVERBOSE		# PCI BIOS verbose info
1520919f4d2Ssekiya#options 	PCI_ADDR_FIXUP		# fixup PCI I/O addresses
1530919f4d2Ssekiya#options 	PCI_BUS_FIXUP		# fixup PCI bus numbering
1540919f4d2Ssekiya#options 	PCI_INTR_FIXUP		# fixup PCI interrupt routing
15575533175Sthorpej#options 	PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11
15675533175Sthorpej#options 	PCIBIOS_INTR_GUESS	# see pcibios(4)
15775533175Sthorpej#options 	PCIINTR_DEBUG		# super-verbose PCI interrupt fixup
15875533175Sthorpej
15975533175Sthorpej# PCI bridges
1602c7f43b5Sdyoungelansc* at mainbus? bus ?			# Elan SC520 System Controller
161466fdf18Sdyoung#elanpar*	at elansc?			# Programmable Address Regions
162466fdf18Sdyoung#elanpex*	at elansc?			# PCI Exception Instrumentation
1634b542122Srizgpio*		at elansc?
164637bfc29Sriz#gpioow* 	at gpio? offset 6 mask 0x1	# 1-wire bus bitbanging via gpio
165637bfc29Sriz#onewire*	at gpioow?
166637bfc29Sriz
167637bfc29Sriz# 1-Wire devices
168637bfc29Sriz#owtemp* 	at onewire?			# Temperature sensors
16975533175Sthorpej
17075533175Sthorpej# ISA bus support
17175533175Sthorpejisa0	at mainbus?
17275533175Sthorpej
173951e5857Sitojun# CardBus bridge support
174951e5857Sitojuncbb*		at pci? dev ? function ?
175951e5857Sitojuncardslot*	at cbb?
176951e5857Sitojun
177951e5857Sitojun# CardBus bus support
178951e5857Sitojuncardbus*	at cardslot?
179951e5857Sitojunpcmcia* 	at cardslot?
180951e5857Sitojun
1818a58dbfdSdyoung# Cardbus NICs
182727527c9Sdrochnerath*	at cardbus? function ?	# Atheros 5210/5211/5212 802.11
183727527c9Sdrochneratw*	at cardbus? function ?	# ADMtek ADM8211 (802.11)
184466fdf18Sdyoungral*	at cardbus? function ?	# Ralink RT2x60 (802.11)
185466fdf18Sdyoungrtw*	at cardbus? function ?	# Realtek RTL8180 (802.11)
1868a58dbfdSdyoung
18775533175Sthorpej# ISA serial interfaces
18875533175Sthorpejcom0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
18975533175Sthorpejcom1	at isa? port 0x2f8 irq 3
19075533175Sthorpej
19175533175Sthorpej# IDE and related devices
19275533175Sthorpej
193063960f6Scube# ATA (IDE) bus support
194063960f6Scubeatabus* at ata?
195063960f6Scube
19675533175Sthorpej# ISA ST506, ESDI, and IDE controllers
19775533175Sthorpej# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
19875533175Sthorpej# fall back to 16bits I/O if 32bits I/O are not functional).
19975533175Sthorpej# Some controllers pass the initial 32bit test, but will fail later.
20075533175Sthorpejwdc0	at isa? port 0x1f0 irq 14 flags 0x00
20175533175Sthorpej
20275533175Sthorpej# IDE drives
20375533175Sthorpej# Flags are used only with controllers that support DMA operations
20475533175Sthorpej# and mode settings (e.g. some pciide controllers)
20575533175Sthorpej# The lowest order four bits (rightmost digit) of the flags define the PIO
20675533175Sthorpej# mode to use, the next set of four bits the DMA mode and the third set the
20775533175Sthorpej# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
20875533175Sthorpej# to use, and the last bit must be 1 for this setting to be used.
20975533175Sthorpej# For DMA and UDMA, 0xf (1111) means 'disable'.
21075533175Sthorpej# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
21175533175Sthorpej# (0xc=1100, 0xa=1010, 0xf=1111)
21275533175Sthorpej# 0x0000 means "use whatever the drive claims to support".
213063960f6Scubewd*	at atabus? drive ? flags 0x0000
21475533175Sthorpej
21575533175Sthorpej# Network Interfaces
21675533175Sthorpej
21775533175Sthorpej# PCI network interfaces
218466fdf18Sdyoungath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
219466fdf18Sdyoung#ipw*	at pci? dev ? function ?	# Intel PRO/Wireless 2100
220466fdf18Sdyoung#iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
22175533175Sthorpejsip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
2223721870cSthorpejwi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
22375533175Sthorpej
224466fdf18Sdyoung# PCI crypto coprocessors
225466fdf18Sdyounghifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
226466fdf18Sdyoung
227951e5857Sitojun# PCMCIA network interfaces
228466fdf18Sdyoungawi*	at pcmcia? function ?
229692ddffeSdhollandwi*	at pcmcia? function ?		# Lucent/Intersil WaveLAN/IEEE (802.11)
230951e5857Sitojun
23175533175Sthorpej# MII/PHY support
23275533175Sthorpejnsphyter* at mii? phy ? 		# NS83843 PHYs
23375533175Sthorpej
23475533175Sthorpej# Pseudo-Devices
23575533175Sthorpej
236466fdf18Sdyoungpseudo-device 	crypto		# opencrypto framework
237466fdf18Sdyoung
23875533175Sthorpej# network pseudo-devices
239e1c6b6edSrpaulopseudo-device	bpfilter		# Berkeley packet filter
2409f77182dSmaxvpseudo-device	npf			# NPF packet filter
24175533175Sthorpejpseudo-device	loop			# network loopback
242b0a97c29Sispseudo-device	ppp			# Point-to-Point Protocol
243b0a97c29Sispseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2446ff13154Scube#pseudo-device	sl			# Serial Line IP
2456ff13154Scubepseudo-device	tun			# network tunneling over tty
246b0a97c29Sispseudo-device	tap			# virtual Ethernet
247b0a97c29Sispseudo-device	gre			# generic L3 over IP tunnel
2486ff13154Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
249692ddffeSdhollandpseudo-device	faith			# IPv[46] TCP relay translation i/f
2506ff13154Scubepseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
25175533175Sthorpejpseudo-device	vlan			# IEEE 802.1q encapsulation
25275533175Sthorpejpseudo-device	bridge			# simple inter-network bridging
25398f3a8d4Sroypseudo-device	vether			# Virtual Ethernet for bridge
25475533175Sthorpej
25575533175Sthorpej# miscellaneous pseudo-devices
25675533175Sthorpejpseudo-device	pty			# pseudo-terminals
2579434c99eSchristos#pseudo-device	sequencer		# MIDI sequencer
25875533175Sthorpej# rnd works; RND_COM does not on port i386 yet.
25975533175Sthorpej#options 	RND_COM			# use "com" randomness as well (BROKEN)
260fde6ae6fSlukempseudo-device	clockctl		# user control of clock subsystem
261835e533bSpooka#pseudo-device	fss			# file system snapshot device
262