AP30 revision 1.36
1#	$NetBSD: AP30,v 1.36 2017/09/14 07:58:40 mrg 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.36 $"
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 	NFSSERVER	# Sun NFS-compatible filesystem server
75#options 	QUOTA		# legacy UFS quotas
76#options 	QUOTA2		# new, in-filesystem UFS quotas
77#options 	FFS_EI		# FFS Endian Independent support
78options 	WAPBL		# File system journaling support
79options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
80#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
81				# immutable) behave as system flags.
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#options 	IPFILTER_LOG	# ipmon(8) log support
96#options 	IPFILTER_LOOKUP	# ippool(8) support
97
98# JIT compiler for bpfilter
99#options	SLJIT
100#options	BPFJIT
101
102# These options enable verbose messages for several subsystems.
103# Warning, these may compile large string tables into the kernel!
104options 	MIIVERBOSE	# verbose PHY autoconfig messages
105
106# Bitmask for enabling the PCI IDE channels in the southbridge.
107# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
108#
109# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
110# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
111#options 	PCI_NETBSD_ENABLE_IDE=0x1
112
113options 	NFS_BOOT_DHCP
114options		NFS_V2_ONLY
115
116config		netbsd	root on ? type ?
117
118
119mainbus0 	at root
120cpu0 		at mainbus?
121wdog0		at mainbus?
122arbus0		at mainbus?
123
124com*		at arbus? addr ?
125ae*		at arbus? addr ?
126ath*		at arbus? addr ?
127athflash*	at arbus? addr ?
128argpio*		at arbus? addr ?
129gpio*		at argpio?
130
131# no RTC!  so fake with a stub (required to prevent evbmips panic)
132
133
134# MII/PHY support
135#acphy*		at mii? phy ?		# DAltima AC101 and AMD Am79c874 PHYs
136#amhphy* 	at mii? phy ?		# AMD 79c901 Ethernet PHYs
137#dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
138#glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
139#gphyter*	at mii? phy ?		# NS83861 Gig-E PHY
140#icsphy* 	at mii? phy ?		# Integrated Circuit Systems ICS1890
141#lxtphy* 	at mii? phy ?		# Level One LXT-970 PHYs
142#makphy* 	at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
143#nsphy*		at mii? phy ?		# NS83840 PHYs
144#nsphyter*	at mii? phy ?		# NS83843 PHYs
145#pnaphy* 	at mii? phy ?		# generic HomePNA PHYs
146#qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
147#sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
148#tlphy*		at mii? phy ?		# ThunderLAN PHYs
149#tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
150rlphy*		at mii? phy ?		# RealTek PHYs
151ukphy*		at mii? phy ?		# generic unknown PHYs
152
153
154# Pseudo-devices
155
156# Disk/mass storage pseudo-devices
157#pseudo-device	ccd				# concatenated disk devices
158#pseudo-device	raid				# RAIDframe disk driver
159#pseudo-device	fss				# file system snapshot device
160#pseudo-device	md				# memory disk device (ramdisk)
161#pseudo-device	vnd				# disk-like interface to files
162
163# Network pseudo-devices
164pseudo-device	bpfilter			# Berkeley packet filter
165#pseudo-device	ipfilter			# IP filter (firewall) and NAT
166pseudo-device	loop				# network loopback
167#pseudo-device	ppp				# Point-to-Point Protocol
168#pseudo-device	sl				# Serial Line IP
169#pseudo-device	strip				# Starmode Radio IP (Metricom)
170#pseudo-device	tun				# network tunneling over tty
171#pseudo-device	tap				# virtual Ethernet
172#pseudo-device	gre				# generic L3 over IP tunnel
173#pseudo-device	ipip				# RFC 2003 IP Encapsulation
174#pseudo-device	gif				# RFC1933 tunnel
175#pseudo-device	faith				# IPv[46] tcp relay translation
176#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
177#pseudo-device	vlan				# IEEE 802.1q encapsulation
178#pseudo-device	bridge				# simple inter-network bridging
179
180# Miscellaneous pseudo-devices
181pseudo-device	pty				# pseudo-terminals
182pseudo-device	clockctl			# user control of clock subsystem
183pseudo-device	ksyms				# /dev/ksyms
184
185# A pseudo device needed for Coda		# also needs CODA (above)
186#pseudo-device	vcoda				# coda minicache <-> venus comm.
187