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