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