Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.1
      1 # $NetBSD: GENERIC,v 1.1 2009/07/21 09:49:15 phx 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/amigappc/conf/std.amigappc"
     22 
     23 options 	INCLUDE_CONFIG_FILE     # embed config file in kernel binary
     24 
     25 #ident          "GENERIC-$Revision: 1.1 $"
     26 
     27 maxusers	8
     28 
     29 #
     30 # Mainboards to support (in addition to Amiga)
     31 #
     32 options 	BB060STUPIDROM	# You need this, if you have a non-DraCo
     33 				# MC68060 with an OS ROM up to (at least)
     34 				# V40 (OS3.1) and want to boot with the
     35 				# bootblock.
     36 				# You do not need this if you have a DraCo,
     37 				# have no 68060 or NEVER use the bootblock
     38 options 	P5PPC68KBOARD	# Phase5 PPC/68K board support
     39 
     40 #
     41 # Standard system options
     42 #
     43 options 	INSECURE	# disable kernel security levels
     44 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     45 options 	NTP		# NTP phase/frequency locked loop
     46 
     47 options 	KTRACE		# system call tracing support
     48 options 	SCSIVERBOSE	# human readable SCSI error messages
     49 options 	USERCONF	# userconf(4) support
     50 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     51 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     52 
     53 # Support for System V IPC facilities.
     54 options 	SYSVSHM		# System V-like shared memory
     55 options 	SYSVMSG		# System V-like messages
     56 options 	SYSVSEM		# System V-like semaphores
     57 options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
     58 
     59 # Enable experimental buffer queue strategy for better responsiveness under 
     60 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
     61 #options 	BUFQ_READPRIO
     62 #options 	BUFQ_PRIOCSCAN
     63 
     64 #
     65 # Diagnostic/debugging support options
     66 #
     67 options 	DIAGNOSTIC	# Extra kernel sanity checks
     68 options 	DEBUG		# Enable misc. kernel debugging code
     69 options		DEBUG_KERNEL_START
     70 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
     71 options 	DDB		# in-kernel debugger
     72 options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
     73 options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
     74 options 	SCSIDEBUG	# Add SCSI debugging statements
     75 #options 	SERCONSOLE	# console via Amiga serial port
     76 makeoptions	DEBUG="-g"	# compile full symbol table
     77 
     78 #
     79 # Compatibility option
     80 #
     81 options 	COMPAT_09	# NetBSD 0.9,
     82 options 	COMPAT_10	# NetBSD 1.0,
     83 options 	COMPAT_11	# NetBSD 1.1,
     84 options 	COMPAT_12	# NetBSD 1.2,
     85 options 	COMPAT_13	# NetBSD 1.3,
     86 options 	COMPAT_14	# NetBSD 1.4,
     87 options 	COMPAT_15	# NetBSD 1.5,
     88 options 	COMPAT_16	# NetBSD 1.6,
     89 options 	COMPAT_20	# NetBSD 2.0,
     90 options 	COMPAT_30	# NetBSD 3.0 compatibility.
     91 options 	COMPAT_40	# NetBSD 4.0 compatibility.
     92 options 	COMPAT_50	# NetBSD 5.0 compatibility.
     93 options 	COMPAT_43	# and 4.3BSD
     94 options 	COMPAT_386BSD_MBRPART # recognize old partition ID
     95 #options 	COMPAT_LINUX	# Linux binary compatibility
     96 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     97 options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
     98 
     99 #
    100 # File systems
    101 #
    102 file-system 	FFS		# UFS
    103 #file-system 	EXT2FS		# second extended file system (linux)
    104 #file-system 	LFS		# log-structured file system
    105 #file-system 	MFS		# memory file system
    106 #file-system 	NFS		# Network file System client
    107 #file-system 	CD9660		# ISO 9660 + Rock Ridge file system
    108 #file-system 	MSDOSFS		# MS-DOS file system
    109 file-system 	ADOSFS		# AmigaDOS file system
    110 file-system 	FDESC		# /dev/fd
    111 file-system 	KERNFS		# /kern
    112 #file-system 	NULLFS		# loopback file system
    113 #file-system 	OVERLAY		# overlay file system
    114 #file-system 	PORTAL		# portal file system (still experimental)
    115 file-system 	PROCFS		# /proc
    116 #file-system 	UMAPFS		# NULLFS + uid and gid remapping
    117 #file-system 	UNION		# union file system
    118 file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
    119 file-system	PTYFS		# /dev/pts/N support
    120 file-system	TMPFS		# Efficient memory file-system
    121 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
    122 
    123 # File system options
    124 #options 	FFS_EI		# FFS Endian Independant support
    125 options 	WAPBL		# File system journaling support - Experimental
    126 
    127 #options 	QUOTA		# User and group quotas in FFS
    128 #options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
    129 #options 	NFSSERVER	# Network File System server side code
    130 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
    131 
    132 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    133 				# immutable) behave as system flags.
    134 
    135 #
    136 # Networking options
    137 #
    138 options 	INET		# IP networking support (Required)
    139 options 	INET6		# IPV6
    140 #options 	IPSEC		# IP security
    141 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
    142 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
    143 #options 	IPSEC_DEBUG	# debug for IP security
    144 #options 	GATEWAY		# Packet forwarding
    145 #options 	DIRECTED_BROADCAST	# Broadcast across subnets
    146 
    147 #options 	MROUTING	# Multicast routing
    148 #options 	PIM		# Protocol Independent Multicast
    149 #options 	ISO,TPIP	# OSI
    150 #options 	EON		# OSI tunneling over IP
    151 #options 	NETATALK	# AppleTalk networking protocols
    152 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    153 
    154 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    155 options 	PPP_DEFLATE	# Deflate compression support for PPP
    156 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    157 options 	PFIL_HOOKS	# pfil(9) packet filter hooks
    158 options 	IPFILTER_LOG	# ipmon(8) log support
    159 options 	IPFILTER_LOOKUP	# ippool(8) support
    160 #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
    161 
    162 #options 	ALTQ		# Manipulate network interfaces' output queues
    163 #options 	ALTQ_BLUE	# Stochastic Fair Blue
    164 #options 	ALTQ_CBQ	# Class-Based Queueing
    165 #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    166 #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    167 #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    168 #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    169 #options 	ALTQ_LOCALQ	# Local queueing discipline
    170 #options 	ALTQ_PRIQ	# Priority Queueing
    171 #options 	ALTQ_RED	# Random Early Detection
    172 #options 	ALTQ_RIO	# RED with IN/OUT
    173 #options 	ALTQ_WFQ	# Weighted Fair Queueing
    174 
    175 #
    176 # Amiga specific options
    177 #
    178 #options 	RETINACONSOLE	# enable code to allow retina to be console
    179 #options 	ULOWELLCONSOLE	# enable code to allow a2410 to be console
    180 #options 	CL5426CONSOLE	# Cirrus console
    181 #options 	CV64CONSOLE	# CyberVision console
    182 #options 	TSENGCONSOLE	# Tseng console
    183 #options 	CV3DCONSOLE	# CyberVision 64/3D console
    184 
    185 options 	GRF_ECS		# Enhanced Chip Set
    186 options 	GRF_NTSC	# NTSC
    187 options 	GRF_PAL		# PAL
    188 #options 	GRF_A2024	# Support for the A2024
    189 #options 	GRF_AGA		# AGA Chip Set
    190 #options 	GRF_AGA_VGA	# AGA VGAONLY timing
    191 #options 	GRF_SUPER72	# AGA Super-72
    192 #options 	KFONT_8X11	# 8x11 font
    193 
    194 # select a font for the console according to the character set and keymap
    195 # you want to use
    196 options        KFONT_CONS_ISO8859_1
    197 #options         KFONT_CONS_ISO8859_2
    198 
    199 # This is how you would tell the kernel the A2410 oscillator frequencies:
    200 # The used frequencies are the defaults, and do not need option setting
    201 #options 	ULOWELL_OSC1=36000000
    202 #options 	ULOWELL_OSC2=66667000
    203 
    204 # This is how you specify the blitting speed, higher values may speed up blits
    205 # a littel bit.  If you raise this value too much some trash may appear.
    206 # the commented version is the default.
    207 #options 	RH_MEMCLK=61000000
    208 # this option enables the 64 bit sprite which does not work
    209 # for quite a few people.  E.g. The cursor sprite will turn to a block
    210 # when moved to the top of the screen in X.
    211 #options 	RH_64BIT_SPRITE
    212 # enables fast scroll code appears to now work on 040 systems.
    213 #options 	RETINA_SPEED_HACK
    214 # enables the Hardwarecursor which does not work on some systems.
    215 #options 	RH_HARDWARECURSOR
    216 
    217 #
    218 # Device configuration
    219 #
    220 mainbus0	at root
    221 cpu0		at mainbus0
    222 kbd0		at mainbus0		# Amiga keyboard
    223 zbus0		at mainbus0		# ZorroII/III expansion bus
    224 ser0		at mainbus0		# Amiga onboard serial
    225 par0		at mainbus0		# Amiga onboard parallel
    226 ms*		at mainbus0		# Amiga mice
    227 fdc0		at mainbus0		# Amiga FDC
    228 fd*		at fdc0 unit ?		# floppy disks on the later
    229 a34kbbc0	at mainbus0		# A3000/A4000 battery backed clock
    230 #aucc*		at mainbus0		# Amiga CC audio
    231 #audio*		at aucc?
    232 
    233 # wscons aware interface to amiga custom chips.
    234 # If you enable it enable also wskbd.
    235 #amidisplaycc0	at mainbus0		# wscons interface to custom chips
    236 #wsdisplay0	at amidisplaycc0 console ?
    237 #options 	WSEMUL_VT100
    238 #options 	FONT_VT220L8x10
    239 #options	FONT_VT220ISO8x16
    240 #
    241 # Keyboard device. Optionally can attach a wskbd.
    242 # wskbd works together with a wsdisplay so enable them both if you will.
    243 # Don't enable wskbd if you use ite.
    244 #
    245 # XXX in std.amiga: kbd0 at mainbus0
    246 #wskbd0		at kbd0 console ?
    247 #wsmouse*	at ms?
    248 
    249 #
    250 # Graphics devices
    251 #
    252 grfcc0		at mainbus0		# custom chips
    253 #grfrt0		at zbus0		# retina II
    254 #grfrh0		at zbus0		# retina III
    255 #grfcl*		at zbus0		# Picasso II/Piccolo/Spectrum
    256 #grful0		at zbus0		# A2410
    257 #grfcv0		at zbus0		# CyberVision 64
    258 #grfet*		at zbus0		# Tseng (oMniBus, Domino, Merlin)
    259 #grfcv3d0	at zbus0		# CyberVision 64/3D
    260 
    261 grf0		at grfcc0
    262 #grf1		at grfrt0
    263 #grf2		at grfrh0
    264 #grf3		at grfcl?
    265 #grf4		at grful0
    266 #grf5		at grfcv0
    267 #grf6		at grfet?
    268 #grf7		at grfcv3d0
    269 ite0		at grf0			# terminal emulators for grfs
    270 #ite1		at grf1			# terminal emulators for grfs
    271 #ite2		at grf2			# terminal emulators for grfs
    272 #ite3		at grf3			# terminal emulators for grfs
    273 #ite4		at grf4			# terminal emulators for grfs
    274 #ite5		at grf5			# terminal emulators for grfs
    275 #ite6		at grf6			# terminal emulators for grfs
    276 #ite7		at grf7			# terminal emulators for grfs
    277 
    278 #
    279 # Zorro-II, Zorro-III devices (sans graphics)
    280 #
    281 #repulse*	at zbus0		# ALiENDESiGN Repulse
    282 #audio*		at repulse?
    283 
    284 #toccata*	at zbus0		# MacroSystem GmbH Toccata
    285 #audio*		at toccata?
    286 
    287 # Ethernet cards:
    288 #le*		at zbus0		# A2065, Ameristar, Ariadne
    289 #ne*		at zbus0		# AriadneII, X-surf
    290 #ed*		at zbus0		# Hydra, ASDG LanRover
    291 #es*		at zbus0		# CEI A4066 EthernetPLUS
    292 #qn*		at zbus0		# Quicknet
    293 
    294 # Arcnet
    295 #bah*		at zbus0		# C=/Ameristar A2060 / 560
    296 
    297 # Greater Valley Product Bus
    298 #gvpbus* 	at zbus0
    299 
    300 # scsi stuff, all possible
    301 #gtsc0		at gvpbus?		# GVP series II scsi
    302 #scsibus*	at gtsc0
    303 ahsc0		at mainbus0		# A3000 scsi
    304 scsibus*	at ahsc0
    305 #atzsc0		at zbus0		# A2091 scsi
    306 #scsibus*	at atzsc0
    307 #wstsc0		at zbus0		# Wordsync II scsi
    308 #scsibus*	at wstsc0
    309 #ivsc0		at zbus0		# IVS scsi
    310 #scsibus*	at ivsc0
    311 #mlhsc0		at zbus0		# Hacker scsi
    312 #scsibus*	at mlhsc0
    313 #otgsc0		at zbus0		# 12 gauge scsi
    314 #scsibus*	at otgsc0
    315 #zssc0		at zbus0		# Zeus scsi
    316 #scsibus*	at zssc0
    317 #mgnsc0		at zbus0		# Magnum scsi
    318 #scsibus*	at mgnsc0
    319 #wesc0		at zbus0		# Warp Engine scsi
    320 #scsibus*	at wesc0
    321 #afsc0		at zbus0		# A4091 scsi
    322 #scsibus*	at afsc0
    323 #aftsc0		at mainbus0		# A4000T scsi
    324 #scsibus*	at aftsc0
    325 #flsc0		at zbus0		# FastlaneZ3 scsi
    326 #scsibus*	at flsc0
    327 #bzsc0		at zbus0		# Blizzard 1230 I,II scsi
    328 #scsibus*	at bzsc0
    329 #bzivsc0 	at zbus0		# Blizzard 12x0 IV scsi
    330 #scsibus*	at bzivsc0
    331 #bztzsc0 	at zbus0		# Blizzard 2060 scsi
    332 #scsibus*	at bztzsc0
    333 #cbsc0		at zbus0		# CyberSCSI I
    334 #scsibus*	at cbsc0
    335 #cbiisc0 	at zbus0		# CyberSCSI II
    336 #scsibus*	at cbiisc0
    337 #cbiiisc0 	at zbus0		# Cyberstorm mk.III/Cyberstorm PPC SCSI
    338 #scsibus*	at cbiiisc0
    339 #empsc0		at zbus0		# Emplant scsi
    340 #scsibus*	at empsc0
    341 
    342 #wdc0		at mainbus0		# A4000 & A1200 IDE bus
    343 #wdc*		at zbus0		# Buddha / Catweasel
    344 
    345 #atabus* 	at wdc? channel ?	# ATA bus
    346 #wd*		at atabus? drive ?	#  + drives
    347 #atapibus*	at atabus?		# ATAPI bus
    348 #cd*		at atapibus? drive ?	# ATAPI CD-ROM drives
    349 #sd*		at atapibus? drive ?	# ATAPI disk drives
    350 
    351 #pccard0	at mainbus0
    352 #pcmcia*	at pccard0
    353 #com*		at pcmcia? function ?	# Modems and serial cards
    354 #pcmcom*	at pcmcia? function ?	# PCMCIA multi-port serial cards
    355 #aic*		at pcmcia? function ?	# Adaptec APA-1460 SCSI
    356 #wdc*		at pcmcia? function ?
    357 #awi*		at pcmcia? function ?	# BayStack 650 (802.11FH)
    358 #ep*		at pcmcia? function ?	# 3Com 3c589 and 3c562 Ethernet
    359 #mbe*		at pcmcia? function ?	# MB8696x based Ethernet
    360 #ne*		at pcmcia? function ?	# NE2000-compatible Ethernet
    361 #sm*		at pcmcia? function ?	# Megahertz Ethernet
    362 #mhzc*		at pcmcia? function ?	# Megahertz Ethernet/Modem combo cards
    363 #com*		at mhzc?
    364 #sm*		at mhzc?
    365 
    366 # each hard drive from low target to high
    367 # will configure to the next available sd unit number
    368 sd*		at scsibus? target ? lun ?	# scsi disks
    369 #st*		at scsibus? target ? lun ?	# scsi tapes
    370 cd*		at scsibus? target ? lun ?	# scsi cds
    371 #ch*		at scsibus? target ? lun ?	# scsi autochangers
    372 #ss*		at scsibus? target ? lun ?	# scsi scanner
    373 uk*		at scsibus? target ? lun ?	# scsi unknown
    374 
    375 #msc0		at zbus0		# A2232 MSC multiport serial.
    376 #mfc0		at zbus0		# MultiFaceCard I/O board
    377 #mfcs0		at mfc0 unit 0		# MFC serial
    378 #mfcs1		at mfc0 unit 1		# MFC serial
    379 #mfcp0		at mfc0 unit 0		# MFC parallel [not available yet]
    380 #mfc1		at zbus0		# MultiFaceCard 2nd I/O board
    381 #mfcs2		at mfc1 unit 0
    382 #mfcs3		at mfc1 unit 1
    383 #mfcp1		at mfc1 unit 0
    384 
    385 #hyper*		at zbus?		# zbus HyperCom3/3+/4/4+
    386 #hyper*		at mainbus0		# not yet: HyperCom1 + HyperCom3
    387 #com*		at hyper? port ?	# Hypercom3/4 serial ports
    388 #lpt*		at hyper? port ?	# Hypercom3+/4+ parallel port
    389 
    390 #options 	IOBZCLOCK=22118400 	# default, uncomment the next line
    391 #options 	IOBZCLOCK=24000000	# if needed.
    392 
    393 #iobl*		at zbus?		# zbus IOBlix
    394 #com*		at iobl? port ?		# IOBlix serial ports
    395 #lpt*		at iobl? port ?		# IOBlix parallel ports
    396 
    397 
    398 #
    399 # accept filters
    400 pseudo-device	accf_data		# "dataready" accept filter
    401 pseudo-device	accf_http		# "httpready" accept filter
    402 
    403 pseudo-device	loop			# loopback network interface
    404 pseudo-device	sl			# SLIP network interfaces
    405 pseudo-device	ppp			# PPP network interfaces
    406 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    407 pseudo-device	tun			# network tunnel line discipline
    408 pseudo-device	tap			# virtual Ethernet
    409 #pseudo-device	gre			# generic L3 over IP tunnel
    410 pseudo-device	bpfilter		# Berkeley packet filter
    411 #pseudo-device	carp			# Common Address Redundancy Protocol
    412 pseudo-device	ipfilter		# IP Filter package
    413 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    414 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    415 pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    416 pseudo-device	vlan			# IEEE 802.1q encapsulation
    417 pseudo-device	bridge			# simple inter-network bridging
    418 #options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    419 pseudo-device	agr			# IEEE 802.3ad link aggregation
    420 #pseudo-device	pf			# PF packet filter
    421 #pseudo-device	pflog			# PF log if
    422 pseudo-device	fss		4	# file system snapshot device
    423 
    424 pseudo-device	view		4	# views (needed for grfcc)
    425 pseudo-device	pty			# pseudo-terminals
    426 pseudo-device	clockctl		# user control of clock subsystem
    427 
    428 #pseudo-device	wsfont			# wsfont(4) dynamic font loading support
    429 #pseudo-device	wsmux			# mouse & keyboard multiplexor
    430 
    431 pseudo-device	vnd			# vnode pseudo-disks
    432 #options 	VND_COMPRESSION		# compressed vnd(4)
    433 pseudo-device	ccd		4	# concatenated disk devices
    434 #pseudo-device	cgd		4	# cryptographic disk devices
    435 pseudo-device	raid		8	# RAIDframe disk driver
    436 options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    437 # Options to enable various other RAIDframe RAID types.
    438 # options 	RF_INCLUDE_EVENODD=1
    439 # options 	RF_INCLUDE_RAID5_RS=1
    440 # options 	RF_INCLUDE_PARITYLOGGING=1
    441 # options 	RF_INCLUDE_CHAINDECLUSTER=1
    442 # options 	RF_INCLUDE_INTERDECLUSTER=1
    443 # options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    444 # options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    445 
    446 pseudo-device	rnd			# /dev/random and in-kernel generator
    447 #options 	RND_COM			# use "com" randomness as well (BROKEN)
    448 
    449 pseudo-device	ksyms			# /dev/ksyms (kernel symbols)
    450 pseudo-device	nsmb			# experimental - SMB requester
    451 
    452 # Veriexec
    453 #
    454 # a pseudo device needed for veriexec
    455 #pseudo-device	veriexec		1
    456 #
    457 # Uncomment the fingerprint methods below that are desired. Note that
    458 # removing fingerprint methods will have almost no impact on the kernel
    459 # code size.
    460 #
    461 #options VERIFIED_EXEC_FP_RMD160
    462 #options VERIFIED_EXEC_FP_SHA256
    463 #options VERIFIED_EXEC_FP_SHA384
    464 #options VERIFIED_EXEC_FP_SHA512
    465 #options VERIFIED_EXEC_FP_SHA1
    466 #options VERIFIED_EXEC_FP_MD5
    467 
    468 # Kernel root file system and dump configuration
    469 config		netbsd	root on ? type ?
    470