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