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