files.macppc revision 1.57
1# $NetBSD: files.macppc,v 1.57 2003/03/05 05:43:43 matt 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 dev/cons.c 22 23# 24# Memory Disk for install floppy 25# 26file dev/md_root.c memory_disk_hooks 27 28# 29# Machine-independent SCSI drivers 30# 31include "dev/scsipi/files.scsipi" 32 33# 34# Machine-independent ATA drivers 35# 36include "dev/ata/files.ata" 37 38# 39# Generic OpenFirmware device support 40# 41include "dev/ofw/files.ofw" 42 43# 44# Machine-independent I2O drivers 45# 46include "dev/i2o/files.i2o" 47 48# 49# System bus types 50# 51define mainbus {} 52device mainbus: mainbus 53attach mainbus at root 54file arch/macppc/macppc/mainbus.c mainbus 55 56device cpu: sysmon_envsys 57attach cpu at mainbus 58file arch/macppc/macppc/cpu.c 59 60file arch/macppc/pci/pci_machdep.c pci 61 62device bandit: pcibus 63attach bandit at mainbus 64file arch/macppc/pci/bandit.c bandit 65 66device grackle: pcibus 67attach grackle at mainbus 68file arch/macppc/pci/grackle.c grackle 69 70device uninorth: pcibus 71attach uninorth at mainbus 72file arch/macppc/pci/uninorth.c uninorth 73 74# PCI bus support 75include "dev/pci/files.pci" 76 77include "dev/wscons/files.wscons" 78include "dev/wsfont/files.wsfont" 79include "dev/rasops/files.rasops" 80 81device ofb: wsemuldisplaydev, rasops8 82attach ofb at pci 83file arch/macppc/dev/ofb.c ofb needs-flag 84 85# PCI-Host bridge chipsets 86device pchb 87attach pchb at pci 88file arch/macppc/pci/pchb.c pchb 89 90device gm: ifnet, ether, arp, mii 91attach gm at pci 92file arch/macppc/dev/if_gm.c gm 93 94define obio {} 95device obio: obio 96attach obio at pci 97file arch/macppc/dev/obio.c obio 98 99device mediabay: obio 100attach mediabay at obio 101file arch/macppc/dev/mediabay.c mediabay 102 103attach esp at obio 104file arch/macppc/dev/esp.c esp 105 106device mesh: scsi 107attach mesh at obio 108file arch/macppc/dev/mesh.c mesh 109 110device mc: ifnet, ether, arp 111attach mc at obio 112file arch/macppc/dev/if_mc.c mc 113file arch/macppc/dev/am79c950.c mc 114 115device bm: ifnet, ether, arp, mii, mii_bitbang 116attach bm at obio 117file arch/macppc/dev/if_bm.c bm 118 119device zsc {channel = -1} 120attach zsc at obio 121file arch/macppc/dev/zs.c zsc needs-flag 122file dev/ic/z8530sc.c zsc 123file arch/macppc/dev/zs_kgdb.c zsc & kgdb 124 125device zstty: tty 126attach zstty at zsc 127file arch/macppc/dev/z8530tty.c zstty needs-flag 128 129device adb {} 130attach adb at obio 131file arch/macppc/dev/adb.c adb needs-flag 132file arch/macppc/dev/adb_direct.c adb 133file arch/macppc/dev/pm_direct.c adb 134 135device apm 136attach apm at adb 137file arch/macppc/dev/apm.c apm needs-count 138 139device aed 140attach aed at adb 141file arch/macppc/dev/aed.c aed needs-flag 142 143device akbd: wskbddev 144attach akbd at adb 145file arch/macppc/dev/akbd.c akbd needs-flag 146 147device ams: wsmousedev 148attach ams at adb 149file arch/macppc/dev/ams.c ams 150 151device abtn 152attach abtn at adb 153file arch/macppc/dev/abtn.c abtn 154 155device nvram 156attach nvram at obio 157file arch/macppc/dev/nvram.c nvram needs-flag 158 159attach wdc at obio with wdc_obio 160file arch/macppc/dev/wdc_obio.c wdc_obio 161 162attach wi at obio with wi_obio 163file arch/macppc/dev/if_wi_obio.c wi_obio 164 165device awacs: audiobus, auconv, mulaw, aurateconv 166attach awacs at obio 167file arch/macppc/dev/awacs.c awacs 168 169device gpio {} 170attach gpio at obio with gpio_obio 171attach gpio at gpio with gpio_gpio 172file arch/macppc/dev/gpio.c gpio 173 174device macofcons: tty 175attach macofcons at pci 176file arch/macppc/dev/ofcons.c macofcons needs-flag 177 178include "dev/usb/files.usb" 179include "dev/ieee1394/files.ieee1394" 180 181# 182# Machine-independent CardBus drivers 183# 184 185# XXX dev/pcmcia needs fdc 186device fdc {drive = -1} 187 188include "dev/cardbus/files.cardbus" 189include "dev/pcmcia/files.pcmcia" 190 191file arch/macppc/macppc/rbus_machdep.c cardbus 192 193include "arch/macppc/conf/majors.macppc" 194