files.macppc revision 1.28
1# $NetBSD: files.macppc,v 1.28 2000/02/09 13:08:35 tsubai 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/conf.c 16file arch/macppc/macppc/disksubr.c disk 17file arch/macppc/macppc/extintr.c 18file arch/macppc/macppc/machdep.c 19file arch/macppc/dev/dbdma.c 20file dev/cons.c 21 22# 23# Memory Disk for install floppy 24# 25file arch/macppc/macppc/md_root.c memory_disk_hooks 26major {md = 9} 27 28# 29# Machine-independent SCSI drivers 30# 31include "dev/scsipi/files.scsipi" 32major {sd = 4} 33major {cd = 6} 34 35# 36# Machine-independent ATA drivers 37# 38include "dev/ata/files.ata" 39major {wd = 10} 40 41# 42# Generic OpenFirmware device support 43# 44#include "dev/ofw/files.ofw" 45#major {ofdisk = 0} 46 47# 48# System bus types 49# 50define mainbus {} 51device mainbus: mainbus 52attach mainbus at root 53file arch/macppc/macppc/mainbus.c mainbus 54 55device cpu 56attach cpu at mainbus 57file arch/macppc/macppc/cpu.c 58 59file arch/macppc/pci/pci_machdep.c pci 60 61device bandit: pcibus 62attach bandit at mainbus 63file arch/macppc/pci/bandit.c bandit 64 65device grackle: pcibus 66attach grackle at mainbus 67file arch/macppc/pci/grackle.c grackle 68 69device uninorth: pcibus 70attach uninorth at mainbus 71file arch/macppc/pci/uninorth.c uninorth 72 73# PCI bus support 74include "dev/pci/files.pci" 75 76file arch/macppc/pci/pciide_machdep.c pciide 77 78# network devices MII bus 79include "dev/mii/files.mii" 80 81include "dev/wscons/files.wscons" 82include "dev/wsfont/files.wsfont" 83include "dev/rasops/files.rasops" 84 85device ofb: wsemuldisplaydev, rasops8 86attach ofb at pci 87file arch/macppc/dev/ofb.c ofb needs-flag 88 89# PCI-Host bridge chipsets 90device pchb 91attach pchb at pci 92file arch/macppc/pci/pchb.c pchb 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 103device esp: scsi, ncr53c9x 104attach esp at obio 105file arch/macppc/dev/esp.c esp 106 107device mesh: scsi 108attach mesh at obio 109file arch/macppc/dev/mesh.c mesh 110 111device mc: ifnet, ether, arp 112attach mc at obio 113file arch/macppc/dev/if_mc.c mc 114file arch/macppc/dev/am79c950.c mc 115 116device bm: ifnet, ether, arp, mii, mii_bitbang 117attach bm at obio 118file arch/macppc/dev/if_bm.c bm 119 120device zsc {channel = -1} 121attach zsc at obio 122file arch/macppc/dev/zs.c zsc needs-flag 123file dev/ic/z8530sc.c zsc 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 aed 136attach aed at adb 137file arch/macppc/dev/aed.c aed needs-flag 138 139device akbd: wskbddev 140attach akbd at adb 141file arch/macppc/dev/akbd.c akbd needs-flag 142 143device ams: wsmousedev 144attach ams at adb 145file arch/macppc/dev/ams.c ams 146 147device abtn 148attach abtn at adb 149file arch/macppc/dev/abtn.c abtn 150 151device nvram 152attach nvram at obio 153file arch/macppc/dev/nvram.c nvram needs-flag 154 155attach wdc at obio with wdc_obio 156file arch/macppc/dev/wdc_obio.c wdc_obio 157 158define grfdev {} 159 160device grfati: grfdev 161attach grfati at pci 162file arch/macppc/dev/grf_ati.c grfati needs-flag 163 164device grf {} 165attach grf at grfdev 166file arch/macppc/dev/grf.c grf needs-flag 167file arch/macppc/dev/grf_subr.c grf 168 169device ite: tty 170attach ite at grf 171file arch/macppc/dev/ite.c ite needs-flag 172 173device macofcons: tty 174attach macofcons at pci 175file arch/macppc/dev/ofcons.c macofcons needs-flag 176 177include "dev/usb/files.usb" 178 179# 180# Machine-independent CardBus drivers 181# 182 183# XXX dev/pcmcia needs fdc 184device fdc {drive = -1} 185 186include "dev/cardbus/files.cardbus" 187include "dev/pcmcia/files.pcmcia" 188 189file arch/macppc/macppc/rbus_machdep.c cardbus 190