Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.1
      1  1.1  thorpej # $NetBSD: GENERIC,v 1.1 2024/01/02 07:40:59 thorpej 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.1  thorpej #ident 		"GENERIC-$Revision: 1.1 $"
     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.1  thorpej options		M68030
     36  1.1  thorpej 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.1  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.1  thorpej #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.1  thorpej #file-system 	MFS
     64  1.1  thorpej file-system 	CD9660
     65  1.1  thorpej #file-system	MSDOSFS
     66  1.1  thorpej #file-system	UNION
     67  1.1  thorpej file-system	PTYFS		# /dev/pts/N support
     68  1.1  thorpej file-system	TMPFS		# Efficient memory file-system
     69  1.1  thorpej #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
     70  1.1  thorpej 
     71  1.1  thorpej # File system options
     72  1.1  thorpej #options 	FFS_EI		# FFS Endian Independent support
     73  1.1  thorpej options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     74  1.1  thorpej #options 	UFS_DIRHASH	# UFS Large Directory Hashing
     75  1.1  thorpej #options 	UFS_EXTATTR	# Extended attribute support for UFS1
     76  1.1  thorpej options 	WAPBL		# File system journaling support
     77  1.1  thorpej options 	NFSSERVER	# Network File System server
     78  1.1  thorpej 
     79  1.1  thorpej # Networking options
     80  1.1  thorpej options 	INET
     81  1.1  thorpej options 	INET6		# IPV6
     82  1.1  thorpej #options 	IPSEC		# IP security
     83  1.1  thorpej #options 	IPSEC_DEBUG	# debug for IP security
     84  1.1  thorpej #options 	GATEWAY		# IP packet forwarding
     85  1.1  thorpej #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     86  1.1  thorpej 
     87  1.1  thorpej #options 	ALTQ		# Manipulate network interfaces' output queues
     88  1.1  thorpej #options 	ALTQ_BLUE	# Stochastic Fair Blue
     89  1.1  thorpej #options 	ALTQ_CBQ	# Class-Based Queueing
     90  1.1  thorpej #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
     91  1.1  thorpej #options 	ALTQ_FIFOQ	# First-In First-Out Queue
     92  1.1  thorpej #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
     93  1.1  thorpej #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
     94  1.1  thorpej #options 	ALTQ_LOCALQ	# Local queueing discipline
     95  1.1  thorpej #options 	ALTQ_PRIQ	# Priority Queueing
     96  1.1  thorpej #options 	ALTQ_RED	# Random Early Detection
     97  1.1  thorpej #options 	ALTQ_RIO	# RED with IN/OUT
     98  1.1  thorpej #options 	ALTQ_WFQ	# Weighted Fair Queueing
     99  1.1  thorpej 
    100  1.1  thorpej options 	COMPAT_AOUT_M68K	# compatibility with NetBSD/m68k a.out
    101  1.1  thorpej include 	"conf/compat_netbsd09.config"
    102  1.1  thorpej #options 	COMPAT_SUNOS
    103  1.1  thorpej #options 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
    104  1.1  thorpej #options 	COMPAT_LINUX	# compatibility with Linux/m68k binaries
    105  1.1  thorpej #options 	COMPAT_OSSAUDIO	# compatibility with Linux/m68k binaries
    106  1.1  thorpej 
    107  1.1  thorpej ## force NFS root and swap
    108  1.1  thorpej #config	netbsd		root on ? type nfs
    109  1.1  thorpej ## "generic" boot (put root on boot device)
    110  1.1  thorpej config netbsd		root on ? type ?
    111  1.1  thorpej 
    112  1.1  thorpej # Which protocol to use when booting over NFS
    113  1.1  thorpej options 	NFS_BOOT_DHCP		# Diskless client w/ dhcp
    114  1.1  thorpej options 	NFS_BOOT_BOOTP		# Diskless client w/ bootp
    115  1.1  thorpej options 	NFS_BOOT_BOOTPARAM	# Diskless client w/ bootparamd
    116  1.1  thorpej 
    117  1.1  thorpej #
    118  1.1  thorpej # accept filters
    119  1.1  thorpej pseudo-device   accf_data		# "dataready" accept filter
    120  1.1  thorpej pseudo-device   accf_http		# "httpready" accept filter
    121  1.1  thorpej 
    122  1.1  thorpej pseudo-device	sl
    123  1.1  thorpej pseudo-device	ppp 
    124  1.1  thorpej #pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    125  1.1  thorpej pseudo-device	loop
    126  1.1  thorpej pseudo-device	bpfilter
    127  1.1  thorpej #pseudo-device	carp			# Common Address Redundancy Protocol
    128  1.1  thorpej pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    129  1.1  thorpej #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    130  1.1  thorpej pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    131  1.1  thorpej #pseudo-device	vlan			# IEEE 802.1q encapsulation
    132  1.1  thorpej #pseudo-device	bridge			# simple inter-network bridging
    133  1.1  thorpej #pseudo-device	vether			# Virtual Ethernet for bridge
    134  1.1  thorpej #pseudo-device	agr			# IEEE 802.3ad link aggregation
    135  1.1  thorpej pseudo-device	pty			# pseudo-terminals
    136  1.1  thorpej #pseudo-device	cgd			# cryptographic disk devices
    137  1.1  thorpej pseudo-device	vnd 
    138  1.1  thorpej #options 	VND_COMPRESSION		# compressed vnd(4)
    139  1.1  thorpej pseudo-device	fss			# file system snapshot device
    140  1.1  thorpej pseudo-device	clockctl		# user control of clock subsystem
    141  1.1  thorpej pseudo-device	ksyms			# /dev/ksyms
    142  1.1  thorpej #pseudo-device	npf			# NPF packet filter
    143  1.1  thorpej pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
    144  1.1  thorpej 
    145  1.1  thorpej # random number generator pseudo-device
    146  1.1  thorpej #options 	RND_COM			# use "com" randomness as well (BROKEN)
    147  1.1  thorpej 
    148  1.1  thorpej # Veriexec
    149  1.1  thorpej # include "dev/veriexec.config"
    150  1.1  thorpej 
    151  1.1  thorpej mainbus0	at root
    152  1.1  thorpej 
    153  1.1  thorpej # Goldfish virtual devices
    154  1.1  thorpej gfpic*		at mainbus? addr ?	# interrupt controller
    155  1.1  thorpej gftty*		at mainbus? addr ?	# console terminal
    156  1.1  thorpej gfrtc*		at mainbus? addr ?	# real-time clock / timer
    157  1.1  thorpej 
    158  1.1  thorpej # VirtIO devices
    159  1.1  thorpej virtio*		at mainbus? addr ?	# VirtIO nexus
    160  1.1  thorpej ld*		at virtio?		# VirtIO disk device
    161  1.1  thorpej vioif*		at virtio?		# VirtIO network device
    162  1.1  thorpej viornd*		at virtio?		# VirtIO entropy device
    163  1.1  thorpej vioscsi*	at virtio?		# VirtIO SCSI device
    164  1.1  thorpej 
    165  1.1  thorpej # SCSI devices
    166  1.1  thorpej scsibus* at scsi?
    167  1.1  thorpej sd*		at scsibus? target ? lun ?	# SCSI disks
    168  1.1  thorpej #st*		at scsibus? target ? lun ?	# SCSI tapes
    169  1.1  thorpej cd*		at scsibus? target ? lun ?	# SCSI CD-ROMs
    170  1.1  thorpej #ch*		at scsibus? target ? lun ?	# SCSI changer devices
    171  1.1  thorpej #ss*		at scsibus? target ? lun ?	# SCSI scanners
    172  1.1  thorpej #ses*		at scsibus? target ? lun ?	# SCSI SES/SAF-TE devices
    173  1.1  thorpej uk*		at scsibus? target ? lun ?	# unknown SCSI
    174  1.1  thorpej 
    175  1.1  thorpej # Pull in optional local configuration - always at end
    176  1.1  thorpej cinclude	"arch/virt68k/conf/GENERIC.local"
    177