files.macppc revision 1.126
11.126Smacallan# $NetBSD: files.macppc,v 1.126 2025/08/22 14:01:56 macallan Exp $ 21.1Stsubai# 31.16Sthorpej# macppc-specific configuration info 41.16Sthorpej 51.16Sthorpej# maxpartitions must be first item in files.${ARCH}.newconf 61.1Stsubaimaxpartitions 16 71.1Stsubai 81.1Stsubaimaxusers 2 8 64 91.1Stsubai 101.3Stsubaiinclude "arch/powerpc/conf/files.ofw" 111.85Sgarbledinclude "arch/powerpc/pic/files.pic" 121.85Sgarbledinclude "arch/powerpc/pic/files.ipi" 131.3Stsubai 141.87Sgarbledfile arch/powerpc/oea/ofw_autoconf.c 151.85Sgarbledfile arch/powerpc/powerpc/clock.c 161.1Stsubaifile arch/macppc/macppc/disksubr.c disk 171.85Sgarbledfile arch/macppc/macppc/interrupts.c 181.85Sgarbledfile arch/powerpc/oea/ofwoea_machdep.c 191.85Sgarbledfile arch/powerpc/oea/ofw_consinit.c 201.1Stsubaifile arch/macppc/macppc/machdep.c 211.98Smacallanfile arch/macppc/macppc/static_edid.c 221.89Sgarbledfile arch/powerpc/oea/ofw_rascons.c 231.1Stsubaifile arch/macppc/dev/dbdma.c 241.57Smatt 251.85Sgarbled# interrupt controllers 261.85Sgarbleddefine pic_ohare 271.85Sgarbleddefine pic_heathrow 281.100Smacallandefine pic_u3_ht 291.85Sgarbled 301.85Sgarbleddefflag opt_interrupt.h PIC_OHARE: pic_ohare 311.85Sgarbleddefflag opt_interrupt.h OHARE_DEBUG 321.85Sgarbleddefflag opt_interrupt.h PIC_HEATHROW: pic_heathrow 331.100Smacallandefflag opt_interrupt.h PIC_U3_HT: pic_u3_ht 341.85Sgarbled 351.85Sgarbledfile arch/macppc/macppc/pic_ohare.c pic_ohare needs-flag 361.85Sgarbledfile arch/macppc/macppc/pic_heathrow.c pic_heathrow needs-flag 371.100Smacallanfile arch/macppc/macppc/pic_u3_ht.c pic_u3_ht needs-flag 381.85Sgarbled 391.85Sgarbled# IPI interface 401.85Sgarbleddefine ipi_hammerhead 411.85Sgarbleddefflag opt_ipi.h IPI_HAMMERHEAD: ipi_hammerhead 421.85Sgarbledfile arch/macppc/macppc/ipi_hammerhead.c ipi_hammerhead needs-flag 431.85Sgarbled 441.85Sgarbledfile arch/powerpc/powerpc/bus_dma.c 451.85Sgarbledfile arch/powerpc/powerpc/bus_space.c 461.57Smattfile arch/powerpc/powerpc/procfs_machdep.c procfs 471.1Stsubaifile dev/cons.c 481.1Stsubai 491.74Ssanjayl#Early serial console for G5 (uses RMCI mode of 970 */ 501.74Ssanjaylfile arch/macppc/macppc/failsafe.c 511.74Ssanjayl 521.1Stsubai# 531.5Stsubai# Memory Disk for install floppy 541.5Stsubai# 551.33Stsutsuifile dev/md_root.c memory_disk_hooks 561.5Stsubai 571.30Soster# 581.1Stsubai# Machine-independent SCSI drivers 591.1Stsubai# 601.1Stsubaiinclude "dev/scsipi/files.scsipi" 611.1Stsubai 621.1Stsubai# 631.17Stsubai# Machine-independent ATA drivers 641.17Stsubai# 651.17Stsubaiinclude "dev/ata/files.ata" 661.17Stsubai 671.17Stsubai# 681.36Shannken# Machine-independent I2O drivers 691.36Shannken# 701.36Shannkeninclude "dev/i2o/files.i2o" 711.1Stsubai 721.1Stsubai# 731.1Stsubai# System bus types 741.1Stsubai# 751.1Stsubaidefine mainbus {} 761.27Stsubaidevice mainbus: mainbus 771.1Stsubaiattach mainbus at root 781.1Stsubaifile arch/macppc/macppc/mainbus.c mainbus 791.1Stsubai 801.48Snathanwdevice cpu: sysmon_envsys 811.1Stsubaiattach cpu at mainbus 821.1Stsubaifile arch/macppc/macppc/cpu.c 831.1Stsubai 841.93Smacallandevice memory: iic 851.93Smacallanattach memory at mainbus 861.93Smacallanfile arch/macppc/macppc/memory.c memory 871.93Smacallan 881.85Sgarbled# ISA stuff 891.85Sgarbled# we don't need it but some of the shared code needs isa.h 901.85Sgarbledinclude "dev/isa/files.isa" 911.85Sgarbled 921.81Smacallan# PCI bus support 931.81Smacallaninclude "dev/pci/files.pci" 941.83Sdogcowinclude "dev/pci/files.agp" 951.27Stsubaifile arch/macppc/pci/pci_machdep.c pci 961.118Sthorpejfile dev/ofw/ofw_pci_subr.c pci 971.81Smacallanfile arch/macppc/pci/agp_machdep.c agp 981.85Sgarbledfile arch/powerpc/pci/pciconf_indirect.c pci 991.85Sgarbledfile arch/powerpc/pci/pci_machdep_common.c pci 1001.97Smattfile arch/powerpc/pci/pci_module.c pci & modular 1011.27Stsubai 1021.88Smacallandevice bandit: pcibus, pic_ohare, ipi_hammerhead 1031.27Stsubaiattach bandit at mainbus 1041.27Stsubaifile arch/macppc/pci/bandit.c bandit 1051.27Stsubai 1061.85Sgarbleddevice grackle: pcibus, pic_heathrow 1071.27Stsubaiattach grackle at mainbus 1081.27Stsubaifile arch/macppc/pci/grackle.c grackle 1091.27Stsubai 1101.110Smacallandevice uninorth: pcibus, pic_openpic, ipi_openpic 1111.27Stsubaiattach uninorth at mainbus 1121.27Stsubaifile arch/macppc/pci/uninorth.c uninorth 1131.27Stsubai 1141.65Smacallan# pseudo for the UniNorth host controller 1151.65Smacallandefine uni_n {} 1161.65Smacallandevice uni_n: uni_n 1171.65Smacallanattach uni_n at mainbus 1181.65Smacallanfile arch/macppc/dev/uni-n.c uni_n 1191.65Smacallan 1201.71Sjmmvinclude "dev/usb/files.usb" 1211.86Saymericinclude "dev/bluetooth/files.bluetooth" 1221.13Stsubai 1231.100Smacallandevice ibmcpc: pcibus, pic_openpic, ipi_openpic, pic_u3_ht 1241.74Ssanjaylattach ibmcpc at mainbus 1251.74Ssanjaylfile arch/macppc/pci/u3.c ibmcpc 1261.74Ssanjayl 1271.82Smacallandevice ofb: wsemuldisplaydev, rasops8, vcons, drm 1281.13Stsubaiattach ofb at pci 1291.13Stsubaifile arch/macppc/dev/ofb.c ofb needs-flag 1301.1Stsubai 1311.1Stsubai# PCI-Host bridge chipsets 1321.101Suebayasidevice pchb: agpbus 1331.1Stsubaiattach pchb at pci 1341.85Sgarbledfile arch/powerpc/pci/pchb.c pchb 1351.29Stsubai 1361.29Stsubaidevice gm: ifnet, ether, arp, mii 1371.29Stsubaiattach gm at pci 1381.29Stsubaifile arch/macppc/dev/if_gm.c gm 1391.58Shamajima 1401.75Sitohyattach wdc at pci with kauai: ata_dma, ata_udma 1411.58Shamajimafile arch/macppc/dev/kauai.c kauai 1421.1Stsubai 1431.22Stsubaidefine obio {} 1441.126Smacallandevice obio: obio, leds, fancontrol 1451.1Stsubaiattach obio at pci 1461.1Stsubaifile arch/macppc/dev/obio.c obio 1471.85Sgarbleddefflag opt_obio.h OBIO_DEBUG OBIO_SPEED_CONTROL 1481.1Stsubai 1491.22Stsubaidevice mediabay: obio 1501.22Stsubaiattach mediabay at obio 1511.22Stsubaifile arch/macppc/dev/mediabay.c mediabay 1521.22Stsubai 1531.1Stsubaiattach esp at obio 1541.1Stsubaifile arch/macppc/dev/esp.c esp 1551.1Stsubai 1561.17Stsubaidevice mesh: scsi 1571.17Stsubaiattach mesh at obio 1581.17Stsubaifile arch/macppc/dev/mesh.c mesh 1591.17Stsubai 1601.1Stsubaidevice mc: ifnet, ether, arp 1611.1Stsubaiattach mc at obio 1621.1Stsubaifile arch/macppc/dev/if_mc.c mc 1631.1Stsubaifile arch/macppc/dev/am79c950.c mc 1641.1Stsubai 1651.26Stsubaidevice bm: ifnet, ether, arp, mii, mii_bitbang 1661.18Stsubaiattach bm at obio 1671.18Stsubaifile arch/macppc/dev/if_bm.c bm 1681.18Stsubai 1691.1Stsubaidevice zsc {channel = -1} 1701.1Stsubaiattach zsc at obio 1711.1Stsubaifile arch/macppc/dev/zs.c zsc needs-flag 1721.1Stsubaifile dev/ic/z8530sc.c zsc 1731.47Sdbjfile arch/macppc/dev/zs_kgdb.c zsc & kgdb 1741.1Stsubai 1751.1Stsubaidevice zstty: tty 1761.1Stsubaiattach zstty at zsc 1771.69Schsfile dev/ic/z8530tty.c zstty needs-flag 1781.1Stsubai 1791.121Smacallandefine fancontrol 1801.121Smacallanfile arch/macppc/dev/fancontrol.c fancontrol 1811.121Smacallandefflag opt_fancontrol.h FANCONTROL_DEBUG 1821.121Smacallan 1831.122Smacallandevice smu { } : sysmon_envsys, fancontrol 1841.104Smacallanattach smu at mainbus 1851.104Smacallanfile arch/macppc/dev/smu.c smu needs-flag 1861.104Smacallandefflag opt_smu.h SMU_DEBUG 1871.104Smacallan 1881.109Smacallandevice smuiic: i2cbus 1891.104Smacallanattach smuiic at smu 1901.104Smacallanfile arch/macppc/dev/smuiic.c smuiic 1911.104Smacallan 1921.104Smacallandevice smusat 1931.109Smacallanattach smusat at iic 1941.104Smacallanfile arch/macppc/dev/smusat.c smusat 1951.104Smacallandefflag opt_smusat.h SMUSAT_DEBUG 1961.104Smacallan 1971.77Smacallaninclude "dev/adb/files.adb" 1981.77Smacallan 1991.77Smacallandefflag opt_cuda.h CUDA_DEBUG 2001.77Smacallandevice cuda : adb_bus, i2cbus 2011.77Smacallanattach cuda at obio 2021.77Smacallanfile arch/macppc/dev/cuda.c cuda needs-flag 2031.77Smacallan 2041.81Smacallandefine pmu_bus {} 2051.77Smacallandefflag opt_pmu.h PMU_DEBUG 2061.77Smacallandefflag opt_pmu.h PMU_VERBOSE 2071.80Smacallandevice pmu : adb_bus, i2cbus, pmu_bus 2081.77Smacallanattach pmu at obio 2091.77Smacallanfile arch/macppc/dev/pmu.c pmu needs-flag 2101.79Smacallan 2111.79Smacallandevice battery : sysmon_envsys, sysmon_power, sysmon_taskq 2121.79Smacallanattach battery at pmu_bus 2131.79Smacallanfile arch/macppc/dev/battery.c battery 2141.79Smacallandefflag opt_battery.h BATTERY_DEBUG 2151.77Smacallan 2161.81Smacallandevice smartbat : sysmon_envsys, sysmon_power, sysmon_taskq 2171.81Smacallanattach smartbat at pmu_bus 2181.81Smacallanfile arch/macppc/dev/smartbat.c smartbat 2191.81Smacallandefflag opt_battery.h SMARTBAT_DEBUG 2201.81Smacallan 2211.82Smacallandevice adb {} 2221.1Stsubaiattach adb at obio 2231.1Stsubaifile arch/macppc/dev/adb.c adb needs-flag 2241.1Stsubaifile arch/macppc/dev/adb_direct.c adb 2251.15Stsubaifile arch/macppc/dev/pm_direct.c adb 2261.51Sitojun 2271.51Sitojundevice apm 2281.51Sitojunattach apm at adb 2291.51Sitojunfile arch/macppc/dev/apm.c apm needs-count 2301.12Stsubai 2311.12Stsubaidevice aed 2321.12Stsubaiattach aed at adb 2331.12Stsubaifile arch/macppc/dev/aed.c aed needs-flag 2341.12Stsubai 2351.13Stsubaidevice akbd: wskbddev 2361.12Stsubaiattach akbd at adb 2371.18Stsubaifile arch/macppc/dev/akbd.c akbd needs-flag 2381.12Stsubai 2391.14Stsubaidevice ams: wsmousedev 2401.12Stsubaiattach ams at adb 2411.12Stsubaifile arch/macppc/dev/ams.c ams 2421.21Stsubai 2431.70Schristosdevice pbms: wsmousedev 2441.70Schristosattach pbms at uhidbus 2451.70Schristosfile arch/macppc/dev/pbms.c pbms 2461.70Schristos 2471.21Stsubaidevice abtn 2481.21Stsubaiattach abtn at adb 2491.21Stsubaifile arch/macppc/dev/abtn.c abtn 2501.1Stsubai 2511.7Stsubaidevice nvram 2521.7Stsubaiattach nvram at obio 2531.7Stsubaifile arch/macppc/dev/nvram.c nvram needs-flag 2541.17Stsubai 2551.75Sitohyattach wdc at obio with wdc_obio: ata_dma, ata_udma 2561.17Stsubaifile arch/macppc/dev/wdc_obio.c wdc_obio 2571.42Stsubai 2581.42Stsubaiattach wi at obio with wi_obio 2591.42Stsubaifile arch/macppc/dev/if_wi_obio.c wi_obio 2601.32Stsubai 2611.111Sisakidevice awacs: audiobus 2621.32Stsubaiattach awacs at obio 2631.93Smacallanfile arch/macppc/dev/awacs.c awacs needs-flag 2641.81Smacallandefflag opt_awacs.h AWACS_DEBUG 2651.41Smatt 2661.66Smacallandevice macgpio {} 2671.66Smacallanattach macgpio at obio with gpio_obio 2681.66Smacallan#attach gpio at macgpio with gpio_gpio 2691.66Smacallanfile arch/macppc/dev/gpio.c macgpio 2701.10Sthorpej 2711.74Ssanjaylattach com at mainbus with com_mainbus 2721.74Ssanjaylfile arch/macppc/dev/com_mainbus.c com_mainbus 2731.74Ssanjayl 2741.34Smattinclude "dev/ieee1394/files.ieee1394" 2751.23Shaya 2761.23Shaya# 2771.23Shaya# Machine-independent CardBus drivers 2781.23Shaya# 2791.24Stsubai 2801.24Stsubai# XXX dev/pcmcia needs fdc 2811.24Stsubaidevice fdc {drive = -1} 2821.24Stsubai 2831.25Stsubaiinclude "dev/cardbus/files.cardbus" 2841.23Shayainclude "dev/pcmcia/files.pcmcia" 2851.24Stsubai 2861.81Smacallandefflag opt_macppc.h PB3400_CARDBUS_HACK UMAX_E100_HACK 2871.81Smacallan 2881.23Shayafile arch/macppc/macppc/rbus_machdep.c cardbus 2891.52Sgehenna 2901.61Sgrant# Keywest I2C 2911.116Sthorpejdevice ki2c: i2cbus 2921.65Smacallanattach ki2c at obio, uni_n 2931.61Sgrantfile arch/macppc/dev/ki2c.c ki2c 2941.113Smacallandefflag opt_ki2c.h KI2C_DEBUG 2951.61Sgrant 2961.61Sgrant# snapper audio 2971.115Smacallandevice snapper: audiobus, onewirebus, onewire, onewire_bitbang 2981.61Sgrantattach snapper at obio 2991.61Sgrantfile arch/macppc/dev/snapper.c snapper 3001.115Smacallandefflag opt_snapper.h SNAPPER_DEBUG 3011.61Sgrant 3021.91Smacallaninclude "arch/powerpc/conf/majors.powerpc" 3031.65Smacallan 3041.65Smacallandevice deq 3051.105Smacallanattach deq at iic 3061.65Smacallanfile arch/macppc/dev/deq.c deq 3071.65Smacallan 3081.99Smacallandevice videopll 3091.99Smacallanattach videopll at iic 3101.99Smacallanfile arch/macppc/dev/videopll.c videopll needs-flag 3111.99Smacallandefflag opt_videopll.h VIDEOPLL_DEBUG 3121.99Smacallan 3131.99Smacallandevice valkyriefb: wsemuldisplaydev, rasops8, vcons, videomode 3141.99Smacallanattach valkyriefb at mainbus 3151.99Smacallanfile arch/macppc/dev/valkyriefb.c valkyriefb 3161.99Smacallandefflag opt_valkyriefb.h VALKYRIEFB_DEBUG 3171.102Smacallan 3181.102Smacallandevice platinumfb: wsemuldisplaydev, rasops8, vcons, videomode 3191.102Smacallanattach platinumfb at mainbus 3201.103Smacallanfile arch/macppc/dev/platinumfb.c platinumfb 3211.112Smacallan 3221.112Smacallan# 'Psoc' fan controller found in (some?) TiBooks 3231.112Smacallandevice psoc: sysmon_envsys 3241.112Smacallanattach psoc at iic 3251.112Smacallanfile arch/macppc/dev/psoc.c psoc 3261.119Smacallandefflag opt_psoc.h PSOC_DEBUG 3271.112Smacallan 3281.114Smacallan# 'lmu-micro' found in late PowerBooks 3291.114Smacallandevice lmu: sysmon_envsys 3301.114Smacallanattach lmu at iic 3311.114Smacallanfile arch/macppc/dev/lmu.c lmu 3321.119Smacallandefflag opt_lmu.h LMU_DEBUG 3331.120Smacallan 3341.120Smacallan# Apple Fan Control Unit found in some G5 3351.121Smacallandevice fcu: sysmon_envsys, fancontrol 3361.120Smacallanattach fcu at iic 3371.120Smacallanfile arch/macppc/dev/fcu.c fcu needs-flag 3381.124Smacallandefflag opt_fcu.h FCU_DEBUG 3391.123Smacallan 3401.123Smacallan# fan control bits found in obio's space on some G5 3411.123Smacallandevice obiofan: sysmon_envsys 3421.123Smacallanattach obiofan at obio 3431.123Smacallanfile arch/macppc/dev/obiofan.c obiofan 3441.123Smacallandefflag opt_obiofan.h OBIOFAN_DEBUG 3451.123Smacallan 3461.125Smacallan# Philips PCA9554 GPIO controlling Xserve's drivebays 3471.125Smacallandevice drivebay: leds 3481.125Smacallanattach drivebay at iic 3491.125Smacallanfile arch/macppc/dev/drivebay.c drivebay 350