MALTA revision 1.106
11.106Schristos#	$NetBSD: MALTA,v 1.106 2024/01/29 18:27:11 christos Exp $
21.1Ssimonb
31.12Ssimonbinclude 	"arch/evbmips/conf/std.malta"
41.1Ssimonb
51.9Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
61.9Satatat
71.106Schristos#ident 		"MALTA-$Revision: 1.106 $"
81.1Ssimonb
91.1Ssimonbmaxusers	32
101.1Ssimonb
111.1Ssimonboptions 	MIPS32
121.5Ssimonboptions 	MIPS64
131.88Ssimonb
141.88Ssimonboptions 	NOFPU		# No FPU
151.88Ssimonboptions 	FPEMUL		# 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.1Ssimonboptions 	NTP		# network time protocol
301.1Ssimonb
311.1Ssimonb# Debugging options
321.1Ssimonboptions 	DIAGNOSTIC	# extra kernel sanity checking
331.87Smaya#options 	DEBUG		# extra kernel debugging support
341.54Smatt#options 	SYSCALL_DEBUG	# symbolic syscall names
351.11Slukemoptions 	USERCONF	# userconf(4) support
361.20Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
371.1Ssimonboptions 	DDB		# kernel dynamic debugger
381.1Ssimonboptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
391.1Ssimonbmakeoptions 	DEBUG="-g"	# compile full symbol table
401.80Sjoergmakeoptions	COPY_SYMTAB=1	# size for embedded symbol table
411.1Ssimonb
421.1Ssimonb# Compatibility options
431.89Smrg
441.89Smrginclude         "conf/compat_netbsd16.config"
451.89Smrg
461.1Ssimonb#options 	EXEC_ECOFF	# exec ECOFF binaries
471.1Ssimonb#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
481.89Smrg#options 	COMPAT_LINUX	# binary compatibility with Linux
491.103Snia#options 	COMPAT_OSSAUDIO	# binary compatibility with Linux
501.1Ssimonb
511.1Ssimonb# File systems
521.1Ssimonbfile-system	FFS		# Berkeley Fast Filesystem
531.1Ssimonbfile-system	MFS		# memory-based filesystem
541.1Ssimonb#file-system 	EXT2FS		# second extended file system (linux)
551.1Ssimonbfile-system	NFS		# Sun NFS-compatible filesystem client
561.1Ssimonb#file-system	KERNFS		# kernel data-structure filesystem
571.1Ssimonb#file-system	NULLFS		# NULL layered filesystem
581.1Ssimonb#file-system 	OVERLAY		# overlay file system
591.1Ssimonb#file-system	FDESC		# user file descriptor filesystem
601.1Ssimonb#file-system	UMAPFS		# uid/gid remapping filesystem
611.1Ssimonb#file-system	LFS		# Log-based filesystem (still experimental)
621.1Ssimonb#file-system	PROCFS		# /proc
631.1Ssimonb#file-system	CD9660		# ISO 9660 + Rock Ridge file system
641.54Smattfile-system	TMPFS		# Efficient memory file system
651.1Ssimonb#file-system	UNION		# union file system
661.1Ssimonb#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
671.1Ssimonb#file-system 	CODA		# Coda File System; also needs vcoda (below)
681.101Ssimonbfile-system	PTYFS		# /dev/pts/N support
691.1Ssimonb
701.1Ssimonb# File system options
711.105Ssimonboptions 	FFS_EI		# FFS Endian Independent support
721.105Ssimonboptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
731.59Sbouyer#options 	QUOTA		# legacy UFS quotas
741.59Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
751.64Sdhollandoptions 	WAPBL		# File system journaling support
761.105Ssimonb#options 	NFSSERVER	# Network File System server
771.1Ssimonb
781.94Ssevan# Alternate buffer queue strategies for better responsiveness under high
791.94Ssevan# disk I/O load.
801.94Ssevan#options 	BUFQ_READPRIO
811.94Ssevanoptions 	BUFQ_PRIOCSCAN
821.94Ssevan
831.1Ssimonb# Networking options
841.1Ssimonb#options 	GATEWAY		# IP packet forwarding
851.1Ssimonboptions 	INET		# Internet protocols
861.67Spgoyette#options 	INET6		# IPV6
871.1Ssimonb#options 	IPSEC		# IP security
881.1Ssimonb#options 	IPSEC_DEBUG	# debug for IP security
891.1Ssimonb#options 	MROUTING	# packet forwarding of multicast packets
901.22Smanu#options 	PIM		# Protocol Independent Multicast
911.1Ssimonb#options 	NETATALK	# AppleTalk (over Ethernet) protocol
921.1Ssimonb#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
931.1Ssimonb#options 	PPP_DEFLATE	# Deflate compression support for PPP
941.1Ssimonb#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
951.1Ssimonb
961.78Salnsn# JIT compiler for bpfilter
971.78Salnsn#options	SLJIT
981.78Salnsn#options	BPFJIT
991.78Salnsn
1001.1Ssimonb# These options enable verbose messages for several subsystems.
1011.1Ssimonb# Warning, these may compile large string tables into the kernel!
1021.1Ssimonb#options 	PCI_NETBSD_CONFIGURE	# NetBSD configures the PCI bus
1031.1Ssimonboptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1041.1Ssimonb#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1051.1Ssimonb#options 	SCSIVERBOSE	# human readable SCSI error messages
1061.1Ssimonboptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1071.1Ssimonb
1081.1Ssimonb# Bitmask for enabling the PCI IDE channels in the southbridge.
1091.1Ssimonb# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
1101.1Ssimonb#
1111.104Sandvar# Do this if your firmware (usually PMON and YAMON) doesn't enable the IDE
1121.1Ssimonb# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
1131.1Ssimonboptions 	PCI_NETBSD_ENABLE_IDE=0x1
1141.1Ssimonb
1151.1Ssimonboptions 	NFS_BOOT_DHCP
1161.1Ssimonb
1171.1Ssimonbconfig		netbsd	root on ? type ?
1181.1Ssimonb
1191.1Ssimonb
1201.1Ssimonbmainbus0 	at root
1211.1Ssimonbcpu0 		at mainbus?
1221.1Ssimonbgt0		at mainbus?
1231.1Ssimonb
1241.1Ssimonb#com2		at mainbus?	# CBUS UART (ugh, 64 bit register spacing)
1251.1Ssimonb
1261.1Ssimonbpci*		at gt0
1271.1Ssimonbpchb*		at pci? dev ? function ?
1281.1Ssimonbpcib*		at pci? dev ? function ?
1291.1Ssimonb
1301.1Ssimonb# ISA bus support
1311.1Ssimonbisa*		at pcib?
1321.1Ssimonb
1331.1Ssimonb# ISA devices
1341.1Ssimonbmcclock*	at isa? port 0x70		# mc146818-compatible
1351.1Ssimonbcom0		at isa? port 0x3f8 irq 4	# standard serial ports
1361.1Ssimonbcom1		at isa? port 0x2f8 irq 3
1371.1Ssimonb#fdc0		at isa? port 0x3f0 irq 6 drq 2	# floppy controller
1381.1Ssimonb
1391.1Ssimonb# Floppy drives
1401.1Ssimonb#fd*		at fdc? drive ?
1411.1Ssimonb
1421.1Ssimonb# wscons
1431.1Ssimonb#vga*		at pci? dev ? function ?
1441.1Ssimonb#wsdisplay*	at vga? console ?
1451.1Ssimonb#pckbc*		at isa?				# PC keyboard controller
1461.1Ssimonb#pckbd*		at pckbc?			# PC keyboard (kbd port)
1471.1Ssimonb#pms*		at pckbc?			# PS/2-style mouse (aux port)
1481.1Ssimonb#wskbd*		at pckbd?
1491.1Ssimonb#wsmouse*	at pms?
1501.1Ssimonb
1511.1Ssimonb# PCI SCSI controllers
1521.1Ssimonb#adv*		at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA]
1531.1Ssimonb#adw*		at pci? dev ? function ?	# AdvanSys 9xxUW SCSI
1541.1Ssimonb#ahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
1551.1Ssimonb#bha*		at pci? dev ? function ?	# BusLogic 9xx SCSI
1561.1Ssimonb#dpt*		at pci? dev ? function ?	# DPT SmartCache/SmartRAID
1571.1Ssimonb#isp*		at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FC
1581.1Ssimonb#siop*		at pci? dev ? function ?	# NCR 53c8xx SCSI
1591.1Ssimonb#pcscp*		at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
1601.1Ssimonb
1611.1Ssimonb# SCSI bus support
1621.1Ssimonb#scsibus* 	at adv?
1631.1Ssimonb#scsibus* 	at adw?
1641.1Ssimonb#scsibus* 	at ahc?
1651.1Ssimonb#scsibus* 	at bha?
1661.1Ssimonb#scsibus* 	at dpt?
1671.1Ssimonb#scsibus* 	at isp?
1681.1Ssimonb#scsibus* 	at siop?
1691.1Ssimonb#scsibus* 	at pcscp?
1701.1Ssimonb
1711.1Ssimonb# SCSI devices
1721.1Ssimonb#sd*		at scsibus? target ? lun ?	# SCSI disk drives
1731.1Ssimonb#st*		at scsibus? target ? lun ?	# SCSI tape drives
1741.1Ssimonb#cd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
1751.1Ssimonb#ch*		at scsibus? target ? lun ?	# SCSI autochangers
1761.1Ssimonb#ss*		at scsibus? target ? lun ?	# SCSI scanners
1771.1Ssimonb#uk*		at scsibus? target ? lun ?	# SCSI unknown
1781.1Ssimonb
1791.1Ssimonb# IDE and related devices
1801.1Ssimonb# PCI IDE controllers - see pciide(4) for supported hardware.
1811.1Ssimonb# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
1821.1Ssimonb# how to set up DMA modes for this chip. This may work, or may cause
1831.1Ssimonb# a machine hang with some controllers.
1841.15Sbouyerpciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
1851.15Sbouyeracardide*	at pci? dev ? function ?	# Acard IDE controllers
1861.15Sbouyeraceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
1871.19Sthorpejartsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
1881.15Sbouyercmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
1891.15Sbouyercypide* 	at pci? dev ? function ?	# Cypress IDE controllers
1901.15Sbouyerhptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
1911.15Sbouyeroptiide* 	at pci? dev ? function ?	# Opti IDE controllers
1921.15Sbouyerpdcide* 	at pci? dev ? function ?	# Promise IDE controllers
1931.24Sbouyerpdcsata* 	at pci? dev ? function ?	# Promise SATA150 controllers
1941.17Sthorpejsatalink*	at pci? dev ? function ?	# SiI SATALink controllers
1951.15Sbouyersiside* 	at pci? dev ? function ?	# SiS IDE controllers
1961.15Sbouyerslide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
1971.15Sbouyerviaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
1981.15Sbouyer
1991.18Sthorpejatabus* 	at ata? channel ?
2001.14Sbouyer
2011.1Ssimonb# IDE drives
2021.1Ssimonb# Flags are used only with controllers that support DMA operations
2031.1Ssimonb# and mode settings (e.g. some pciide controllers)
2041.1Ssimonb# The lowest order four bits (rightmost digit) of the flags define the PIO
2051.1Ssimonb# mode to use, the next set of four bits the DMA mode and the third set the
2061.1Ssimonb# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
2071.1Ssimonb# to use, and the last bit must be 1 for this setting to be used.
2081.1Ssimonb# For DMA and UDMA, 0xf (1111) means 'disable'.
2091.1Ssimonb# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
2101.1Ssimonb# (0xc=1100, 0xa=1010, 0xf=1111)
2111.1Ssimonb# 0x0000 means "use whatever the drive claims to support".
2121.14Sbouyerwd* 		at atabus? drive ? flags 0x0000
2131.1Ssimonb
2141.1Ssimonb# PCI network interfaces
2151.44Ssimonbath*		at pci? dev ? function ?	# Atheros WLAN 
2161.1Ssimonb#ep*		at pci? dev ? function ?	# 3Com 3c59x
2171.1Ssimonb#ex*		at pci? dev ? function ?	# 3Com 90x[B]
2181.1Ssimonb#epic*		at pci? dev ? function ?	# SMC EPIC/100 Ethernet
2191.1Ssimonb#fxp*		at pci? dev ? function ?	# Intel EtherExpress PRO10+/100B
2201.1Ssimonbpcn*		at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
2211.1Ssimonboptions 	PCN_EVENT_COUNTERS
2221.1Ssimonb#ne*		at pci? dev ? function ?	# NE2000-compatible Ethernet
2231.1Ssimonb#ntwoc*		at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
2241.1Ssimonbsip*		at pci? dev ? function ?	# SiS 900 Ethernet
2251.1Ssimonboptions 	SIP_EVENT_COUNTERS
2261.1Ssimonb#tl*		at pci? dev ? function ?	# ThunderLAN-based Ethernet
2271.8Smycroft#tlp*		at pci? dev ? function ?	# DECchip 21x4x and clones
2281.1Ssimonb#vr*		at pci? dev ? function ?	# VIA Rhine Fast Ethernet
2291.1Ssimonb#rtk*		at pci? dev ? function ?	# Realtek 8129/8139
2301.1Ssimonb
2311.1Ssimonb# MII/PHY support
2321.1Ssimonb#acphy*		at mii? phy ?		# DAltima AC101 and AMD Am79c874 PHYs
2331.1Ssimonb#amhphy* 	at mii? phy ?		# AMD 79c901 Ethernet PHYs
2341.1Ssimonb#bmtphy* 	at mii? phy ?		# Broadcom BCM5201 and BCM5202 PHYs
2351.1Ssimonb#brgphy* 	at mii? phy ?		# Broadcom BCM5400-family PHYs
2361.1Ssimonb#dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
2371.1Ssimonb#exphy*		at mii? phy ?		# 3Com internal PHYs
2381.1Ssimonb#glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
2391.1Ssimonb#gphyter*	at mii? phy ?		# NS83861 Gig-E PHY
2401.1Ssimonb#icsphy* 	at mii? phy ?		# Integrated Circuit Systems ICS1890
2411.1Ssimonb#inphy*		at mii? phy ?		# Intel 82555 PHYs
2421.1Ssimonb#iophy*		at mii? phy ?		# Intel 82553 PHYs
2431.1Ssimonb#lxtphy* 	at mii? phy ?		# Level One LXT-970 PHYs
2441.1Ssimonb#makphy* 	at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
2451.1Ssimonb#nsphy*		at mii? phy ?		# NS83840 PHYs
2461.1Ssimonbnsphyter*	at mii? phy ?		# NS83843 PHYs
2471.1Ssimonb#pnaphy* 	at mii? phy ?		# generic HomePNA PHYs
2481.1Ssimonb#qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
2491.1Ssimonb#sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
2501.1Ssimonb#tlphy*		at mii? phy ?		# ThunderLAN PHYs
2511.1Ssimonb#tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
2521.1Ssimonbukphy*		at mii? phy ?		# generic unknown PHYs
2531.1Ssimonb
2541.1Ssimonb
2551.1Ssimonb# USB
2561.1Ssimonbohci*		at pci? dev ? function ?	# USB Open Host Controller
2571.1Ssimonbuhci*		at pci? dev ? function ?	# USB Univ. Host Controller
2581.1Ssimonb
2591.1Ssimonb# USB bus support
2601.1Ssimonbusb*		at uhci?
2611.1Ssimonbusb*		at ohci?
2621.1Ssimonb
2631.1Ssimonb# USB Hubs
2641.1Ssimonbuhub*		at usb?
2651.46Sdrochneruhub*		at uhub? port ?
2661.1Ssimonb
2671.1Ssimonb# ....
2681.1Ssimonb
2691.1Ssimonb# USB Generic driver
2701.1Ssimonbugen*		at uhub? port ?
2711.1Ssimonb
2721.1Ssimonb# Audio Devices
2731.1Ssimonb
2741.1Ssimonb# PCI audio devices
2751.1Ssimonbclct*		at pci? dev ? function ?	# Cirrus Logic CS4281
2761.1Ssimonb
2771.1Ssimonb# Audio support
2781.1Ssimonbaudio*		at clct?
2791.1Ssimonb
2801.85Schristosspkr*		at audio?			# PC speaker (synthesized)
2811.83Snat
2821.1Ssimonb# Pseudo-devices
2831.1Ssimonb
2841.1Ssimonb# Disk/mass storage pseudo-devices
2851.72Schristos#pseudo-device	ccd				# concatenated disk devices
2861.73Schristos#pseudo-device	raid				# RAIDframe disk driver
2871.1Ssimonb#options 	RAID_AUTOCONFIG			# auto-configuration of RAID
2881.55Spooka#pseudo-device	fss				# file system snapshot device
2891.57Shannken#pseudo-device	md				# memory disk device (ramdisk)
2901.41Ssimonbpseudo-device	vnd				# disk-like interface to files
2911.1Ssimonb
2921.1Ssimonb# Network pseudo-devices
2931.38Srpaulopseudo-device	bpfilter			# Berkeley packet filter
2941.90Smaxvpseudo-device	npf			# NPF packet filter
2951.96Ssevanpseudo-device 	carp				# Common Address Redundancy Protocol
2961.1Ssimonbpseudo-device	loop				# network loopback
2971.39Scube#pseudo-device	ppp				# Point-to-Point Protocol
2981.39Scube#pseudo-device	sl				# Serial Line IP
2991.39Scube#pseudo-device	tun				# network tunneling over tty
3001.41Ssimonb#pseudo-device	tap				# virtual Ethernet
3011.39Scube#pseudo-device	gre				# generic L3 over IP tunnel
3021.73Schristos#pseudo-device	ipip				# RFC 2003 IP Encapsulation
3031.39Scube#pseudo-device	gif				# RFC1933 tunnel
3041.39Scube#pseudo-device	faith				# IPv[46] tcp relay translation
3051.39Scube#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
3061.41Ssimonbpseudo-device	vlan				# IEEE 802.1q encapsulation
3071.41Ssimonbpseudo-device	bridge				# simple inter-network bridging
3081.102Sroy#pseudo-device	vether				# Virtual Ethernet for bridge
3091.1Ssimonb
3101.1Ssimonb# Miscellaneous pseudo-devices
3111.1Ssimonbpseudo-device	pty				# pseudo-terminals
3121.74Schristos#pseudo-device	sequencer			# MIDI sequencer
3131.41Ssimonbpseudo-device	clockctl			# user control of clock subsystem
3141.95Sisakipseudo-device	drvctl				# user control of drive subsystem
3151.41Ssimonbpseudo-device	ksyms				# /dev/ksyms
3161.1Ssimonb
3171.1Ssimonb# A pseudo device needed for Coda		# also needs CODA (above)
3181.73Schristos#pseudo-device	vcoda				# coda minicache <-> venus comm.
3191.96Ssevan
3201.96Ssevaninclude "dev/veriexec.config"
321