Home | History | Annotate | Line # | Download | only in conf
      1 #	$NetBSD: ADM5120-USB,v 1.34 2024/01/29 18:27:11 christos 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.34 $"
      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 
     18 #options 	LOCKDEBUG
     19 options 	SOSEND_COUNTERS
     20 options 	INET_CSUM_COUNTERS
     21 options 	TCP_CSUM_COUNTERS
     22 options 	UDP_CSUM_COUNTERS
     23 options 	TCP_OUTPUT_COUNTERS
     24 
     25 #options 	NTP		# network time protocol
     26 
     27 # Debugging options
     28 ##options 	DIAGNOSTIC	# extra kernel sanity checking
     29 ##options 	DEBUG		# extra kernel debugging support
     30 options 	DDB		# kernel dynamic debugger
     31 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
     32 makeoptions 	DEBUG="-g"	# compile full symbol table
     33 makeoptions 	CPUFLAGS="-march=4kc"	# compile full symbol table
     34 makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
     35 
     36 #options 	MEMORY_DISK_HOOKS
     37 #options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
     38 #options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
     39 
     40 # Compatibility options
     41 #include 	"conf/compat_netbsd10.config"
     42 #options 	EXEC_ECOFF	# exec ECOFF binaries
     43 #options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
     44 
     45 # File systems
     46 file-system	FFS		# Berkeley Fast Filesystem
     47 file-system	MFS		# memory-based filesystem
     48 #file-system 	EXT2FS		# second extended file system (linux) 
     49 file-system	NFS		# Sun NFS-compatible filesystem client
     50 #file-system	KERNFS		# kernel data-structure filesystem
     51 #file-system	NULLFS		# NULL layered filesystem
     52 #file-system 	OVERLAY		# overlay file system
     53 #file-system	FDESC		# user file descriptor filesystem
     54 #file-system	UMAPFS		# uid/gid remapping filesystem
     55 #file-system	LFS		# Log-based filesystem (still experimental)
     56 #file-system	PROCFS		# /proc
     57 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     58 #file-system	UNION		# union file system
     59 #file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
     60 #file-system 	CODA		# Coda File System; also needs vcoda (below)
     61 
     62 # File system options
     63 #options 	FFS_EI		# FFS Endian Independent support
     64 #options 	QUOTA		# legacy UFS quotas
     65 #options 	QUOTA2		# new, in-filesystem UFS quotas
     66 #options 	UFS_DIRHASH	# UFS Large Directory Hashing
     67 #options 	UFS_EXTATTR	# Extended attribute support for UFS1
     68 #options 	DISKLABEL_EI	# disklabel Endian Independent support
     69 #options 	NFSSERVER	# Network File System server
     70 
     71 # Alternate buffer queue strategies for better responsiveness under high
     72 # disk I/O load.
     73 #options 	BUFQ_READPRIO
     74 options 	BUFQ_PRIOCSCAN
     75 
     76 # Networking options
     77 #options 	GATEWAY		# IP packet forwarding
     78 options 	INET		# Internet protocols
     79 #options 	INET6		# IPV6
     80 #options 	IPSEC		# IP security
     81 #options 	IPSEC_DEBUG	# debug for IP security
     82 #options 	MROUTING	# packet forwarding of multicast packets
     83 #options 	NETATALK	# AppleTalk (over Ethernet) protocol
     84 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     85 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     86 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     87 
     88 # JIT compiler for bpfilter
     89 #options	SLJIT
     90 #options	BPFJIT
     91 
     92 # These options enable verbose messages for several subsystems.
     93 # Warning, these may compile large string tables into the kernel!
     94 #options 	MIIVERBOSE	# verbose PHY autoconfig messages
     95 #options 	PCIVERBOSE	# verbose PCI device autoconfig messages
     96 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
     97 #options         SCSIVERBOSE     # human readable SCSI error messages
     98 #options 	USBVERBOSE	# verbose USB device autoconfig messages
     99 
    100 options 	NFS_BOOT_DHCP
    101 
    102 # Pretty much only one device to use for the root file system.
    103 #config		netbsd		root on ? type ?
    104 config		netbsd-admsw0	root on admsw0 type nfs
    105 
    106 mainbus0 	at root
    107 
    108 cpu0 		at mainbus?
    109 
    110 # Network pseudo-devices
    111 #pseudo-device	bpfilter			# Berkeley packet filter
    112 pseudo-device 	carp				# Common Address Redundancy Protocol
    113 pseudo-device	loop				# network loopback
    114 #pseudo-device	ppp				# Point-to-Point Protocol
    115 #pseudo-device	sl				# Serial Line IP
    116 #pseudo-device	tun				# network tunneling over tty
    117 #pseudo-device	gre				# generic L3 over IP tunnel
    118 #pseudo-device	ipip				# RFC 2003 IP Encapsulation
    119 #pseudo-device	gif				# RFC1933  tunnel
    120 #pseudo-device	faith				# IPv[46] tcp relay translation 
    121 # Miscellaneous pseudo-devices
    122 pseudo-device	pty				# pseudo-terminals
    123 #pseudo-device	tb		1		# tablet line discipline
    124 #pseudo-device	sequencer			# MIDI sequencer
    125 #options 	RND_COM				# use "com" randomness (BROKEN)
    126 
    127 # A pseudo device needed for Coda		# also needs CODA (above)
    128 #pseudo-device	vcoda				# coda minicache <-> venus comm.
    129 pseudo-device	md				# memory disk device (ramdisk)
    130 pseudo-device	ksyms
    131 
    132 obio*		at mainbus?
    133 gpio*		at mainbus?
    134 extio*		at mainbus?
    135 
    136 uart*		at obio? addr ?
    137 admsw*		at obio? addr ?
    138 
    139 #USB
    140 options		USB_DEBUG
    141 options		UHUB_DEBUG
    142 ahci*		at obio? addr ?
    143 usb*            at ahci?
    144 uhub*           at usb?
    145 uhub*           at uhub? port ? configuration ? interface ?
    146 ugen*           at uhub? port ?
    147 umass*          at uhub? port ?
    148 
    149 options       MSGBUFSIZE=65536
    150 
    151 scsibus* at scsi?
    152 sd*     at scsibus? target ? lun ?      # SCSI disk drives
    153 
    154 include "dev/veriexec.config"
    155