files.macppc revision 1.29
1# $NetBSD: files.macppc,v 1.29 2000/02/27 18:06:43 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 94device gm: ifnet, ether, arp, mii 95attach gm at pci 96file arch/macppc/dev/if_gm.c gm 97 98define obio {} 99device obio: obio 100attach obio at pci 101file arch/macppc/dev/obio.c obio 102 103device mediabay: obio 104attach mediabay at obio 105file arch/macppc/dev/mediabay.c mediabay 106 107device esp: scsi, ncr53c9x 108attach esp at obio 109file arch/macppc/dev/esp.c esp 110 111device mesh: scsi 112attach mesh at obio 113file arch/macppc/dev/mesh.c mesh 114 115device mc: ifnet, ether, arp 116attach mc at obio 117file arch/macppc/dev/if_mc.c mc 118file arch/macppc/dev/am79c950.c mc 119 120device bm: ifnet, ether, arp, mii, mii_bitbang 121attach bm at obio 122file arch/macppc/dev/if_bm.c bm 123 124device zsc {channel = -1} 125attach zsc at obio 126file arch/macppc/dev/zs.c zsc needs-flag 127file dev/ic/z8530sc.c zsc 128 129device zstty: tty 130attach zstty at zsc 131file arch/macppc/dev/z8530tty.c zstty needs-flag 132 133device adb {} 134attach adb at obio 135file arch/macppc/dev/adb.c adb needs-flag 136file arch/macppc/dev/adb_direct.c adb 137file arch/macppc/dev/pm_direct.c adb 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 162define grfdev {} 163 164device grfati: grfdev 165attach grfati at pci 166file arch/macppc/dev/grf_ati.c grfati needs-flag 167 168device grf {} 169attach grf at grfdev 170file arch/macppc/dev/grf.c grf needs-flag 171file arch/macppc/dev/grf_subr.c grf 172 173device ite: tty 174attach ite at grf 175file arch/macppc/dev/ite.c ite needs-flag 176 177device macofcons: tty 178attach macofcons at pci 179file arch/macppc/dev/ofcons.c macofcons needs-flag 180 181include "dev/usb/files.usb" 182 183# 184# Machine-independent CardBus drivers 185# 186 187# XXX dev/pcmcia needs fdc 188device fdc {drive = -1} 189 190include "dev/cardbus/files.cardbus" 191include "dev/pcmcia/files.pcmcia" 192 193file arch/macppc/macppc/rbus_machdep.c cardbus 194