1#	$NetBSD: ALCHEMY,v 1.73 2024/01/29 18:27:11 christos Exp $
2#
3# Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
4# DBAu1000 and DBAu1500 evaluation boards.
5
6include 	"arch/evbmips/conf/std.alchemy"
7
8#ident 		"ALCHEMY-$Revision: 1.73 $"
9
10maxusers	32
11
12options 	MIPS32
13options 	NOFPU		# No FPU
14options 	FPEMUL		# emulate FPU insn
15#options 	CONSPEED=115200	# YAMON default
16#options 	HZ=512		# for profiling
17
18# CPU support
19options 	ALCHEMY_AU1000
20options 	ALCHEMY_AU1100
21options 	ALCHEMY_AU1500
22options 	ALCHEMY_AU1550
23
24# Board support
25options 	ALCHEMY_GENERIC
26
27#options 	LOCKDEBUG
28options 	SOSEND_COUNTERS
29options 	INET_CSUM_COUNTERS
30options 	TCP_CSUM_COUNTERS
31options 	UDP_CSUM_COUNTERS
32options 	TCP_OUTPUT_COUNTERS
33
34# Standard system options
35options 	KTRACE		# system call tracing support
36options 	SYSVMSG		# System V message queues
37options 	SYSVSEM		# System V semaphores
38options 	SYSVSHM		# System V shared memory
39options 	NTP		# network time protocol
40
41# Debugging options
42options 	DIAGNOSTIC	# extra kernel sanity checking
43#options 	DEBUG		# extra kernel debugging support
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
63file-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)
71file-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
108options 	PCIVERBOSE	# verbose PCI device autoconfig messages
109#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
110options         SCSIVERBOSE     # human readable SCSI error messages
111options 	USBVERBOSE	# verbose USB device autoconfig messages
112
113options 	NFS_BOOT_DHCP
114
115# Pretty much only one device to use for the root file system.
116config		netbsd		root on ? type ?
117config		netbsd-aumac0	root on aumac0 type nfs
118
119mainbus0 	at root
120
121cpu0 		at mainbus?
122
123aubus0	 	at mainbus?
124
125# no RTC!  fake with one of the programmable clocks
126aurtc*		at aubus? addr ?
127
128# UARTs
129com*		at aubus? addr ?
130
131# Ethernet MACs
132aumac*		at aubus? addr ?
133options 	AUMAC_EVENT_COUNTERS
134
135# MII/PHY support
136acphy*		at mii? phy ?			# AMD/Altima AC101 PHYs
137amhphy*		at mii? phy ?			# AMD 79c901 Ethernet PHYs
138bmtphy*		at mii? phy ?			# Broadcom BCM5201/BCM5202 PHYs
139brgphy*		at mii? phy ?			# Broadcom BCM5400-family PHYs
140lxtphy*		at mii? phy ?			# Level One LXT970 PHYs
141nsphyter*	at mii? phy ?			# NS83843 PHYs
142rgephy*		at mii? phy ?			# RealTek 8169S/8110S PHY
143rlphy*		at mii? phy ?			# RealTek 8139/8201L PHYs
144sqphy*		at mii? phy ?			# Seeq 80220/80221/80223 PHYs
145ukphy*		at mii? phy ?			# Catch-all PHYs
146
147# USB
148ohci*		at aubus? addr ?		# USB Open Host Controller
149
150# USB bus support
151usb*		at ohci?
152
153# USB Hubs
154uhub*		at usb?
155uhub*		at uhub? port ?
156
157# USB HID device
158uhidev* at uhub? port ? configuration ? interface ?
159
160# USB Mice
161ums*    at uhidev? reportid ?   
162wsmouse* at ums? mux 0
163
164# USB Keyboards
165ukbd*   at uhidev? reportid ? 
166wskbd*  at ukbd? console ? mux 1
167
168# USB serial adapter
169ucycom*	at uhidev? reportid ?
170
171# USB Generic HID devices
172uhid*   at uhidev? reportid ?
173
174# USB Printer
175ulpt*   at uhub? port ? configuration ? interface ?
176
177# USB Modem
178umodem* at uhub? port ? configuration ?
179ucom*   at umodem?
180
181# Option N.V. Wireless WAN modems
182uhso*	at uhub? port ? configuration ?
183
184# USB Mass Storage
185umass*  at uhub? port ? configuration ? interface ?
186scsibus* at scsi?
187sd*	at scsibus? target ? lun ?
188
189# USB audio
190#uaudio* at uhub? port ? configuration ?
191
192# USB MIDI
193#umidi* at uhub? port ? configuration ?
194
195# USB IrDA
196# USB-IrDA bridge spec
197#uirda* at uhub? port ? configuration ? interface ?
198#irframe* at uirda?
199
200# Kyocera AIR-EDGE PHONE
201#ukyopon* at uhub? port ?
202#ucom*	at ukyopon? portno ?
203
204# USB Generic driver
205ugen*		at uhub? port ?
206
207# Audio support
208auaudio*	at aubus? addr ?		# STAC9745 audio codec
209audio*		at auaudio?
210
211spkr*		at audio?			# PC speaker (synthesized)
212
213# GPIOs
214augpio*	at aubus? addr ?
215gpio*	at augpio?
216
217# On-board devices
218obio*		at mainbus?
219
220#flash*		at obio? addr ?
221#lcd*		at obio? addr ?
222
223# Pseudo-devices
224
225# Disk/mass storage pseudo-devices
226#pseudo-device	ccd				# concatenated disk devices
227#pseudo-device	raid				# RAIDframe disk driver
228#options 	RAID_AUTOCONFIG			# auto-configuration of RAID
229#pseudo-device	fss				# file system snapshot device
230#pseudo-device	md				# memory disk device (ramdisk)
231pseudo-device	vnd				# disk-like interface to files
232
233# Network pseudo-devices
234pseudo-device	bpfilter			# Berkeley packet filter
235pseudo-device 	carp				# Common Address Redundancy Protocol
236pseudo-device	npf			# NPF packet filter
237pseudo-device	loop				# network loopback
238#pseudo-device	ppp				# Point-to-Point Protocol
239#pseudo-device	sl				# Serial Line IP
240#pseudo-device	tun				# network tunneling over tty
241#pseudo-device	tap				# virtual Ethernet
242#pseudo-device	gre				# generic L3 over IP tunnel
243#pseudo-device	ipip				# RFC 2003 IP Encapsulation
244#pseudo-device	gif				# RFC1933 tunnel
245#pseudo-device	faith				# IPv[46] tcp relay translation 
246#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
247pseudo-device	vlan				# IEEE 802.1q encapsulation
248pseudo-device	bridge				# simple inter-network bridging
249#pseudo-device	vether				# Virtual Ethernet for bridge
250
251# Miscellaneous pseudo-devices
252pseudo-device	pty				# pseudo-terminals
253#pseudo-device	sequencer			# MIDI sequencer
254pseudo-device	clockctl			# user control of clock subsystem
255pseudo-device	drvctl				# user control of drive subsystem
256pseudo-device	ksyms				# /dev/ksyms
257
258# A pseudo device needed for Coda		# also needs CODA (above)
259#pseudo-device	vcoda				# coda minicache <-> venus comm.
260
261include "dev/veriexec.config"
262