Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.169
      1  1.169       abs # $NetBSD: GENERIC,v 1.169 2023/02/12 14:50:38 abs Exp $
      2    1.1  sakamoto #
      3   1.48  gmcgarry # GENERIC machine description file
      4  1.108  kiyohara #
      5   1.48  gmcgarry # This machine description file is used to generate the default NetBSD
      6   1.48  gmcgarry # kernel.  The generic kernel does not include all options, subsystems
      7   1.48  gmcgarry # and device drivers, but should be useful for most applications.
      8    1.1  sakamoto #
      9   1.48  gmcgarry # The machine description file can be customised for your specific
     10   1.48  gmcgarry # machine to reduce the kernel size and improve its performance.
     11   1.48  gmcgarry #
     12   1.48  gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
     13   1.48  gmcgarry # man page.
     14   1.48  gmcgarry #
     15   1.48  gmcgarry # For further information on hardware support for this architecture, see
     16   1.48  gmcgarry # the intro(4) man page.  For further information about kernel options
     17   1.48  gmcgarry # for this architecture, see the options(4) man page.  For an explanation
     18   1.48  gmcgarry # of each device driver in this file see the section 4 man page for the
     19   1.48  gmcgarry # device.
     20    1.1  sakamoto 
     21   1.48  gmcgarry include 	"arch/bebox/conf/std.bebox"
     22   1.23   hubertf 
     23  1.123  kiyohara options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     24   1.55    atatat 
     25  1.169       abs #ident 		"GENERIC-$Revision: 1.169 $"
     26    1.1  sakamoto 
     27    1.1  sakamoto maxusers	32
     28    1.1  sakamoto 
     29  1.108  kiyohara # Standard system options
     30  1.108  kiyohara 
     31  1.108  kiyohara options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     32  1.108  kiyohara options 	NTP		# NTP phase/frequency locked loop
     33  1.108  kiyohara 
     34  1.108  kiyohara options 	KTRACE		# system call tracing via ktrace(1)
     35  1.108  kiyohara 
     36  1.108  kiyohara options 	SYSVMSG		# System V-like message queues
     37  1.108  kiyohara options 	SYSVSEM		# System V-like semaphores
     38  1.108  kiyohara options 	SYSVSHM		# System V-like memory sharing
     39  1.108  kiyohara 
     40  1.108  kiyohara options 	USERCONF	# userconf(4) support
     41  1.108  kiyohara #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     42   1.74    atatat options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     43   1.60  junyoung 
     44  1.157     sevan # Alternate buffer queue strategies for better responsiveness under high
     45  1.157     sevan # disk I/O load.
     46   1.82   tsutsui #options 	BUFQ_READPRIO
     47  1.160     sevan options 	BUFQ_PRIOCSCAN
     48    1.1  sakamoto 
     49  1.108  kiyohara # Diagnostic/debugging support options
     50  1.108  kiyohara #options 	DIAGNOSTIC	# cheap kernel consistency checks
     51  1.108  kiyohara #options 	DEBUG		# expensive debugging checks/support
     52  1.108  kiyohara options 	DDB		# in-kernel debugger
     53  1.141  szptvlfn options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
     54  1.108  kiyohara options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
     55  1.108  kiyohara #makeoptions	DEBUG="-g"
     56  1.108  kiyohara 
     57  1.156       mrg include 	"conf/compat_netbsd09.config"
     58  1.156       mrg 
     59  1.108  kiyohara #options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
     60  1.108  kiyohara #options 	COMPAT_LINUX	# Linux binary compatibility
     61  1.165       nia #options 	COMPAT_OSSAUDIO	# Linux binary compatibility
     62    1.1  sakamoto 
     63  1.108  kiyohara # File systems
     64  1.108  kiyohara file-system	FFS		# UFS
     65  1.108  kiyohara #file-system	EXT2FS		# second extended file system (linux)
     66  1.108  kiyohara #file-system	LFS		# log-structured file system
     67  1.108  kiyohara file-system	MFS		# memory file system
     68  1.108  kiyohara file-system	NFS		# Network File System client
     69  1.108  kiyohara file-system	CD9660		# ISO 9660 + Rock Ridge file system
     70  1.108  kiyohara file-system	MSDOSFS		# MS-DOS file system
     71  1.108  kiyohara #file-system	FDESC		# /dev/fd
     72  1.108  kiyohara file-system	KERNFS		# /kern
     73  1.108  kiyohara file-system	NULLFS		# loopback file system
     74  1.108  kiyohara #file-system	OVERLAY		# overlay file system
     75  1.118       chs file-system	PROCFS		# /proc
     76  1.108  kiyohara #file-system	UMAPFS		# NULLFS + uid and gid remapping
     77  1.108  kiyohara file-system	UNION		# union file system
     78  1.108  kiyohara #file-system	CODA		# Coda File System; also needs vcoda (below)
     79  1.118       chs file-system	PTYFS		# /dev/pts/N support
     80  1.118       chs file-system	TMPFS		# Efficient memory file-system
     81   1.95   reinoud #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
     82  1.108  kiyohara #file-system	HFS		# experimental - Apple HFS+ (read-only)
     83    1.1  sakamoto 
     84  1.108  kiyohara # File system options
     85  1.167    simonb #options 	APPLE_UFS	# Apple UFS support in FFS
     86  1.167    simonb #options 	FFS_EI		# FFS Endian Independent support
     87  1.167    simonb #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     88  1.126    bouyer options 	QUOTA		# legacy UFS quotas
     89  1.126    bouyer options 	QUOTA2		# new, in-filesystem UFS quotas
     90  1.167    simonb options 	UFS_DIRHASH	# UFS Large Directory Hashing
     91  1.167    simonb options 	UFS_EXTATTR	# Extended attribute support for UFS1
     92  1.167    simonb options 	WAPBL		# File system journaling support
     93  1.167    simonb #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
     94  1.167    simonb 				# immutable) behave as system flags.
     95  1.153       rin #options 	DISKLABEL_EI	# disklabel Endian Independent support
     96  1.108  kiyohara #options 	NFSSERVER	# Network File System server
     97  1.108  kiyohara 
     98  1.108  kiyohara # Networking options
     99  1.108  kiyohara #options 	GATEWAY		# packet forwarding
    100  1.108  kiyohara options 	INET		# IP + ICMP + TCP + UDP
    101   1.21    itojun options 	INET6		# IPV6
    102   1.21    itojun #options 	IPSEC		# IP security
    103   1.21    itojun #options 	IPSEC_DEBUG	# debug for IP security
    104  1.108  kiyohara #options 	MROUTING	# IP multicast routing
    105  1.108  kiyohara #options 	PIM		# Protocol Independent Multicast
    106  1.108  kiyohara #options 	NETATALK	# AppleTalk networking protocols
    107  1.108  kiyohara #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    108  1.108  kiyohara #options 	PPP_DEFLATE	# Deflate compression support for PPP
    109  1.108  kiyohara #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    110   1.40       abs #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    111    1.5  sakamoto 
    112   1.73       abs #options 	ALTQ		# Manipulate network interfaces' output queues
    113   1.73       abs #options 	ALTQ_BLUE	# Stochastic Fair Blue
    114   1.73       abs #options 	ALTQ_CBQ	# Class-Based Queueing
    115   1.73       abs #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    116   1.73       abs #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    117   1.73       abs #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    118   1.73       abs #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    119   1.73       abs #options 	ALTQ_LOCALQ	# Local queueing discipline
    120   1.73       abs #options 	ALTQ_PRIQ	# Priority Queueing
    121   1.73       abs #options 	ALTQ_RED	# Random Early Detection
    122   1.73       abs #options 	ALTQ_RIO	# RED with IN/OUT
    123   1.73       abs #options 	ALTQ_WFQ	# Weighted Fair Queueing
    124   1.73       abs 
    125  1.108  kiyohara # These options enable verbose messages for several subsystems.
    126  1.108  kiyohara # Warning, these may compile large string tables into the kernel!
    127  1.108  kiyohara options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    128  1.108  kiyohara options 	MIIVERBOSE	# verbose PHY autoconfig messages
    129  1.108  kiyohara #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    130  1.108  kiyohara options 	SCSIVERBOSE	# human readable SCSI error messages
    131    1.1  sakamoto 
    132  1.108  kiyohara #options 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
    133    1.1  sakamoto 
    134  1.108  kiyohara # wscons options
    135  1.108  kiyohara # builtin terminal emulations
    136  1.108  kiyohara #options 	WSEMUL_SUN		# sun terminal emulation
    137  1.108  kiyohara options 	WSEMUL_VT100		# VT100 / VT220 emulation
    138  1.108  kiyohara options 	WS_DEFAULT_FG=WSCOL_LIGHT_WHITE
    139  1.120  kiyohara # compatibility to other console drivers
    140  1.131       abs options 	WSDISPLAY_COMPAT_USL	# wsconscfg VT handling
    141  1.120  kiyohara options 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
    142   1.34    itojun 
    143  1.108  kiyohara config		netbsd	root on ? type ?
    144    1.1  sakamoto 
    145    1.1  sakamoto mainbus0 at root
    146    1.1  sakamoto 
    147   1.41      matt cpu*	at mainbus0
    148    1.1  sakamoto pci0	at mainbus0 bus ?
    149    1.1  sakamoto 
    150  1.108  kiyohara pci*	at ppb? bus ?
    151  1.108  kiyohara 
    152    1.1  sakamoto ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    153    1.1  sakamoto pchb*	at pci? dev ? function ?	# PCI-Host bridges
    154    1.1  sakamoto pcib*	at pci? dev ? function ?	# PCI-ISA bridges
    155    1.1  sakamoto 
    156    1.1  sakamoto isa*	at pcib?			# ISA on PCI-ISA bridge
    157    1.1  sakamoto 
    158  1.108  kiyohara # Console Devices
    159  1.108  kiyohara 
    160  1.108  kiyohara # wscons
    161  1.108  kiyohara pckbc0		at isa?			# pc keyboard controller
    162  1.108  kiyohara pckbd*		at pckbc?		# PC keyboard
    163  1.108  kiyohara pms*		at pckbc?		# PS/2 mouse for wsmouse
    164  1.108  kiyohara #options	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
    165  1.121  kiyohara #options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
    166  1.108  kiyohara genfb*		at pci? dev ? function ?
    167  1.120  kiyohara options 	WSFB_FAKE_VGA_FB
    168  1.108  kiyohara vga*		at pci? dev ? function ?
    169  1.108  kiyohara wsdisplay*	at vga? console ?
    170  1.108  kiyohara wskbd*		at pckbd? console ?
    171  1.108  kiyohara wsmouse*	at pms? mux 0
    172  1.102   gdamore 
    173  1.108  kiyohara # make sure the console display is always wsdisplay0
    174  1.108  kiyohara wsdisplay0	at wsemuldisplaydev? console 1
    175  1.108  kiyohara wsdisplay*	at wsemuldisplaydev?
    176    1.1  sakamoto 
    177    1.5  sakamoto com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
    178    1.5  sakamoto com1	at isa? port 0x2f8 irq 3
    179  1.108  kiyohara com2	at isa? port 0x380 irq 22
    180  1.108  kiyohara com3	at isa? port 0x388 irq 23
    181   1.46     lukem 
    182    1.1  sakamoto lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
    183    1.1  sakamoto 
    184  1.108  kiyohara mcclock0 at isa? port 0x70		# time-of-day clock
    185  1.108  kiyohara attimer0 at isa?
    186  1.133  kiyohara #pcppi0	at isa?
    187  1.152    martin #spkr*	at pcppi?
    188  1.108  kiyohara 
    189  1.124  kiyohara wss0	at isa? port 0x82c irq 30 drq 6 drq2 7	# Windows Sound System
    190    1.8  sakamoto 
    191  1.108  kiyohara # Audio support
    192  1.124  kiyohara audio*	at audiobus?
    193   1.67  jonathan 
    194  1.151  christos spkr*	at audio?			# PC speaker (synthesized)
    195  1.148       nat 
    196  1.108  kiyohara # MIDI support
    197  1.133  kiyohara #midi*	at pcppi?			# MIDI interface to the PC speaker
    198  1.108  kiyohara 
    199  1.108  kiyohara # Joystick driver. Probe is a little strange; add only if you have one.
    200  1.108  kiyohara joy0	at isa? port 0x201
    201   1.67  jonathan 
    202  1.110  kiyohara siop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
    203  1.110  kiyohara scsibus* at siop?
    204    1.1  sakamoto 
    205  1.110  kiyohara sd*	at scsibus? target ? lun ?	# SCSI disk drives
    206    1.1  sakamoto #st*	at scsibus? target ? lun ?	# SCSI tape drives
    207  1.110  kiyohara cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    208    1.1  sakamoto #ch*	at scsibus? target ? lun ?	# SCSI autochangers
    209    1.1  sakamoto #ss*	at scsibus? target ? lun ?	# SCSI scanners
    210    1.1  sakamoto #uk*	at scsibus? target ? lun ?	# SCSI unknown
    211    1.1  sakamoto 
    212   1.10  sakamoto fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
    213   1.10  sakamoto fd0	at fdc? drive 1
    214    1.1  sakamoto #fd*	at fdc? drive ?
    215    1.1  sakamoto 
    216    1.6  sakamoto wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
    217  1.108  kiyohara 
    218   1.66     lukem atabus* at ata?
    219   1.65    bouyer wd*	at atabus? drive ?
    220    1.1  sakamoto 
    221  1.108  kiyohara # ATAPI bus support
    222  1.108  kiyohara atapibus* at atapi?
    223  1.108  kiyohara 
    224  1.108  kiyohara # ATAPI devices
    225  1.108  kiyohara # flags have the same meaning as for IDE drives.
    226  1.108  kiyohara cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    227  1.108  kiyohara #sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    228  1.108  kiyohara #st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
    229  1.108  kiyohara #uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    230  1.108  kiyohara 
    231  1.108  kiyohara # Network devices
    232  1.108  kiyohara ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
    233    1.6  sakamoto ne0	at isa? port 0x300 irq 5	# NE[12]000 ethernet cards
    234  1.108  kiyohara fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
    235  1.108  kiyohara ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
    236  1.108  kiyohara tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
    237  1.108  kiyohara 
    238  1.108  kiyohara # MII/PHY support
    239  1.108  kiyohara ukphy*  at mii? phy ?                   # generic unknown PHYs
    240  1.108  kiyohara 
    241  1.121  kiyohara # TV cards
    242  1.121  kiyohara 
    243  1.121  kiyohara # Brooktree 848/849/878/879 based TV cards
    244  1.121  kiyohara bktr*	at pci? dev ? function ?	# Brooktree video/audio capture/tuner
    245  1.121  kiyohara 
    246  1.108  kiyohara 
    247  1.108  kiyohara # Pseudo-Devices
    248  1.108  kiyohara 
    249  1.108  kiyohara pseudo-device	crypto			# /dev/crypto device
    250  1.108  kiyohara 					# (disabled, requires generic softints)
    251  1.108  kiyohara pseudo-device	swcrypto		# software crypto implementation
    252  1.108  kiyohara 
    253  1.108  kiyohara # disk/mass storage pseudo-devices
    254  1.133  kiyohara #pseudo-device	bio			# RAID control device driver
    255  1.136  christos pseudo-device	ccd			# concatenated/striped disk devices
    256  1.136  christos pseudo-device	cgd			# cryptographic disk devices
    257  1.137  christos #pseudo-device	raid			# RAIDframe disk driver
    258  1.133  kiyohara #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    259  1.108  kiyohara # Options to enable various other RAIDframe RAID types.
    260  1.108  kiyohara #options 	RF_INCLUDE_EVENODD=1
    261  1.108  kiyohara #options 	RF_INCLUDE_RAID5_RS=1
    262  1.108  kiyohara #options 	RF_INCLUDE_PARITYLOGGING=1
    263  1.108  kiyohara #options 	RF_INCLUDE_CHAINDECLUSTER=1
    264  1.108  kiyohara #options 	RF_INCLUDE_INTERDECLUSTER=1
    265  1.108  kiyohara #options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    266  1.108  kiyohara #options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    267  1.117     pooka pseudo-device	fss			# file system snapshot device
    268  1.108  kiyohara 
    269  1.125   hannken pseudo-device	md			# memory disk device
    270  1.108  kiyohara pseudo-device	vnd			# disk-like interface to files
    271  1.108  kiyohara options 	VND_COMPRESSION		# compressed vnd(4)
    272  1.108  kiyohara 
    273  1.108  kiyohara # network pseudo-devices
    274  1.108  kiyohara pseudo-device	bpfilter		# packet filter
    275  1.160     sevan pseudo-device	carp			# Common Address Redundancy Protocol
    276  1.158      maxv pseudo-device	npf			# NPF packet filter
    277  1.108  kiyohara pseudo-device	loop			# network loopback
    278  1.108  kiyohara pseudo-device	ppp			# Point-to-Point Protocol
    279  1.108  kiyohara pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    280  1.108  kiyohara pseudo-device	sl			# Serial Line IP
    281  1.108  kiyohara #pseudo-device	irframetty		# IrDA frame line discipline
    282  1.108  kiyohara pseudo-device	tap			# virtual Ethernet
    283  1.108  kiyohara pseudo-device	tun			# network tunneling over tty
    284  1.108  kiyohara #pseudo-device	gre			# generic L3 over IP tunnel
    285  1.108  kiyohara #pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    286  1.108  kiyohara #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    287  1.108  kiyohara #pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    288  1.108  kiyohara #pseudo-device	vlan			# IEEE 802.1q encapsulation
    289  1.108  kiyohara #pseudo-device	bridge			# simple inter-network bridging
    290  1.164       roy #pseudo-device	vether			# Virtual Ethernet for bridge
    291  1.108  kiyohara #pseudo-device	agr			# IEEE 802.3ad link aggregation
    292  1.108  kiyohara # srt is EXPERIMENTAL
    293  1.108  kiyohara #pseudo-device	srt			# source-address-based routing
    294  1.108  kiyohara 
    295  1.112       tls #
    296  1.112       tls # accept filters
    297  1.112       tls pseudo-device   accf_data		# "dataready" accept filter
    298  1.112       tls pseudo-device   accf_http		# "httpready" accept filter
    299  1.112       tls 
    300  1.108  kiyohara # miscellaneous pseudo-devices
    301  1.108  kiyohara pseudo-device	pty			# pseudo-terminals
    302  1.166    martin #pseudo-device	sequencer		# MIDI sequencer
    303  1.108  kiyohara #options 	RND_COM			# use "com" randomness as well (BROKEN)
    304  1.108  kiyohara pseudo-device	clockctl		# user control of clock subsystem
    305  1.108  kiyohara pseudo-device	ksyms			# /dev/ksyms
    306  1.108  kiyohara pseudo-device	lockstat		# lock profiling
    307  1.108  kiyohara #pseudo-device	bcsp			# BlueCore Serial Protocol
    308  1.108  kiyohara #pseudo-device	btuart			# Bluetooth HCI UART (H4)
    309  1.168  riastrad pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
    310  1.108  kiyohara 
    311  1.108  kiyohara # a pseudo device needed for Coda	# also needs CODA (above)
    312  1.137  christos #pseudo-device	vcoda			# coda minicache <-> venus comm.
    313  1.108  kiyohara 
    314  1.108  kiyohara # wscons pseudo-devices
    315  1.108  kiyohara pseudo-device	wsmux			# mouse & keyboard multiplexor
    316  1.108  kiyohara pseudo-device	wsfont
    317    1.1  sakamoto 
    318  1.108  kiyohara # pseudo audio device driver
    319  1.108  kiyohara #pseudo-device	pad
    320   1.10  sakamoto 
    321  1.108  kiyohara # userland interface to drivers, including autoconf and properties retrieval
    322  1.159     isaki pseudo-device	drvctl
    323    1.1  sakamoto 
    324  1.160     sevan include "dev/veriexec.config"
    325  1.108  kiyohara 
    326  1.108  kiyohara #options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
    327  1.108  kiyohara #options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
    328  1.169       abs 
    329  1.169       abs # Pull in optional local configuration - always at end
    330  1.169       abs cinclude	"arch/bebox/conf/GENERIC.local"
    331