WII revision 1.1
1# $NetBSD: WII,v 1.1 2024/01/20 21:35:59 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 131 132#iosipc0 at hollywood0 addr 0x0d000000 irq 30 # IOS IPC 133resetbtn0 at hollywood0 irq 17 # Reset button 134 135ehci0 at hollywood0 addr 0x0d040000 irq 4 # EHCI 136#ohci0 at hollywood0 addr 0x0d050000 irq 5 # OHCI0 137#ohci1 at hollywood0 addr 0x0d060000 irq 6 # OHCI1 138usb* at usbus? 139 140sdhc0 at hollywood0 addr 0x0d070000 irq 7 # SD card 141sdhc1 at hollywood0 addr 0x0d080000 irq 8 # SDIO/BT 142sdmmc* at sdmmcbus? 143ld* at sdmmc? 144 145include "dev/usb/usbdevices.config" 146include "dev/bluetooth/bluetoothdevices.config" 147 148# MII/PHY support 149urlphy* at mii? phy ? 150ukphy* at mii? phy ? 151 152# Radio support 153radio* at radiodev? 154 155# Audio support 156audio* at audiobus? 157spkr* at audio? # PC speaker (synthesized) 158midi* at midibus? 159pseudo-device sequencer # MIDI sequencer 160 161# SCSI bus support 162scsibus* at scsi? channel ? 163 164# SCSI devices 165sd* at scsibus? target ? lun ? # SCSI disk drives 166st* at scsibus? target ? lun ? # SCSI tape drives 167cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 168ch* at scsibus? target ? lun ? # SCSI autochangers 169ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 170ss* at scsibus? target ? lun ? # SCSI scanners 171uk* at scsibus? target ? lun ? # SCSI unknown 172 173pseudo-device vnd # disk-like interface to files 174#pseudo-device fss # file system snapshot device 175#pseudo-device cgd # cryptographic disk devices 176#pseudo-device md # memory disk device 177pseudo-device loop # network loopback 178pseudo-device bpfilter # packet filter 179pseudo-device carp # Common Address Redundancy Protocol 180pseudo-device npf # NPF packet filter 181pseudo-device ppp # Point-to-Point Protocol 182pseudo-device sl # Serial Line IP 183pseudo-device tun # network tunneling over tty 184pseudo-device gre # generic L3 over IP tunnel 185pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 186#pseudo-device faith # IPv[46] tcp relay translation i/f 187pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 188pseudo-device vlan # IEEE 802.1q encapsulation 189pseudo-device pty # pseudo-terminals 190pseudo-device clockctl # user control of clock subsystem 191pseudo-device drvctl # user control of drive subsystem 192pseudo-device putter # for puffs and pud 193pseudo-device ksyms 194 195# wscons pseudo-devices 196pseudo-device wsmux # mouse & keyboard multiplexor 197pseudo-device wsfont 198options FONT_BOLD8x16 199 200include "dev/veriexec.config" 201