MIMORI revision 1.28
11.28Smanu#	$NetBSD: MIMORI,v 1.28 2004/09/04 23:29:46 manu 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.1Ssodainclude		"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.1Ssoda#options 	SHMMAXPGS=1024	# 1024 pages is the default
271.1Ssoda
281.1Ssodaoptions 	LKM		# loadable kernel modules
291.11Sjdolecek
301.19Slukemoptions 	USERCONF	# userconf(4) support
311.11Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
321.27Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
331.1Ssoda
341.1Ssoda# Diagnostic/debugging support options
351.9Slukemoptions 	DIAGNOSTIC		# cheap kernel consistency checks
361.9Slukem#options 	DEBUG			# expensive debugging checks/support
371.9Slukem#options 	KMEMSTATS		# kernel memory statistics (vmstat -m)
381.9Slukemoptions 	DDB			# in-kernel debugger
391.1Ssoda#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
401.9Slukem#options 	KGDB			# remote gdb
411.9Slukem#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
421.9Slukem#options 	KGDB_DEV="17*256+0"	# device for kernel gdb
431.9Slukem#makeoptions	DEBUG="-g"		# compile full symbol table
441.1Ssoda
451.1Ssoda# Compatibility options
461.6Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
471.1Ssodaoptions 	COMPAT_10	# NetBSD 1.0,
481.1Ssodaoptions 	COMPAT_11	# NetBSD 1.1,
491.1Ssodaoptions 	COMPAT_12	# NetBSD 1.2,
501.1Ssodaoptions 	COMPAT_13	# NetBSD 1.3,
511.1Ssodaoptions 	COMPAT_14	# NetBSD 1.4,
521.21Stsutsuioptions 	COMPAT_16	# NetBSD 1.6,
531.1Ssodaoptions 	COMPAT_43	# and 4.3BSD
541.1Ssodaoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
551.1Ssoda
561.1Ssoda# mipsel specific
571.1Ssoda#options 	COMPAT_ULTRIX	# Ultrix binary compatibility
581.1Ssoda#options 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
591.1Ssoda
601.1Ssoda# File systems
611.1Ssodafile-system 	FFS		# fast filesystem
621.1Ssoda#file-system 	EXT2FS		# second extended file system (linux)
631.1Ssoda#file-system 	LFS		# log-structured file system
641.1Ssodafile-system 	MFS		# memory file system
651.1Ssodafile-system 	NTFS		# Windows/NT file system (experimental)
661.1Ssodafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
671.1Ssodafile-system 	MSDOSFS		# MS-DOS file system
681.1Ssodafile-system 	NFS		# Network File System client
691.1Ssodafile-system 	FDESC		# /dev/fd
701.1Ssodafile-system 	KERNFS		# /kern
711.1Ssodafile-system 	NULLFS		# loopback file system
721.1Ssoda#file-system 	OVERLAY		# overlay file system
731.1Ssoda#file-system 	PORTAL		# portal filesystem (still experimental)
741.1Ssodafile-system 	PROCFS		# /proc
751.1Ssoda#file-system 	UMAPFS		# NULLFS + uid and gid remapping
761.1Ssoda#file-system 	UNION		# union file system
771.1Ssoda#file-system	CODA		# Coda File System; also needs vcoda (below)
781.1Ssoda
791.1Ssoda# File system options
801.1Ssoda#options 	QUOTA		# FFS quotas
811.1Ssoda#options 	FFS_EI		# FFS Endian Independent support
821.1Ssodaoptions 	SOFTDEP		# FFS soft updates support.
831.1Ssodaoptions 	NFSSERVER	# Network File System server
841.1Ssoda#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
851.1Ssoda				# immutable) behave as system flags.
861.5Ssoda
871.1Ssoda# Networking options
881.1Ssoda#options 	GATEWAY		# IP packet forwarding
891.1Ssodaoptions 	INET		# IP + ICMP + TCP + UDP
901.1Ssodaoptions 	INET6		# IPV6
911.2Suroptions 	IPSEC		# IP security
921.2Suroptions 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
931.1Ssoda#options 	IPSEC_DEBUG	# debug for IP security
941.1Ssoda#options 	MROUTING	# IP multicast routing
951.28Smanu#options 	PIM		# Protocol Independent Multicast
961.1Ssoda#options 	NS		# XNS
971.1Ssoda#options 	NSIP		# XNS tunneling over IP
981.1Ssoda#options 	ISO,TPIP	# OSI networking
991.1Ssoda#options 	EON		# OSI tunneling over IP
1001.1Ssoda#options 	CCITT,LLC,HDLC	# X.25
1011.1Ssoda#options 	NETATALK	# AppleTalk networking protocols
1021.1Ssodaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1031.1Ssodaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1041.1Ssodaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1051.1Ssodaoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1061.1Ssodaoptions 	IPFILTER_LOG	# ipmon(8) log support
1071.6Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1081.1Ssoda
1091.1Ssoda# These options enable verbose messages for several subsystems.
1101.1Ssoda# Warning, these may compile large string tables into the kernel!
1111.1Ssodaoptions 	EISAVERBOSE	# verbose EISA device autoconfig messages
1121.1Ssodaoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1131.1Ssoda#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1141.1Ssodaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1151.2Sur
1161.2Sur# wscons terminal emulation
1171.2Suroptions 	WSEMUL_VT100	# VT100 emulation
1181.1Ssoda
1191.1Ssoda# Kernel root file system and dump configuration.
1201.1Ssodaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1211.1Ssodaconfig		netbsd	root on ? type ?
1221.1Ssoda#config		netbsd	root on sd0a type ffs
1231.1Ssoda#config		netbsd	root on ? type nfs
1241.1Ssoda
1251.1Ssoda#
1261.1Ssoda# Device configuration
1271.1Ssoda#
1281.1Ssoda
1291.1Ssodamainbus0	at root
1301.1Ssodacpu*		at mainbus0
1311.1Ssoda
1321.4Sur#### Jazz-Internal bus devices
1331.1Ssoda
1341.5Ssoda# PLATFORM_ACER_PICA_61
1351.5Ssoda# PLATFORM_MICROSOFT_JAZZ
1361.5Ssoda# PLATFORM_NEC_JC94
1371.5Ssoda# PLATFORM_NEC_R94
1381.5Ssoda# PLATFORM_NEC_R96
1391.5Ssoda# PLATFORM_NEC_RAX94
1401.5Ssoda# PLATFORM_NEC_RD94
1411.5Ssodajazzio*		at mainbus0	# Jazz-Internal bus host bridge.
1421.5Ssoda
1431.5Ssodatimer0		at jazzio?
1441.5Ssodamcclock0 	at jazzio?
1451.4Sur#pc0		at jazzio?
1461.4Sur#opms0		at jazzio?
1471.4Sur#vga0		at jazzio?	# Jazz localbus VGA
1481.4Surpckbc0		at jazzio?	# PC keyboard controller
1491.4Surcom0		at jazzio?
1501.4Surcom1		at jazzio?
1511.4Surlpt0		at jazzio?
1521.4Sursn0		at jazzio?
1531.1Ssoda
1541.4Surfdc0		at jazzio?
1551.1Ssodafd*		at fdc? drive ?
1561.1Ssoda
1571.20Stsutsuioosiop* 	at jazzio?			# NCR53C700 SCSI
1581.1Ssoda
1591.1Ssoda#### PCI bus devices
1601.1Ssoda
1611.5Ssoda# PLATFORM_NEC_JC94
1621.5Ssoda# PLATFORM_NEC_RAX94
1631.5Ssoda# PLATFORM_NEC_RD94
1641.1Ssodanecpb*		at mainbus0	# NEC RISCstation PCI host bridge.
1651.1Ssodapci*		at necpb?
1661.1Ssoda
1671.1Ssoda#pcivga* 	at pci? dev ? function ?
1681.5Ssodatga*		at pci? dev ? function ?	# DEC ZLXp-E[123] Graphics
1691.5Ssoda
1701.5Ssodaahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
1711.5Ssoda#siop*		at pci? dev ? function ?	# NCR/Symbios 53c8xx SCSI
1721.1Ssoda
1731.1Ssoda# PCI IDE controllers - see pciide(4) for supported hardware.
1741.1Ssoda# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
1751.1Ssoda# how to set up DMA modes for this chip. This may work, or may cause
1761.1Ssoda# a machine hang with some controllers.
1771.23Sbouyerpciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
1781.23Sbouyeracardide*	at pci? dev ? function ?	# Acard IDE controllers
1791.24Stsutsui#aceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
1801.26Sthorpejartsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
1811.23Sbouyercmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
1821.23Sbouyercypide* 	at pci? dev ? function ?	# Cypress IDE controllers
1831.23Sbouyerhptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
1841.23Sbouyeroptiide* 	at pci? dev ? function ?	# Opti IDE controllers
1851.24Stsutsui#piixide* 	at pci? dev ? function ?	# Intel IDE controllers
1861.23Sbouyerpdcide* 	at pci? dev ? function ?	# Promise IDE controllers
1871.25Sthorpejsatalink*	at pci? dev ? function ?	# SiI SATALink controllers
1881.24Stsutsui#siside* 	at pci? dev ? function ?	# SiS IDE controllers
1891.23Sbouyerslide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
1901.24Stsutsui#viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
1911.24Stsutsui
1921.24Stsutsuiex*		at pci? dev ? function ?	# 3Com 90x[BC]
1931.24Stsutsuifxp*		at pci? dev ? function ?	# Intel EtherExpress PRO
1941.24Stsutsuile*		at pci? dev ? function ?	# PCnet-PCI
1951.24Stsutsuine*		at pci? dev ? function ?	# NE2000-compatible
1961.24Stsutsuitlp*		at pci? dev ? function ?	# DECchip 21x4x and clones
1971.1Ssoda
1981.1Ssoda#### MII/PHY support
1991.1Ssoda
2001.1Ssodaexphy*		at mii? phy ?		# 3Com internal PHYs
2011.12Swizicsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
2021.1Ssodainphy*		at mii? phy ?		# Intel 82555 PHYs
2031.1Ssodaiophy*		at mii? phy ?		# Intel 82553 PHYs
2041.1Ssodalxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
2051.1Ssodansphy*		at mii? phy ?		# NS83840 PHYs
2061.1Ssodansphyter*	at mii? phy ?		# NS83843 PHYs
2071.1Ssodaqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
2081.1Ssodasqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
2091.1Ssodatlphy*		at mii? phy ?		# ThunderLAN PHYs
2101.1Ssodatqphy*		at mii? phy ?		# TDK Semiconductor PHYs
2111.1Ssodaukphy*		at mii? phy ?		# generic unknown PHYs
2121.1Ssoda
2131.24Stsutsui# SCSI bus supoort
2141.24Stsutsuiscsibus*	at scsi?
2151.24Stsutsui
2161.1Ssoda#### SCSI bus devices
2171.1Ssoda
2181.1Ssodasd*		at scsibus? target ? lun ?
2191.1Ssodast*		at scsibus? target ? lun ?
2201.1Ssodacd*		at scsibus? target ? lun ?
2211.1Ssodach*		at scsibus? target ? lun ?
2221.1Ssodass*		at scsibus? target ? lun ?
2231.1Ssodauk*		at scsibus? target ? lun ?
2241.24Stsutsui
2251.24Stsutsui# ATA (IDE) bus support
2261.24Stsutsuiatabus* 	at ata?
2271.24Stsutsui
2281.24Stsutsui# IDE drives
2291.24Stsutsuiwd*		at atabus? drive ? flags 0x0000
2301.24Stsutsui
2311.24Stsutsui# ATAPI bus support
2321.24Stsutsuiatapibus*	at atapi?
2331.1Ssoda
2341.1Ssoda#### ATAPI bus devices
2351.1Ssoda
2361.1Ssoda# flags have the same meaning as for IDE drives.
2371.1Ssodacd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2381.1Ssodasd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2391.1Ssodauk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
2401.1Ssoda
2411.1Ssoda#### Workstation Console attachments
2421.1Ssoda
2431.1Ssoda#wsdisplay*	at vga?
2441.1Ssodawsdisplay*	at tga?
2451.1Ssodapckbd*		at pckbc?	# PC keyboard (kbd port)
2461.1Ssodawskbd*		at pckbd?
2471.1Ssodapms*		at pckbc?	# PS/2-style mouse (aux port)
2481.1Ssodawsmouse*	at pms?
2491.1Ssoda
2501.1Ssoda#### Pseudo devices
2511.1Ssoda
2521.1Ssoda# disk/mass storage pseudo-devices
2531.1Ssodapseudo-device	ccd		4	# concatenated/striped disk devices
2541.1Ssoda#pseudo-device	raid		4	# RAIDframe disk driver
2551.1Ssodapseudo-device	md		1	# memory disk device (ramdisk)
2561.1Ssodapseudo-device	vnd		4	# disk-like interface to files
2571.1Ssoda
2581.1Ssoda# network pseudo-devices
2591.1Ssodapseudo-device	bpfilter	8	# Berkeley packet filter
2601.1Ssodapseudo-device	ipfilter		# IP filter (firewall) and NAT
2611.1Ssodapseudo-device	loop		1	# network loopback
2621.1Ssodapseudo-device	ppp		2	# Point-to-Point Protocol
2631.1Ssodapseudo-device	sl		2	# Serial Line IP
2641.1Ssoda#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
2651.1Ssodapseudo-device	tun		2	# network tunneling over tty
2661.1Ssodapseudo-device	gre		2	# generic L3 over IP tunnel
2671.1Ssodapseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2681.1Ssoda#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2691.1Ssoda#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2701.5Ssoda#pseudo-device	vlan			# IEEE 802.1q encapsulation
2711.1Ssoda
2721.1Ssoda# miscellaneous pseudo-devices
2731.3Sjdolecekpseudo-device	pty			# pseudo-terminals
2741.1Ssodapseudo-device	tb		1	# tablet line discipline
2751.1Ssoda#pseudo-device	sequencer	1	# MIDI sequencer
2761.1Ssoda# rnd works; RND_COM does not on port arc yet.
2771.1Ssodapseudo-device	rnd			# /dev/random and in-kernel generator
2781.1Ssoda#options 	RND_COM			# use "com" randomness as well (BROKEN)
2791.18Slukempseudo-device	clockctl		# user control of clock subsystem
2801.1Ssoda
2811.1Ssoda# a pseudo device needed for Coda	# also needs CODA (above)
2821.1Ssoda#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
2831.1Ssoda
2841.1Ssoda# mouse & keyboard multiplexor pseudo-devices
2851.8Saugustss#pseudo-device	wsmux
286