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