Home | History | Annotate | Line # | Download | only in conf
ADM5120-NB revision 1.31
      1 #	$NetBSD: ADM5120-NB,v 1.31 2022/08/07 02:52:25 simonb Exp $
      2 #
      3 # Kernel config for the ADM5120 based boards and routers,
      4 # including the RouterBOARD 100 series.
      5 
      6 include 	"arch/evbmips/conf/std.adm5120"
      7 
      8 #ident 		"GENERIC-$Revision: 1.31 $"
      9 
     10 maxusers	32
     11 
     12 options 	MIPS32
     13 options 	NOFPU		# No FPU
     14 options 	FPEMUL		# emulate FPU insn
     15 #options 	CONSPEED=115200	# YAMON default
     16 #options 	HZ=512		# for profiling
     17 options 	MEMSIZE="(16*1024*1024)"
     18 
     19 #options 	LOCKDEBUG
     20 options 	SOSEND_COUNTERS
     21 options 	INET_CSUM_COUNTERS
     22 options 	TCP_CSUM_COUNTERS
     23 options 	UDP_CSUM_COUNTERS
     24 options 	TCP_OUTPUT_COUNTERS
     25 
     26 #options 	NTP		# network time protocol
     27 
     28 # Debugging options
     29 ##options 	DIAGNOSTIC	# extra kernel sanity checking
     30 ##options 	DEBUG		# extra kernel debugging support
     31 options 	DDB		# kernel dynamic debugger
     32 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
     33 makeoptions 	DEBUG="-g"	# compile full symbol table
     34 makeoptions 	CPUFLAGS="-march=4kc"
     35 makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
     36 
     37 #options 	MEMORY_DISK_HOOKS
     38 #options 	MEMORY_DISK_IS_ROOT	# Force root on ram-disk
     39 #options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
     40 
     41 # Compatibility options
     42 include         "conf/compat_netbsd50.config"
     43 #options 	EXEC_ECOFF	# exec ECOFF binaries
     44 #options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
     45 
     46 # File systems
     47 file-system	FFS		# Berkeley Fast Filesystem
     48 #file-system	MFS		# memory-based filesystem
     49 #file-system 	EXT2FS		# second extended file system (linux)
     50 file-system	NFS		# Sun NFS-compatible filesystem client
     51 #file-system	KERNFS		# kernel data-structure filesystem
     52 #file-system	NULLFS		# NULL layered filesystem
     53 #file-system 	OVERLAY		# overlay file system
     54 #file-system	FDESC		# user file descriptor filesystem
     55 #file-system	UMAPFS		# uid/gid remapping filesystem
     56 #file-system	LFS		# Log-based filesystem (still experimental)
     57 #file-system	PROCFS		# /proc
     58 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     59 #file-system	UNION		# union file system
     60 #file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
     61 #file-system 	CODA		# Coda File System; also needs vcoda (below)
     62 
     63 # File system options
     64 #options 	FFS_EI		# FFS Endian Independent support
     65 #options 	QUOTA		# legacy UFS quotas
     66 #options 	QUOTA2		# new, in-filesystem UFS quotas
     67 #options 	UFS_DIRHASH	# UFS Large Directory Hashing
     68 #options 	UFS_EXTATTR	# Extended attribute support for UFS1
     69 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     70 				# immutable) behave as system flags.
     71 #options 	DISKLABEL_EI	# disklabel Endian Independent support
     72 #options 	NFSSERVER	# Network File System server
     73 
     74 # Alternate buffer queue strategies for better responsiveness under high
     75 # disk I/O load.
     76 #options 	BUFQ_READPRIO
     77 options 	BUFQ_PRIOCSCAN
     78 
     79 # Networking options
     80 options 	GATEWAY		# IP packet forwarding
     81 options 	INET		# Internet protocols
     82 options 	NETGRAPH	# Netgraph
     83 options 	NETGRAPH_ASYNC
     84 options 	NETGRAPH_BPF
     85 options 	NETGRAPH_CISCO
     86 options 	NETGRAPH_ECHO
     87 options 	NETGRAPH_EIFACE
     88 options 	NETGRAPH_ETF
     89 options 	NETGRAPH_ETHER
     90 options 	NETGRAPH_FRAME_RELAY
     91 options 	NETGRAPH_HOLE
     92 options 	NETGRAPH_HUB
     93 options 	NETGRAPH_IFACE
     94 options 	NETGRAPH_KSOCKET
     95 options 	NETGRAPH_L2TP
     96 options 	NETGRAPH_LMI
     97 options 	NETGRAPH_ONE2MANY
     98 options 	NETGRAPH_PPP
     99 options 	NETGRAPH_PPPOE
    100 options 	NETGRAPH_PPTPGRE
    101 options 	NETGRAPH_RFC1490
    102 options 	NETGRAPH_TEE
    103 options 	NETGRAPH_UI
    104 options 	NETGRAPH_VJC
    105 options 	NETGRAPH_VLAN
    106 #options 	INET6		# IPV6
    107 #options 	IPSEC		# IP security
    108 #options 	IPSEC_DEBUG	# debug for IP security
    109 #options 	MROUTING	# packet forwarding of multicast packets
    110 #options 	NETATALK	# AppleTalk (over Ethernet) protocol
    111 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    112 #options 	PPP_DEFLATE	# Deflate compression support for PPP
    113 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    114 
    115 # JIT compiler for bpfilter
    116 #options	SLJIT
    117 #options	BPFJIT
    118 
    119 # These options enable verbose messages for several subsystems.
    120 # Warning, these may compile large string tables into the kernel!
    121 #options 	MIIVERBOSE	# verbose PHY autoconfig messages
    122 #options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    123 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    124 #options 	SCSIVERBOSE	# human readable SCSI error messages
    125 #options 	USBVERBOSE	# verbose USB device autoconfig messages
    126 
    127 options 	NFS_BOOT_DHCP
    128 
    129 # Pretty much only one device to use for the root file system.
    130 config		netbsd-admsw0	root on admsw0 type nfs
    131 
    132 mainbus0 	at root
    133 
    134 cpu0 		at mainbus?
    135 
    136 # Network pseudo-devices
    137 pseudo-device	bpfilter			# Berkeley packet filter
    138 pseudo-device 	carp				# Common Address Redundancy Protocol
    139 pseudo-device	loop				# network loopback
    140 #pseudo-device	ppp				# Point-to-Point Protocol
    141 #pseudo-device	sl				# Serial Line IP
    142 #pseudo-device	tun				# network tunneling over tty
    143 #pseudo-device	gre				# generic L3 over IP tunnel
    144 #pseudo-device	ipip				# RFC 2003 IP Encapsulation
    145 #pseudo-device	gif				# RFC1933 tunnel
    146 #pseudo-device	faith				# IPv[46] tcp relay translation
    147 # Miscellaneous pseudo-devices
    148 pseudo-device	pty				# pseudo-terminals
    149 #pseudo-device	sequencer			# MIDI sequencer
    150 
    151 # A pseudo device needed for Coda		# also needs CODA (above)
    152 #pseudo-device	vcoda				# coda minicache <-> venus comm.
    153 pseudo-device	ksyms
    154 
    155 obio*		at mainbus?
    156 extio*		at mainbus?
    157 gpio*		at mainbus?
    158 
    159 uart*		at obio? addr ?
    160 admsw*		at obio? addr ?
    161 #admflash*	at obio? addr ?
    162 #options 	VND_COMPRESSION
    163 
    164 include "dev/veriexec.config"
    165