Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.78
      1 # $NetBSD: GENERIC,v 1.78 2002/08/11 13:18:57 isaki 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/x68k/conf/std.x68k"
     22 
     23 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     24 
     25 #ident 		"GENERIC-$Revision: 1.78 $"
     26 
     27 maxusers	8
     28 
     29 ## System kernel configuration.  See options(4) for more detail.
     30 
     31 
     32 ## Options for variants of the m68k MPU
     33 ## you must have at least the correct one; REQUIRED
     34 options 	M68030
     35 options 	M68040
     36 options 	M68060
     37 ## If you want an optimized kernel for a specific processor, use either:
     38 #makeoptions	CMACHFLAGS="-m68030"
     39 #makeoptions	CMACHFLAGS="-m68040 -Wa,-m68030 -Wa,-m68851"
     40 #makeoptions	CMACHFLAGS="-m68060 -Wa,-m68030 -Wa,-m68851"
     41 
     42 
     43 #### System options specific to the x68k port
     44 
     45 options 	EXTENDED_MEMORY		# support for >16MB memory
     46 options 	FPU_EMULATE		# software fpu emulation for MC68030
     47 options 	FPSP			# floating point emulation for MC68040
     48 options 	M060SP			# int/fp emulation for MC68060
     49 #options 	JUPITER			# support for "Jupiter-X" accelerator
     50 #options 	MAPPEDCOPY		# use page mapping for large copyin/copyout
     51 #options 	ZSCONSOLE,ZSCN_SPEED="9600"	# use serial console
     52 
     53 
     54 #### System options that are the same for all ports
     55 
     56 ## Root device configuration: change the ?'s if you are going to use a
     57 ## nonstandard root partition (other than where the kernel is booted from)
     58 ## and/or nonstandard root type (not ffs or nfs).  Normally this can be
     59 ## automagically determined at boot time.
     60 
     61 config		netbsd	root on ? type ?
     62 #config		netbsd	root on sd0 type ffs
     63 
     64 ## RTC is offset from GMT; -540 means JST-9
     65 options 	RTC_OFFSET=-540	# hardware clock is this many mins. west of GMT
     66 
     67 ## System call tracing (see ktrace(1)).
     68 options 	KTRACE
     69 
     70 ## Collect statistics on kernel malloc's and free's.  This does have a
     71 ## significant performance hit on slower machines, so it is intended for
     72 ## diagnostic use only.
     73 #options 	KMEMSTATS
     74 
     75 ## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
     76 options 	SYSVMSG		# System V message queues
     77 options 	SYSVSEM		# System V semaphores
     78 #options 	SEMMNI=10	# number of semaphore identifiers
     79 #options 	SEMMNS=60	# number of semaphores in system
     80 #options 	SEMUME=10	# max number of undo entries per process
     81 #options 	SEMMNU=30	# number of undo structures in system
     82 options 	SYSVSHM		# System V shared memory
     83 #options 	SHMMAXPGS=1024	# 1024 pages is the default
     84 
     85 ## Loadable kernel module support
     86 #options 	LKM
     87 
     88 #options 	USERCONF	# userconf(4) support
     89 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     90 
     91 ## NFS boot options; not supported currently: needs nfsboot program
     92 #options 	NFS_BOOT_BOOTPARAM
     93 #options 	NFS_BOOT_BOOTP
     94 #options 	NFS_BOOT_DHCP
     95 
     96 #### Debugging options
     97 
     98 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
     99 ## serial console break or keyboard reset, where the PROM would normally
    100 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
    101 #options 	DDB			# kernel dynamic debugger
    102 #options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
    103 #options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
    104 #options 	PANICBUTTON		# interrupt switch invokes DDB
    105 
    106 ## You may also use gdb, on another computer connected to this machine over
    107 ## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
    108 ## KGDB_DEV is a dev_t encoded device number of the serial port to use.
    109 ## KGDB is not supported for now.
    110 #options 	KGDB			# support for kernel gdb
    111 #options 	KGDB_DEV=0xc00		# kgdb device number
    112 #options 	KGDB_DEVRATE=9600	# baud rate
    113 
    114 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
    115 ## such that gdb(1) can be used on a kernel coredump.
    116 
    117 #makeoptions	DEBUG="-g"
    118 
    119 ## Adds code to the kernel that does internal consistency checks, and will
    120 ## cause the kernel to panic if corruption of internal data structures
    121 ## is detected.
    122 #options 	DIAGNOSTIC	# extra kernel sanity checking
    123 
    124 ## Enable (possibly expensive) debugging code that may also display messages
    125 ## on the system console
    126 #options 	DEBUG
    127 
    128 ## These options enable verbose messages for several subsystems.
    129 ## Warning, these may compile large string tables into the kernel!
    130 #options 	SCSIVERBOSE	# human readable SCSI error messages
    131 #options 	USBVERBOSE	# verbose USB device autoconfig messages
    132 
    133 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
    134 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
    135 ## and other insecurities good only for development work.  Do not use this
    136 ## option on a production machine.
    137 #options 	INSECURE
    138 
    139 ## Allow non-root users to grab /dev/console with programs such as xconsole.
    140 ## `xconsole' therefore does not need setuid root with this option enabled.
    141 #options 	UCONSOLE
    142 
    143 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
    144 ## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
    145 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
    146 ## opaque file mechanism.  Perl calls this "secure setuid scripts."
    147 
    148 #options 	FDSCRIPTS
    149 #options 	SETUIDSCRIPTS
    150 
    151 ## Options for compatibility with previous releases foreign system binaries.
    152 
    153 options 	COMPAT_43	# 4.3BSD system interfaces
    154 options 	COMPAT_09	# NetBSD 0.9 binary compatibility
    155 options 	COMPAT_10	# NetBSD 1.0 binary compatibility
    156 options 	COMPAT_11	# NetBSD 1.1 binary compatibility
    157 options 	COMPAT_12	# NetBSD 1.2 binary compatibility
    158 options 	COMPAT_13	# NetBSD 1.3 binary compatibility
    159 options 	COMPAT_14	# NetBSD 1.4 binary compatibility
    160 options 	COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
    161 #options 	COMPAT_M68K4K	# NetBSD/m68k4k binaries
    162 #options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility; broken
    163 #options 	COMPAT_SVR4	# SVR4 binary compatibility; broken
    164 #options 	COMPAT_LINUX	# Linux/m68k binary compatibility
    165 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    166 
    167 ## File systems.
    168 file-system	FFS		# Berkeley Fast Filesystem
    169 file-system	NFS		# Sun NFS-compatible filesystem client
    170 file-system	KERNFS		# kernel data-structure filesystem
    171 #file-system	NULLFS		# NULL layered filesystem (buggy)
    172 #file-system 	OVERLAY		# overlay file system
    173 file-system	MFS		# memory-based filesystem
    174 #file-system	FDESC		# user file descriptor filesystem
    175 file-system	UMAPFS		# uid/gid remapping filesystem
    176 #file-system	LFS		# Log-structured filesystem (experimental)
    177 #file-system	PORTAL		# portal filesystem (experimental)
    178 file-system	PROCFS		# /proc
    179 file-system	CD9660		# ISO 9660 + Rock Ridge file system
    180 #file-system	UNION		# union file system (a little buggy)
    181 file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
    182 #file-system 	ADOSFS		# AmigaDOS filesystem
    183 
    184 ## File system options.
    185 options 	NFSSERVER	# Sun NFS-compatible filesystem server
    186 #options 	QUOTA		# FFS quotas
    187 #options 	FFS_EI		# FFS Endian Independent support
    188 options 	SOFTDEP		# FFS soft updates support.
    189 
    190 ## Network protocol support.  In most environments, INET is required.
    191 options 	INET		# IP (Internet Protocol) v4
    192 options 	INET6		# IPV6
    193 #options 	IPSEC		# IP security
    194 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
    195 #options 	IPSEC_DEBUG	# debug for IP security
    196 #options 	GATEWAY		# packet forwarding ("router switch")
    197 #options 	MROUTING	# packet forwarding of multicast packets
    198 #options 	DIRECTED_BROADCAST	# allow broadcasts through routers
    199 #options 	NS		# Xerox NS networking
    200 #options 	NSIP		# Xerox NS tunneling over IP
    201 #options 	ISO,TPIP	# OSI networking
    202 #options 	EON		# OSI tunneling over IP
    203 #options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
    204 #options 	NETATALK	# AppleTalk (over Ethernet) protocol
    205 #options 	NTP		# Network Time Protocol in-kernel support
    206 #options 	PPS_SYNC	# Add serial line synchronization for NTP
    207 options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
    208 #options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
    209 #options 	PPP_BSDCOMP	# Add BSD compression to ppp device
    210 #options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
    211 #options 	PPP_FILTER	# Add active filters for ppp (via bpf)
    212 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    213 
    214 
    215 #### Device configurations
    216 
    217 ## Fundamental devices; see also std.x68k
    218 dmac0	at intio0 addr 0xe84000		# DMA controler
    219 xel0	at intio0
    220 opm0	at intio0 addr 0xe90000		# OPM: required for fdc
    221 
    222 ## Display devices and console
    223 grfbus0	at mainbus0			# bitmapped displays
    224 grf0	at grfbus0			# multiplane graphics
    225 grf1	at grfbus0			# flexible graphics
    226 
    227 kbd0	at mfp0				# standard keyboard
    228 ite0	at grf0				# internal terminal emulator
    229 options 	ITE_KERNEL_ATTR=4	# bold for kernel messages
    230 					# see /sys/arch/x68k/dev/itevar.h
    231 pseudo-device	pow		2	# software power switch
    232 
    233 ## floppy disks
    234 fdc0	at intio0 addr 0xe94000 intr 96 dma 0 dmaintr 100 # floppy controler
    235 fd*	at fdc0 unit ?			# builtin floppy drives
    236 
    237 ## SCSI devices
    238 scsirom0 at intio0 addr 0xfc0000		# Built-in SCSI BIOS
    239 scsirom1 at intio0 addr 0xea0020		# External SCSI BIOS
    240 spc0	at scsirom0				# genuin SCSI
    241 spc1	at scsirom1				# genuin SCSI
    242 scsibus* at spc?
    243 mha0	at scsirom1				# Mankai MK-HA1 (Mach-2)
    244 scsibus* at mha0
    245 
    246 sd*	at scsibus? target ? lun ?	# SCSI disks
    247 cd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
    248 #st*	at scsibus? target ? lun ?	# SCSI tapes
    249 #ss*	at scsibus? target ? lun ?	# SCSI scanners
    250 #ch*	at scsibus? target ? lun ?	# SCSI changer devices
    251 #uk*	at scsibus? target ? lun ?	# SCSI unknown devices
    252 
    253 ## Ports
    254 zsc0	at intio0 addr 0xe98000 intr 112
    255 zstty0	at zsc0 channel 0		# built-in RS-232C
    256 ms0	at zsc0 channel 1		# standard mouse
    257 #zsc1	at intio0 addr 0xeafc00 intr 113
    258 #zstty2	at zsc1 channel 0
    259 #zstty3	at zsc1 channel 1
    260 #zsc2	at intio0 addr 0xeafc10 intr 114
    261 #zstty4	at zsc2 channel 0
    262 #zstty5	at zsc2 channel 1
    263 par0	at intio0 addr 0xe8c000 	# Builtin printer port
    264 
    265 pseudo-device	sram			# battery-backuped static RAM
    266 pseudo-device	bell			# OPM bell
    267 
    268 xcom0	at mainbus0			# NS16550 fast serial
    269 xcom1	at mainbus0
    270 
    271 ## Audio device
    272 vs0 at intio0 addr 0xe92000 dma 3 dmaintr 106
    273 audio*	at vs?
    274 
    275 ## Network interfaces
    276 ne*	at intio0 addr 0xece300 intr 249	# Nereid Ethernet
    277 ne*	at intio0 addr 0xeceb00 intr 248	# Nereid Ethernet
    278 neptune0 at intio0 addr 0xece000 intr 249	# Neptune-X
    279 neptune1 at intio0 addr 0xece400 intr 249	# Neptune-X at alt. addr.
    280 ne*	at neptune? addr 0x300			# NE2000 or clone
    281 
    282 
    283 ## MII/PHY support for USB ethernet
    284 #acphy*	at mii? phy ?
    285 
    286 ## USB Controller and Devices; Experimental
    287 
    288 # Nereid USB controllers
    289 #slhci0	at intio0 addr 0xece380 intr 251
    290 #slhci1	at intio0 addr 0xeceb80 intr 250
    291 #options	SLHCI_DEBUG
    292 
    293 # USB bus support
    294 #usb*	at slhci?
    295 
    296 # USB Hubs
    297 #uhub*	at usb?
    298 #uhub*	at uhub? port ? configuration ? interface ?
    299 
    300 # USB HID device
    301 #uhidev*	at uhub? port ? configuration ? interface ?
    302 
    303 # USB Mice; not supported wscons yet
    304 #ums*	at uhidev? reportid ?
    305 #wsmouse* at ums? mux 0
    306 
    307 # USB Keyboards; not supported wscons yet
    308 #ukbd*	at uhidev? reportid ?
    309 #wskbd*	at ukbd? console ? mux 1
    310 
    311 # USB Generic HID devices
    312 #uhid*	at uhidev? reportid ?
    313 
    314 # USB Printer
    315 #ulpt*	at uhub? port ? configuration ? interface ?
    316 
    317 # USB Modem
    318 #umodem*	at uhub? port ? configuration ?
    319 #ucom*	at umodem?
    320 
    321 # USB Mass Storage; wd not supported
    322 #umass*	at uhub? port ? configuration ? interface ?
    323 #atapibus* at umass? channel ?
    324 #scsibus* at umass? channel ?
    325 #wd* at umass?
    326 
    327 # USB audio
    328 #uaudio*	at uhub? port ? configuration ?
    329 
    330 # USB MIDI
    331 #umidi* at uhub? port ? configuration ?
    332 
    333 # USB IrDA
    334 # USB-IrDA bridge spec
    335 #uirda* at uhub? port ? configuration ? interface ?
    336 #irframe* at uirda?
    337 
    338 # SigmaTel STIr4200 USB/IrDA Bridge
    339 #ustir* at uhub? port ?
    340 #irframe* at ustir?
    341 
    342 # USB Ethernet adapters
    343 #aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    344 #cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    345 #kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    346 #url*	at uhub? port ?		# Realtek RTL8150L based adapters
    347 
    348 # Prolific PL2301/PL2302 host-to-host adapter
    349 #upl*	at uhub? port ?
    350 
    351 # Serial adapters
    352 #uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
    353 #ucom*	at uftdi? portno ?
    354 
    355 #umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
    356 #ucom*	at umct? portno ?
    357 
    358 #uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
    359 #ucom*	at uplcom? portno ?
    360 
    361 #uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
    362 #ucom*	at uvscom? portno ?
    363 
    364 # Diamond Multimedia Rio 500
    365 #urio*	at uhub? port ?
    366 
    367 # USB Handspring Visor
    368 #uvisor*	at uhub? port ?
    369 #ucom*	at uvisor?
    370 
    371 # USB scanners
    372 #uscanner* at uhub? port ?
    373 
    374 # USB scanners that use SCSI emulation, e.g., HP5300
    375 #usscanner* at uhub? port ?
    376 #scsibus* at usscanner? channel ?
    377 
    378 # Y@P firmware loader
    379 #uyap* at uhub? port ?
    380 
    381 # D-Link DSB-R100 USB radio
    382 #udsbr*	at uhub? port ?
    383 #radio*	at udsbr?
    384 
    385 # USB Generic driver
    386 #ugen*	at uhub? port ?
    387 
    388 
    389 #### Pseudo devices
    390 
    391 ## A disk-like interface to files.  Can be used to create floppy, CD,
    392 ## miniroot images, etc.
    393 
    394 pseudo-device	vnd	4
    395 
    396 ## Concatenated and striped disks; with this, you can create a software-based
    397 ## disk array similar to a "RAID 0" setup.  See ccd(4).
    398 
    399 #pseudo-device	ccd	4
    400 
    401 ## RAIDframe disk driver: software RAID driver.  See raid(4).
    402 
    403 pseudo-device	raid	8
    404 options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    405 # Options to enable various other RAIDframe RAID types.
    406 # options	RF_INCLUDE_EVENODD=1
    407 # options	RF_INCLUDE_RAID5_RS=1
    408 # options	RF_INCLUDE_PARITYLOGGING=1
    409 # options	RF_INCLUDE_CHAINDECLUSTER=1
    410 # options	RF_INCLUDE_INTERDECLUSTER=1
    411 # options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    412 # options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    413 
    414 
    415 ## Memory disk device, used on boot floppies with compressed
    416 ## kernel-plus-root-disk images.
    417 
    418 #pseudo-device	md	1
    419 
    420 ## Loopback network interface; required
    421 pseudo-device	loop
    422 
    423 ## SLIP and CSLIP interfaces, for IP over a serial line.
    424 pseudo-device	sl		1
    425 
    426 ## PPP, the successor to SLIP.  See pppd(8).
    427 pseudo-device	ppp		1
    428 
    429 ## PPP over Ethernet (RFC 2516)
    430 pseudo-device	pppoe
    431 
    432 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
    433 ## This is used by the third-party user-mode "ppp" program, and others.
    434 #pseudo-device	tun		4
    435 
    436 ## Generic L3 over IP tunnel
    437 #pseudo-device	gre		2	# generic L3 over IP tunnel
    438 
    439 ## Berkeley Packet Filter, required to run RARPD.  A generic C-language
    440 ## interface that allows selective examining of incoming packets.
    441 pseudo-device	bpfilter	4
    442 
    443 ## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
    444 ## one example of the use of the IP Filter.
    445 #pseudo-device	ipfilter
    446 
    447 ## for IPv6
    448 pseudo-device	gif		1	# IPv[46] over IPv[46] tunnel (RFC1933)
    449 #pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
    450 #pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
    451 
    452 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
    453 pseudo-device	vlan
    454 
    455 ## Simple inter-network traffic bridging
    456 pseudo-device	bridge
    457 
    458 #### Other device configuration
    459 
    460 ## Pseudo ttys, required for network logins and programs like screen.
    461 
    462 pseudo-device	pty			# pseudo-terminals
    463 
    464 ## Random device, used to implement /dev/random (a source of random noise),
    465 ## and generate randomness for some kernel formulae.
    466 
    467 pseudo-device	rnd
    468 
    469 pseudo-device	clockctl		# user control of clock subsystem
    470