GDIUM revision 1.24
11.24Salnsn# $NetBSD: GDIUM,v 1.24 2014/07/20 10:06:11 alnsn Exp $
21.1Smatt#
31.1Smatt# GENERIC machine description file
41.1Smatt# 
51.1Smatt# This machine description file is used to generate the default NetBSD
61.1Smatt# kernel.  The generic kernel does not include all options, subsystems
71.1Smatt# and device drivers, but should be useful for most applications.
81.1Smatt#
91.1Smatt# The machine description file can be customised for your specific
101.1Smatt# machine to reduce the kernel size and improve its performance.
111.1Smatt#
121.1Smatt# For further information on compiling NetBSD kernels, see the config(8)
131.1Smatt# man page.
141.1Smatt#
151.1Smatt# For further information on hardware support for this architecture, see
161.1Smatt# the intro(4) man page.  For further information about kernel options
171.1Smatt# for this architecture, see the options(4) man page.  For an explanation
181.1Smatt# of each device driver in this file see the section 4 man page for the
191.1Smatt# device.
201.1Smatt
211.1Smattinclude		"arch/evbmips/conf/std.gdium"
221.1Smatt
231.1Smattoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.1Smatt
251.24Salnsn#ident 		"GDIUM-$Revision: 1.24 $"
261.1Smatt
271.1Smattmaxusers	16
281.1Smatt
291.1Smattmakeoptions	CPUFLAGS="-mips3 -mdivide-breaks"	# CPU codegen options
301.1Smattoptions 	LOONGSON2		# IDT LOONGSON2
311.1Smatt# Standard system options
321.1Smattoptions 	DDB			# in-kernel debugger
331.1Smatt#options 	DDB_ONPANIC=0		# don't enter debugger on panic
341.1Smattoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
351.1Smatt#options 	KGDB			# remote debugger
361.5Smattoptions 	DIAGNOSTIC		# extra kernel debugging checks
371.1Smatt#options 	DEBUG			# extra kernel debugging support
381.4Smattmakeoptions	DEBUG="-g"
391.1Smattoptions 	KTRACE			# system call tracing support
401.1Smattoptions 	MSGBUFSIZE=8192		# dmesg buffer size
411.1Smatt
421.1Smatt## UVM options.
431.1Smatt#options 	UVM_PAGE_TRKOWN
441.1Smatt#options 	UVMHIST
451.1Smatt#options 	UVMHIST_PRINT	# Loud!
461.1Smatt
471.1Smatt#options 	SCSIVERBOSE		# human readable SCSI error messages
481.1Smatt#options 	PCMCIAVERBOSE		# verbose PCMCIA configuration messages
491.1Smatt#options 	PCMCIADEBUG
501.1Smatt#options 	PCMCIACISDEBUG
511.1Smatt
521.1Smatt#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
531.1Smatt#options 	RTC_OFFSET=-540		# JST-9
541.1Smatt#options 	RTC_OFFSET=480		# PST8
551.1Smatt					# In NO RTC_OFFSET , inherit RTC_OFFSET
561.1Smatt					# from Windows CE.
571.1Smattoptions 	NTP			# network time protocol
581.1Smatt
591.1Smatt#options 	WINCE_DEFAULT_SETTING	# Debugging use
601.1Smatt
611.1Smatt#options 	SYSCALL_DEBUG		# for debug
621.1Smatt#options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
631.1Smattoptions 	USERCONF		# userconf(4) support
641.1Smatt#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
651.1Smattoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
661.1Smatt
671.1Smatt# Filesystem options
681.1Smattfile-system 	FFS		# fast filesystem with user and group quotas
691.1Smattfile-system 	MFS		# memory-based filesystem
701.1Smattfile-system 	NFS		# Sun NFS-compatible filesystem (client)
711.1Smatt#file-system	LFS		# Log-based filesystem (still experimental)
721.1Smattfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
731.1Smattfile-system 	MSDOSFS		# MS-DOS file system
741.1Smatt#file-system 	FDESC		# /dev/fd
751.1Smattfile-system 	KERNFS		# /kern (kernel informational filesystem)
761.1Smatt#file-system 	NULLFS		# loopback file system
771.1Smatt#file-system 	OVERLAY		# overlay file system
781.1Smattfile-system 	PROCFS		# /proc
791.1Smatt#file-system 	UMAPFS		# NULLFS + uid and gid remapping
801.1Smattfile-system 	UNION
811.1Smattfile-system	PTYFS		# /dev/pts/N support
821.1Smatt#file-system	TMPFS		# Efficient memory file-system
831.1Smatt#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
841.1Smatt
851.1Smattoptions 	NFSSERVER	# Sun NFS-compatible filesystem (server)
861.15Sdhollandoptions 	WAPBL		# File system journaling support
871.1Smatt#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
881.12Sbouyer#options 	QUOTA		# legacy UFS quotas
891.12Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
901.1Smatt#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
911.1Smatt
921.1Smatt# Networking options
931.1Smatt#options 	GATEWAY		# IP packet forwarding
941.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
951.1Smattoptions 	INET6		# IPV6
961.1Smatt#options 	IPSEC		# IP security
971.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
981.1Smatt#options 	MROUTING	# Multicast routing support
991.1Smatt#options 	PIM		# Protocol Independent Multicast
1001.10Smrgoptions 	IPFILTER_LOG	# ipmon(8) log support
1011.10Smrgoptions 	IPFILTER_LOOKUP	# ippool(8) support
1021.10Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
1031.10Smrg#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1041.1Smatt
1051.24Salnsn# JIT compiler for bpfilter
1061.24Salnsn#options	SLJIT
1071.24Salnsn#options	BPFJIT
1081.24Salnsn
1091.1Smatt#options 	ALTQ		# Manipulate network interfaces' output queues
1101.1Smatt#options 	ALTQ_BLUE	# Stochastic Fair Blue
1111.1Smatt#options 	ALTQ_CBQ	# Class-Based Queueing
1121.1Smatt#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1131.1Smatt#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1141.1Smatt#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1151.1Smatt#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1161.1Smatt#options 	ALTQ_LOCALQ	# Local queueing discipline
1171.1Smatt#options 	ALTQ_PRIQ	# Priority Queueing
1181.1Smatt#options 	ALTQ_RED	# Random Early Detection
1191.1Smatt#options 	ALTQ_RIO	# RED with IN/OUT
1201.1Smatt#options 	ALTQ_WFQ	# Weighted Fair Queueing
1211.1Smatt
1221.1Smatt# NetBSD backwards compatibility
1231.1Smattoptions 	COMPAT_43
1241.1Smattoptions 	COMPAT_16
1251.1Smattoptions 	COMPAT_20
1261.1Smattoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
1271.1Smattoptions 	COMPAT_40	# NetBSD 4.0 compatibility.
1281.1Smattoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
1291.17Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
1301.1Smattoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1311.1Smatt
1321.1Smatt
1331.1Smatt#options 	NFS_BOOT_DHCP
1341.1Smattoptions 	NFS_BOOT_BOOTP
1351.1Smatt#options 	NFS_BOOT_BOOTPARAM
1361.1Smatt
1371.1Smatt# compile options
1381.1Smatt#makeoptions	DEFGP="-G 10"
1391.1Smatt
1401.1Smattconfig		netbsd		root on ? type ?
1411.1Smatt
1421.1Smatt# WS console uses SUN or VT100 terminal emulation
1431.1Smattoptions 	WSEMUL_VT100
1441.16Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1451.1Smatt#options 	WSDISPLAY_DEFAULTSCREENS=4
1461.1Smattoptions 	FONT_GALLANT12x22
1471.1Smatt# compatibility to other console drivers
1481.1Smattoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1491.1Smatt#
1501.1Smatt# Hpckbd will set key board layout appropriately. You can use option
1511.1Smatt# 'PCKBD_LAYOUT' to overrite the default layout.
1521.1Smatt#
1531.1Smatt#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
1541.1Smatt
1551.1Smattmainbus0	at root
1561.5Smattcpu0		at mainbus0
1571.1Smattbonito0		at mainbus0
1581.1Smattpci0		at bonito0
1591.13Smacallanvoyager0	at pci0 dev ? function ?
1601.13Smacallanvoyagerfb0	at voyager0
1611.13Smacallaniic*		at voyager0
1621.13Smacallanstrtc*	at iic? addr 0x68
1631.13Smacallanoptions	STRTC_NO_USERRAM
1641.13Smacallanlmtemp*	at iic? addr 0x48
1651.13Smacallan#stvii*	at iic? addr 0x40
1661.6Smacallan#genfb0		at pci0 dev ? function ?
1671.6Smacallanwsdisplay0	at wsemuldisplaydev?
1681.1Smattehci*		at pci0 dev ? function ?
1691.5Smatt#options 	EHCI_DEBUG
1701.1Smattohci*		at pci0 dev ? function ?
1711.1Smatt#options 	OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG
1721.1Smatt
1731.3Smattral*		at pci0 dev ? function ?	# RL2561S 802.11b/g
1741.3Smattrtk*		at pci0 dev ? function ?	# RTL8139 100/10 Ethernet
1751.1Smatt# MII/PHY support
1761.1Smattukphy*		at mii? phy ?		# generic unknown PHYs
1771.1Smatt
1781.1Smatt# USB Hubs
1791.1Smattusb*		at ehci?
1801.1Smattusb*		at ohci?
1811.1Smattuhub*		at usb?
1821.1Smattuhub*		at uhub? port ?
1831.1Smatt
1841.1Smatt# USB HID device
1851.1Smattuhidev*		at uhub? port ? configuration ? interface ?
1861.1Smatt
1871.1Smatt# USB Mice
1881.1Smattums*		at uhidev? reportid ?
1891.1Smattwsmouse*	at ums? mux 0
1901.1Smatt
1911.1Smatt# USB Keyboards
1921.1Smattukbd*		at uhidev? reportid ?
1931.1Smattwskbd*		at ukbd? console ? mux 1
1941.1Smatt
1951.1Smatt# USB Generic HID devices
1961.1Smattuhid*		at uhidev? reportid ?
1971.1Smatt
1981.1Smatt# USB serial adapter
1991.1Smattuftdi*		at uhub? port ? configuration ?
2001.1Smatt
2011.1Smatt# USB Printer
2021.1Smattulpt*		at uhub? port ? configuration ? interface ?
2031.1Smatt
2041.1Smatt# USB Modem
2051.1Smattumodem*		at uhub? port ? configuration ?
2061.1Smattucom*		at umodem?
2071.1Smatt
2081.8Splunky# Option N.V. Wireless WAN modems
2091.8Splunkyuhso*	at uhub? port ? configuration ?
2101.8Splunky
2111.1Smatt# USB Mass Storage
2121.1Smattumass*		at uhub? port ? configuration ? interface ?
2131.1Smattscsibus*	 at umass? channel ?
2141.1Smattsd*		at scsibus? target ? lun ?	# SCSI disk drives
2151.1Smattcd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
2161.1Smatt
2171.1Smatt# FTDI FT8U100AX serial adapter
2181.1Smattuftdi*		at uhub? port ?
2191.1Smattucom*		at uftdi? portno ?
2201.1Smatt
2211.1Smattuplcom*		at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
2221.1Smattucom*		at uplcom? portno ?
2231.1Smatt
2241.1Smattumct*		at uhub? port ?		# MCT USB-RS232 serial adapter
2251.1Smattucom*		at umct? portno ?
2261.1Smatt
2271.1Smatt# USB Generic driver
2281.1Smattugen*		at uhub? port ?
2291.1Smatt
2301.1Smatt#
2311.1Smatt# accept filters
2321.1Smattpseudo-device   accf_data		# "dataready" accept filter
2331.1Smattpseudo-device   accf_http		# "httpready" accept filter
2341.1Smatt
2351.20Schristospseudo-device	loop			# network loopback
2361.1Smattpseudo-device	ppp			# serial-line IP ports
2371.1Smattpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2381.1Smattpseudo-device	pty			# pseudo-terminals
2391.1Smattpseudo-device	bpfilter		# packet filter ports
2401.1Smatt#pseudo-device	carp			# Common Address Redundancy Protocol
2411.1Smattpseudo-device	ipfilter		# IP filter, NAT
2421.1Smatt
2431.1Smattpseudo-device	vnd			# virtual disk ick
2441.1Smatt#options 	VND_COMPRESSION		# compressed vnd(4)
2451.20Schristos#pseudo-device	ccd			# concatenated disks
2461.9Spookapseudo-device	fss			# file system snapshot device
2471.20Schristos#pseudo-device	cgd			# cryptographic disks
2481.1Smattpseudo-device	clockctl		# user control of clock subsystem
2491.1Smatt
2501.1Smattpseudo-device	wsmux			# mouse & keyboard multiplexor
2511.11Shannken#pseudo-device	md			# memory disk device (ramdisk)
2521.1Smatt
2531.21Schristos#pseudo-device	raid			# RAIDframe disk driver
2541.1Smatt#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2551.1Smatt# Options to enable various other RAIDframe RAID types.
2561.1Smatt# options	RF_INCLUDE_EVENODD=1
2571.1Smatt# options	RF_INCLUDE_RAID5_RS=1
2581.1Smatt# options	RF_INCLUDE_PARITYLOGGING=1
2591.1Smatt# options	RF_INCLUDE_CHAINDECLUSTER=1
2601.1Smatt# options	RF_INCLUDE_INTERDECLUSTER=1
2611.1Smatt# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2621.1Smatt# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2631.1Smatt
2641.1Smatt# for IPv6
2651.1Smattpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2661.1Smatt#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2671.1Smattpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2681.1Smatt
2691.1Smatt## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
2701.1Smattpseudo-device	vlan
2711.1Smatt
2721.1Smatt## Simple inter-network traffic bridging
2731.1Smattpseudo-device	bridge
2741.1Smatt#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2751.1Smattpseudo-device	agr			# IEEE 802.3ad link aggregation
2761.1Smattpseudo-device	ksyms			# /dev/ksyms
2771.1Smatt#pseudo-device	pf			# PF packet filter
2781.1Smatt#pseudo-device	pflog			# PF log if
2791.1Smatt
2801.1Smatt# Veriexec
2811.1Smatt#
2821.1Smatt# a pseudo device needed for veriexec
2831.21Schristos#pseudo-device	veriexec
2841.1Smatt#
2851.1Smatt# Uncomment the fingerprint methods below that are desired. Note that
2861.1Smatt# removing fingerprint methods will have almost no impact on the kernel
2871.1Smatt# code size.
2881.1Smatt#
2891.1Smatt#options VERIFIED_EXEC_FP_RMD160
2901.1Smatt#options VERIFIED_EXEC_FP_SHA256
2911.1Smatt#options VERIFIED_EXEC_FP_SHA384
2921.1Smatt#options VERIFIED_EXEC_FP_SHA512
2931.1Smatt#options VERIFIED_EXEC_FP_SHA1
2941.1Smatt#options VERIFIED_EXEC_FP_MD5
295