MIMORI revision 1.72
11.72Smrg#	$NetBSD: MIMORI,v 1.72 2017/09/14 07:58:39 mrg Exp $
21.10Slukem#	NetBSD: GENERIC,v 1.31 2000/06/09 05:33:02 soda Exp
31.1Ssoda#
41.2Sur#	MIMORI -- My NEC RISCstation 2250 (ur)
51.1Ssoda#
61.1Ssoda
71.72Smrginclude 	"arch/arc/conf/std.arc"
81.17Satatat
91.17Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
101.1Ssoda
111.1Ssodamaxusers	32		# estimated number of users
121.1Ssoda
131.5Ssoda# Platform support
141.5Ssodaoptions 	PLATFORM_NEC_RD94		# NEC RISCstation 2250
151.5Ssoda
161.1Ssoda# Standard system options
171.1Ssoda
181.1Ssodaoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
191.1Ssodaoptions 	NTP		# NTP phase/frequency locked loop
201.1Ssoda
211.1Ssodaoptions 	KTRACE		# system call tracing via ktrace(1)
221.1Ssoda
231.1Ssodaoptions 	SYSVMSG		# System V-like message queues
241.1Ssodaoptions 	SYSVSEM		# System V-like semaphores
251.1Ssodaoptions 	SYSVSHM		# System V-like memory sharing
261.11Sjdolecek
271.19Slukemoptions 	USERCONF	# userconf(4) support
281.41Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
291.27Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
301.1Ssoda
311.1Ssoda# Diagnostic/debugging support options
321.9Slukemoptions 	DIAGNOSTIC		# cheap kernel consistency checks
331.9Slukem#options 	DEBUG			# expensive debugging checks/support
341.9Slukemoptions 	DDB			# in-kernel debugger
351.70Suebayasipseudo-device	ksyms
361.1Ssoda#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
371.9Slukem#options 	KGDB			# remote gdb
381.9Slukem#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
391.9Slukem#options 	KGDB_DEV="17*256+0"	# device for kernel gdb
401.9Slukem#makeoptions	DEBUG="-g"		# compile full symbol table
411.1Ssoda
421.1Ssoda# Compatibility options
431.72Smrginclude 	"conf/compat_netbsd10.config"
441.1Ssodaoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
451.1Ssoda
461.1Ssoda# mipsel specific
471.1Ssoda#options 	COMPAT_ULTRIX	# Ultrix binary compatibility
481.1Ssoda#options 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
491.1Ssoda
501.1Ssoda# File systems
511.1Ssodafile-system 	FFS		# fast filesystem
521.1Ssoda#file-system 	EXT2FS		# second extended file system (linux)
531.1Ssoda#file-system 	LFS		# log-structured file system
541.1Ssodafile-system 	MFS		# memory file system
551.1Ssodafile-system 	NTFS		# Windows/NT file system (experimental)
561.1Ssodafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
571.1Ssodafile-system 	MSDOSFS		# MS-DOS file system
581.1Ssodafile-system 	NFS		# Network File System client
591.1Ssodafile-system 	FDESC		# /dev/fd
601.1Ssodafile-system 	KERNFS		# /kern
611.1Ssodafile-system 	NULLFS		# loopback file system
621.1Ssoda#file-system 	OVERLAY		# overlay file system
631.1Ssodafile-system 	PROCFS		# /proc
641.1Ssoda#file-system 	UMAPFS		# NULLFS + uid and gid remapping
651.1Ssoda#file-system 	UNION		# union file system
661.1Ssoda#file-system	CODA		# Coda File System; also needs vcoda (below)
671.40Schristosfile-system	PTYFS		# /dev/pts/N support
681.1Ssoda
691.1Ssoda# File system options
701.57Sbouyer#options 	QUOTA		# legacy UFS quotas
711.57Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
721.1Ssoda#options 	FFS_EI		# FFS Endian Independent support
731.1Ssodaoptions 	NFSSERVER	# Network File System server
741.1Ssoda#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
751.1Ssoda				# immutable) behave as system flags.
761.42Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
771.5Ssoda
781.1Ssoda# Networking options
791.1Ssoda#options 	GATEWAY		# IP packet forwarding
801.1Ssodaoptions 	INET		# IP + ICMP + TCP + UDP
811.1Ssodaoptions 	INET6		# IPV6
821.2Suroptions 	IPSEC		# IP security
831.1Ssoda#options 	IPSEC_DEBUG	# debug for IP security
841.1Ssoda#options 	MROUTING	# IP multicast routing
851.28Smanu#options 	PIM		# Protocol Independent Multicast
861.1Ssoda#options 	NETATALK	# AppleTalk networking protocols
871.1Ssodaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
881.1Ssodaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
891.1Ssodaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
901.1Ssodaoptions 	IPFILTER_LOG	# ipmon(8) log support
911.46Schristosoptions 	IPFILTER_LOOKUP	# ippool(8) support
921.55Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
931.55Smrg#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
941.6Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
951.1Ssoda
961.67Salnsn# JIT compiler for bpfilter
971.67Salnsn#options	SLJIT
981.67Salnsn#options	BPFJIT
991.67Salnsn
1001.1Ssoda# These options enable verbose messages for several subsystems.
1011.1Ssoda# Warning, these may compile large string tables into the kernel!
1021.1Ssodaoptions 	EISAVERBOSE	# verbose EISA device autoconfig messages
1031.1Ssodaoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1041.1Ssoda#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1051.1Ssodaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1061.2Sur
1071.2Sur# wscons terminal emulation
1081.2Suroptions 	WSEMUL_VT100	# VT100 emulation
1091.59Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1101.1Ssoda
1111.1Ssoda# Kernel root file system and dump configuration.
1121.1Ssodaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1131.1Ssodaconfig		netbsd	root on ? type ?
1141.1Ssoda#config		netbsd	root on sd0a type ffs
1151.1Ssoda#config		netbsd	root on ? type nfs
1161.1Ssoda
1171.1Ssoda#
1181.1Ssoda# Device configuration
1191.1Ssoda#
1201.1Ssoda
1211.1Ssodamainbus0	at root
1221.1Ssodacpu*		at mainbus0
1231.1Ssoda
1241.4Sur#### Jazz-Internal bus devices
1251.1Ssoda
1261.5Ssoda# PLATFORM_ACER_PICA_61
1271.5Ssoda# PLATFORM_MICROSOFT_JAZZ
1281.5Ssoda# PLATFORM_NEC_JC94
1291.5Ssoda# PLATFORM_NEC_R94
1301.5Ssoda# PLATFORM_NEC_R96
1311.5Ssoda# PLATFORM_NEC_RAX94
1321.5Ssoda# PLATFORM_NEC_RD94
1331.5Ssodajazzio*		at mainbus0	# Jazz-Internal bus host bridge.
1341.5Ssoda
1351.5Ssodatimer0		at jazzio?
1361.5Ssodamcclock0 	at jazzio?
1371.4Sur#pc0		at jazzio?
1381.4Sur#opms0		at jazzio?
1391.4Sur#vga0		at jazzio?	# Jazz localbus VGA
1401.4Surpckbc0		at jazzio?	# PC keyboard controller
1411.4Surcom0		at jazzio?
1421.4Surcom1		at jazzio?
1431.4Surlpt0		at jazzio?
1441.4Sursn0		at jazzio?
1451.1Ssoda
1461.4Surfdc0		at jazzio?
1471.1Ssodafd*		at fdc? drive ?
1481.1Ssoda
1491.20Stsutsuioosiop* 	at jazzio?			# NCR53C700 SCSI
1501.1Ssoda
1511.1Ssoda#### PCI bus devices
1521.1Ssoda
1531.5Ssoda# PLATFORM_NEC_JC94
1541.5Ssoda# PLATFORM_NEC_RAX94
1551.5Ssoda# PLATFORM_NEC_RD94
1561.1Ssodanecpb*		at mainbus0	# NEC RISCstation PCI host bridge.
1571.1Ssodapci*		at necpb?
1581.1Ssoda
1591.1Ssoda#pcivga* 	at pci? dev ? function ?
1601.5Ssodatga*		at pci? dev ? function ?	# DEC ZLXp-E[123] Graphics
1611.5Ssoda
1621.5Ssodaahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
1631.5Ssoda#siop*		at pci? dev ? function ?	# NCR/Symbios 53c8xx SCSI
1641.1Ssoda
1651.1Ssoda# PCI IDE controllers - see pciide(4) for supported hardware.
1661.1Ssoda# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
1671.1Ssoda# how to set up DMA modes for this chip. This may work, or may cause
1681.1Ssoda# a machine hang with some controllers.
1691.23Sbouyerpciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
1701.23Sbouyeracardide*	at pci? dev ? function ?	# Acard IDE controllers
1711.24Stsutsui#aceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
1721.26Sthorpejartsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
1731.23Sbouyercmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
1741.23Sbouyercypide* 	at pci? dev ? function ?	# Cypress IDE controllers
1751.23Sbouyerhptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
1761.23Sbouyeroptiide* 	at pci? dev ? function ?	# Opti IDE controllers
1771.23Sbouyerpdcide* 	at pci? dev ? function ?	# Promise IDE controllers
1781.30Sbouyerpdcsata* 	at pci? dev ? function ?	# Promise SATA150 controllers
1791.25Sthorpejsatalink*	at pci? dev ? function ?	# SiI SATALink controllers
1801.24Stsutsui#siside* 	at pci? dev ? function ?	# SiS IDE controllers
1811.23Sbouyerslide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
1821.24Stsutsui#viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
1831.24Stsutsui
1841.24Stsutsuiex*		at pci? dev ? function ?	# 3Com 90x[BC]
1851.24Stsutsuifxp*		at pci? dev ? function ?	# Intel EtherExpress PRO
1861.24Stsutsuile*		at pci? dev ? function ?	# PCnet-PCI
1871.24Stsutsuine*		at pci? dev ? function ?	# NE2000-compatible
1881.24Stsutsuitlp*		at pci? dev ? function ?	# DECchip 21x4x and clones
1891.1Ssoda
1901.1Ssoda#### MII/PHY support
1911.1Ssoda
1921.1Ssodaexphy*		at mii? phy ?		# 3Com internal PHYs
1931.12Swizicsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
1941.1Ssodainphy*		at mii? phy ?		# Intel 82555 PHYs
1951.1Ssodaiophy*		at mii? phy ?		# Intel 82553 PHYs
1961.1Ssodalxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
1971.1Ssodansphy*		at mii? phy ?		# NS83840 PHYs
1981.1Ssodansphyter*	at mii? phy ?		# NS83843 PHYs
1991.1Ssodaqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
2001.1Ssodasqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
2011.1Ssodatlphy*		at mii? phy ?		# ThunderLAN PHYs
2021.1Ssodatqphy*		at mii? phy ?		# TDK Semiconductor PHYs
2031.1Ssodaukphy*		at mii? phy ?		# generic unknown PHYs
2041.1Ssoda
2051.24Stsutsui# SCSI bus supoort
2061.24Stsutsuiscsibus*	at scsi?
2071.24Stsutsui
2081.1Ssoda#### SCSI bus devices
2091.1Ssoda
2101.1Ssodasd*		at scsibus? target ? lun ?
2111.1Ssodast*		at scsibus? target ? lun ?
2121.1Ssodacd*		at scsibus? target ? lun ?
2131.1Ssodach*		at scsibus? target ? lun ?
2141.1Ssodass*		at scsibus? target ? lun ?
2151.1Ssodauk*		at scsibus? target ? lun ?
2161.24Stsutsui
2171.24Stsutsui# ATA (IDE) bus support
2181.24Stsutsuiatabus* 	at ata?
2191.24Stsutsui
2201.24Stsutsui# IDE drives
2211.24Stsutsuiwd*		at atabus? drive ? flags 0x0000
2221.24Stsutsui
2231.24Stsutsui# ATAPI bus support
2241.24Stsutsuiatapibus*	at atapi?
2251.1Ssoda
2261.1Ssoda#### ATAPI bus devices
2271.1Ssoda
2281.1Ssoda# flags have the same meaning as for IDE drives.
2291.1Ssodacd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2301.1Ssodasd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2311.1Ssodauk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
2321.1Ssoda
2331.1Ssoda#### Workstation Console attachments
2341.1Ssoda
2351.1Ssoda#wsdisplay*	at vga?
2361.1Ssodawsdisplay*	at tga?
2371.1Ssodapckbd*		at pckbc?	# PC keyboard (kbd port)
2381.1Ssodawskbd*		at pckbd?
2391.1Ssodapms*		at pckbc?	# PS/2-style mouse (aux port)
2401.1Ssodawsmouse*	at pms?
2411.1Ssoda
2421.1Ssoda#### Pseudo devices
2431.1Ssoda
2441.1Ssoda# disk/mass storage pseudo-devices
2451.62Schristospseudo-device	ccd			# concatenated/striped disk devices
2461.63Schristos#pseudo-device	raid			# RAIDframe disk driver
2471.54Spooka#pseudo-device	fss			# file system snapshot device
2481.56Shannkenpseudo-device	md			# memory disk device (ramdisk)
2491.45Scubepseudo-device	vnd			# disk-like interface to files
2501.1Ssoda
2511.1Ssoda# network pseudo-devices
2521.44Srpaulopseudo-device	bpfilter		# Berkeley packet filter
2531.1Ssodapseudo-device	ipfilter		# IP filter (firewall) and NAT
2541.62Schristospseudo-device	loop			# network loopback
2551.45Scubepseudo-device	ppp			# Point-to-Point Protocol
2561.45Scubepseudo-device	sl			# Serial Line IP
2571.45Scube#pseudo-device	strip			# Starmode Radio IP (Metricom)
2581.45Scubepseudo-device	tun			# network tunneling over tty
2591.45Scubepseudo-device	gre			# generic L3 over IP tunnel
2601.45Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2611.45Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2621.45Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2631.5Ssoda#pseudo-device	vlan			# IEEE 802.1q encapsulation
2641.1Ssoda
2651.1Ssoda# miscellaneous pseudo-devices
2661.3Sjdolecekpseudo-device	pty			# pseudo-terminals
2671.64Schristos#pseudo-device	sequencer		# MIDI sequencer
2681.1Ssoda# rnd works; RND_COM does not on port arc yet.
2691.1Ssoda#options 	RND_COM			# use "com" randomness as well (BROKEN)
2701.18Slukempseudo-device	clockctl		# user control of clock subsystem
2711.1Ssoda
2721.1Ssoda# a pseudo device needed for Coda	# also needs CODA (above)
2731.63Schristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
2741.1Ssoda
2751.1Ssoda# mouse & keyboard multiplexor pseudo-devices
2761.8Saugustss#pseudo-device	wsmux
277