Home | History | Annotate | Line # | Download | only in conf
GENERIC.common revision 1.3
      1  1.1   skrll #
      2  1.3  andvar #	$NetBSD: GENERIC.common,v 1.3 2023/06/01 20:15:16 andvar Exp $
      3  1.1   skrll #
      4  1.1   skrll #	GENERIC common RISC-V kernel config items shared between 32 and 64
      5  1.1   skrll #	kernels
      6  1.1   skrll #
      7  1.1   skrll 
      8  1.1   skrll maxusers 	64		# estimated number of users
      9  1.1   skrll 
     10  1.1   skrll options 	FDT
     11  1.1   skrll #options 	MULTIPROCESSOR
     12  1.1   skrll 
     13  1.1   skrll # Standard system options
     14  1.1   skrll options 	FPE		# Floating-point extension support
     15  1.1   skrll options 	NTP		# NTP phase/frequency locked loop
     16  1.1   skrll 
     17  1.1   skrll options 	KTRACE		# system call tracing via ktrace(1)
     18  1.1   skrll 
     19  1.1   skrll # Note: SysV IPC parameters could be changed dynamically, see sysctl(8).
     20  1.1   skrll options 	SYSVMSG		# System V-like message queues
     21  1.1   skrll options 	SYSVSEM		# System V-like semaphores
     22  1.1   skrll options 	SYSVSHM		# System V-like memory sharing
     23  1.1   skrll 
     24  1.1   skrll options 	MODULAR		# new style module(7) framework
     25  1.1   skrll options 	MODULAR_DEFAULT_AUTOLOAD
     26  1.1   skrll options 	USERCONF	# userconf(4) support
     27  1.1   skrll #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     28  1.1   skrll options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     29  1.1   skrll 
     30  1.1   skrll # Alternate buffer queue strategies for better responsiveness under high
     31  1.1   skrll # disk I/O load.
     32  1.1   skrll #options 	BUFQ_READPRIO
     33  1.1   skrll options 	BUFQ_PRIOCSCAN
     34  1.1   skrll 
     35  1.1   skrll # These options enable verbose messages for several subsystems.
     36  1.1   skrll # Warning, these may compile large string tables into the kernel!
     37  1.1   skrll #options 	USBVERBOSE	# verbose USB device autoconfig messages
     38  1.1   skrll 
     39  1.1   skrll #
     40  1.1   skrll # Because gcc omits the frame pointer for any -O level, the line below
     41  1.1   skrll # is needed to make backtraces in DDB work.
     42  1.1   skrll #
     43  1.1   skrll makeoptions 	COPTS="-O2 -fno-omit-frame-pointer"
     44  1.1   skrll makeoptions 	COPY_SYMTAB=1
     45  1.1   skrll options 	DDB		# in-kernel debugger
     46  1.1   skrll #options 	DDB_COMMANDONENTER="bt"	# execute command when ddb is entered
     47  1.1   skrll options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
     48  1.1   skrll options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     49  1.1   skrll #options 	KGDB		# remote debugger
     50  1.1   skrll #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
     51  1.1   skrll #options 	SYSCALL_STATS	# per syscall counts
     52  1.1   skrll #options 	SYSCALL_TIMES	# per syscall times
     53  1.1   skrll #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
     54  1.1   skrll 
     55  1.1   skrll # Compatibility options
     56  1.1   skrll #include 	"conf/compat_netbsd90.config"
     57  1.1   skrll 
     58  1.1   skrll # Wedge support
     59  1.1   skrll options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
     60  1.1   skrll options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
     61  1.1   skrll options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
     62  1.1   skrll options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
     63  1.1   skrll options 	DKWEDGE_METHOD_APPLE    # Support Apple partitions as wedges
     64  1.1   skrll #options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
     65  1.1   skrll 
     66  1.1   skrll include 	"conf/filesystems.config"
     67  1.1   skrll 
     68  1.1   skrll # File system options
     69  1.1   skrll options 	FFS_EI		# FFS Endian Independent support
     70  1.1   skrll #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     71  1.1   skrll options 	QUOTA		# legacy UFS quotas
     72  1.1   skrll options 	QUOTA2		# new, in-filesystem UFS quotas
     73  1.1   skrll #options 	UFS_DIRHASH	# UFS Large Directory Hashing
     74  1.1   skrll options 	WAPBL		# File system journaling support
     75  1.1   skrll #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     76  1.1   skrll 				# immutable) behave as system flags.
     77  1.1   skrll #options 	DISKLABEL_EI	# disklabel Endian Independent support
     78  1.1   skrll options 	NFSSERVER	# Network File System server
     79  1.1   skrll options 	NFS_BOOT_DHCP	# Support DHCP NFS root
     80  1.1   skrll 
     81  1.1   skrll # Networking options
     82  1.1   skrll #options 	GATEWAY		# packet forwarding
     83  1.1   skrll options 	INET		# IP + ICMP + TCP + UDP
     84  1.1   skrll options 	INET6		# IPV6
     85  1.1   skrll options 	IPSEC		# IP security
     86  1.1   skrll #options 	IPSEC_DEBUG	# debug for IP security
     87  1.1   skrll #options 	MPLS		# MultiProtocol Label Switching (needs mpls)
     88  1.1   skrll #options 	MROUTING	# IP multicast routing
     89  1.1   skrll #options 	PIM		# Protocol Independent Multicast
     90  1.1   skrll #options 	NETATALK	# AppleTalk networking protocols
     91  1.1   skrll #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     92  1.1   skrll #options 	PPP_DEFLATE	# Deflate compression support for PPP
     93  1.1   skrll #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     94  1.1   skrll #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     95  1.1   skrll 
     96  1.1   skrll #options 	ALTQ		# Manipulate network interfaces' output queues
     97  1.1   skrll #options 	ALTQ_BLUE	# Stochastic Fair Blue
     98  1.1   skrll #options 	ALTQ_CBQ	# Class-Based Queueing
     99  1.1   skrll #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    100  1.1   skrll #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    101  1.1   skrll #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    102  1.1   skrll #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    103  1.1   skrll #options 	ALTQ_LOCALQ	# Local queueing discipline
    104  1.1   skrll #options 	ALTQ_PRIQ	# Priority Queueing
    105  1.1   skrll #options 	ALTQ_RED	# Random Early Detection
    106  1.1   skrll #options 	ALTQ_RIO	# RED with IN/OUT
    107  1.1   skrll #options 	ALTQ_WFQ	# Weighted Fair Queueing
    108  1.1   skrll 
    109  1.1   skrll # These options enable verbose messages for several subsystems.
    110  1.1   skrll # Warning, these may compile large string tables into the kernel!
    111  1.1   skrll 
    112  1.1   skrll # Kernel root file system and dump configuration.
    113  1.1   skrll config 		netbsd	root on ? type ?
    114  1.1   skrll 
    115  1.1   skrll #
    116  1.1   skrll # Device configuration
    117  1.1   skrll #
    118  1.1   skrll 
    119  1.1   skrll mainbus0 	at root
    120  1.1   skrll simplebus* 	at fdt? pass 0
    121  1.1   skrll 
    122  1.1   skrll # CPUs
    123  1.1   skrll cpus* 		at fdt? pass 0
    124  1.1   skrll cpu* 		at fdt? pass 0
    125  1.1   skrll 
    126  1.1   skrll intc* 		at cpu? pass 1
    127  1.1   skrll 
    128  1.1   skrll # Core-level Interupt Control block
    129  1.1   skrll #clint0		at fdt? pass 2
    130  1.1   skrll 
    131  1.3  andvar # Platform-Level Interrupt Controller
    132  1.1   skrll plic* 		at fdt? pass 2
    133  1.1   skrll 
    134  1.1   skrll # Clocks
    135  1.1   skrll fclock* 	at fdt? pass 1
    136  1.1   skrll 
    137  1.1   skrll # UART
    138  1.1   skrll com* 		at fdt?			# UART
    139  1.1   skrll 
    140  1.1   skrll # Firmware devices
    141  1.1   skrll #qemufwcfg* 	at fdt?			# QEMU Firmware Configuration device
    142  1.1   skrll 
    143  1.2   skrll # RTC devices
    144  1.2   skrll gfrtc* 		at fdt?			# Google Goldfish RTC
    145  1.2   skrll 
    146  1.1   skrll # USB
    147  1.1   skrll xhci* 		at fdt?			# XHCI
    148  1.1   skrll usb* 		at usbus?
    149  1.1   skrll include "dev/usb/usbdevices.config"
    150  1.1   skrll midi*		at midibus?
    151  1.1   skrll pseudo-device 	sequencer		# MIDI sequencer
    152  1.1   skrll 
    153  1.1   skrll 
    154  1.1   skrll # Virtio devices
    155  1.1   skrll virtio* 	at fdt?			# Virtio MMIO device
    156  1.1   skrll #viomb* 	at virtio?		# Virtio memory balloon device
    157  1.1   skrll ld* 		at virtio?		# Virtio disk device
    158  1.1   skrll vioif* 		at virtio?		# Virtio network device
    159  1.1   skrll viornd* 	at virtio?		# Virtio entropy device
    160  1.1   skrll #vioscsi* 	at virtio?		# Virtio SCSI device
    161  1.1   skrll 
    162  1.1   skrll # Pseudo-Devices
    163  1.1   skrll # network pseudo-devices
    164  1.1   skrll pseudo-device 	bpfilter		# Berkeley packet filter
    165  1.1   skrll pseudo-device 	bridge			# simple inter-network bridging
    166  1.1   skrll pseudo-device 	carp			# Common Address Redundancy Protocol
    167  1.1   skrll pseudo-device 	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
    168  1.1   skrll pseudo-device 	gre			# generic L3 over IP tunnel
    169  1.1   skrll pseudo-device 	ipsecif			# interface for routing-based ipsec
    170  1.1   skrll pseudo-device 	loop			# network loopback
    171  1.1   skrll pseudo-device 	npf			# NPF packet filter
    172  1.1   skrll pseudo-device 	ppp			# Point-to-Point Protocol
    173  1.1   skrll pseudo-device 	pppoe			# PPP over Ethernet (RFC 2516)
    174  1.1   skrll pseudo-device 	swcrypto		# software crypto implementation
    175  1.1   skrll pseudo-device 	tun			# network tunneling over tty
    176  1.1   skrll pseudo-device 	tap			# virtual Ethernet
    177  1.1   skrll pseudo-device 	vether			# Virtual Ethernet for bridge
    178  1.1   skrll pseudo-device 	vlan			# IEEE 802.1q encapsulation
    179  1.1   skrll 
    180  1.1   skrll # miscellaneous pseudo-devices
    181  1.1   skrll pseudo-device 	clockctl		# user control of clock subsystem
    182  1.1   skrll pseudo-device 	crypto			# /dev/crypto device
    183  1.1   skrll pseudo-device 	lockstat		# lock profiling
    184  1.1   skrll pseudo-device 	ksyms			# /dev/ksyms
    185  1.1   skrll #pseudo-device 	pad			# pseudo audio device
    186  1.1   skrll pseudo-device 	pty			# pseudo-terminals
    187  1.1   skrll #options 	RND_COM
    188  1.1   skrll pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
    189  1.1   skrll 
    190  1.1   skrll 
    191  1.1   skrll # disk/mass storage pseudo-devices
    192  1.1   skrll #pseudo-device 	md			# memory disk device (ramdisk)
    193  1.1   skrll #options 	MEMORY_DISK_HOOKS	# enable root ramdisk
    194  1.1   skrll #options 	MEMORY_DISK_DYNAMIC	# loaded via kernel module(7)
    195  1.1   skrll 
    196  1.1   skrll pseudo-device	vnd			# disk-like interface to files
    197  1.1   skrll options 	VND_COMPRESSION		# compressed vnd(4)
    198  1.1   skrll 
    199  1.1   skrll # userland interface to drivers, including autoconf and properties retrieval
    200  1.1   skrll pseudo-device 	drvctl
    201  1.1   skrll 
    202  1.1   skrll options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
    203  1.1   skrll options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
    204  1.1   skrll 
    205  1.1   skrll # Pull in optional local configuration - always at end
    206  1.1   skrll cinclude 	"arch/riscv/conf/GENERIC.local"
    207