MALTA revision 1.10
11.10Slukem#	$NetBSD: MALTA,v 1.10 2002/06/17 05:14:09 lukem Exp $
21.1Ssimonb
31.3Ssimonb#include 	"arch/evbmips/conf/std.malta.eb"	# big-endian mode
41.3Ssimonbinclude 	"arch/evbmips/conf/std.malta.el"	# little-endian mode
51.1Ssimonb
61.9Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
71.9Satatat
81.10Slukem#ident 		"GENERIC-$Revision: 1.10 $"
91.1Ssimonb
101.1Ssimonbmaxusers	32
111.1Ssimonb
121.1Ssimonboptions 	MIPS32
131.5Ssimonboptions 	MIPS64
141.1Ssimonboptions 	NOFPU		# No FPU
151.1Ssimonboptions 	SOFTFLOAT	# emulate FPU insn
161.1Ssimonb
171.1Ssimonb# Options for necessary to use MD
181.1Ssimonb# options 	MEMORY_DISK_HOOKS
191.1Ssimonb# options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
201.1Ssimonb# options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
211.4Slukem# options 	MEMORY_DISK_ROOT_SIZE=6144	# size of memory disk, in blocks
221.4Slukem#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
231.1Ssimonb
241.1Ssimonb# Standard system options
251.1Ssimonboptions 	KTRACE		# system call tracing support
261.1Ssimonboptions 	SYSVMSG		# System V message queues
271.1Ssimonboptions 	SYSVSEM		# System V semaphores
281.1Ssimonboptions 	SYSVSHM		# System V shared memory
291.1Ssimonb#options 	SHMMAXPGS=1024	# 1024 pages is the default
301.1Ssimonb#options 	LKM		# loadable kernel modules
311.1Ssimonboptions 	NTP		# network time protocol
321.1Ssimonb#options 	UCONSOLE	# users can redirect console (unsafe)
331.1Ssimonb
341.1Ssimonb# Debugging options
351.1Ssimonboptions 	DIAGNOSTIC	# extra kernel sanity checking
361.1Ssimonboptions 	DEBUG		# extra kernel debugging support
371.1Ssimonb#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
381.6Sgmcgarry#options 	USERCONF	# userconf(4) support
391.1Ssimonboptions 	DDB		# kernel dynamic debugger
401.1Ssimonboptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
411.1Ssimonbmakeoptions 	DEBUG="-g"	# compile full symbol table
421.1Ssimonboptions 	SYMTAB_SPACE=140000	# size for embedded symbol table
431.1Ssimonb
441.1Ssimonb# Compatibility options
451.1Ssimonb#options 	COMPAT_43	# compatibility with 4.3BSD binaries
461.1Ssimonb#options 	COMPAT_10	# NetBSD 0.9 binary compatibility
471.1Ssimonb#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
481.1Ssimonb#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
491.1Ssimonb#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
501.1Ssimonb#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
511.1Ssimonb#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
521.1Ssimonb#options 	EXEC_ECOFF	# exec ECOFF binaries
531.1Ssimonb#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
541.1Ssimonb
551.1Ssimonb# File systems
561.1Ssimonbfile-system	FFS		# Berkeley Fast Filesystem
571.1Ssimonbfile-system	MFS		# memory-based filesystem
581.1Ssimonb#file-system 	EXT2FS		# second extended file system (linux)
591.1Ssimonbfile-system	NFS		# Sun NFS-compatible filesystem client
601.1Ssimonb#file-system	KERNFS		# kernel data-structure filesystem
611.1Ssimonb#file-system	NULLFS		# NULL layered filesystem
621.1Ssimonb#file-system 	OVERLAY		# overlay file system
631.1Ssimonb#file-system	FDESC		# user file descriptor filesystem
641.1Ssimonb#file-system	UMAPFS		# uid/gid remapping filesystem
651.1Ssimonb#file-system	LFS		# Log-based filesystem (still experimental)
661.1Ssimonb#file-system	PORTAL		# portal filesystem (still experimental)
671.1Ssimonb#file-system	PROCFS		# /proc
681.1Ssimonb#file-system	CD9660		# ISO 9660 + Rock Ridge file system
691.1Ssimonb#file-system	UNION		# union file system
701.1Ssimonb#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
711.1Ssimonb#file-system 	CODA		# Coda File System; also needs vcoda (below)
721.1Ssimonb
731.1Ssimonb# File system options
741.1Ssimonb#options 	NFSSERVER	# Sun NFS-compatible filesystem server
751.1Ssimonb#options 	QUOTA		# FFS quotas
761.1Ssimonb#options 	FFS_EI		# FFS Endian Independant support
771.1Ssimonb#options 	SOFTDEP		# FFS soft updates support.
781.1Ssimonb#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
791.1Ssimonb				# immutable) behave as system flags.
801.1Ssimonb
811.1Ssimonb# Networking options
821.1Ssimonb#options 	GATEWAY		# IP packet forwarding
831.1Ssimonboptions 	INET		# Internet protocols
841.1Ssimonb#options 	INET6		# IPV6
851.1Ssimonb#options 	IPSEC		# IP security
861.1Ssimonb#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
871.1Ssimonb#options 	IPSEC_DEBUG	# debug for IP security
881.1Ssimonb#options 	MROUTING	# packet forwarding of multicast packets
891.1Ssimonb#options 	NS		# Xerox NS networking
901.1Ssimonb#options 	NSIP		# Xerox NS tunneling over IP
911.1Ssimonb#options 	ISO,TPIP	# OSI networking
921.1Ssimonb#options 	EON		# OSI tunneling over IP
931.1Ssimonb#options 	CCITT,LLC,HDLC	# X.25
941.1Ssimonb#options 	NETATALK	# AppleTalk (over Ethernet) protocol
951.1Ssimonb#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
961.1Ssimonb#options 	PPP_DEFLATE	# Deflate compression support for PPP
971.1Ssimonb#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
981.1Ssimonb#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
991.1Ssimonb#options 	IPFILTER_LOG	# ipmon(8) log support
1001.1Ssimonb
1011.1Ssimonb# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1021.1Ssimonb#options 	TCP_COMPAT_42
1031.1Ssimonb
1041.1Ssimonb# These options enable verbose messages for several subsystems.
1051.1Ssimonb# Warning, these may compile large string tables into the kernel!
1061.1Ssimonb#options 	PCI_NETBSD_CONFIGURE	# NetBSD configures the PCI bus
1071.1Ssimonboptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1081.1Ssimonb#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1091.1Ssimonb#options 	SCSIVERBOSE	# human readable SCSI error messages
1101.1Ssimonboptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1111.1Ssimonb
1121.1Ssimonb# Bitmask for enabling the PCI IDE channels in the southbridge.
1131.1Ssimonb# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
1141.1Ssimonb#
1151.1Ssimonb# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
1161.1Ssimonb# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
1171.1Ssimonboptions 	PCI_NETBSD_ENABLE_IDE=0x1
1181.1Ssimonb
1191.1Ssimonboptions 	NFS_BOOT_DHCP
1201.1Ssimonb
1211.1Ssimonbconfig		netbsd	root on ? type ?
1221.1Ssimonb
1231.1Ssimonb
1241.1Ssimonbmainbus0 	at root
1251.1Ssimonbcpu0 		at mainbus?
1261.1Ssimonbgt0		at mainbus?
1271.1Ssimonb
1281.1Ssimonb#com2		at mainbus?	# CBUS UART (ugh, 64 bit register spacing)
1291.1Ssimonb
1301.1Ssimonbpci*		at gt0
1311.1Ssimonbpchb*		at pci? dev ? function ?
1321.1Ssimonbpcib*		at pci? dev ? function ?
1331.1Ssimonb
1341.1Ssimonb# ISA bus support
1351.1Ssimonbisa*		at pcib?
1361.1Ssimonb
1371.1Ssimonb# ISA devices
1381.1Ssimonbmcclock*	at isa? port 0x70		# mc146818-compatible
1391.1Ssimonbcom0		at isa? port 0x3f8 irq 4	# standard serial ports
1401.1Ssimonbcom1		at isa? port 0x2f8 irq 3
1411.1Ssimonb#fdc0		at isa? port 0x3f0 irq 6 drq 2	# floppy controller
1421.1Ssimonb
1431.1Ssimonb# Floppy drives
1441.1Ssimonb#fd*		at fdc? drive ?
1451.1Ssimonb
1461.1Ssimonb# wscons
1471.1Ssimonb#vga*		at pci? dev ? function ?
1481.1Ssimonb#wsdisplay*	at vga? console ?
1491.1Ssimonb#pckbc*		at isa?				# PC keyboard controller
1501.1Ssimonb#pckbd*		at pckbc?			# PC keyboard (kbd port)
1511.1Ssimonb#pms*		at pckbc?			# PS/2-style mouse (aux port)
1521.1Ssimonb#wskbd*		at pckbd?
1531.1Ssimonb#wsmouse*	at pms?
1541.1Ssimonb
1551.1Ssimonb# PCI SCSI controllers
1561.1Ssimonb#adv*		at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA]
1571.1Ssimonb#adw*		at pci? dev ? function ?	# AdvanSys 9xxUW SCSI
1581.1Ssimonb#ahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
1591.1Ssimonb#bha*		at pci? dev ? function ?	# BusLogic 9xx SCSI
1601.1Ssimonb#dpt*		at pci? dev ? function ?	# DPT SmartCache/SmartRAID
1611.1Ssimonb#isp*		at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FC
1621.1Ssimonb#siop*		at pci? dev ? function ?	# NCR 53c8xx SCSI
1631.1Ssimonb#pcscp*		at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
1641.1Ssimonb
1651.1Ssimonb# SCSI bus support
1661.1Ssimonb#scsibus* 	at adv?
1671.1Ssimonb#scsibus* 	at adw?
1681.1Ssimonb#scsibus* 	at ahc?
1691.1Ssimonb#scsibus* 	at bha?
1701.1Ssimonb#scsibus* 	at dpt?
1711.1Ssimonb#scsibus* 	at isp?
1721.1Ssimonb#scsibus* 	at siop?
1731.1Ssimonb#scsibus* 	at pcscp?
1741.1Ssimonb
1751.1Ssimonb# SCSI devices
1761.1Ssimonb#sd*		at scsibus? target ? lun ?	# SCSI disk drives
1771.1Ssimonb#st*		at scsibus? target ? lun ?	# SCSI tape drives
1781.1Ssimonb#cd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
1791.1Ssimonb#ch*		at scsibus? target ? lun ?	# SCSI autochangers
1801.1Ssimonb#ss*		at scsibus? target ? lun ?	# SCSI scanners
1811.1Ssimonb#uk*		at scsibus? target ? lun ?	# SCSI unknown
1821.1Ssimonb
1831.1Ssimonb# IDE and related devices
1841.1Ssimonb# PCI IDE controllers - see pciide(4) for supported hardware.
1851.1Ssimonb# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
1861.1Ssimonb# how to set up DMA modes for this chip. This may work, or may cause
1871.1Ssimonb# a machine hang with some controllers.
1881.1Ssimonbpciide* 	at pci? dev ? function ? flags 0x0000
1891.1Ssimonboptions 	PCIIDE_RESTRICTED_SUPPORT # don't enable all pciide support
1901.1Ssimonboptions 	PCIIDE_PIIX_ENABLE	  # enable PIIX support
1911.1Ssimonb
1921.1Ssimonb# IDE drives
1931.1Ssimonb# Flags are used only with controllers that support DMA operations
1941.1Ssimonb# and mode settings (e.g. some pciide controllers)
1951.1Ssimonb# The lowest order four bits (rightmost digit) of the flags define the PIO
1961.1Ssimonb# mode to use, the next set of four bits the DMA mode and the third set the
1971.1Ssimonb# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1981.1Ssimonb# to use, and the last bit must be 1 for this setting to be used.
1991.1Ssimonb# For DMA and UDMA, 0xf (1111) means 'disable'.
2001.1Ssimonb# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
2011.1Ssimonb# (0xc=1100, 0xa=1010, 0xf=1111)
2021.1Ssimonb# 0x0000 means "use whatever the drive claims to support".
2031.1Ssimonbwd* 		at pciide? channel ? drive ? flags 0x0000
2041.1Ssimonb
2051.1Ssimonb# PCI network interfaces
2061.1Ssimonb#en*		at pci? dev ? function ?	# ENI/Adaptec ATM
2071.1Ssimonb#ep*		at pci? dev ? function ?	# 3Com 3c59x
2081.1Ssimonb#ex*		at pci? dev ? function ?	# 3Com 90x[B]
2091.1Ssimonb#epic*		at pci? dev ? function ?	# SMC EPIC/100 Ethernet
2101.1Ssimonb#esh*		at pci? dev ? function ?	# Essential HIPPI card
2111.1Ssimonb#fpa*		at pci? dev ? function ?	# DEC DEFPA FDDI
2121.1Ssimonb#fxp*		at pci? dev ? function ?	# Intel EtherExpress PRO10+/100B
2131.1Ssimonb#le*		at pci? dev ? function ?	# PCnet-PCI Ethernet
2141.1Ssimonbpcn*		at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
2151.1Ssimonboptions 	PCN_EVENT_COUNTERS
2161.1Ssimonb#ne*		at pci? dev ? function ?	# NE2000-compatible Ethernet
2171.1Ssimonb#ntwoc*		at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
2181.1Ssimonbsip*		at pci? dev ? function ?	# SiS 900 Ethernet
2191.1Ssimonboptions 	SIP_EVENT_COUNTERS
2201.1Ssimonb#tl*		at pci? dev ? function ?	# ThunderLAN-based Ethernet
2211.8Smycroft#tlp*		at pci? dev ? function ?	# DECchip 21x4x and clones
2221.1Ssimonb#vr*		at pci? dev ? function ?	# VIA Rhine Fast Ethernet
2231.1Ssimonb#lmc*		at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
2241.1Ssimonb#rtk*		at pci? dev ? function ?	# Realtek 8129/8139
2251.1Ssimonb
2261.1Ssimonb# MII/PHY support
2271.1Ssimonb#acphy*		at mii? phy ?		# DAltima AC101 and AMD Am79c874 PHYs
2281.1Ssimonb#amhphy* 	at mii? phy ?		# AMD 79c901 Ethernet PHYs
2291.1Ssimonb#bmtphy* 	at mii? phy ?		# Broadcom BCM5201 and BCM5202 PHYs
2301.1Ssimonb#brgphy* 	at mii? phy ?		# Broadcom BCM5400-family PHYs
2311.1Ssimonb#dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
2321.1Ssimonb#exphy*		at mii? phy ?		# 3Com internal PHYs
2331.1Ssimonb#glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
2341.1Ssimonb#gphyter*	at mii? phy ?		# NS83861 Gig-E PHY
2351.1Ssimonb#icsphy* 	at mii? phy ?		# Integrated Circuit Systems ICS1890
2361.1Ssimonb#inphy*		at mii? phy ?		# Intel 82555 PHYs
2371.1Ssimonb#iophy*		at mii? phy ?		# Intel 82553 PHYs
2381.1Ssimonb#lxtphy* 	at mii? phy ?		# Level One LXT-970 PHYs
2391.1Ssimonb#makphy* 	at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
2401.1Ssimonb#nsphy*		at mii? phy ?		# NS83840 PHYs
2411.1Ssimonbnsphyter*	at mii? phy ?		# NS83843 PHYs
2421.1Ssimonb#pnaphy* 	at mii? phy ?		# generic HomePNA PHYs
2431.1Ssimonb#qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
2441.1Ssimonb#sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
2451.1Ssimonb#tlphy*		at mii? phy ?		# ThunderLAN PHYs
2461.1Ssimonb#tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
2471.1Ssimonbukphy*		at mii? phy ?		# generic unknown PHYs
2481.1Ssimonb
2491.1Ssimonb
2501.1Ssimonb# USB
2511.1Ssimonbohci*		at pci? dev ? function ?	# USB Open Host Controller
2521.1Ssimonbuhci*		at pci? dev ? function ?	# USB Univ. Host Controller
2531.1Ssimonb
2541.1Ssimonb# USB bus support
2551.1Ssimonbusb*		at uhci?
2561.1Ssimonbusb*		at ohci?
2571.1Ssimonb
2581.1Ssimonb# USB Hubs
2591.1Ssimonbuhub*		at usb?
2601.1Ssimonbuhub*		at uhub? port ? configuration ? interface ?
2611.1Ssimonb
2621.1Ssimonb# ....
2631.1Ssimonb
2641.1Ssimonb# USB Generic driver
2651.1Ssimonbugen*		at uhub? port ?
2661.1Ssimonb
2671.1Ssimonb# Audio Devices
2681.1Ssimonb
2691.1Ssimonb# PCI audio devices
2701.1Ssimonbclct*		at pci? dev ? function ?	# Cirrus Logic CS4281
2711.1Ssimonb
2721.1Ssimonb# Audio support
2731.1Ssimonbaudio*		at clct?
2741.1Ssimonb
2751.1Ssimonb# Pseudo-devices
2761.1Ssimonb
2771.1Ssimonb# Disk/mass storage pseudo-devices
2781.1Ssimonb#pseudo-device	ccd		4		# concatenated disk devices
2791.1Ssimonb#pseudo-device	raid		4		# RAIDframe disk driver
2801.1Ssimonb#options 	RAID_AUTOCONFIG			# auto-configuration of RAID
2811.1Ssimonbpseudo-device	md		1		# memory disk device (ramdisk)
2821.1Ssimonb#pseudo-device	vnd		4		# disk-like interface to files
2831.1Ssimonb
2841.1Ssimonb# Network pseudo-devices
2851.1Ssimonbpseudo-device	bpfilter	8		# Berkeley packet filter
2861.1Ssimonb#pseudo-device	ipfilter			# IP filter (firewall) and NAT
2871.1Ssimonbpseudo-device	loop				# network loopback
2881.1Ssimonb#pseudo-device	ppp		2		# Point-to-Point Protocol
2891.1Ssimonb#pseudo-device	sl		2		# Serial Line IP
2901.1Ssimonb#pseudo-device	strip		2		# Starmode Radio IP (Metricom)
2911.1Ssimonb#pseudo-device	tun		2		# network tunneling over tty
2921.1Ssimonb#pseudo-device	gre		2		# generic L3 over IP tunnel
2931.1Ssimonb#pseudo-device	ipip		2		# RFC 2003 IP Encapsulation
2941.1Ssimonb#pseudo-device	gif		4		# RFC1933 tunnel
2951.1Ssimonb#pseudo-device	faith		1		# IPv[46] tcp relay translation
2961.1Ssimonb#pseudo-device	stf		1		# 6to4 IPv6 over IPv4 encapsulation
2971.1Ssimonbpseudo-device	vlan			# IEEE 802.1q encapsulation
2981.1Ssimonb
2991.1Ssimonb# Miscellaneous pseudo-devices
3001.1Ssimonbpseudo-device	pty				# pseudo-terminals
3011.1Ssimonb#pseudo-device	tb		1		# tablet line discipline
3021.1Ssimonb#pseudo-device	sequencer	1		# MIDI sequencer
3031.1Ssimonb# rnd works; RND_COM does not on port i386 yet.
3041.1Ssimonbpseudo-device	rnd				# /dev/random & kernel generator
3051.1Ssimonb#options 	RND_COM				# use "com" randomness (BROKEN)
3061.10Slukempseudo-device	clockctl		# user control of clock subsystem
3071.1Ssimonb
3081.1Ssimonb# A pseudo device needed for Coda		# also needs CODA (above)
3091.1Ssimonb#pseudo-device	vcoda		4		# coda minicache <-> venus comm.
310