GENERIC32_IP2x revision 1.20
11.20Smanu#	$NetBSD: GENERIC32_IP2x,v 1.20 2004/09/04 23:29:57 manu 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.20Smanu#ident		"GENERIC32-IP2x-$Revision: 1.20 $"
331.1Ssekiya
341.1Ssekiyamaxusers	32
351.1Ssekiya
361.1Ssekiya# CPU related options
371.1Ssekiyaoptions 	MIPS3		# MIPS3 support
381.9Ssekiyaoptions		INDY_R4600_CACHE	# Include routines to handle special
391.9Ssekiya					# R4600 cache -- required for Indy.
401.1Ssekiya
411.5Ssekiya#options	BLINK		# blinkenlitzen
421.5Ssekiya
431.1Ssekiya# Standard system options
441.1Ssekiya#options 	INSECURE	# disable kernel security levels
451.1Ssekiya
461.1Ssekiya#options 	NTP		# NTP phase/frequence locked loop
471.1Ssekiyaoptions 	KTRACE		# system call tracing via ktrace(1)
481.1Ssekiyaoptions 	SYSTRACE	# system call vetting via systrace(1)
491.1Ssekiya
501.1Ssekiyaoptions 	SYSVMSG		# System V message queues
511.1Ssekiyaoptions 	SYSVSEM		# System V semaphores
521.1Ssekiya#options 	SEMMNI=10	# number of semaphore identifiers
531.1Ssekiya#options 	SEMMNS=60	# number of semaphores in system
541.1Ssekiya#options 	SEMUME=10	# max number of undo entries per process
551.1Ssekiya#options 	SEMMNU=30	# number of undo structures in system
561.1Ssekiyaoptions 	SYSVSHM		# System V shared memory
571.1Ssekiya#options 	SHMMAXPGS=1024	# 1024 pages is the default
581.13Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
591.1Ssekiya
601.1Ssekiya#options 	LKM		# loadable kernel modules (XXX: working?)
611.1Ssekiya
621.1Ssekiyaoptions 	USERCONF	# userconf(4) support
631.1Ssekiya#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
641.19Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
651.1Ssekiya
661.1Ssekiya# Enable experimental buffer queue strategy for better responsiveness under 
671.1Ssekiya# high disk I/O load. Use it with caution - it's not proven to be stable yet.
681.1Ssekiya#options 	NEW_BUFQ_STRATEGY
691.1Ssekiya
701.1Ssekiya# Diagnostic/debugging support options
711.1Ssekiya#options 	DIAGNOSTIC	# expensive kernel consistency checks
721.1Ssekiya#options 	DEBUG		# expensive debugging checks/support
731.1Ssekiya#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
741.1Ssekiyaoptions 	DDB		# in-kernel debugger
751.1Ssekiyaoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
761.1Ssekiya#options 	KGDB		# remote debugger
771.1Ssekiya#options 	KGDB_DEV=0x2301		# KGDB port - this is Serial(1)
781.1Ssekiya#options 	KGDB_DEVRATE=19200	# KGDB Baud Rate
791.1Ssekiya#makeoptions	DEBUG="-g"	# compile full symbol table
801.1Ssekiya
811.1Ssekiya# Compatibility options
821.1Ssekiyaoptions 	COMPAT_15	# NetBSD 1.5,
831.1Ssekiyaoptions         COMPAT_16
841.1Ssekiya#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
851.1Ssekiya
861.1Ssekiyaoptions 	COMPAT_IRIX	# binary compatibility with IRIX
871.1Ssekiya#options	COMPAT_LINUX	# binary compatibility with Linux
881.1Ssekiya#options	COMPAT_ULTRIX	# binary compatibility with Ultrix 
891.1Ssekiya
901.1Ssekiya# File systems
911.1Ssekiyafile-system 	FFS		# UFS
921.1Ssekiyafile-system 	EXT2FS		# second extended file system (linux)
931.1Ssekiyafile-system 	LFS		# log-structured file system
941.1Ssekiyafile-system 	MFS		# memory file system
951.1Ssekiyafile-system 	NFS		# Network File System client
961.1Ssekiyafile-system 	NTFS		# Windows/NT file system (experimental)
971.1Ssekiyafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
981.1Ssekiyafile-system 	MSDOSFS		# MS-DOS file system
991.1Ssekiyafile-system 	FDESC		# /dev/fd
1001.1Ssekiyafile-system 	KERNFS		# /kern
1011.1Ssekiyafile-system 	NULLFS		# loopback file system
1021.1Ssekiyafile-system 	OVERLAY		# overlay file system
1031.1Ssekiyafile-system 	PORTAL		# portal filesystem (still experimental)
1041.1Ssekiyafile-system 	PROCFS		# /proc
1051.1Ssekiyafile-system 	UMAPFS		# NULLFS + uid and gid remapping
1061.1Ssekiyafile-system 	UNION		# union file system
1071.1Ssekiyafile-system	CODA		# Coda File System; also needs vcoda (below)
1081.1Ssekiya
1091.1Ssekiya# File system options
1101.1Ssekiyaoptions 	QUOTA		# UFS quotas
1111.1Ssekiya#options 	FFS_EI		# FFS Endian Independent support
1121.1Ssekiyaoptions 	SOFTDEP		# FFS soft updates support.
1131.1Ssekiyaoptions 	NFSSERVER	# Network File System server
1141.1Ssekiya#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1151.1Ssekiya				# immutable) behave as system flags.
1161.1Ssekiya
1171.1Ssekiya# Networking options
1181.1Ssekiya#options 	GATEWAY		# packet forwarding
1191.1Ssekiyaoptions 	INET		# IP + ICMP + TCP + UDP
1201.1Ssekiyaoptions 	INET6		# IPV6
1211.1Ssekiya#options 	IPSEC		# IP security
1221.1Ssekiya#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1231.1Ssekiya#options 	IPSEC_DEBUG	# debug for IP security
1241.1Ssekiya#options 	MROUTING	# IP multicast routing
1251.20Smanu#options 	PIM		# Protocol Independent Multicast
1261.1Ssekiyaoptions 	NS		# XNS
1271.1Ssekiya#options 	NSIP		# XNS tunneling over IP
1281.1Ssekiyaoptions 	ISO,TPIP	# OSI
1291.1Ssekiya#options 	EON		# OSI tunneling over IP
1301.1Ssekiyaoptions 	CCITT,LLC,HDLC	# X.25
1311.1Ssekiyaoptions 	NETATALK	# AppleTalk networking protocols
1321.1Ssekiyaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1331.1Ssekiyaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1341.1Ssekiyaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1351.1Ssekiyaoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1361.1Ssekiyaoptions 	IPFILTER_LOG	# ipmon(8) log support
1371.1Ssekiya#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1381.1Ssekiya#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1391.1Ssekiya
1401.12Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1411.12Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1421.12Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1431.12Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1441.12Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1451.12Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1461.12Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1471.12Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1481.12Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1491.12Sabs#options 	ALTQ_RED	# Random Early Detection
1501.12Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1511.12Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1521.12Sabs
1531.1Ssekiya# These options enable verbose messages for several subsystems.
1541.1Ssekiya# Warning, these may compile large string tables into the kernel!
1551.1Ssekiyaoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1561.1Ssekiyaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1571.1Ssekiya
1581.1Ssekiyaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1591.1Ssekiya
1601.1Ssekiya#options 	MEMORY_DISK_HOOKS
1611.1Ssekiya#options 	MEMORY_DISK_IS_ROOT
1621.1Ssekiya#options 	MEMORY_DISK_SERVER=0
1631.1Ssekiya#options 	MINIROOTSIZE=8192
1641.1Ssekiya
1651.1Ssekiya#options 	SCSI_DELAY=5
1661.1Ssekiya
1671.4Slonewolf#
1681.4Slonewolf# wscons options
1691.4Slonewolf#
1701.4Slonewolf# builtin terminal emulations
1711.4Slonewolf#options 	WSEMUL_SUN		# sun terminal emulation
1721.4Slonewolfoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1731.4Slonewolf# different kernel output - see dev/wscons/wsdisplayvar.h
1741.4Slonewolfoptions 	WS_KERNEL_FG=WSCOL_GREEN
1751.4Slonewolf#options 	WS_KERNEL_BG=WSCOL_BLACK
1761.4Slonewolf# compatibility to other console drivers
1771.4Slonewolfoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1781.4Slonewolf# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
1791.4Slonewolf#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1801.4Slonewolf# the following enables some functions to get mouse console support.
1811.4Slonewolf# if you want a really secure system, it may be better not to enable them,
1821.4Slonewolf# see wsmoused(8), section SECURITY CONSIDERATIONS for more info.
1831.4Slonewolf#options 	WSDISPLAY_CHARFUNCS		# mouse console support
1841.4Slonewolf
1851.4Slonewolf
1861.1Ssekiya# Kernel root file system and dump configuration.
1871.1Ssekiyaconfig		netbsd	root on ? type ?
1881.1Ssekiya
1891.1Ssekiya# Main bus and CPU
1901.1Ssekiyamainbus0 	at root
1911.1Ssekiyacpu0 		at mainbus?
1921.1Ssekiya
1931.1Ssekiyasd*     at scsibus? target ? lun ?	# SCSI disks
1941.1Ssekiyast*     at scsibus? target ? lun ?	# SCSI tapes
1951.1Ssekiyacd*     at scsibus? target ? lun ?	# SCSI CD-ROMs
1961.1Ssekiyach*     at scsibus? target ? lun ?	# SCSI changer devices
1971.1Ssekiyass*     at scsibus? target ? lun ?	# SCSI scanners
1981.1Ssekiyases*    at scsibus? target ? lun ?	# SCSI SES/SAF-TE devices
1991.1Ssekiyauk*     at scsibus? target ? lun ?	# unknown SCSI
2001.1Ssekiya
2011.1Ssekiya# Indy / Indigo^2
2021.1Ssekiyaimc0 		at mainbus0 addr 0x1fa00000
2031.1Ssekiyagio0 		at imc0
2041.1Ssekiyaeisa0 		at imc0
2051.9Ssekiyaint0		at mainbus0		# Interrupt controller
2061.1Ssekiya
2071.1Ssekiyahpc0 		at gio? addr 0x1fb80000
2081.1Ssekiyahpc1 		at gio? addr 0x1fb00000
2091.1Ssekiyahpc2 		at gio? addr 0x1f980000
2101.1Ssekiya
2111.4Slonewolfnewport*	at gio? slot ?
2121.4Slonewolfwsdisplay* 	at newport? console ?
2131.4Slonewolf
2141.16Ssekiyagrtwo*		at gio? slot ?
2151.16Ssekiyawsdisplay*	at grtwo? console ?
2161.14Ssekiya
2171.1Ssekiya# HPC devices
2181.1Ssekiyasq* 		at hpc0 offset ?
2191.1Ssekiyawdsc* 		at hpc0 offset ?
2201.3Ssekiyadpclock*	at hpc0 offset ?	# IP20
2211.3Ssekiyadsclock*	at hpc0 offset ?	# IP22/24
2221.1Ssekiyahaltwo*         at hpc0 offset ?
2231.4Slonewolfpckbc*		at hpc0 offset ?
2241.4Slonewolf
2251.4Slonewolfpckbd*  	at pckbc?
2261.4Slonewolfpms* 		at pckbc?
2271.4Slonewolfwskbd* 		at pckbd? console ?
2281.17Ssekiyawskbd*		at zskbd? console ?
2291.4Slonewolfwsmouse* 	at pms? mux 0
2301.18Ssekiyawsmouse*	at zsms? mux 0
2311.5Ssekiya
2321.5Ssekiya# I/O Controller -- IP22/24
2331.5Ssekiyaioc0		at mainbus0 addr 0x1fbd9800
2341.1Ssekiya
2351.1Ssekiya#
2361.1Ssekiya# As always, the zs chip is wired funny, so channel 1 is actually the
2371.1Ssekiya# first serial port and channel 0 is the second.
2381.1Ssekiya#
2391.7Ssekiyazsc0 		at hpc0 offset ?
2401.7Ssekiyazstty*		at zsc0 channel ?
2411.7Ssekiya
2421.7Ssekiyazsc1 		at hpc0 offset ?	# IP20 keyboard/mouse
2431.17Ssekiyazskbd0		at zsc1 channel 0
2441.17Ssekiyazsms0		at zsc1 channel 1
2451.1Ssekiya
2461.1Ssekiyascsibus*	at scsi?		# HPC SCSI
2471.1Ssekiyaaudio*          at audiobus?
2481.1Ssekiya
2491.1Ssekiya# Pseudo-Devices
2501.1Ssekiya
2511.1Ssekiya# disk/mass storage pseudo-devices
2521.1Ssekiyapseudo-device	ccd		4	# concatenated/striped disk devices
2531.1Ssekiya#pseudo-device	cgd		4	# cryptographic disk devices
2541.1Ssekiya#pseudo-device	raid		4	# RAIDframe disk driver
2551.1Ssekiya#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2561.1Ssekiyapseudo-device	md		1	# memory disk device (ramdisk)
2571.1Ssekiyapseudo-device	vnd		4	# disk-like interface to files
2581.1Ssekiya
2591.1Ssekiya# network pseudo-devices
2601.1Ssekiyapseudo-device	bpfilter	8	# Berkeley packet filter
2611.1Ssekiyapseudo-device	ipfilter		# IP filter (firewall) and NAT
2621.1Ssekiyapseudo-device	loop			# network loopback
2631.1Ssekiyapseudo-device	ppp		2	# Point-to-Point Protocol
2641.1Ssekiyapseudo-device	sl		2	# Serial Line IP
2651.1Ssekiyapseudo-device	strip		2	# Starmode Radio IP (Metricom)
2661.1Ssekiyapseudo-device	tun		2	# network tunneling over tty
2671.1Ssekiyapseudo-device	gre		2	# generic L3 over IP tunnel
2681.1Ssekiyapseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2691.1Ssekiya#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2701.1Ssekiya#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2711.1Ssekiyapseudo-device	vlan			# IEEE 802.1q encapsulation
2721.1Ssekiyapseudo-device	bridge			# simple inter-network bridging
2731.1Ssekiya#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2741.1Ssekiya
2751.1Ssekiya# miscellaneous pseudo-devices
2761.1Ssekiyapseudo-device	pty			# pseudo-terminals
2771.1Ssekiyapseudo-device	tb		1	# tablet line discipline
2781.1Ssekiyapseudo-device	sequencer	1	# MIDI sequencer
2791.1Ssekiyapseudo-device	rnd			# /dev/random and in-kernel generator
2801.1Ssekiyapseudo-device	clockctl		# user control of clock subsystem
2811.1Ssekiyapseudo-device	ksyms			# /dev/ksyms
2821.4Slonewolfpseudo-device	wsmux                   # mouse & keyboard multiplexor
2831.4Slonewolfpseudo-device	wsfont
2841.1Ssekiya
2851.1Ssekiya# a pseudo device needed for Coda	# also needs CODA (above)
2861.1Ssekiyapseudo-device	vcoda		4	# coda minicache <-> venus comm.
2871.1Ssekiya
2881.1Ssekiya# pseudo devices used for IRIX binary compatibility
2891.1Ssekiyapseudo-device	irix_kmem		# IRIX /dev/kmem
2901.1Ssekiyapseudo-device	irix_usema		# IRIX /dev/usema
291