files.macppc revision 1.70
1# $NetBSD: files.macppc,v 1.70 2006/02/05 18:10:57 christos 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/dbdma.c 19 20file arch/powerpc/powerpc/procfs_machdep.c procfs 21file arch/powerpc/powerpc/softintr.c 22file dev/cons.c 23 24# 25# Memory Disk for install floppy 26# 27file dev/md_root.c memory_disk_hooks 28 29# 30# Machine-independent SCSI drivers 31# 32include "dev/scsipi/files.scsipi" 33 34# 35# Machine-independent ATA drivers 36# 37include "dev/ata/files.ata" 38 39# 40# Generic OpenFirmware device support 41# 42include "dev/ofw/files.ofw" 43 44# 45# Machine-independent I2O drivers 46# 47include "dev/i2o/files.i2o" 48 49# 50# System bus types 51# 52define mainbus {} 53device mainbus: mainbus 54attach mainbus at root 55file arch/macppc/macppc/mainbus.c mainbus 56 57device cpu: sysmon_envsys 58attach cpu at mainbus 59file arch/macppc/macppc/cpu.c 60 61file arch/macppc/pci/pci_machdep.c pci 62 63device bandit: pcibus 64attach bandit at mainbus 65file arch/macppc/pci/bandit.c bandit 66 67device grackle: pcibus 68attach grackle at mainbus 69file arch/macppc/pci/grackle.c grackle 70 71device uninorth: pcibus 72attach uninorth at mainbus 73file arch/macppc/pci/uninorth.c uninorth 74 75# pseudo for the UniNorth host controller 76define uni_n {} 77device uni_n: uni_n 78attach uni_n at mainbus 79file arch/macppc/dev/uni-n.c uni_n 80 81# PCI bus support 82include "dev/pci/files.pci" 83 84include "dev/wscons/files.wscons" 85include "dev/wsfont/files.wsfont" 86include "dev/rasops/files.rasops" 87 88device ofb: wsemuldisplaydev, rasops8 89attach ofb at pci 90file arch/macppc/dev/ofb.c ofb needs-flag 91 92# PCI-Host bridge chipsets 93device pchb 94attach pchb at pci 95file arch/macppc/pci/pchb.c pchb 96 97device gm: ifnet, ether, arp, mii 98attach gm at pci 99file arch/macppc/dev/if_gm.c gm 100 101attach wdc at pci with kauai 102file arch/macppc/dev/kauai.c kauai 103 104define obio {} 105device obio: obio 106attach obio at pci 107file arch/macppc/dev/obio.c obio 108 109device mediabay: obio 110attach mediabay at obio 111file arch/macppc/dev/mediabay.c mediabay 112 113attach esp at obio 114file arch/macppc/dev/esp.c esp 115 116device mesh: scsi 117attach mesh at obio 118file arch/macppc/dev/mesh.c mesh 119 120device mc: ifnet, ether, arp 121attach mc at obio 122file arch/macppc/dev/if_mc.c mc 123file arch/macppc/dev/am79c950.c mc 124 125device bm: ifnet, ether, arp, mii, mii_bitbang 126attach bm at obio 127file arch/macppc/dev/if_bm.c bm 128 129device zsc {channel = -1} 130attach zsc at obio 131file arch/macppc/dev/zs.c zsc needs-flag 132file dev/ic/z8530sc.c zsc 133file arch/macppc/dev/zs_kgdb.c zsc & kgdb 134 135device zstty: tty 136attach zstty at zsc 137file dev/ic/z8530tty.c zstty needs-flag 138 139device adb {} 140attach adb at obio 141file arch/macppc/dev/adb.c adb needs-flag 142file arch/macppc/dev/adb_direct.c adb 143file arch/macppc/dev/pm_direct.c adb 144 145device apm 146attach apm at adb 147file arch/macppc/dev/apm.c apm needs-count 148 149device aed 150attach aed at adb 151file arch/macppc/dev/aed.c aed needs-flag 152 153device akbd: wskbddev 154attach akbd at adb 155file arch/macppc/dev/akbd.c akbd needs-flag 156 157device ams: wsmousedev 158attach ams at adb 159file arch/macppc/dev/ams.c ams 160 161device pbms: wsmousedev 162attach pbms at uhidbus 163file arch/macppc/dev/pbms.c pbms 164 165device abtn 166attach abtn at adb 167file arch/macppc/dev/abtn.c abtn 168 169device nvram 170attach nvram at obio 171file arch/macppc/dev/nvram.c nvram needs-flag 172 173attach wdc at obio with wdc_obio 174file arch/macppc/dev/wdc_obio.c wdc_obio 175 176attach wi at obio with wi_obio 177file arch/macppc/dev/if_wi_obio.c wi_obio 178 179device awacs: audiobus, auconv, mulaw, aurateconv 180attach awacs at obio 181file arch/macppc/dev/awacs.c awacs 182 183device macgpio {} 184attach macgpio at obio with gpio_obio 185#attach gpio at macgpio with gpio_gpio 186file arch/macppc/dev/gpio.c macgpio 187 188device macofcons: tty 189attach macofcons at pci 190file arch/macppc/dev/ofcons.c macofcons needs-flag 191 192include "dev/usb/files.usb" 193include "dev/ieee1394/files.ieee1394" 194 195# 196# Machine-independent CardBus drivers 197# 198 199# XXX dev/pcmcia needs fdc 200device fdc {drive = -1} 201 202include "dev/cardbus/files.cardbus" 203include "dev/pcmcia/files.pcmcia" 204 205file arch/macppc/macppc/rbus_machdep.c cardbus 206 207# Keywest I2C 208define ki2c {} 209device ki2c: i2cbus, ki2c 210attach ki2c at obio, uni_n 211file arch/macppc/dev/ki2c.c ki2c 212 213# snapper audio 214device snapper: audiobus, auconv, mulaw, aurateconv 215attach snapper at obio 216file arch/macppc/dev/snapper.c snapper 217 218# Atheros 5210/5211/5212 Hardware Abstraction Layer (HAL) 219object /athhal-powerpc-be-eabi.hal.o ath 220 221include "arch/macppc/conf/majors.macppc" 222 223attach adt7467c at ki2c with adt7467_ki2c 224file arch/macppc/dev/adt7467_ki2c.c adt7467c 225 226attach adm1030c at ki2c with adm1030_ki2c 227file arch/macppc/dev/adm1030_ki2c.c adm1030c 228 229define deq {} 230device deq 231attach deq at ki2c 232file arch/macppc/dev/deq.c deq 233 234