Home | History | Annotate | Line # | Download | only in conf
      1  1.12     isaki # $NetBSD: GENERIC,v 1.12 2025/08/27 04:47:17 isaki Exp $
      2   1.1   thorpej #
      3   1.1   thorpej # GENERIC machine description file
      4   1.1   thorpej # 
      5   1.1   thorpej # This machine description file is used to generate the default NetBSD
      6   1.1   thorpej # kernel.  The generic kernel does not include all options, subsystems
      7   1.1   thorpej # and device drivers, but should be useful for most applications.
      8   1.1   thorpej #
      9   1.1   thorpej # The machine description file can be customised for your specific
     10   1.1   thorpej # machine to reduce the kernel size and improve its performance.
     11   1.1   thorpej #
     12   1.1   thorpej # For further information on compiling NetBSD kernels, see the config(8)
     13   1.1   thorpej # man page.
     14   1.1   thorpej #
     15   1.1   thorpej # For further information on hardware support for this architecture, see
     16   1.1   thorpej # the intro(4) man page.  For further information about kernel options
     17   1.1   thorpej # for this architecture, see the options(4) man page.  For an explanation
     18   1.1   thorpej # of each device driver in this file see the section 4 man page for the
     19   1.1   thorpej # device.
     20   1.1   thorpej 
     21   1.1   thorpej include 	"arch/virt68k/conf/std.virt68k"
     22   1.1   thorpej 
     23   1.1   thorpej options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     24   1.1   thorpej 
     25  1.12     isaki #ident 		"GENERIC-$Revision: 1.12 $"
     26   1.1   thorpej 
     27   1.1   thorpej makeoptions	COPTS="-O2 -fno-reorder-blocks"	# see share/mk/sys.mk
     28   1.1   thorpej 
     29   1.1   thorpej # reserve symbol space and copy the symbol table into it.  Needed
     30   1.1   thorpej # because Qemu does not load the symbol table when loading the
     31   1.1   thorpej # kernel.
     32   1.1   thorpej makeoptions     COPY_SYMTAB=1
     33   1.1   thorpej 
     34   1.1   thorpej # CPUs this kernel supports
     35  1.12     isaki options 	M68030
     36  1.12     isaki options 	M68040
     37   1.1   thorpej 
     38   1.1   thorpej maxusers	16
     39   1.1   thorpej 
     40   1.1   thorpej # Needed on m68040 boards to emulate some missing FP instructions
     41   1.1   thorpej options 	FPSP
     42   1.1   thorpej 
     43   1.1   thorpej options 	DDB
     44   1.1   thorpej options 	DIAGNOSTIC
     45   1.2   thorpej #options 	LOCKDEBUG
     46   1.1   thorpej #options 	DEBUG
     47   1.1   thorpej 
     48   1.1   thorpej #options 	SYSVSHM
     49   1.1   thorpej options 	KTRACE
     50   1.1   thorpej 
     51   1.1   thorpej options 	USERCONF	# userconf(4) support
     52  1.12     isaki #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     53   1.1   thorpej options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     54   1.1   thorpej 
     55   1.1   thorpej # Alternate buffer queue strategies for better responsiveness under high
     56   1.1   thorpej # disk I/O load.
     57   1.1   thorpej #options 	BUFQ_READPRIO
     58   1.1   thorpej #options 	BUFQ_PRIOCSCAN
     59   1.1   thorpej 
     60   1.1   thorpej file-system 	FFS
     61   1.1   thorpej file-system 	NFS
     62   1.1   thorpej file-system 	KERNFS
     63   1.4   thorpej file-system 	PROCFS
     64   1.1   thorpej #file-system 	MFS
     65   1.1   thorpej file-system 	CD9660
     66   1.4   thorpej file-system	MSDOSFS
     67   1.1   thorpej #file-system	UNION
     68   1.1   thorpej file-system	PTYFS		# /dev/pts/N support
     69   1.1   thorpej file-system	TMPFS		# Efficient memory file-system
     70   1.1   thorpej #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
     71   1.8       rin file-system	NULLFS		# loopback file system
     72   1.8       rin file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     73   1.8       rin pseudo-device	putter		# for puffs and pud
     74   1.1   thorpej 
     75   1.1   thorpej # File system options
     76   1.1   thorpej #options 	FFS_EI		# FFS Endian Independent support
     77   1.1   thorpej options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     78   1.1   thorpej #options 	UFS_DIRHASH	# UFS Large Directory Hashing
     79   1.1   thorpej #options 	UFS_EXTATTR	# Extended attribute support for UFS1
     80   1.1   thorpej options 	WAPBL		# File system journaling support
     81   1.1   thorpej options 	NFSSERVER	# Network File System server
     82   1.1   thorpej 
     83   1.1   thorpej # Networking options
     84   1.1   thorpej options 	INET
     85   1.1   thorpej options 	INET6		# IPV6
     86   1.1   thorpej #options 	IPSEC		# IP security
     87   1.1   thorpej #options 	IPSEC_DEBUG	# debug for IP security
     88   1.1   thorpej #options 	GATEWAY		# IP packet forwarding
     89   1.1   thorpej #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     90   1.1   thorpej 
     91   1.1   thorpej #options 	ALTQ		# Manipulate network interfaces' output queues
     92   1.1   thorpej #options 	ALTQ_BLUE	# Stochastic Fair Blue
     93   1.1   thorpej #options 	ALTQ_CBQ	# Class-Based Queueing
     94   1.1   thorpej #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
     95   1.1   thorpej #options 	ALTQ_FIFOQ	# First-In First-Out Queue
     96   1.1   thorpej #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
     97   1.1   thorpej #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
     98   1.1   thorpej #options 	ALTQ_LOCALQ	# Local queueing discipline
     99   1.1   thorpej #options 	ALTQ_PRIQ	# Priority Queueing
    100   1.1   thorpej #options 	ALTQ_RED	# Random Early Detection
    101   1.1   thorpej #options 	ALTQ_RIO	# RED with IN/OUT
    102   1.1   thorpej #options 	ALTQ_WFQ	# Weighted Fair Queueing
    103   1.1   thorpej 
    104   1.1   thorpej options 	COMPAT_AOUT_M68K	# compatibility with NetBSD/m68k a.out
    105   1.1   thorpej include 	"conf/compat_netbsd09.config"
    106   1.6   thorpej #options 	COMPAT_SUNOS
    107   1.1   thorpej #options 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
    108   1.1   thorpej #options 	COMPAT_LINUX	# compatibility with Linux/m68k binaries
    109   1.1   thorpej #options 	COMPAT_OSSAUDIO	# compatibility with Linux/m68k binaries
    110   1.1   thorpej 
    111   1.8       rin # Shared memory options
    112   1.8       rin options 	SYSVMSG		# System V-like message queues
    113   1.8       rin options 	SYSVSEM		# System V-like semaphores
    114   1.8       rin options 	SYSVSHM		# System V-like memory sharing
    115   1.8       rin 
    116   1.1   thorpej ## force NFS root and swap
    117   1.1   thorpej #config	netbsd		root on ? type nfs
    118   1.1   thorpej ## "generic" boot (put root on boot device)
    119   1.1   thorpej config netbsd		root on ? type ?
    120   1.1   thorpej 
    121   1.1   thorpej # Which protocol to use when booting over NFS
    122   1.1   thorpej options 	NFS_BOOT_DHCP		# Diskless client w/ dhcp
    123   1.1   thorpej options 	NFS_BOOT_BOOTP		# Diskless client w/ bootp
    124   1.1   thorpej options 	NFS_BOOT_BOOTPARAM	# Diskless client w/ bootparamd
    125   1.1   thorpej 
    126   1.1   thorpej #
    127   1.1   thorpej # accept filters
    128   1.1   thorpej pseudo-device   accf_data		# "dataready" accept filter
    129   1.1   thorpej pseudo-device   accf_http		# "httpready" accept filter
    130   1.1   thorpej 
    131   1.1   thorpej pseudo-device	sl
    132   1.1   thorpej pseudo-device	ppp 
    133   1.1   thorpej #pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    134   1.1   thorpej pseudo-device	loop
    135   1.1   thorpej pseudo-device	bpfilter
    136   1.1   thorpej #pseudo-device	carp			# Common Address Redundancy Protocol
    137   1.1   thorpej pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    138   1.1   thorpej #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    139   1.1   thorpej pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    140   1.1   thorpej #pseudo-device	vlan			# IEEE 802.1q encapsulation
    141   1.1   thorpej #pseudo-device	bridge			# simple inter-network bridging
    142   1.1   thorpej #pseudo-device	vether			# Virtual Ethernet for bridge
    143   1.1   thorpej #pseudo-device	agr			# IEEE 802.3ad link aggregation
    144   1.1   thorpej pseudo-device	pty			# pseudo-terminals
    145   1.1   thorpej #pseudo-device	cgd			# cryptographic disk devices
    146   1.1   thorpej pseudo-device	vnd 
    147   1.1   thorpej #options 	VND_COMPRESSION		# compressed vnd(4)
    148   1.1   thorpej pseudo-device	fss			# file system snapshot device
    149   1.1   thorpej pseudo-device	clockctl		# user control of clock subsystem
    150   1.1   thorpej pseudo-device	ksyms			# /dev/ksyms
    151   1.1   thorpej #pseudo-device	npf			# NPF packet filter
    152   1.1   thorpej pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
    153   1.9   mlelstv pseudo-device	drvctl			# user control of drive subsystem
    154   1.1   thorpej 
    155   1.8       rin # crypto pseudo-devices
    156   1.8       rin pseudo-device	crypto			# /dev/crypto device
    157   1.8       rin pseudo-device	swcrypto		# software crypto implementation
    158   1.8       rin 
    159   1.1   thorpej # random number generator pseudo-device
    160   1.1   thorpej #options 	RND_COM			# use "com" randomness as well (BROKEN)
    161   1.1   thorpej 
    162   1.1   thorpej # Veriexec
    163   1.1   thorpej # include "dev/veriexec.config"
    164   1.1   thorpej 
    165   1.1   thorpej mainbus0	at root
    166   1.1   thorpej 
    167   1.1   thorpej # Goldfish virtual devices
    168   1.1   thorpej gfpic*		at mainbus? addr ?	# interrupt controller
    169   1.1   thorpej gftty*		at mainbus? addr ?	# console terminal
    170   1.1   thorpej gfrtc*		at mainbus? addr ?	# real-time clock / timer
    171   1.1   thorpej 
    172   1.3   thorpej # Qemu Virtual System Controller
    173   1.3   thorpej virtctrl*	at mainbus? addr ?
    174   1.3   thorpej 
    175   1.1   thorpej # VirtIO devices
    176   1.1   thorpej virtio*		at mainbus? addr ?	# VirtIO nexus
    177  1.10  riastrad 
    178  1.10  riastrad include "dev/virtio/virtio.config"
    179  1.10  riastrad no vio9p* 	at virtio?		# XXX ?
    180  1.10  riastrad no viomb* 	at virtio?		# XXX ?
    181  1.11     isaki no viogpu*	at virtio?		# No rasops (yet?)
    182   1.1   thorpej 
    183   1.1   thorpej # SCSI devices
    184   1.1   thorpej scsibus* at scsi?
    185   1.1   thorpej sd*		at scsibus? target ? lun ?	# SCSI disks
    186   1.1   thorpej #st*		at scsibus? target ? lun ?	# SCSI tapes
    187   1.1   thorpej cd*		at scsibus? target ? lun ?	# SCSI CD-ROMs
    188   1.1   thorpej #ch*		at scsibus? target ? lun ?	# SCSI changer devices
    189   1.1   thorpej #ss*		at scsibus? target ? lun ?	# SCSI scanners
    190   1.1   thorpej #ses*		at scsibus? target ? lun ?	# SCSI SES/SAF-TE devices
    191   1.1   thorpej uk*		at scsibus? target ? lun ?	# unknown SCSI
    192   1.1   thorpej 
    193   1.1   thorpej # Pull in optional local configuration - always at end
    194   1.1   thorpej cinclude	"arch/virt68k/conf/GENERIC.local"
    195