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