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