1# $NetBSD: files.wii,v 1.4 2024/01/25 11:47:53 jmcneill Exp $ 2# 3# 4maxpartitions 16 5 6maxusers 2 8 64 7 8include "arch/powerpc/pic/files.pic" 9 10file arch/evbppc/wii/autoconf.c 11file arch/powerpc/powerpc/clock.c 12file arch/evbppc/wii/pic_pi.c 13file arch/evbppc/wii/machdep.c 14 15# 16# Machine-independent drivers 17# 18include "dev/ata/files.ata" 19include "dev/bluetooth/files.bluetooth" 20include "dev/scsipi/files.scsipi" 21include "dev/sdmmc/files.sdmmc" 22include "dev/usb/files.usb" 23 24# 25# Memory Disk for install floppy 26# 27file dev/md_root.c memory_disk_hooks 28 29# 30# System bus types 31# 32define mainbus { [addr=-1], [irq=-1] } 33device mainbus: mainbus 34attach mainbus at root 35device cpu 36attach cpu at mainbus 37file arch/evbppc/wii/mainbus.c mainbus | cpu needs-flag 38 39attach genfb at mainbus with wiifb 40file arch/evbppc/wii/dev/wiifb.c wiifb 41 42device bwai 43attach bwai at mainbus 44file arch/evbppc/wii/dev/bwai.c bwai 45 46device bwdsp: audiobus 47attach bwdsp at mainbus 48file arch/evbppc/wii/dev/bwdsp.c bwdsp 49 50define exi { } 51device exi: exi 52attach exi at mainbus 53file arch/evbppc/wii/dev/exi.c exi 54 55device rtcsram 56attach rtcsram at exi 57file arch/evbppc/wii/dev/rtcsram.c rtcsram 58 59define hollywood { [addr=-1], [irq=-1] } 60device hollywood: hollywood 61attach hollywood at mainbus 62file arch/evbppc/wii/dev/hollywood.c hollywood 63 64device resetbtn 65attach resetbtn at hollywood 66file arch/evbppc/wii/dev/resetbtn.c resetbtn 67 68device hwgpio: gpiobus 69attach hwgpio at hollywood 70file arch/evbppc/wii/dev/hwgpio.c hwgpio 71 72attach ehci at hollywood with ehci_hollywood 73file arch/evbppc/wii/dev/ehci_hollywood.c ehci_hollywood 74 75attach ohci at hollywood with ohci_hollywood 76file arch/evbppc/wii/dev/ohci_hollywood.c ohci_hollywood 77 78attach sdhc at hollywood with sdhc_hollywood 79file arch/evbppc/wii/dev/sdhc_hollywood.c sdhc_hollywood 80 81device avenc 82attach avenc at iic 83file arch/evbppc/wii/dev/avenc.c avenc 84