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