1#	$NetBSD: AP30,v 1.44 2024/01/29 18:27:11 christos Exp $
2
3include 	"arch/evbmips/conf/std.atheros"
4
5#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
6
7#ident 		"AP30-$Revision: 1.44 $"
8
9maxusers	32
10
11makeoptions	COPTS="-Os"		# Optimise for space. Implies -O2
12makeoptions	ATH_MACHINE_HAL=ap30
13
14options 	MIPS32
15options 	NOFPU		# No FPU
16options 	FPEMUL		# emulate FPU insn
17options		WISOC_AR5312	# WiSoC select
18
19# Options for necessary to use MD
20#options 	MEMORY_DISK_HOOKS
21#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
22#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
23#options 	MEMORY_DISK_ROOT_SIZE=6144	# size of memory disk, in blocks
24#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
25#options		MEMORY_DISK_ROOT_SIZE=7300
26
27# Size reduction options
28options 	VNODE_OP_NOINLINE
29options		PIPE_SOCKETPAIR
30options		SOSEND_NO_LOAN
31
32# Standard system options
33#options 	KTRACE		# system call tracing support
34#options 	SYSVMSG		# System V message queues
35#options 	SYSVSEM		# System V semaphores
36#options 	SYSVSHM		# System V shared memory
37options 	NTP		# network time protocol
38
39# Debugging options
40options 	DIAGNOSTIC	# extra kernel sanity checking
41#options 	DEBUG		# extra kernel debugging support
42#options 	USERCONF	# userconf(4) support
43#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
44options 	DDB		# kernel dynamic debugger
45options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
46makeoptions 	DEBUG="-g"	# compile full symbol table
47makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
48
49# Compatibility options
50include         "conf/compat_netbsd16.config"
51
52#options 	EXEC_ECOFF	# exec ECOFF binaries
53#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
54
55# File systems
56file-system	FFS		# Berkeley Fast Filesystem
57file-system	MFS		# memory-based filesystem
58#file-system 	EXT2FS		# second extended file system (linux)
59file-system	NFS		# Sun NFS-compatible filesystem client
60#file-system	KERNFS		# kernel data-structure filesystem
61#file-system	NULLFS		# NULL layered filesystem
62#file-system 	OVERLAY		# overlay file system
63#file-system	FDESC		# user file descriptor filesystem
64#file-system	UMAPFS		# uid/gid remapping filesystem
65#file-system	LFS		# Log-based filesystem (still experimental)
66#file-system	PROCFS		# /proc
67#file-system	CD9660		# ISO 9660 + Rock Ridge file system
68#file-system	UNION		# union file system
69#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
70#file-system 	CODA		# Coda File System; also needs vcoda (below)
71#file-system	PTYFS		# /dev/pts/N support
72
73# File system options
74#options 	FFS_EI		# FFS Endian Independent support
75options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
76#options 	QUOTA		# legacy UFS quotas
77#options 	QUOTA2		# new, in-filesystem UFS quotas
78#options 	UFS_DIRHASH	# UFS Large Directory Hashing
79#options 	UFS_EXTATTR	# Extended attribute support for UFS1
80options 	WAPBL		# File system journaling support
81#options 	NFSSERVER	# Network File System server
82
83# Alternate buffer queue strategies for better responsiveness under high
84# disk I/O load.
85#options 	BUFQ_READPRIO
86options 	BUFQ_PRIOCSCAN
87
88# Networking options
89#options 	GATEWAY		# IP packet forwarding
90options 	INET		# Internet protocols
91#options 	INET6		# IPV6
92#options 	IPSEC		# IP security
93#options 	IPSEC_DEBUG	# debug for IP security
94#options 	MROUTING	# packet forwarding of multicast packets
95#options 	PIM		# Protocol Independent Multicast
96#options 	NETATALK	# AppleTalk (over Ethernet) protocol
97#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
98#options 	PPP_DEFLATE	# Deflate compression support for PPP
99#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
100
101# JIT compiler for bpfilter
102#options	SLJIT
103#options	BPFJIT
104
105# These options enable verbose messages for several subsystems.
106# Warning, these may compile large string tables into the kernel!
107options 	MIIVERBOSE	# verbose PHY autoconfig messages
108
109# Bitmask for enabling the PCI IDE channels in the southbridge.
110# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
111#
112# Do this if your firmware (usually PMON and YAMON) doesn't enable the IDE
113# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
114#options 	PCI_NETBSD_ENABLE_IDE=0x1
115
116options 	NFS_BOOT_DHCP
117options		NFS_V2_ONLY
118
119config		netbsd	root on ? type ?
120
121
122mainbus0 	at root
123cpu0 		at mainbus?
124wdog0		at mainbus?
125arbus0		at mainbus?
126
127com*		at arbus? addr ?
128ae*		at arbus? addr ?
129ath*		at arbus? addr ?
130athflash*	at arbus? addr ?
131argpio*		at arbus? addr ?
132gpio*		at argpio?
133
134# no RTC!  so fake with a stub (required to prevent evbmips panic)
135
136
137# MII/PHY support
138#acphy*		at mii? phy ?		# DAltima AC101 and AMD Am79c874 PHYs
139#amhphy* 	at mii? phy ?		# AMD 79c901 Ethernet PHYs
140#dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
141#glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
142#gphyter*	at mii? phy ?		# NS83861 Gig-E PHY
143#icsphy* 	at mii? phy ?		# Integrated Circuit Systems ICS1890
144#lxtphy* 	at mii? phy ?		# Level One LXT-970 PHYs
145#makphy* 	at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
146#nsphy*		at mii? phy ?		# NS83840 PHYs
147#nsphyter*	at mii? phy ?		# NS83843 PHYs
148#pnaphy* 	at mii? phy ?		# generic HomePNA PHYs
149#qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
150#sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
151#tlphy*		at mii? phy ?		# ThunderLAN PHYs
152#tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
153rlphy*		at mii? phy ?		# RealTek PHYs
154ukphy*		at mii? phy ?		# generic unknown PHYs
155
156
157# Pseudo-devices
158
159# Disk/mass storage pseudo-devices
160#pseudo-device	ccd				# concatenated disk devices
161#pseudo-device	raid				# RAIDframe disk driver
162#pseudo-device	fss				# file system snapshot device
163#pseudo-device	md				# memory disk device (ramdisk)
164#pseudo-device	vnd				# disk-like interface to files
165
166# Network pseudo-devices
167pseudo-device	bpfilter			# Berkeley packet filter
168pseudo-device 	carp				# Common Address Redundancy Protocol
169#pseudo-device	npf			# NPF packet filter
170pseudo-device	loop				# network loopback
171#pseudo-device	ppp				# Point-to-Point Protocol
172#pseudo-device	sl				# Serial Line IP
173#pseudo-device	tun				# network tunneling over tty
174#pseudo-device	tap				# virtual Ethernet
175#pseudo-device	gre				# generic L3 over IP tunnel
176#pseudo-device	ipip				# RFC 2003 IP Encapsulation
177#pseudo-device	gif				# RFC1933 tunnel
178#pseudo-device	faith				# IPv[46] tcp relay translation
179#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
180#pseudo-device	vlan				# IEEE 802.1q encapsulation
181#pseudo-device	bridge				# simple inter-network bridging
182#pseudo-device	vether				# Virtual Ethernet for bridge
183
184# Miscellaneous pseudo-devices
185pseudo-device	pty				# pseudo-terminals
186pseudo-device	clockctl			# user control of clock subsystem
187pseudo-device	ksyms				# /dev/ksyms
188
189# A pseudo device needed for Coda		# also needs CODA (above)
190#pseudo-device	vcoda				# coda minicache <-> venus comm.
191
192include "dev/veriexec.config"
193