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