WII revision 1.4
1#	$NetBSD: WII,v 1.4 2024/01/25 11:47:53 jmcneill Exp $
2#
3#	Nintendo Wii
4#
5
6include 	"arch/evbppc/conf/std.wii"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10ident 		"WII"
11
12options 	MSGBUFSIZE=0x10000
13
14maxusers	32
15
16options 	INSECURE	# disable kernel security levels
17options 	NTP		# NTP phase/frequency locked loop
18options 	KTRACE		# system call tracing via ktrace(1)
19
20options 	SYSVMSG		# System V message queues
21options 	SYSVSEM		# System V semaphores
22options 	SYSVSHM		# System V shared memory
23
24options 	USERCONF	# userconf(4) support
25#options PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
26#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
27
28# Alternate buffer queue strategies for better responsiveness under high
29# disk I/O load.
30#options 	BUFQ_READPRIO
31options 	BUFQ_PRIOCSCAN
32
33# Diagnostic/debugging support options
34options 	DIAGNOSTIC	# cheap kernel consistency checks
35#options 	DEBUG		# expensive debugging checks/support
36options 	DDB		# in-kernel debugger
37options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
38#options 	TRAP_PANICWAIT
39makeoptions COPY_SYMTAB=1	# size for embedded symbol table
40
41#options 	KGDB		# remote debugger
42#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0xff600400,KGDB_DEVRATE=9600
43makeoptions DEBUG="-g"	# compile full symbol table
44
45# Compatibility options
46include 	"conf/compat_netbsd50.config"
47#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
48
49# File systems
50file-system 	FFS		# UFS
51file-system 	EXT2FS		# second extended file system (linux)
52file-system 	LFS		# log-structured file system
53file-system 	MFS		# memory file system
54file-system 	NFS		# Network File System client
55file-system 	CD9660		# ISO 9660 + Rock Ridge file system
56file-system 	MSDOSFS		# MS-DOS file system
57file-system 	FDESC		# /dev/fd
58file-system 	KERNFS		# /kern
59file-system 	NULLFS		# loopback file system
60file-system 	OVERLAY		# overlay file system
61file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
62file-system 	PROCFS		# /proc
63file-system 	TMPFS		# efficient memory file system
64file-system 	UMAPFS		# NULLFS + uid and gid remapping
65file-system 	UNION		# union file system
66file-system	PTYFS		# /dev/pts/N support
67
68# File system options
69options 	FFS_EI		# FFS Endian Independent support
70#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
71#options 	QUOTA		# legacy UFS quotas
72#options 	QUOTA2		# new, in-filesystem UFS quotas
73#options 	UFS_DIRHASH	# UFS Large Directory Hashing
74#options 	UFS_EXTATTR	# Extended attribute support for UFS1
75options 	WAPBL		# File system journaling support
76#options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
77#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
78				# immutable) behave as system flags.
79options 	DISKLABEL_EI	# disklabel Endian Independent support
80#options 	NFSSERVER	# Network File System server
81
82options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
83options 	NFS_BOOT_RWSIZE=1024
84
85# Networking options
86options 	GATEWAY		# packet forwarding
87options 	INET		# IP + ICMP + TCP + UDP
88options 	INET6		# IPV6
89options 	IPSEC		# IP security
90#options 	IPSEC_DEBUG	# debug for IP security
91options 	MROUTING	# IP multicast routing
92options 	PIM		# Protocol Independent Multicast
93#options 	NETATALK	# AppleTalk networking protocols
94#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
95#options 	PPP_DEFLATE	# Deflate compression support for PPP
96#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
97#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
98
99# These options enable verbose messages for several subsystems.
100# Warning, these may compile large string tables into the kernel!
101options 	MIIVERBOSE	# verbose PHY autoconfig messages
102#options 	SCSIVERBOSE	# human readable SCSI error messages
103options 	USBVERBOSE	# verbose USB device autoconfig messages
104
105# Kernel root file system and dump configuration.
106config		netbsd	root on ? type ?
107
108#
109# Device configuration
110#
111
112mainbus0 at root
113
114cpu0		at mainbus0
115genfb0		at mainbus0 addr 0x0c002000
116wsdisplay*      at wsemuldisplaydev?
117options 	WSEMUL_VT100
118options 	WSDISPLAY_CUSTOM_OUTPUT
119options 	WS_DEFAULT_FG=WSCOL_WHITE
120options 	WS_DEFAULT_BG=WSCOL_BLACK
121options 	WS_KERNEL_FG=WSCOL_GREEN
122options 	WS_KERNEL_BG=WSCOL_BLACK
123options 	WSDISPLAY_COMPAT_PCVT
124options 	WSDISPLAY_COMPAT_SYSCONS
125options 	WSDISPLAY_COMPAT_USL
126#options 	WSDISPLAY_COMPAT_RAWKBD
127options 	WSDISPLAY_DEFAULTSCREENS=4
128options 	WSDISPLAY_SCROLLSUPPORT
129
130hollywood0 	at mainbus0 irq 14
131exi0		at mainbus0 addr 0x0d006800 irq 4	# External interface
132rtcsram0	at exi0					# RTC/SRAM chip
133bwai0		at mainbus0 addr 0x0d006c00 irq 5	# Audio interface
134bwdsp0		at mainbus0 addr 0x0c005000 irq 6	# DSP
135
136hwgpio0		at hollywood0 addr 0x0d0000c0 irq 10	# GPIO
137gpio0		at hwgpio0
138gpioiic0	at gpio0 offset 0 mask 0xc000 flag 1
139iic0		at gpioiic0
140avenc0		at iic0 addr 0x70			# A/V Encoder
141
142#iosipc0 	at hollywood0 addr 0x0d000000 irq 30	# IOS IPC
143resetbtn0	at hollywood0 irq 17			# Reset button
144
145ehci0		at hollywood0 addr 0x0d040000 irq 4	# EHCI
146#ohci0		at hollywood0 addr 0x0d050000 irq 5	# OHCI0
147#ohci1		at hollywood0 addr 0x0d060000 irq 6	# OHCI1
148usb*		at usbus?
149
150sdhc0		at hollywood0 addr 0x0d070000 irq 7	# SD card
151sdhc1		at hollywood0 addr 0x0d080000 irq 8	# SDIO/BT
152sdmmc*		at sdmmcbus?
153ld*		at sdmmc?
154
155include "dev/usb/usbdevices.config"
156include "dev/bluetooth/bluetoothdevices.config"
157
158# MII/PHY support
159urlphy*		at mii? phy ?
160ukphy*		at mii? phy ?
161
162# Radio support
163radio*	at radiodev?
164
165# Audio support
166audio*	at audiobus?
167spkr*	at audio?		# PC speaker (synthesized)
168midi*	at midibus?
169pseudo-device	sequencer	# MIDI sequencer
170
171# SCSI bus support
172scsibus* at scsi? channel ?
173
174# SCSI devices
175sd*	at scsibus? target ? lun ?	# SCSI disk drives
176st*	at scsibus? target ? lun ?	# SCSI tape drives
177cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
178ch*	at scsibus? target ? lun ?	# SCSI autochangers
179ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
180ss*	at scsibus? target ? lun ?	# SCSI scanners
181uk*	at scsibus? target ? lun ?	# SCSI unknown
182
183pseudo-device	vnd			# disk-like interface to files
184#pseudo-device	fss			# file system snapshot device
185#pseudo-device	cgd			# cryptographic disk devices
186#pseudo-device	md			# memory disk device
187pseudo-device	loop			# network loopback
188pseudo-device	bpfilter		# packet filter
189pseudo-device 	carp			# Common Address Redundancy Protocol
190pseudo-device	npf			# NPF packet filter
191pseudo-device	ppp			# Point-to-Point Protocol
192pseudo-device	sl			# Serial Line IP
193pseudo-device	tun			# network tunneling over tty
194pseudo-device	gre			# generic L3 over IP tunnel
195pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
196#pseudo-device	faith			# IPv[46] tcp relay translation i/f
197pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
198pseudo-device	vlan			# IEEE 802.1q encapsulation
199pseudo-device	pty			# pseudo-terminals
200pseudo-device	clockctl		# user control of clock subsystem
201pseudo-device	drvctl			# user control of drive subsystem
202pseudo-device	putter			# for puffs and pud
203pseudo-device	ksyms
204
205# wscons pseudo-devices
206pseudo-device	wsmux			# mouse & keyboard multiplexor
207pseudo-device	wsfont
208options         FONT_BOLD8x16
209
210include "dev/veriexec.config"
211