Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.28
      1 # $NetBSD: GENERIC,v 1.28 2013/06/30 21:38:58 rmind Exp $
      2 #
      3 # GENERIC machine description file
      4 # 
      5 # This machine description file is used to generate the default NetBSD
      6 # kernel.  The generic kernel does not include all options, subsystems
      7 # and device drivers, but should be useful for most applications.
      8 #
      9 # The machine description file can be customised for your specific
     10 # machine to reduce the kernel size and improve its performance.
     11 #
     12 # For further information on compiling NetBSD kernels, see the config(8)
     13 # man page.
     14 #
     15 # For further information on hardware support for this architecture, see
     16 # the intro(4) man page.  For further information about kernel options
     17 # for this architecture, see the options(4) man page.  For an explanation
     18 # of each device driver in this file see the section 4 man page for the
     19 # device.
     20 
     21 include 	"arch/rs6000/conf/std.rs6000"
     22 
     23 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     24 
     25 #makeoptions	COPTS="-O2 -mno-powerpc -mno-power"	# wheeee
     26 
     27 #ident		"GENERIC-$Revision: 1.28 $"
     28 
     29 maxusers	32
     30 
     31 # Platform support
     32 
     33 options		PIC_IOCC
     34 
     35 # Standard system options
     36 
     37 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     38 options 	NTP		# NTP phase/frequency locked loop
     39 
     40 options 	KTRACE		# system call tracing via ktrace(1)
     41 
     42 options 	SYSVMSG		# System V-like message queues
     43 options 	SYSVSEM		# System V-like semaphores
     44 #options 	SEMMNI=10	# number of semaphore identifiers
     45 #options 	SEMMNS=60	# number of semaphores in system
     46 #options 	SEMUME=10	# max number of undo entries per process
     47 #options 	SEMMNU=30	# number of undo structures in system
     48 options 	SYSVSHM		# System V-like memory sharing
     49 
     50 options 	USERCONF	# userconf(4) support
     51 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     52 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     53 
     54 # Enable experimental buffer queue strategy for better responsiveness under 
     55 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
     56 #options 	BUFQ_READPRIO
     57 #options 	BUFQ_PRIOCSCAN
     58 
     59 # Diagnostic/debugging support options
     60 #options 	DIAGNOSTIC	# cheap kernel consistency checks
     61 options 	DEBUG		# expensive debugging checks/support
     62 options		PMAPDEBUG
     63 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
     64 options 	DDB		# in-kernel debugger
     65 #options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
     66 #makeoptions	DEBUG="-g"
     67 
     68 # Compatibility options
     69 #options 	COMPAT_13	# NetBSD 1.3,
     70 #options 	COMPAT_14	# NetBSD 1.4,
     71 #options 	COMPAT_15	# NetBSD 1.5,
     72 #options 	COMPAT_16	# NetBSD 1.6,
     73 #options 	COMPAT_20	# NetBSD 2.0,
     74 #options 	COMPAT_30	# NetBSD 3.0,
     75 #options 	COMPAT_40	# NetBSD 4.0 compatibility.
     76 options 	COMPAT_50	# NetBSD 5.0 compatibility.
     77 options 	COMPAT_60	# NetBSD 6.0 compatibility.
     78 options 	COMPAT_43	# and 4.3BSD
     79 #options 	COMPAT_LINUX	# Linux binary compatibility
     80 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     81 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     82 
     83 # File systems
     84 file-system 	FFS		# UFS
     85 file-system	EXT2FS		# second extended file system (linux)
     86 #file-system	LFS		# log-structured file system
     87 file-system 	MFS		# memory file system
     88 file-system 	NFS		# Network File System client
     89 #file-system	NTFS		# Windows/NT file system (experimental)
     90 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     91 file-system 	MSDOSFS		# MS-DOS file system
     92 #file-system 	FDESC		# /dev/fd
     93 file-system 	KERNFS		# /kern
     94 file-system 	NULLFS		# loopback file system
     95 #file-system	OVERLAY		# overlay file system
     96 file-system 	PROCFS		# /proc
     97 #file-system 	UMAPFS		# NULLFS + uid and gid remapping
     98 file-system 	UNION		# union file system
     99 #file-system	CODA		# Coda File System; also needs vcoda (below)
    100 file-system	PTYFS		# /dev/pts/N support
    101 file-system	TMPFS		# Efficient memory file-system
    102 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
    103 
    104 # File system options
    105 options 	QUOTA		# legacy UFS quotas
    106 options 	QUOTA2		# new, in-filesystem UFS quotas
    107 #options 	FFS_EI		# FFS Endian Independent support
    108 options 	WAPBL		# File system journaling support
    109 #options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
    110 options 	NFSSERVER	# Network File System server
    111 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
    112 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    113  				# immutable) behave as system flags.
    114 
    115 # Networking options
    116 #options 	GATEWAY		# packet forwarding
    117 options 	INET		# IP + ICMP + TCP + UDP
    118 options 	INET6		# IPv6
    119 #options 	IPSEC		# IP security
    120 #options 	IPSEC_DEBUG	# debug for IP security
    121 #options 	MROUTING	# IP multicast routing
    122 #options 	PIM		# Protocol Independent Multicast
    123 #options 	NETATALK	# AppleTalk networking protocols
    124 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    125 options 	PPP_DEFLATE	# Deflate compression support for PPP
    126 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    127 options 	IPFILTER_LOG	# ipmon(8) log support
    128 options 	IPFILTER_COMPAT # Compat for IP-Filter
    129 #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
    130 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    131 
    132 #options 	ALTQ		# Manipulate network interfaces' output queues
    133 #options 	ALTQ_BLUE	# Stochastic Fair Blue
    134 #options 	ALTQ_CBQ	# Class-Based Queueing
    135 #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    136 #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    137 #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    138 #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    139 #options 	ALTQ_LOCALQ	# Local queueing discipline
    140 #options 	ALTQ_PRIQ	# Priority Queueing
    141 #options 	ALTQ_RED	# Random Early Detection
    142 #options 	ALTQ_RIO	# RED with IN/OUT
    143 #options 	ALTQ_WFQ	# Weighted Fair Queueing
    144 
    145 # These options enable verbose messages for several subsystems.
    146 # Warning, these may compile large string tables into the kernel!
    147 #options 	MIIVERBOSE	# verbose PHY autoconfig messages
    148 options 	SCSIVERBOSE	# human readable SCSI error messages
    149 options		MCAVERBOSE	# verbose MCA device autoconfig messages
    150 
    151 #options 	NFS_BOOT_BOOTP
    152 options 	NFS_BOOT_BOOTPARAM
    153 options 	NFS_BOOT_DHCP
    154 
    155 #
    156 # wscons options
    157 #
    158 # builtin terminal emulations
    159 options 	WSEMUL_VT100		# VT100 / VT220 emulation
    160 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    161 # different kernel output - see dev/wscons/wsdisplayvar.h
    162 options 	WS_KERNEL_FG=WSCOL_GREEN
    163 #options 	WS_KERNEL_BG=WSCOL_BLACK
    164 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
    165 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    166 # allocate a number of virtual screens at autoconfiguration time
    167 #options 	WSDISPLAY_DEFAULTSCREENS=4
    168 # use a large software cursor that doesn't blink
    169 options 	PCDISPLAY_SOFTCURSOR
    170 
    171 # Kernel root file system and dump configuration.
    172 config	netbsd	root on ? type ?
    173 #config	netbsd	root on tlp0 type nfs
    174 #config	netbsd	root on pcn0 type nfs
    175 
    176 
    177 #
    178 # Device configuration
    179 #
    180 
    181 mainbus0 at root
    182 cpu0	at mainbus0
    183 mca0	at mainbus0
    184 
    185 com*	at mca? slot ?
    186 
    187 # I/O Planar
    188 ioplanar* at mca? slot ?
    189 
    190 # I/O Planar devices
    191 com* at ioplanar?
    192 
    193 # Basic Bus Support
    194 
    195 # SCSI devices
    196 #sd*	at scsibus? target ? lun ?	# SCSI disk drives
    197 #st*	at scsibus? target ? lun ?	# SCSI tape drives
    198 #cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    199 #ch*	at scsibus? target ? lun ?	# SCSI autochangers
    200 #ss*	at scsibus? target ? lun ?	# SCSI scanners
    201 #uk*	at scsibus? target ? lun ?	# SCSI unknown
    202 
    203 # Pull in optional local configuration
    204 cinclude "arch/rs6000/conf/GENERIC.local"
    205 
    206 # Pseudo-Devices
    207 
    208 # Not yet ready -- prep lacks generic soft interrupts
    209 #pseudo-device 	crypto		# /dev/crypto device
    210 #pseudo-device	swcrypto	# software crypto implementation
    211 
    212 # disk/mass storage pseudo-devices
    213 #pseudo-device	ccd			# concatenated/striped disk devices
    214 #pseudo-device	cgd			# cryptographic disk devices
    215 #pseudo-device	raid			# RAIDframe disk driver
    216 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    217 # Options to enable various other RAIDframe RAID types.
    218 # options	RF_INCLUDE_EVENODD=1
    219 # options	RF_INCLUDE_RAID5_RS=1
    220 # options	RF_INCLUDE_PARITYLOGGING=1
    221 # options	RF_INCLUDE_CHAINDECLUSTER=1
    222 # options	RF_INCLUDE_INTERDECLUSTER=1
    223 # options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    224 # options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    225 pseudo-device	fss			# file system snapshot device
    226 pseudo-device	md			# memory disk device (ramdisk)
    227 pseudo-device	vnd			# disk-like interface to files
    228 #options 	VND_COMPRESSION		# compressed vnd(4)
    229 
    230 # network pseudo-devices
    231 pseudo-device	loop			# network loopback
    232 pseudo-device	bpfilter		# Berkeley packet filter
    233 #pseudo-device	carp			# Common Address Redundancy Protocol
    234 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    235 pseudo-device	ppp			# Point-to-Point Protocol
    236 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    237 #pseudo-device	sl			# Serial Line IP
    238 pseudo-device	strip			# Starmode Radio IP (Metricom)
    239 pseudo-device	tun			# network tunneling over tty
    240 pseudo-device	tap			# virtual Ethernet
    241 pseudo-device	gre			# generic L3 over IP tunnel
    242 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    243 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    244 pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    245 pseudo-device	vlan			# IEEE 802.1q encapsulation
    246 pseudo-device	bridge			# simple inter-network bridging
    247 #options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    248 
    249 #
    250 # accept filters
    251 pseudo-device   accf_data		# "dataready" accept filter
    252 pseudo-device   accf_http		# "httpready" accept filter
    253 
    254 # miscellaneous pseudo-devices
    255 pseudo-device	pty			# pseudo-terminals
    256 #pseudo-device	sequencer		# MIDI sequencer
    257 #options 	RND_COM			# use "com" randomness as well
    258 pseudo-device	clockctl		# user control of clock subsystem
    259 pseudo-device	ksyms			# /dev/ksyms
    260 #pseudo-device	pf			# PF packet filter
    261 #pseudo-device	pflog			# PF log if
    262 
    263 # a pseudo device needed for Coda	# also needs CODA (above)
    264 #pseudo-device	vcoda			# coda minicache <-> venus comm.
    265 
    266 # wscons pseudo-devices
    267 pseudo-device	wsmux			# mouse & keyboard multiplexor
    268 pseudo-device	wsfont
    269 
    270 # Veriexec
    271 #options VERIFIED_EXEC
    272 #
    273 # a pseudo device needed for veriexec
    274 #pseudo-device	veriexec
    275 #
    276 # Uncomment the fingerprint methods below that are desired. Note that
    277 # removing fingerprint methods will have almost no impact on the kernel
    278 # code size.
    279 #
    280 #options VERIFIED_EXEC_FP_RMD160
    281 #options VERIFIED_EXEC_FP_SHA256
    282 #options VERIFIED_EXEC_FP_SHA384
    283 #options VERIFIED_EXEC_FP_SHA512
    284 #options VERIFIED_EXEC_FP_SHA1
    285 #options VERIFIED_EXEC_FP_MD5
    286