files.macppc revision 1.80
1# $NetBSD: files.macppc,v 1.80 2007/02/15 02:17:30 macallan Exp $ 2# 3# macppc-specific configuration info 4 5# maxpartitions must be first item in files.${ARCH}.newconf 6maxpartitions 16 7 8maxusers 2 8 64 9 10include "arch/powerpc/conf/files.ofw" 11 12file arch/macppc/macppc/autoconf.c 13file arch/macppc/macppc/bus_dma.c 14file arch/macppc/macppc/clock.c 15file arch/macppc/macppc/disksubr.c disk 16file arch/macppc/macppc/extintr.c 17file arch/macppc/macppc/machdep.c 18file arch/macppc/dev/ofb_cons.c 19file arch/macppc/dev/dbdma.c 20 21file arch/powerpc/powerpc/procfs_machdep.c procfs 22file arch/powerpc/powerpc/softintr.c 23file dev/cons.c 24 25defflag opt_macppc.h PB3400_CARDBUS_HACK UMAX_E100_HACK 26 27#Early serial console for G5 (uses RMCI mode of 970 */ 28file arch/macppc/macppc/failsafe.c 29 30# 31# Memory Disk for install floppy 32# 33file dev/md_root.c memory_disk_hooks 34 35# 36# Machine-independent SCSI drivers 37# 38include "dev/scsipi/files.scsipi" 39 40# 41# Machine-independent ATA drivers 42# 43include "dev/ata/files.ata" 44 45# 46# Generic OpenFirmware device support 47# 48include "dev/ofw/files.ofw" 49 50# 51# Machine-independent I2O drivers 52# 53include "dev/i2o/files.i2o" 54 55# 56# System bus types 57# 58define mainbus {} 59device mainbus: mainbus 60attach mainbus at root 61file arch/macppc/macppc/mainbus.c mainbus 62 63device cpu: sysmon_envsys 64attach cpu at mainbus 65file arch/macppc/macppc/cpu.c 66 67file arch/macppc/pci/pci_machdep.c pci 68 69device bandit: pcibus 70attach bandit at mainbus 71file arch/macppc/pci/bandit.c bandit 72 73device grackle: pcibus 74attach grackle at mainbus 75file arch/macppc/pci/grackle.c grackle 76 77device uninorth: pcibus 78attach uninorth at mainbus 79file arch/macppc/pci/uninorth.c uninorth 80 81# pseudo for the UniNorth host controller 82define uni_n {} 83device uni_n: uni_n 84attach uni_n at mainbus 85file arch/macppc/dev/uni-n.c uni_n 86 87include "dev/wscons/files.wscons" 88include "dev/wsfont/files.wsfont" 89include "dev/rasops/files.rasops" 90include "dev/usb/files.usb" 91 92device ibmcpc: pcibus 93attach ibmcpc at mainbus 94file arch/macppc/pci/u3.c ibmcpc 95 96# PCI bus support 97include "dev/pci/files.pci" 98 99device ofb: wsemuldisplaydev, rasops8, vcons 100attach ofb at pci 101file arch/macppc/dev/ofb.c ofb needs-flag 102 103# PCI-Host bridge chipsets 104device pchb 105attach pchb at pci 106file arch/macppc/pci/pchb.c pchb 107 108device gm: ifnet, ether, arp, mii 109attach gm at pci 110file arch/macppc/dev/if_gm.c gm 111 112attach wdc at pci with kauai: ata_dma, ata_udma 113file arch/macppc/dev/kauai.c kauai 114 115define obio {} 116device obio: obio 117attach obio at pci 118file arch/macppc/dev/obio.c obio 119 120device mediabay: obio 121attach mediabay at obio 122file arch/macppc/dev/mediabay.c mediabay 123 124attach esp at obio 125file arch/macppc/dev/esp.c esp 126 127device mesh: scsi 128attach mesh at obio 129file arch/macppc/dev/mesh.c mesh 130 131device mc: ifnet, ether, arp 132attach mc at obio 133file arch/macppc/dev/if_mc.c mc 134file arch/macppc/dev/am79c950.c mc 135 136device bm: ifnet, ether, arp, mii, mii_bitbang 137attach bm at obio 138file arch/macppc/dev/if_bm.c bm 139 140device zsc {channel = -1} 141attach zsc at obio 142file arch/macppc/dev/zs.c zsc needs-flag 143file dev/ic/z8530sc.c zsc 144file arch/macppc/dev/zs_kgdb.c zsc & kgdb 145 146device zstty: tty 147attach zstty at zsc 148file dev/ic/z8530tty.c zstty needs-flag 149 150include "dev/adb/files.adb" 151 152defflag opt_cuda.h CUDA_DEBUG 153device cuda : adb_bus, i2cbus 154attach cuda at obio 155file arch/macppc/dev/cuda.c cuda needs-flag 156 157defflag opt_pmu.h PMU_DEBUG 158defflag opt_pmu.h PMU_VERBOSE 159define pmu_bus {} 160device pmu : adb_bus, i2cbus, pmu_bus 161attach pmu at obio 162file arch/macppc/dev/pmu.c pmu needs-flag 163 164device battery : sysmon_envsys, sysmon_power, sysmon_taskq 165attach battery at pmu_bus 166file arch/macppc/dev/battery.c battery 167defflag opt_battery.h BATTERY_DEBUG 168 169device adb {} 170attach adb at obio 171file arch/macppc/dev/adb.c adb needs-flag 172file arch/macppc/dev/adb_direct.c adb 173file arch/macppc/dev/pm_direct.c adb 174 175device apm 176attach apm at adb 177file arch/macppc/dev/apm.c apm needs-count 178 179device aed 180attach aed at adb 181file arch/macppc/dev/aed.c aed needs-flag 182 183device akbd: wskbddev 184attach akbd at adb 185file arch/macppc/dev/akbd.c akbd needs-flag 186 187device ams: wsmousedev 188attach ams at adb 189file arch/macppc/dev/ams.c ams 190 191device pbms: wsmousedev 192attach pbms at uhidbus 193file arch/macppc/dev/pbms.c pbms 194 195device abtn 196attach abtn at adb 197file arch/macppc/dev/abtn.c abtn 198 199device nvram 200attach nvram at obio 201file arch/macppc/dev/nvram.c nvram needs-flag 202 203attach wdc at obio with wdc_obio: ata_dma, ata_udma 204file arch/macppc/dev/wdc_obio.c wdc_obio 205 206attach wi at obio with wi_obio 207file arch/macppc/dev/if_wi_obio.c wi_obio 208 209device awacs: audiobus, auconv, mulaw, aurateconv 210attach awacs at obio 211file arch/macppc/dev/awacs.c awacs 212 213device macgpio {} 214attach macgpio at obio with gpio_obio 215#attach gpio at macgpio with gpio_gpio 216file arch/macppc/dev/gpio.c macgpio 217 218device macofcons: tty 219attach macofcons at pci 220file arch/macppc/dev/ofcons.c macofcons needs-flag 221 222attach com at mainbus with com_mainbus 223file arch/macppc/dev/com_mainbus.c com_mainbus 224 225include "dev/ieee1394/files.ieee1394" 226 227# 228# Machine-independent CardBus drivers 229# 230 231# XXX dev/pcmcia needs fdc 232device fdc {drive = -1} 233 234include "dev/cardbus/files.cardbus" 235include "dev/pcmcia/files.pcmcia" 236 237file arch/macppc/macppc/rbus_machdep.c cardbus 238 239# Keywest I2C 240define ki2c {} 241device ki2c: i2cbus, ki2c 242attach ki2c at obio, uni_n 243file arch/macppc/dev/ki2c.c ki2c 244 245# snapper audio 246device snapper: audiobus, auconv, mulaw, aurateconv 247attach snapper at obio 248file arch/macppc/dev/snapper.c snapper 249 250include "arch/macppc/conf/majors.macppc" 251 252attach adt7467c at ki2c with adt7467_ki2c 253file arch/macppc/dev/adt7467_ki2c.c adt7467c 254 255attach adm1030c at ki2c with adm1030_ki2c 256file arch/macppc/dev/adm1030_ki2c.c adm1030c 257 258define deq {} 259device deq 260attach deq at ki2c 261file arch/macppc/dev/deq.c deq 262 263