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