GENERIC32_IP2x revision 1.116
11.116Ssevan#	$NetBSD: GENERIC32_IP2x,v 1.116 2019/04/26 21:40:32 sevan 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.111Smrginclude 	"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.116Ssevan#ident		"GENERIC32-IP2x-$Revision: 1.116 $"
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.1Ssekiya
581.1Ssekiyaoptions 	USERCONF	# userconf(4) support
591.1Ssekiya#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
601.19Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
611.1Ssekiya
621.112Ssevan# Alternate buffer queue strategies for better responsiveness under high
631.112Ssevan# disk I/O load.
641.31Stsutsui#options 	BUFQ_READPRIO
651.116Ssevanoptions 	BUFQ_PRIOCSCAN
661.1Ssekiya
671.1Ssekiya# Diagnostic/debugging support options
681.1Ssekiya#options 	DIAGNOSTIC	# expensive kernel consistency checks
691.1Ssekiya#options 	DEBUG		# expensive debugging checks/support
701.1Ssekiyaoptions 	DDB		# in-kernel debugger
711.1Ssekiyaoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
721.1Ssekiya#options 	KGDB		# remote debugger
731.1Ssekiya#options 	KGDB_DEV=0x2301		# KGDB port - this is Serial(1)
741.1Ssekiya#options 	KGDB_DEVRATE=19200	# KGDB Baud Rate
751.1Ssekiya#makeoptions	DEBUG="-g"	# compile full symbol table
761.1Ssekiya
771.1Ssekiya# Compatibility options
781.111Smrginclude 	"conf/compat_netbsd15.config"
791.1Ssekiya
801.83Schsoptions 	COMPAT_LINUX	# binary compatibility with Linux
811.73Stsutsui#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix 
821.1Ssekiya
831.1Ssekiya# File systems
841.1Ssekiyafile-system 	FFS		# UFS
851.1Ssekiyafile-system 	EXT2FS		# second extended file system (linux)
861.1Ssekiyafile-system 	LFS		# log-structured file system
871.1Ssekiyafile-system 	MFS		# memory file system
881.1Ssekiyafile-system 	NFS		# Network File System client
891.1Ssekiyafile-system 	NTFS		# Windows/NT file system (experimental)
901.1Ssekiyafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
911.1Ssekiyafile-system 	MSDOSFS		# MS-DOS file system
921.1Ssekiyafile-system 	FDESC		# /dev/fd
931.1Ssekiyafile-system 	KERNFS		# /kern
941.1Ssekiyafile-system 	NULLFS		# loopback file system
951.1Ssekiyafile-system 	OVERLAY		# overlay file system
961.81Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
971.1Ssekiyafile-system 	PROCFS		# /proc
981.1Ssekiyafile-system 	UMAPFS		# NULLFS + uid and gid remapping
991.1Ssekiyafile-system 	UNION		# union file system
1001.1Ssekiyafile-system	CODA		# Coda File System; also needs vcoda (below)
1011.38Schristosfile-system	PTYFS		# /dev/pts/N support
1021.72Stnnfile-system	TMPFS		# Efficient memory file-system
1031.44Stsutsui#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1041.67Srumblefile-system	EFS		# Silicon Graphics Extent File System
1051.1Ssekiya
1061.1Ssekiya# File system options
1071.86Sbouyeroptions 	QUOTA		# legacy UFS quotas
1081.86Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1091.1Ssekiya#options 	FFS_EI		# FFS Endian Independent support
1101.89Sdhollandoptions 	WAPBL		# File system journaling support
1111.73Stsutsui#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1121.1Ssekiyaoptions 	NFSSERVER	# Network File System server
1131.40Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1141.103Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1151.1Ssekiya#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1161.1Ssekiya				# immutable) behave as system flags.
1171.1Ssekiya
1181.1Ssekiya# Networking options
1191.1Ssekiya#options 	GATEWAY		# packet forwarding
1201.1Ssekiyaoptions 	INET		# IP + ICMP + TCP + UDP
1211.1Ssekiyaoptions 	INET6		# IPV6
1221.1Ssekiya#options 	IPSEC		# IP security
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 	NETATALK	# AppleTalk networking protocols
1271.1Ssekiyaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1281.1Ssekiyaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1291.1Ssekiyaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1301.1Ssekiya#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1311.1Ssekiya
1321.12Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1331.12Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1341.12Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1351.12Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1361.12Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1371.12Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1381.12Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1391.12Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1401.12Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1411.12Sabs#options 	ALTQ_RED	# Random Early Detection
1421.12Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1431.12Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1441.12Sabs
1451.100Salnsn# JIT compiler for bpfilter
1461.100Salnsn#options	SLJIT
1471.100Salnsn#options	BPFJIT
1481.100Salnsn
1491.1Ssekiya# These options enable verbose messages for several subsystems.
1501.1Ssekiya# Warning, these may compile large string tables into the kernel!
1511.1Ssekiyaoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1521.1Ssekiyaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1531.1Ssekiya
1541.1Ssekiyaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1551.1Ssekiya
1561.1Ssekiya#options 	MEMORY_DISK_HOOKS
1571.1Ssekiya#options 	MEMORY_DISK_IS_ROOT
1581.1Ssekiya#options 	MEMORY_DISK_SERVER=0
1591.1Ssekiya#options 	MINIROOTSIZE=8192
1601.1Ssekiya
1611.1Ssekiya#options 	SCSI_DELAY=5
1621.1Ssekiya
1631.4Slonewolf#
1641.4Slonewolf# wscons options
1651.4Slonewolf#
1661.4Slonewolf# builtin terminal emulations
1671.4Slonewolf#options 	WSEMUL_SUN		# sun terminal emulation
1681.4Slonewolfoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1691.91Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1701.4Slonewolf# different kernel output - see dev/wscons/wsdisplayvar.h
1711.4Slonewolfoptions 	WS_KERNEL_FG=WSCOL_GREEN
1721.4Slonewolf#options 	WS_KERNEL_BG=WSCOL_BLACK
1731.4Slonewolf# compatibility to other console drivers
1741.4Slonewolfoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1751.49Sdrochner# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
1761.4Slonewolf#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1771.4Slonewolf
1781.4Slonewolf
1791.1Ssekiya# Kernel root file system and dump configuration.
1801.1Ssekiyaconfig		netbsd	root on ? type ?
1811.1Ssekiya
1821.1Ssekiya# Main bus and CPU
1831.1Ssekiyamainbus0 	at root
1841.1Ssekiyacpu0 		at mainbus?
1851.1Ssekiya
1861.1Ssekiyasd*     at scsibus? target ? lun ?	# SCSI disks
1871.1Ssekiyast*     at scsibus? target ? lun ?	# SCSI tapes
1881.1Ssekiyacd*     at scsibus? target ? lun ?	# SCSI CD-ROMs
1891.1Ssekiyach*     at scsibus? target ? lun ?	# SCSI changer devices
1901.1Ssekiyass*     at scsibus? target ? lun ?	# SCSI scanners
1911.1Ssekiyases*    at scsibus? target ? lun ?	# SCSI SES/SAF-TE devices
1921.1Ssekiyauk*     at scsibus? target ? lun ?	# unknown SCSI
1931.1Ssekiya
1941.24Ssekiya# Personal Iris / Indigo R3k
1951.24Ssekiyapic0		at mainbus0 addr 0x1fa00000
1961.24Ssekiyagio0		at pic0
1971.24Ssekiya
1981.1Ssekiya# Indy / Indigo^2
1991.1Ssekiyaimc0 		at mainbus0 addr 0x1fa00000
2001.1Ssekiyagio0 		at imc0
2011.1Ssekiyaeisa0 		at imc0
2021.79Srumble
2031.9Ssekiyaint0		at mainbus0		# Interrupt controller
2041.1Ssekiya
2051.79Srumble# Some clocks actually in HPC space, but not all
2061.79Srumbledpclock0	at mainbus0 addr 0x1fb80e00	# IP12 / IP20
2071.79Srumbledsclock0	at mainbus0 addr 0x1fbe0000	# IP22 / 24
2081.79Srumble
2091.1Ssekiyahpc0 		at gio? addr 0x1fb80000
2101.1Ssekiyahpc1 		at gio? addr 0x1fb00000
2111.1Ssekiyahpc2 		at gio? addr 0x1f980000
2121.1Ssekiya
2131.63Srumblenewport*	at gio?			# Newport (NG1) graphics
2141.4Slonewolfwsdisplay* 	at newport? console ?
2151.4Slonewolf
2161.63Srumblegrtwo*		at gio?			# Express (GR2) graphics
2171.16Ssekiyawsdisplay*	at grtwo? console ?
2181.14Ssekiya
2191.64Srumblelight*		at gio?			# Light/Starter/Entry (LG1/LG2) graphics
2201.64Srumblewsdisplay*	at light? console ?
2211.64Srumble
2221.56Srumble# PCI Fast Ethernet cards glued to the GIO bus
2231.56Srumblegiopci*		at gio? slot?
2241.56Srumblepci*		at giopci? bus?
2251.73Stsutsuioptions 	PCI_NETBSD_CONFIGURE
2261.56Srumble
2271.56Srumbletlp*		at pci? dev ? function ? # Phobos G100/130/160 Fast Ethernet
2281.56Srumblelxtphy*		at mii? phy ?		 # Level One LXT-970 PHYs 
2291.56Srumble
2301.61Srumbletl*		at pci? dev ? function ? # Set Engineering GIO Fast Ethernet
2311.61Srumblensphy*		at mii? phy ?		 # NS83840 PHYs
2321.61Srumbletlphy*		at mii? phy ?		 # ThunderLAN PHY (unused)
2331.56Srumble
2341.1Ssekiya# HPC devices
2351.60Srumblesq* 		at hpc? offset ?	# On-board ethernet / E++ adapter
2361.65Srumblewdsc* 		at hpc? offset ?	# On-board SCSI / GIO32 SCSI adapter
2371.58Srumblehaltwo*         at hpc0 offset ?	# IP22 / 24
2381.113Schristosbutton*		at hpc0 offset ?	# front panel buttons on Indy
2391.4Slonewolfpckbc*		at hpc0 offset ?
2401.4Slonewolf
2411.4Slonewolfpckbd*  	at pckbc?
2421.4Slonewolfpms* 		at pckbc?
2431.4Slonewolfwskbd* 		at pckbd? console ?
2441.17Ssekiyawskbd*		at zskbd? console ?
2451.4Slonewolfwsmouse* 	at pms? mux 0
2461.18Ssekiyawsmouse*	at zsms? mux 0
2471.5Ssekiya
2481.5Ssekiya# I/O Controller -- IP22/24
2491.5Ssekiyaioc0		at mainbus0 addr 0x1fbd9800
2501.1Ssekiya
2511.43Skurahone# IOC's parallel port
2521.43Skurahonepi1ppc0		at hpc0 offset ? 
2531.73Stsutsuioptions 	PI1PPC_INDY_ACK_HACK	# Indy hardware bug workaround.
2541.43Skurahoneppbus*		at pi1ppc?
2551.43Skurahonelpt*		at ppbus?		# Parallel printer
2561.43Skurahone
2571.1Ssekiya#
2581.1Ssekiya# As always, the zs chip is wired funny, so channel 1 is actually the
2591.1Ssekiya# first serial port and channel 0 is the second.
2601.1Ssekiya#
2611.7Ssekiyazsc0 		at hpc0 offset ?
2621.7Ssekiyazstty*		at zsc0 channel ?
2631.7Ssekiya
2641.7Ssekiyazsc1 		at hpc0 offset ?	# IP20 keyboard/mouse
2651.17Ssekiyazskbd0		at zsc1 channel 0
2661.17Ssekiyazsms0		at zsc1 channel 1
2671.1Ssekiya
2681.1Ssekiyascsibus*	at scsi?		# HPC SCSI
2691.58Srumbleaudio*  	at audiobus?
2701.1Ssekiya
2711.108Schristosspkr*		at audio?		# PC speaker (synthesized)
2721.106Snat
2731.1Ssekiya# Pseudo-Devices
2741.1Ssekiya
2751.1Ssekiya# disk/mass storage pseudo-devices
2761.95Schristospseudo-device	ccd			# concatenated/striped disk devices
2771.95Schristos#pseudo-device	cgd			# cryptographic disk devices
2781.96Schristos#pseudo-device	raid			# RAIDframe disk driver
2791.1Ssekiya#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2801.82Spookapseudo-device	fss			# file system snapshot device
2811.84Shannkenpseudo-device	md			# memory disk device (ramdisk)
2821.46Scubepseudo-device	vnd			# disk-like interface to files
2831.34Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2841.1Ssekiya
2851.1Ssekiya# network pseudo-devices
2861.45Srpaulopseudo-device	bpfilter		# Berkeley packet filter
2871.116Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
2881.114Smaxvpseudo-device	npf			# NPF packet filter
2891.1Ssekiyapseudo-device	loop			# network loopback
2901.46Scubepseudo-device	ppp			# Point-to-Point Protocol
2911.46Scubepseudo-device	sl			# Serial Line IP
2921.46Scubepseudo-device	strip			# Starmode Radio IP (Metricom)
2931.46Scubepseudo-device	tun			# network tunneling over tty
2941.26Scubepseudo-device	tap			# virtual Ethernet
2951.46Scubepseudo-device	gre			# generic L3 over IP tunnel
2961.46Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2971.46Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2981.47Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2991.1Ssekiyapseudo-device	vlan			# IEEE 802.1q encapsulation
3001.1Ssekiyapseudo-device	bridge			# simple inter-network bridging
3011.66Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3021.73Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3031.75Stsutsuipseudo-device   accf_data		# "dataready" accept filter
3041.75Stsutsuipseudo-device   accf_http		# "httpready" accept filter
3051.1Ssekiya
3061.1Ssekiya# miscellaneous pseudo-devices
3071.1Ssekiyapseudo-device	pty			# pseudo-terminals
3081.97Schristospseudo-device	sequencer		# MIDI sequencer
3091.1Ssekiyapseudo-device	clockctl		# user control of clock subsystem
3101.115Sisakipseudo-device	drvctl			# user control of drive subsystem
3111.1Ssekiyapseudo-device	ksyms			# /dev/ksyms
3121.4Slonewolfpseudo-device	wsmux                   # mouse & keyboard multiplexor
3131.4Slonewolfpseudo-device	wsfont
3141.81Spookapseudo-device	putter			# for puffs and pud
3151.1Ssekiya
3161.1Ssekiya# a pseudo device needed for Coda	# also needs CODA (above)
3171.96Schristospseudo-device	vcoda			# coda minicache <-> venus comm.
3181.1Ssekiya
3191.116Ssevaninclude "dev/veriexec.config"
320