1#	$NetBSD: MALTA,v 1.106 2024/01/29 18:27:11 christos Exp $
2
3include 	"arch/evbmips/conf/std.malta"
4
5#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
6
7#ident 		"MALTA-$Revision: 1.106 $"
8
9maxusers	32
10
11options 	MIPS32
12options 	MIPS64
13
14options 	NOFPU		# No FPU
15options 	FPEMUL		# emulate FPU insn
16
17# Options for necessary to use MD
18# options 	MEMORY_DISK_HOOKS
19# options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
20# options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
21# options 	MEMORY_DISK_ROOT_SIZE=6144	# size of memory disk, in blocks
22#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
23
24# Standard system options
25options 	KTRACE		# system call tracing support
26options 	SYSVMSG		# System V message queues
27options 	SYSVSEM		# System V semaphores
28options 	SYSVSHM		# System V shared memory
29options 	NTP		# network time protocol
30
31# Debugging options
32options 	DIAGNOSTIC	# extra kernel sanity checking
33#options 	DEBUG		# extra kernel debugging support
34#options 	SYSCALL_DEBUG	# symbolic syscall names
35options 	USERCONF	# userconf(4) support
36#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
37options 	DDB		# kernel dynamic debugger
38options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
39makeoptions 	DEBUG="-g"	# compile full symbol table
40makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
41
42# Compatibility options
43
44include         "conf/compat_netbsd16.config"
45
46#options 	EXEC_ECOFF	# exec ECOFF binaries
47#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
48#options 	COMPAT_LINUX	# binary compatibility with Linux
49#options 	COMPAT_OSSAUDIO	# binary compatibility with Linux
50
51# File systems
52file-system	FFS		# Berkeley Fast Filesystem
53file-system	MFS		# memory-based filesystem
54#file-system 	EXT2FS		# second extended file system (linux)
55file-system	NFS		# Sun NFS-compatible filesystem client
56#file-system	KERNFS		# kernel data-structure filesystem
57#file-system	NULLFS		# NULL layered filesystem
58#file-system 	OVERLAY		# overlay file system
59#file-system	FDESC		# user file descriptor filesystem
60#file-system	UMAPFS		# uid/gid remapping filesystem
61#file-system	LFS		# Log-based filesystem (still experimental)
62#file-system	PROCFS		# /proc
63#file-system	CD9660		# ISO 9660 + Rock Ridge file system
64file-system	TMPFS		# Efficient memory file system
65#file-system	UNION		# union file system
66#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
67#file-system 	CODA		# Coda File System; also needs vcoda (below)
68file-system	PTYFS		# /dev/pts/N support
69
70# File system options
71options 	FFS_EI		# FFS Endian Independent support
72options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
73#options 	QUOTA		# legacy UFS quotas
74#options 	QUOTA2		# new, in-filesystem UFS quotas
75options 	WAPBL		# File system journaling support
76#options 	NFSSERVER	# Network File System server
77
78# Alternate buffer queue strategies for better responsiveness under high
79# disk I/O load.
80#options 	BUFQ_READPRIO
81options 	BUFQ_PRIOCSCAN
82
83# Networking options
84#options 	GATEWAY		# IP packet forwarding
85options 	INET		# Internet protocols
86#options 	INET6		# IPV6
87#options 	IPSEC		# IP security
88#options 	IPSEC_DEBUG	# debug for IP security
89#options 	MROUTING	# packet forwarding of multicast packets
90#options 	PIM		# Protocol Independent Multicast
91#options 	NETATALK	# AppleTalk (over Ethernet) protocol
92#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
93#options 	PPP_DEFLATE	# Deflate compression support for PPP
94#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
95
96# JIT compiler for bpfilter
97#options	SLJIT
98#options	BPFJIT
99
100# These options enable verbose messages for several subsystems.
101# Warning, these may compile large string tables into the kernel!
102#options 	PCI_NETBSD_CONFIGURE	# NetBSD configures the PCI bus
103options 	PCIVERBOSE	# verbose PCI device autoconfig messages
104#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
105#options 	SCSIVERBOSE	# human readable SCSI error messages
106options 	MIIVERBOSE	# verbose PHY autoconfig messages
107
108# Bitmask for enabling the PCI IDE channels in the southbridge.
109# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
110#
111# Do this if your firmware (usually PMON and YAMON) doesn't enable the IDE
112# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
113options 	PCI_NETBSD_ENABLE_IDE=0x1
114
115options 	NFS_BOOT_DHCP
116
117config		netbsd	root on ? type ?
118
119
120mainbus0 	at root
121cpu0 		at mainbus?
122gt0		at mainbus?
123
124#com2		at mainbus?	# CBUS UART (ugh, 64 bit register spacing)
125
126pci*		at gt0
127pchb*		at pci? dev ? function ?
128pcib*		at pci? dev ? function ?
129
130# ISA bus support
131isa*		at pcib?
132
133# ISA devices
134mcclock*	at isa? port 0x70		# mc146818-compatible
135com0		at isa? port 0x3f8 irq 4	# standard serial ports
136com1		at isa? port 0x2f8 irq 3
137#fdc0		at isa? port 0x3f0 irq 6 drq 2	# floppy controller
138
139# Floppy drives
140#fd*		at fdc? drive ?
141
142# wscons
143#vga*		at pci? dev ? function ?
144#wsdisplay*	at vga? console ?
145#pckbc*		at isa?				# PC keyboard controller
146#pckbd*		at pckbc?			# PC keyboard (kbd port)
147#pms*		at pckbc?			# PS/2-style mouse (aux port)
148#wskbd*		at pckbd?
149#wsmouse*	at pms?
150
151# PCI SCSI controllers
152#adv*		at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA]
153#adw*		at pci? dev ? function ?	# AdvanSys 9xxUW SCSI
154#ahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
155#bha*		at pci? dev ? function ?	# BusLogic 9xx SCSI
156#dpt*		at pci? dev ? function ?	# DPT SmartCache/SmartRAID
157#isp*		at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FC
158#siop*		at pci? dev ? function ?	# NCR 53c8xx SCSI
159#pcscp*		at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
160
161# SCSI bus support
162#scsibus* 	at adv?
163#scsibus* 	at adw?
164#scsibus* 	at ahc?
165#scsibus* 	at bha?
166#scsibus* 	at dpt?
167#scsibus* 	at isp?
168#scsibus* 	at siop?
169#scsibus* 	at pcscp?
170
171# SCSI devices
172#sd*		at scsibus? target ? lun ?	# SCSI disk drives
173#st*		at scsibus? target ? lun ?	# SCSI tape drives
174#cd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
175#ch*		at scsibus? target ? lun ?	# SCSI autochangers
176#ss*		at scsibus? target ? lun ?	# SCSI scanners
177#uk*		at scsibus? target ? lun ?	# SCSI unknown
178
179# IDE and related devices
180# PCI IDE controllers - see pciide(4) for supported hardware.
181# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
182# how to set up DMA modes for this chip. This may work, or may cause
183# a machine hang with some controllers.
184pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
185acardide*	at pci? dev ? function ?	# Acard IDE controllers
186aceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
187artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
188cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
189cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
190hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
191optiide* 	at pci? dev ? function ?	# Opti IDE controllers
192pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
193pdcsata* 	at pci? dev ? function ?	# Promise SATA150 controllers
194satalink*	at pci? dev ? function ?	# SiI SATALink controllers
195siside* 	at pci? dev ? function ?	# SiS IDE controllers
196slide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
197viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
198
199atabus* 	at ata? channel ?
200
201# IDE drives
202# Flags are used only with controllers that support DMA operations
203# and mode settings (e.g. some pciide controllers)
204# The lowest order four bits (rightmost digit) of the flags define the PIO
205# mode to use, the next set of four bits the DMA mode and the third set the
206# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
207# to use, and the last bit must be 1 for this setting to be used.
208# For DMA and UDMA, 0xf (1111) means 'disable'.
209# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
210# (0xc=1100, 0xa=1010, 0xf=1111)
211# 0x0000 means "use whatever the drive claims to support".
212wd* 		at atabus? drive ? flags 0x0000
213
214# PCI network interfaces
215ath*		at pci? dev ? function ?	# Atheros WLAN 
216#ep*		at pci? dev ? function ?	# 3Com 3c59x
217#ex*		at pci? dev ? function ?	# 3Com 90x[B]
218#epic*		at pci? dev ? function ?	# SMC EPIC/100 Ethernet
219#fxp*		at pci? dev ? function ?	# Intel EtherExpress PRO10+/100B
220pcn*		at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
221options 	PCN_EVENT_COUNTERS
222#ne*		at pci? dev ? function ?	# NE2000-compatible Ethernet
223#ntwoc*		at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
224sip*		at pci? dev ? function ?	# SiS 900 Ethernet
225options 	SIP_EVENT_COUNTERS
226#tl*		at pci? dev ? function ?	# ThunderLAN-based Ethernet
227#tlp*		at pci? dev ? function ?	# DECchip 21x4x and clones
228#vr*		at pci? dev ? function ?	# VIA Rhine Fast Ethernet
229#rtk*		at pci? dev ? function ?	# Realtek 8129/8139
230
231# MII/PHY support
232#acphy*		at mii? phy ?		# DAltima AC101 and AMD Am79c874 PHYs
233#amhphy* 	at mii? phy ?		# AMD 79c901 Ethernet PHYs
234#bmtphy* 	at mii? phy ?		# Broadcom BCM5201 and BCM5202 PHYs
235#brgphy* 	at mii? phy ?		# Broadcom BCM5400-family PHYs
236#dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
237#exphy*		at mii? phy ?		# 3Com internal PHYs
238#glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
239#gphyter*	at mii? phy ?		# NS83861 Gig-E PHY
240#icsphy* 	at mii? phy ?		# Integrated Circuit Systems ICS1890
241#inphy*		at mii? phy ?		# Intel 82555 PHYs
242#iophy*		at mii? phy ?		# Intel 82553 PHYs
243#lxtphy* 	at mii? phy ?		# Level One LXT-970 PHYs
244#makphy* 	at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
245#nsphy*		at mii? phy ?		# NS83840 PHYs
246nsphyter*	at mii? phy ?		# NS83843 PHYs
247#pnaphy* 	at mii? phy ?		# generic HomePNA PHYs
248#qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
249#sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
250#tlphy*		at mii? phy ?		# ThunderLAN PHYs
251#tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
252ukphy*		at mii? phy ?		# generic unknown PHYs
253
254
255# USB
256ohci*		at pci? dev ? function ?	# USB Open Host Controller
257uhci*		at pci? dev ? function ?	# USB Univ. Host Controller
258
259# USB bus support
260usb*		at uhci?
261usb*		at ohci?
262
263# USB Hubs
264uhub*		at usb?
265uhub*		at uhub? port ?
266
267# ....
268
269# USB Generic driver
270ugen*		at uhub? port ?
271
272# Audio Devices
273
274# PCI audio devices
275clct*		at pci? dev ? function ?	# Cirrus Logic CS4281
276
277# Audio support
278audio*		at clct?
279
280spkr*		at audio?			# PC speaker (synthesized)
281
282# Pseudo-devices
283
284# Disk/mass storage pseudo-devices
285#pseudo-device	ccd				# concatenated disk devices
286#pseudo-device	raid				# RAIDframe disk driver
287#options 	RAID_AUTOCONFIG			# auto-configuration of RAID
288#pseudo-device	fss				# file system snapshot device
289#pseudo-device	md				# memory disk device (ramdisk)
290pseudo-device	vnd				# disk-like interface to files
291
292# Network pseudo-devices
293pseudo-device	bpfilter			# Berkeley packet filter
294pseudo-device	npf			# NPF packet filter
295pseudo-device 	carp				# Common Address Redundancy Protocol
296pseudo-device	loop				# network loopback
297#pseudo-device	ppp				# Point-to-Point Protocol
298#pseudo-device	sl				# Serial Line IP
299#pseudo-device	tun				# network tunneling over tty
300#pseudo-device	tap				# virtual Ethernet
301#pseudo-device	gre				# generic L3 over IP tunnel
302#pseudo-device	ipip				# RFC 2003 IP Encapsulation
303#pseudo-device	gif				# RFC1933 tunnel
304#pseudo-device	faith				# IPv[46] tcp relay translation
305#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
306pseudo-device	vlan				# IEEE 802.1q encapsulation
307pseudo-device	bridge				# simple inter-network bridging
308#pseudo-device	vether				# Virtual Ethernet for bridge
309
310# Miscellaneous pseudo-devices
311pseudo-device	pty				# pseudo-terminals
312#pseudo-device	sequencer			# MIDI sequencer
313pseudo-device	clockctl			# user control of clock subsystem
314pseudo-device	drvctl				# user control of drive subsystem
315pseudo-device	ksyms				# /dev/ksyms
316
317# A pseudo device needed for Coda		# also needs CODA (above)
318#pseudo-device	vcoda				# coda minicache <-> venus comm.
319
320include "dev/veriexec.config"
321