GENERIC32_IP2x revision 1.79
11.79Srumble#	$NetBSD: GENERIC32_IP2x,v 1.79 2009/02/12 06:33:56 rumble Exp $
21.8Spooka#
31.8Spooka# GENERIC32_IP2x machine description file
41.8Spooka# 
51.8Spooka# This machine description file is used to generate the default NetBSD
61.8Spooka# kernel.  The generic kernel does not include all options, subsystems
71.8Spooka# and device drivers, but should be useful for most applications.
81.8Spooka#
91.8Spooka# The machine description file can be customised for your specific
101.8Spooka# machine to reduce the kernel size and improve its performance.
111.8Spooka#
121.8Spooka# For further information on compiling NetBSD kernels, see the config(8)
131.8Spooka# man page.
141.8Spooka#
151.8Spooka# For further information on hardware support for this architecture, see
161.8Spooka# the intro(4) man page.  For further information about kernel options
171.8Spooka# for this architecture, see the options(4) man page.  For an explanation
181.8Spooka# of each device driver in this file see the section 4 man page for the
191.8Spooka# device.
201.8Spooka#
211.8Spooka#
221.8Spooka# Currently this config file supports Indigo R4k, Indigo2 and Indy
231.8Spooka# (IP20, IP22 and IP24, respectively).
241.1Ssekiya#
251.1Ssekiya
261.1Ssekiyainclude		"arch/sgimips/conf/std.sgimips"
271.1Ssekiya
281.8Spookamakeoptions	TEXTADDR=0x88069000	# entry point
291.1Ssekiya
301.1Ssekiyaoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
311.1Ssekiya
321.79Srumble#ident		"GENERIC32-IP2x-$Revision: 1.79 $"
331.1Ssekiya
341.1Ssekiyamaxusers	32
351.1Ssekiya
361.1Ssekiya# CPU related options
371.1Ssekiyaoptions 	MIPS3		# MIPS3 support
381.73Stsutsuioptions 	INDY_R4600_CACHE	# Include routines to handle special
391.9Ssekiya					# R4600 cache -- required for Indy.
401.1Ssekiya
411.22Ssekiyamakeoptions	WANT_ECOFF="yes"	# Create an ECOFF kernel in addition
421.22Ssekiya					# to an ELF kernel -- required for
431.22Ssekiya					# netbooting Indigo (IP20) and some
441.22Ssekiya					# Indigo2 (IP22) machines
451.22Ssekiya
461.73Stsutsui#options 	BLINK		# blinkenlitzen
471.5Ssekiya
481.1Ssekiya# Standard system options
491.1Ssekiya#options 	INSECURE	# disable kernel security levels
501.1Ssekiya
511.1Ssekiya#options 	NTP		# NTP phase/frequence locked loop
521.1Ssekiyaoptions 	KTRACE		# system call tracing via ktrace(1)
531.1Ssekiya
541.1Ssekiyaoptions 	SYSVMSG		# System V message queues
551.1Ssekiyaoptions 	SYSVSEM		# System V semaphores
561.1Ssekiyaoptions 	SYSVSHM		# System V shared memory
571.13Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
581.1Ssekiya
591.1Ssekiya
601.1Ssekiyaoptions 	USERCONF	# userconf(4) support
611.1Ssekiya#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
621.19Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
631.1Ssekiya
641.1Ssekiya# Enable experimental buffer queue strategy for better responsiveness under 
651.1Ssekiya# high disk I/O load. Use it with caution - it's not proven to be stable yet.
661.31Stsutsui#options 	BUFQ_READPRIO
671.31Stsutsui#options 	BUFQ_PRIOCSCAN
681.1Ssekiya
691.1Ssekiya# Diagnostic/debugging support options
701.1Ssekiya#options 	DIAGNOSTIC	# expensive kernel consistency checks
711.1Ssekiya#options 	DEBUG		# expensive debugging checks/support
721.1Ssekiya#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
731.1Ssekiyaoptions 	DDB		# in-kernel debugger
741.1Ssekiyaoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
751.1Ssekiya#options 	KGDB		# remote debugger
761.1Ssekiya#options 	KGDB_DEV=0x2301		# KGDB port - this is Serial(1)
771.1Ssekiya#options 	KGDB_DEVRATE=19200	# KGDB Baud Rate
781.1Ssekiya#makeoptions	DEBUG="-g"	# compile full symbol table
791.1Ssekiya
801.1Ssekiya# Compatibility options
811.21Ssekiyaoptions 	COMPAT_15	# NetBSD 1.5
821.73Stsutsuioptions 	COMPAT_16	# NetBSD 1.6
831.73Stsutsuioptions 	COMPAT_20	# NetBSD 2.0
841.73Stsutsuioptions 	COMPAT_30	# NetBSD 3.0
851.73Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
861.78Smrgoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
871.1Ssekiya#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
881.1Ssekiya
891.1Ssekiyaoptions 	COMPAT_IRIX	# binary compatibility with IRIX
901.73Stsutsui#options 	COMPAT_LINUX	# binary compatibility with Linux
911.73Stsutsui#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix 
921.73Stsutsuioptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
931.1Ssekiya
941.1Ssekiya# File systems
951.1Ssekiyafile-system 	FFS		# UFS
961.1Ssekiyafile-system 	EXT2FS		# second extended file system (linux)
971.1Ssekiyafile-system 	LFS		# log-structured file system
981.1Ssekiyafile-system 	MFS		# memory file system
991.1Ssekiyafile-system 	NFS		# Network File System client
1001.1Ssekiyafile-system 	NTFS		# Windows/NT file system (experimental)
1011.1Ssekiyafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
1021.1Ssekiyafile-system 	MSDOSFS		# MS-DOS file system
1031.1Ssekiyafile-system 	FDESC		# /dev/fd
1041.1Ssekiyafile-system 	KERNFS		# /kern
1051.1Ssekiyafile-system 	NULLFS		# loopback file system
1061.1Ssekiyafile-system 	OVERLAY		# overlay file system
1071.1Ssekiyafile-system 	PORTAL		# portal filesystem (still experimental)
1081.1Ssekiyafile-system 	PROCFS		# /proc
1091.1Ssekiyafile-system 	UMAPFS		# NULLFS + uid and gid remapping
1101.1Ssekiyafile-system 	UNION		# union file system
1111.1Ssekiyafile-system	CODA		# Coda File System; also needs vcoda (below)
1121.38Schristosfile-system	PTYFS		# /dev/pts/N support
1131.72Stnnfile-system	TMPFS		# Efficient memory file-system
1141.44Stsutsui#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1151.67Srumblefile-system	EFS		# Silicon Graphics Extent File System
1161.1Ssekiya
1171.1Ssekiya# File system options
1181.1Ssekiyaoptions 	QUOTA		# UFS quotas
1191.1Ssekiya#options 	FFS_EI		# FFS Endian Independent support
1201.74Ssimonboptions 	WAPBL		# File system journaling support - Experimental
1211.73Stsutsui#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1221.1Ssekiyaoptions 	NFSSERVER	# Network File System server
1231.40Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1241.1Ssekiya#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1251.1Ssekiya				# immutable) behave as system flags.
1261.1Ssekiya
1271.1Ssekiya# Networking options
1281.1Ssekiya#options 	GATEWAY		# packet forwarding
1291.1Ssekiyaoptions 	INET		# IP + ICMP + TCP + UDP
1301.1Ssekiyaoptions 	INET6		# IPV6
1311.1Ssekiya#options 	IPSEC		# IP security
1321.1Ssekiya#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1331.33Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1341.1Ssekiya#options 	IPSEC_DEBUG	# debug for IP security
1351.1Ssekiya#options 	MROUTING	# IP multicast routing
1361.20Smanu#options 	PIM		# Protocol Independent Multicast
1371.68Sadrianp#options 	ISO,TPIP	# OSI
1381.1Ssekiya#options 	EON		# OSI tunneling over IP
1391.1Ssekiyaoptions 	NETATALK	# AppleTalk networking protocols
1401.1Ssekiyaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1411.1Ssekiyaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1421.1Ssekiyaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1431.1Ssekiyaoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1441.1Ssekiyaoptions 	IPFILTER_LOG	# ipmon(8) log support
1451.55Schristosoptions 	IPFILTER_LOOKUP	# ippool(8) support
1461.1Ssekiya#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1471.1Ssekiya#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1481.1Ssekiya
1491.12Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1501.12Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1511.12Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1521.12Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1531.12Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1541.12Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1551.12Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1561.12Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1571.12Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1581.12Sabs#options 	ALTQ_RED	# Random Early Detection
1591.12Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1601.12Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1611.12Sabs
1621.1Ssekiya# These options enable verbose messages for several subsystems.
1631.1Ssekiya# Warning, these may compile large string tables into the kernel!
1641.1Ssekiyaoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1651.1Ssekiyaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1661.1Ssekiya
1671.1Ssekiyaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1681.1Ssekiya
1691.1Ssekiya#options 	MEMORY_DISK_HOOKS
1701.1Ssekiya#options 	MEMORY_DISK_IS_ROOT
1711.1Ssekiya#options 	MEMORY_DISK_SERVER=0
1721.1Ssekiya#options 	MINIROOTSIZE=8192
1731.1Ssekiya
1741.1Ssekiya#options 	SCSI_DELAY=5
1751.1Ssekiya
1761.4Slonewolf#
1771.4Slonewolf# wscons options
1781.4Slonewolf#
1791.4Slonewolf# builtin terminal emulations
1801.4Slonewolf#options 	WSEMUL_SUN		# sun terminal emulation
1811.4Slonewolfoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1821.4Slonewolf# different kernel output - see dev/wscons/wsdisplayvar.h
1831.4Slonewolfoptions 	WS_KERNEL_FG=WSCOL_GREEN
1841.4Slonewolf#options 	WS_KERNEL_BG=WSCOL_BLACK
1851.4Slonewolf# compatibility to other console drivers
1861.4Slonewolfoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1871.49Sdrochner# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
1881.4Slonewolf#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1891.4Slonewolf
1901.4Slonewolf
1911.1Ssekiya# Kernel root file system and dump configuration.
1921.1Ssekiyaconfig		netbsd	root on ? type ?
1931.1Ssekiya
1941.1Ssekiya# Main bus and CPU
1951.1Ssekiyamainbus0 	at root
1961.1Ssekiyacpu0 		at mainbus?
1971.1Ssekiya
1981.1Ssekiyasd*     at scsibus? target ? lun ?	# SCSI disks
1991.1Ssekiyast*     at scsibus? target ? lun ?	# SCSI tapes
2001.1Ssekiyacd*     at scsibus? target ? lun ?	# SCSI CD-ROMs
2011.1Ssekiyach*     at scsibus? target ? lun ?	# SCSI changer devices
2021.1Ssekiyass*     at scsibus? target ? lun ?	# SCSI scanners
2031.1Ssekiyases*    at scsibus? target ? lun ?	# SCSI SES/SAF-TE devices
2041.1Ssekiyauk*     at scsibus? target ? lun ?	# unknown SCSI
2051.1Ssekiya
2061.24Ssekiya# Personal Iris / Indigo R3k
2071.24Ssekiyapic0		at mainbus0 addr 0x1fa00000
2081.24Ssekiyagio0		at pic0
2091.24Ssekiya
2101.1Ssekiya# Indy / Indigo^2
2111.1Ssekiyaimc0 		at mainbus0 addr 0x1fa00000
2121.1Ssekiyagio0 		at imc0
2131.1Ssekiyaeisa0 		at imc0
2141.79Srumble
2151.9Ssekiyaint0		at mainbus0		# Interrupt controller
2161.1Ssekiya
2171.79Srumble# Some clocks actually in HPC space, but not all
2181.79Srumbledpclock0	at mainbus0 addr 0x1fb80e00	# IP12 / IP20
2191.79Srumbledsclock0	at mainbus0 addr 0x1fbe0000	# IP22 / 24
2201.79Srumble
2211.1Ssekiyahpc0 		at gio? addr 0x1fb80000
2221.1Ssekiyahpc1 		at gio? addr 0x1fb00000
2231.1Ssekiyahpc2 		at gio? addr 0x1f980000
2241.1Ssekiya
2251.63Srumblenewport*	at gio?			# Newport (NG1) graphics
2261.4Slonewolfwsdisplay* 	at newport? console ?
2271.4Slonewolf
2281.63Srumblegrtwo*		at gio?			# Express (GR2) graphics
2291.16Ssekiyawsdisplay*	at grtwo? console ?
2301.14Ssekiya
2311.64Srumblelight*		at gio?			# Light/Starter/Entry (LG1/LG2) graphics
2321.64Srumblewsdisplay*	at light? console ?
2331.64Srumble
2341.56Srumble# PCI Fast Ethernet cards glued to the GIO bus
2351.56Srumblegiopci*		at gio? slot?
2361.56Srumblepci*		at giopci? bus?
2371.73Stsutsuioptions 	PCI_NETBSD_CONFIGURE
2381.56Srumble
2391.56Srumbletlp*		at pci? dev ? function ? # Phobos G100/130/160 Fast Ethernet
2401.56Srumblelxtphy*		at mii? phy ?		 # Level One LXT-970 PHYs 
2411.56Srumble
2421.61Srumbletl*		at pci? dev ? function ? # Set Engineering GIO Fast Ethernet
2431.61Srumblensphy*		at mii? phy ?		 # NS83840 PHYs
2441.61Srumbletlphy*		at mii? phy ?		 # ThunderLAN PHY (unused)
2451.56Srumble
2461.1Ssekiya# HPC devices
2471.60Srumblesq* 		at hpc? offset ?	# On-board ethernet / E++ adapter
2481.65Srumblewdsc* 		at hpc? offset ?	# On-board SCSI / GIO32 SCSI adapter
2491.58Srumblehaltwo*         at hpc0 offset ?	# IP22 / 24
2501.4Slonewolfpckbc*		at hpc0 offset ?
2511.4Slonewolf
2521.4Slonewolfpckbd*  	at pckbc?
2531.4Slonewolfpms* 		at pckbc?
2541.4Slonewolfwskbd* 		at pckbd? console ?
2551.17Ssekiyawskbd*		at zskbd? console ?
2561.4Slonewolfwsmouse* 	at pms? mux 0
2571.18Ssekiyawsmouse*	at zsms? mux 0
2581.5Ssekiya
2591.5Ssekiya# I/O Controller -- IP22/24
2601.5Ssekiyaioc0		at mainbus0 addr 0x1fbd9800
2611.1Ssekiya
2621.43Skurahone# IOC's parallel port
2631.43Skurahonepi1ppc0		at hpc0 offset ? 
2641.73Stsutsuioptions 	PI1PPC_INDY_ACK_HACK	# Indy hardware bug workaround.
2651.43Skurahoneppbus*		at pi1ppc?
2661.43Skurahonelpt*		at ppbus?		# Parallel printer
2671.43Skurahone
2681.1Ssekiya#
2691.1Ssekiya# As always, the zs chip is wired funny, so channel 1 is actually the
2701.1Ssekiya# first serial port and channel 0 is the second.
2711.1Ssekiya#
2721.7Ssekiyazsc0 		at hpc0 offset ?
2731.7Ssekiyazstty*		at zsc0 channel ?
2741.7Ssekiya
2751.7Ssekiyazsc1 		at hpc0 offset ?	# IP20 keyboard/mouse
2761.17Ssekiyazskbd0		at zsc1 channel 0
2771.17Ssekiyazsms0		at zsc1 channel 1
2781.1Ssekiya
2791.1Ssekiyascsibus*	at scsi?		# HPC SCSI
2801.58Srumbleaudio*  	at audiobus?
2811.1Ssekiya
2821.1Ssekiya# Pseudo-Devices
2831.1Ssekiya
2841.1Ssekiya# disk/mass storage pseudo-devices
2851.1Ssekiyapseudo-device	ccd		4	# concatenated/striped disk devices
2861.1Ssekiya#pseudo-device	cgd		4	# cryptographic disk devices
2871.1Ssekiya#pseudo-device	raid		4	# RAIDframe disk driver
2881.1Ssekiya#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2891.28Shannkenpseudo-device	fss		4	# file system snapshot device
2901.1Ssekiyapseudo-device	md		1	# memory disk device (ramdisk)
2911.46Scubepseudo-device	vnd			# disk-like interface to files
2921.34Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2931.1Ssekiya
2941.1Ssekiya# network pseudo-devices
2951.45Srpaulopseudo-device	bpfilter		# Berkeley packet filter
2961.50Stsutsui#pseudo-device	carp			# Common Address Redundancy Protocol
2971.1Ssekiyapseudo-device	ipfilter		# IP filter (firewall) and NAT
2981.1Ssekiyapseudo-device	loop			# network loopback
2991.46Scubepseudo-device	ppp			# Point-to-Point Protocol
3001.46Scubepseudo-device	sl			# Serial Line IP
3011.46Scubepseudo-device	strip			# Starmode Radio IP (Metricom)
3021.46Scubepseudo-device	tun			# network tunneling over tty
3031.26Scubepseudo-device	tap			# virtual Ethernet
3041.46Scubepseudo-device	gre			# generic L3 over IP tunnel
3051.46Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3061.46Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3071.47Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3081.1Ssekiyapseudo-device	vlan			# IEEE 802.1q encapsulation
3091.1Ssekiyapseudo-device	bridge			# simple inter-network bridging
3101.66Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3111.73Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3121.25Srumble#pseudo-device	pf			# PF packet filter
3131.25Srumble#pseudo-device	pflog			# PF log if
3141.75Stsutsuipseudo-device   accf_data		# "dataready" accept filter
3151.75Stsutsuipseudo-device   accf_http		# "httpready" accept filter
3161.1Ssekiya
3171.1Ssekiya# miscellaneous pseudo-devices
3181.1Ssekiyapseudo-device	pty			# pseudo-terminals
3191.1Ssekiyapseudo-device	sequencer	1	# MIDI sequencer
3201.1Ssekiyapseudo-device	rnd			# /dev/random and in-kernel generator
3211.1Ssekiyapseudo-device	clockctl		# user control of clock subsystem
3221.1Ssekiyapseudo-device	ksyms			# /dev/ksyms
3231.4Slonewolfpseudo-device	wsmux                   # mouse & keyboard multiplexor
3241.4Slonewolfpseudo-device	wsfont
3251.1Ssekiya
3261.1Ssekiya# a pseudo device needed for Coda	# also needs CODA (above)
3271.1Ssekiyapseudo-device	vcoda		4	# coda minicache <-> venus comm.
3281.1Ssekiya
3291.1Ssekiya# pseudo devices used for IRIX binary compatibility
3301.1Ssekiyapseudo-device	irix_kmem		# IRIX /dev/kmem
3311.1Ssekiyapseudo-device	irix_usema		# IRIX /dev/usema
3321.41Stsutsui
3331.41Stsutsui# Veriexec
3341.41Stsutsui#
3351.41Stsutsui# a pseudo device needed for veriexec
3361.41Stsutsui#pseudo-device	veriexec		1
3371.41Stsutsui#
3381.41Stsutsui# Uncomment the fingerprint methods below that are desired. Note that
3391.41Stsutsui# removing fingerprint methods will have almost no impact on the kernel
3401.41Stsutsui# code size.
3411.41Stsutsui#
3421.41Stsutsui#options VERIFIED_EXEC_FP_RMD160
3431.41Stsutsui#options VERIFIED_EXEC_FP_SHA256
3441.41Stsutsui#options VERIFIED_EXEC_FP_SHA384
3451.41Stsutsui#options VERIFIED_EXEC_FP_SHA512
3461.41Stsutsui#options VERIFIED_EXEC_FP_SHA1
3471.41Stsutsui#options VERIFIED_EXEC_FP_MD5
348