11.125Schristos#	$NetBSD: GENERIC32_IP2x,v 1.125 2024/01/29 18:27:15 christos 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.125Schristos#ident		"GENERIC32-IP2x-$Revision: 1.125 $"
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.122Sandvar#options 	NTP		# NTP phase/frequency 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.1Ssekiya# File systems
811.117Ssevaninclude "conf/filesystems.config"
821.1Ssekiya
831.1Ssekiya# File system options
841.124Ssimonb#options 	FFS_EI		# FFS Endian Independent support
851.124Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
861.86Sbouyeroptions 	QUOTA		# legacy UFS quotas
871.86Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
881.124Ssimonboptions 	UFS_DIRHASH	# UFS Large Directory Hashing
891.124Ssimonboptions 	UFS_EXTATTR	# Extended attribute support for UFS1
901.89Sdhollandoptions 	WAPBL		# File system journaling support
911.124Ssimonboptions 	NFSSERVER	# Network File System server
921.1Ssekiya
931.1Ssekiya# Networking options
941.1Ssekiya#options 	GATEWAY		# packet forwarding
951.1Ssekiyaoptions 	INET		# IP + ICMP + TCP + UDP
961.1Ssekiyaoptions 	INET6		# IPV6
971.1Ssekiya#options 	IPSEC		# IP security
981.1Ssekiya#options 	IPSEC_DEBUG	# debug for IP security
991.1Ssekiya#options 	MROUTING	# IP multicast routing
1001.20Smanu#options 	PIM		# Protocol Independent Multicast
1011.1Ssekiyaoptions 	NETATALK	# AppleTalk networking protocols
1021.1Ssekiyaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1031.1Ssekiyaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1041.1Ssekiyaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1051.1Ssekiya#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1061.1Ssekiya
1071.12Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1081.12Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1091.12Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1101.12Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1111.12Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1121.12Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1131.12Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1141.12Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1151.12Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1161.12Sabs#options 	ALTQ_RED	# Random Early Detection
1171.12Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1181.12Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1191.12Sabs
1201.100Salnsn# JIT compiler for bpfilter
1211.100Salnsn#options	SLJIT
1221.100Salnsn#options	BPFJIT
1231.100Salnsn
1241.1Ssekiya# These options enable verbose messages for several subsystems.
1251.1Ssekiya# Warning, these may compile large string tables into the kernel!
1261.1Ssekiyaoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1271.1Ssekiyaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1281.1Ssekiya
1291.1Ssekiyaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1301.1Ssekiya
1311.1Ssekiya#options 	MEMORY_DISK_HOOKS
1321.1Ssekiya#options 	MEMORY_DISK_IS_ROOT
1331.1Ssekiya#options 	MEMORY_DISK_SERVER=0
1341.1Ssekiya#options 	MINIROOTSIZE=8192
1351.1Ssekiya
1361.1Ssekiya#options 	SCSI_DELAY=5
1371.1Ssekiya
1381.4Slonewolf#
1391.4Slonewolf# wscons options
1401.4Slonewolf#
1411.4Slonewolf# builtin terminal emulations
1421.4Slonewolf#options 	WSEMUL_SUN		# sun terminal emulation
1431.4Slonewolfoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1441.91Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1451.4Slonewolf# different kernel output - see dev/wscons/wsdisplayvar.h
1461.4Slonewolfoptions 	WS_KERNEL_FG=WSCOL_GREEN
1471.4Slonewolf#options 	WS_KERNEL_BG=WSCOL_BLACK
1481.4Slonewolf# compatibility to other console drivers
1491.4Slonewolfoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1501.49Sdrochner# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
1511.4Slonewolf#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1521.4Slonewolf
1531.4Slonewolf
1541.1Ssekiya# Kernel root file system and dump configuration.
1551.1Ssekiyaconfig		netbsd	root on ? type ?
1561.1Ssekiya
1571.1Ssekiya# Main bus and CPU
1581.1Ssekiyamainbus0 	at root
1591.1Ssekiyacpu0 		at mainbus?
1601.1Ssekiya
1611.1Ssekiyasd*     at scsibus? target ? lun ?	# SCSI disks
1621.1Ssekiyast*     at scsibus? target ? lun ?	# SCSI tapes
1631.1Ssekiyacd*     at scsibus? target ? lun ?	# SCSI CD-ROMs
1641.1Ssekiyach*     at scsibus? target ? lun ?	# SCSI changer devices
1651.1Ssekiyass*     at scsibus? target ? lun ?	# SCSI scanners
1661.1Ssekiyases*    at scsibus? target ? lun ?	# SCSI SES/SAF-TE devices
1671.1Ssekiyauk*     at scsibus? target ? lun ?	# unknown SCSI
1681.1Ssekiya
1691.24Ssekiya# Personal Iris / Indigo R3k
1701.24Ssekiyapic0		at mainbus0 addr 0x1fa00000
1711.24Ssekiyagio0		at pic0
1721.24Ssekiya
1731.1Ssekiya# Indy / Indigo^2
1741.1Ssekiyaimc0 		at mainbus0 addr 0x1fa00000
1751.1Ssekiyagio0 		at imc0
1761.1Ssekiyaeisa0 		at imc0
1771.79Srumble
1781.9Ssekiyaint0		at mainbus0		# Interrupt controller
1791.1Ssekiya
1801.79Srumble# Some clocks actually in HPC space, but not all
1811.79Srumbledpclock0	at mainbus0 addr 0x1fb80e00	# IP12 / IP20
1821.79Srumbledsclock0	at mainbus0 addr 0x1fbe0000	# IP22 / 24
1831.79Srumble
1841.1Ssekiyahpc0 		at gio? addr 0x1fb80000
1851.1Ssekiyahpc1 		at gio? addr 0x1fb00000
1861.1Ssekiyahpc2 		at gio? addr 0x1f980000
1871.1Ssekiya
1881.63Srumblenewport*	at gio?			# Newport (NG1) graphics
1891.4Slonewolfwsdisplay* 	at newport? console ?
1901.4Slonewolf
1911.63Srumblegrtwo*		at gio?			# Express (GR2) graphics
1921.16Ssekiyawsdisplay*	at grtwo? console ?
1931.14Ssekiya
1941.64Srumblelight*		at gio?			# Light/Starter/Entry (LG1/LG2) graphics
1951.64Srumblewsdisplay*	at light? console ?
1961.64Srumble
1971.56Srumble# PCI Fast Ethernet cards glued to the GIO bus
1981.56Srumblegiopci*		at gio? slot?
1991.56Srumblepci*		at giopci? bus?
2001.73Stsutsuioptions 	PCI_NETBSD_CONFIGURE
2011.56Srumble
2021.56Srumbletlp*		at pci? dev ? function ? # Phobos G100/130/160 Fast Ethernet
2031.56Srumblelxtphy*		at mii? phy ?		 # Level One LXT-970 PHYs 
2041.56Srumble
2051.61Srumbletl*		at pci? dev ? function ? # Set Engineering GIO Fast Ethernet
2061.61Srumblensphy*		at mii? phy ?		 # NS83840 PHYs
2071.61Srumbletlphy*		at mii? phy ?		 # ThunderLAN PHY (unused)
2081.56Srumble
2091.1Ssekiya# HPC devices
2101.60Srumblesq* 		at hpc? offset ?	# On-board ethernet / E++ adapter
2111.65Srumblewdsc* 		at hpc? offset ?	# On-board SCSI / GIO32 SCSI adapter
2121.58Srumblehaltwo*         at hpc0 offset ?	# IP22 / 24
2131.113Schristosbutton*		at hpc0 offset ?	# front panel buttons on Indy
2141.4Slonewolfpckbc*		at hpc0 offset ?
2151.4Slonewolf
2161.4Slonewolfpckbd*  	at pckbc?
2171.4Slonewolfpms* 		at pckbc?
2181.4Slonewolfwskbd* 		at pckbd? console ?
2191.17Ssekiyawskbd*		at zskbd? console ?
2201.4Slonewolfwsmouse* 	at pms? mux 0
2211.18Ssekiyawsmouse*	at zsms? mux 0
2221.5Ssekiya
2231.5Ssekiya# I/O Controller -- IP22/24
2241.5Ssekiyaioc0		at mainbus0 addr 0x1fbd9800
2251.1Ssekiya
2261.43Skurahone# IOC's parallel port
2271.43Skurahonepi1ppc0		at hpc0 offset ? 
2281.73Stsutsuioptions 	PI1PPC_INDY_ACK_HACK	# Indy hardware bug workaround.
2291.43Skurahoneppbus*		at pi1ppc?
2301.43Skurahonelpt*		at ppbus?		# Parallel printer
2311.43Skurahone
2321.1Ssekiya#
2331.1Ssekiya# As always, the zs chip is wired funny, so channel 1 is actually the
2341.1Ssekiya# first serial port and channel 0 is the second.
2351.1Ssekiya#
2361.7Ssekiyazsc0 		at hpc0 offset ?
2371.7Ssekiyazstty*		at zsc0 channel ?
2381.7Ssekiya
2391.7Ssekiyazsc1 		at hpc0 offset ?	# IP20 keyboard/mouse
2401.17Ssekiyazskbd0		at zsc1 channel 0
2411.17Ssekiyazsms0		at zsc1 channel 1
2421.1Ssekiya
2431.1Ssekiyascsibus*	at scsi?		# HPC SCSI
2441.58Srumbleaudio*  	at audiobus?
2451.1Ssekiya
2461.108Schristosspkr*		at audio?		# PC speaker (synthesized)
2471.106Snat
2481.1Ssekiya# Pseudo-Devices
2491.1Ssekiya
2501.1Ssekiya# disk/mass storage pseudo-devices
2511.95Schristospseudo-device	ccd			# concatenated/striped disk devices
2521.95Schristos#pseudo-device	cgd			# cryptographic disk devices
2531.96Schristos#pseudo-device	raid			# RAIDframe disk driver
2541.1Ssekiya#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2551.82Spookapseudo-device	fss			# file system snapshot device
2561.84Shannkenpseudo-device	md			# memory disk device (ramdisk)
2571.46Scubepseudo-device	vnd			# disk-like interface to files
2581.34Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2591.1Ssekiya
2601.1Ssekiya# network pseudo-devices
2611.45Srpaulopseudo-device	bpfilter		# Berkeley packet filter
2621.116Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
2631.114Smaxvpseudo-device	npf			# NPF packet filter
2641.1Ssekiyapseudo-device	loop			# network loopback
2651.46Scubepseudo-device	ppp			# Point-to-Point Protocol
2661.46Scubepseudo-device	sl			# Serial Line IP
2671.46Scubepseudo-device	tun			# network tunneling over tty
2681.26Scubepseudo-device	tap			# virtual Ethernet
2691.46Scubepseudo-device	gre			# generic L3 over IP tunnel
2701.46Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2711.46Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2721.47Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2731.1Ssekiyapseudo-device	vlan			# IEEE 802.1q encapsulation
2741.1Ssekiyapseudo-device	bridge			# simple inter-network bridging
2751.121Sroypseudo-device	vether			# Virtual Ethernet for bridge
2761.66Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
2771.75Stsutsuipseudo-device   accf_data		# "dataready" accept filter
2781.75Stsutsuipseudo-device   accf_http		# "httpready" accept filter
2791.1Ssekiya
2801.1Ssekiya# miscellaneous pseudo-devices
2811.1Ssekiyapseudo-device	pty			# pseudo-terminals
2821.123Smartin#pseudo-device	sequencer		# MIDI sequencer
2831.1Ssekiyapseudo-device	clockctl		# user control of clock subsystem
2841.115Sisakipseudo-device	drvctl			# user control of drive subsystem
2851.1Ssekiyapseudo-device	ksyms			# /dev/ksyms
2861.4Slonewolfpseudo-device	wsmux                   # mouse & keyboard multiplexor
2871.4Slonewolfpseudo-device	wsfont
2881.1Ssekiya
2891.116Ssevaninclude "dev/veriexec.config"
290