WII revision 1.3
11.3Sjmcneill# $NetBSD: WII,v 1.3 2024/01/23 21:48:12 jmcneill Exp $ 21.1Sjmcneill# 31.1Sjmcneill# Nintendo Wii 41.1Sjmcneill# 51.1Sjmcneill 61.1Sjmcneillinclude "arch/evbppc/conf/std.wii" 71.1Sjmcneill 81.1Sjmcneill#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 91.1Sjmcneill 101.1Sjmcneillident "WII" 111.1Sjmcneill 121.1Sjmcneilloptions MSGBUFSIZE=0x10000 131.1Sjmcneill 141.1Sjmcneillmaxusers 32 151.1Sjmcneill 161.1Sjmcneilloptions INSECURE # disable kernel security levels 171.1Sjmcneilloptions NTP # NTP phase/frequency locked loop 181.1Sjmcneilloptions KTRACE # system call tracing via ktrace(1) 191.1Sjmcneill 201.1Sjmcneilloptions SYSVMSG # System V message queues 211.1Sjmcneilloptions SYSVSEM # System V semaphores 221.1Sjmcneilloptions SYSVSHM # System V shared memory 231.1Sjmcneill 241.1Sjmcneilloptions USERCONF # userconf(4) support 251.1Sjmcneill#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 261.1Sjmcneill#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 271.1Sjmcneill 281.1Sjmcneill# Alternate buffer queue strategies for better responsiveness under high 291.1Sjmcneill# disk I/O load. 301.1Sjmcneill#options BUFQ_READPRIO 311.1Sjmcneilloptions BUFQ_PRIOCSCAN 321.1Sjmcneill 331.1Sjmcneill# Diagnostic/debugging support options 341.1Sjmcneilloptions DIAGNOSTIC # cheap kernel consistency checks 351.1Sjmcneill#options DEBUG # expensive debugging checks/support 361.1Sjmcneilloptions DDB # in-kernel debugger 371.1Sjmcneilloptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 381.1Sjmcneill#options TRAP_PANICWAIT 391.1Sjmcneillmakeoptions COPY_SYMTAB=1 # size for embedded symbol table 401.1Sjmcneill 411.1Sjmcneill#options KGDB # remote debugger 421.1Sjmcneill#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0xff600400,KGDB_DEVRATE=9600 431.1Sjmcneillmakeoptions DEBUG="-g" # compile full symbol table 441.1Sjmcneill 451.1Sjmcneill# Compatibility options 461.1Sjmcneillinclude "conf/compat_netbsd50.config" 471.1Sjmcneill#options COMPAT_386BSD_MBRPART # recognize old partition ID 481.1Sjmcneill 491.1Sjmcneill# File systems 501.1Sjmcneillfile-system FFS # UFS 511.1Sjmcneillfile-system EXT2FS # second extended file system (linux) 521.1Sjmcneillfile-system LFS # log-structured file system 531.1Sjmcneillfile-system MFS # memory file system 541.1Sjmcneillfile-system NFS # Network File System client 551.1Sjmcneillfile-system CD9660 # ISO 9660 + Rock Ridge file system 561.1Sjmcneillfile-system MSDOSFS # MS-DOS file system 571.1Sjmcneillfile-system FDESC # /dev/fd 581.1Sjmcneillfile-system KERNFS # /kern 591.1Sjmcneillfile-system NULLFS # loopback file system 601.1Sjmcneillfile-system OVERLAY # overlay file system 611.1Sjmcneillfile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 621.1Sjmcneillfile-system PROCFS # /proc 631.1Sjmcneillfile-system TMPFS # efficient memory file system 641.1Sjmcneillfile-system UMAPFS # NULLFS + uid and gid remapping 651.1Sjmcneillfile-system UNION # union file system 661.1Sjmcneillfile-system PTYFS # /dev/pts/N support 671.1Sjmcneill 681.1Sjmcneill# File system options 691.1Sjmcneilloptions FFS_EI # FFS Endian Independent support 701.1Sjmcneill#options FFS_NO_SNAPSHOT # No FFS snapshot support 711.1Sjmcneill#options QUOTA # legacy UFS quotas 721.1Sjmcneill#options QUOTA2 # new, in-filesystem UFS quotas 731.1Sjmcneill#options UFS_DIRHASH # UFS Large Directory Hashing 741.1Sjmcneill#options UFS_EXTATTR # Extended attribute support for UFS1 751.1Sjmcneilloptions WAPBL # File system journaling support 761.1Sjmcneill#options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental 771.1Sjmcneill#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 781.1Sjmcneill # immutable) behave as system flags. 791.1Sjmcneilloptions DISKLABEL_EI # disklabel Endian Independent support 801.1Sjmcneill#options NFSSERVER # Network File System server 811.1Sjmcneill 821.1Sjmcneilloptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 831.1Sjmcneilloptions NFS_BOOT_RWSIZE=1024 841.1Sjmcneill 851.1Sjmcneill# Networking options 861.1Sjmcneilloptions GATEWAY # packet forwarding 871.1Sjmcneilloptions INET # IP + ICMP + TCP + UDP 881.1Sjmcneilloptions INET6 # IPV6 891.1Sjmcneilloptions IPSEC # IP security 901.1Sjmcneill#options IPSEC_DEBUG # debug for IP security 911.1Sjmcneilloptions MROUTING # IP multicast routing 921.1Sjmcneilloptions PIM # Protocol Independent Multicast 931.1Sjmcneill#options NETATALK # AppleTalk networking protocols 941.1Sjmcneill#options PPP_BSDCOMP # BSD-Compress compression support for PPP 951.1Sjmcneill#options PPP_DEFLATE # Deflate compression support for PPP 961.1Sjmcneill#options PPP_FILTER # Active filter support for PPP (requires bpf) 971.1Sjmcneill#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 981.1Sjmcneill 991.1Sjmcneill# These options enable verbose messages for several subsystems. 1001.1Sjmcneill# Warning, these may compile large string tables into the kernel! 1011.1Sjmcneilloptions MIIVERBOSE # verbose PHY autoconfig messages 1021.1Sjmcneill#options SCSIVERBOSE # human readable SCSI error messages 1031.1Sjmcneilloptions USBVERBOSE # verbose USB device autoconfig messages 1041.1Sjmcneill 1051.1Sjmcneill# Kernel root file system and dump configuration. 1061.1Sjmcneillconfig netbsd root on ? type ? 1071.1Sjmcneill 1081.1Sjmcneill# 1091.1Sjmcneill# Device configuration 1101.1Sjmcneill# 1111.1Sjmcneill 1121.1Sjmcneillmainbus0 at root 1131.1Sjmcneill 1141.1Sjmcneillcpu0 at mainbus0 1151.1Sjmcneillgenfb0 at mainbus0 addr 0x0c002000 1161.1Sjmcneillwsdisplay* at wsemuldisplaydev? 1171.1Sjmcneilloptions WSEMUL_VT100 1181.1Sjmcneilloptions WSDISPLAY_CUSTOM_OUTPUT 1191.1Sjmcneilloptions WS_DEFAULT_FG=WSCOL_WHITE 1201.1Sjmcneilloptions WS_DEFAULT_BG=WSCOL_BLACK 1211.1Sjmcneilloptions WS_KERNEL_FG=WSCOL_GREEN 1221.1Sjmcneilloptions WS_KERNEL_BG=WSCOL_BLACK 1231.1Sjmcneilloptions WSDISPLAY_COMPAT_PCVT 1241.1Sjmcneilloptions WSDISPLAY_COMPAT_SYSCONS 1251.1Sjmcneilloptions WSDISPLAY_COMPAT_USL 1261.1Sjmcneill#options WSDISPLAY_COMPAT_RAWKBD 1271.1Sjmcneilloptions WSDISPLAY_DEFAULTSCREENS=4 1281.1Sjmcneilloptions WSDISPLAY_SCROLLSUPPORT 1291.1Sjmcneill 1301.1Sjmcneillhollywood0 at mainbus0 irq 14 1311.2Sjmcneillbwai0 at mainbus0 addr 0x0d006c00 irq 5 # Audio interface 1321.2Sjmcneillbwdsp0 at mainbus0 addr 0x0c005000 irq 6 # DSP 1331.1Sjmcneill 1341.3Sjmcneillhwgpio0 at hollywood0 addr 0x0d0000c0 irq 10 # GPIO 1351.3Sjmcneillgpio0 at hwgpio0 1361.3Sjmcneillgpioiic0 at gpio0 offset 0 mask 0xc000 flag 1 1371.3Sjmcneilliic0 at gpioiic0 1381.3Sjmcneillavenc0 at iic0 addr 0x70 # A/V Encoder 1391.3Sjmcneill 1401.1Sjmcneill#iosipc0 at hollywood0 addr 0x0d000000 irq 30 # IOS IPC 1411.1Sjmcneillresetbtn0 at hollywood0 irq 17 # Reset button 1421.1Sjmcneill 1431.1Sjmcneillehci0 at hollywood0 addr 0x0d040000 irq 4 # EHCI 1441.1Sjmcneill#ohci0 at hollywood0 addr 0x0d050000 irq 5 # OHCI0 1451.1Sjmcneill#ohci1 at hollywood0 addr 0x0d060000 irq 6 # OHCI1 1461.1Sjmcneillusb* at usbus? 1471.1Sjmcneill 1481.1Sjmcneillsdhc0 at hollywood0 addr 0x0d070000 irq 7 # SD card 1491.1Sjmcneillsdhc1 at hollywood0 addr 0x0d080000 irq 8 # SDIO/BT 1501.1Sjmcneillsdmmc* at sdmmcbus? 1511.1Sjmcneillld* at sdmmc? 1521.1Sjmcneill 1531.1Sjmcneillinclude "dev/usb/usbdevices.config" 1541.1Sjmcneillinclude "dev/bluetooth/bluetoothdevices.config" 1551.1Sjmcneill 1561.1Sjmcneill# MII/PHY support 1571.1Sjmcneillurlphy* at mii? phy ? 1581.1Sjmcneillukphy* at mii? phy ? 1591.1Sjmcneill 1601.1Sjmcneill# Radio support 1611.1Sjmcneillradio* at radiodev? 1621.1Sjmcneill 1631.1Sjmcneill# Audio support 1641.1Sjmcneillaudio* at audiobus? 1651.1Sjmcneillspkr* at audio? # PC speaker (synthesized) 1661.1Sjmcneillmidi* at midibus? 1671.1Sjmcneillpseudo-device sequencer # MIDI sequencer 1681.1Sjmcneill 1691.1Sjmcneill# SCSI bus support 1701.1Sjmcneillscsibus* at scsi? channel ? 1711.1Sjmcneill 1721.1Sjmcneill# SCSI devices 1731.1Sjmcneillsd* at scsibus? target ? lun ? # SCSI disk drives 1741.1Sjmcneillst* at scsibus? target ? lun ? # SCSI tape drives 1751.1Sjmcneillcd* at scsibus? target ? lun ? # SCSI CD-ROM drives 1761.1Sjmcneillch* at scsibus? target ? lun ? # SCSI autochangers 1771.1Sjmcneillses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 1781.1Sjmcneillss* at scsibus? target ? lun ? # SCSI scanners 1791.1Sjmcneilluk* at scsibus? target ? lun ? # SCSI unknown 1801.1Sjmcneill 1811.1Sjmcneillpseudo-device vnd # disk-like interface to files 1821.1Sjmcneill#pseudo-device fss # file system snapshot device 1831.1Sjmcneill#pseudo-device cgd # cryptographic disk devices 1841.1Sjmcneill#pseudo-device md # memory disk device 1851.1Sjmcneillpseudo-device loop # network loopback 1861.1Sjmcneillpseudo-device bpfilter # packet filter 1871.1Sjmcneillpseudo-device carp # Common Address Redundancy Protocol 1881.1Sjmcneillpseudo-device npf # NPF packet filter 1891.1Sjmcneillpseudo-device ppp # Point-to-Point Protocol 1901.1Sjmcneillpseudo-device sl # Serial Line IP 1911.1Sjmcneillpseudo-device tun # network tunneling over tty 1921.1Sjmcneillpseudo-device gre # generic L3 over IP tunnel 1931.1Sjmcneillpseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 1941.1Sjmcneill#pseudo-device faith # IPv[46] tcp relay translation i/f 1951.1Sjmcneillpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 1961.1Sjmcneillpseudo-device vlan # IEEE 802.1q encapsulation 1971.1Sjmcneillpseudo-device pty # pseudo-terminals 1981.1Sjmcneillpseudo-device clockctl # user control of clock subsystem 1991.1Sjmcneillpseudo-device drvctl # user control of drive subsystem 2001.1Sjmcneillpseudo-device putter # for puffs and pud 2011.1Sjmcneillpseudo-device ksyms 2021.1Sjmcneill 2031.1Sjmcneill# wscons pseudo-devices 2041.1Sjmcneillpseudo-device wsmux # mouse & keyboard multiplexor 2051.1Sjmcneillpseudo-device wsfont 2061.1Sjmcneilloptions FONT_BOLD8x16 2071.1Sjmcneill 2081.1Sjmcneillinclude "dev/veriexec.config" 209