files.macppc revision 1.31
1# $NetBSD: files.macppc,v 1.31 2000/03/26 08:34:20 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# RAIDframe 30# 31major {raid = 12} 32 33# 34# Machine-independent SCSI drivers 35# 36include "dev/scsipi/files.scsipi" 37major {sd = 4} 38major {cd = 6} 39 40# 41# Machine-independent ATA drivers 42# 43include "dev/ata/files.ata" 44major {wd = 10} 45 46# 47# Generic OpenFirmware device support 48# 49#include "dev/ofw/files.ofw" 50#major {ofdisk = 0} 51 52# 53# System bus types 54# 55define mainbus {} 56device mainbus: mainbus 57attach mainbus at root 58file arch/macppc/macppc/mainbus.c mainbus 59 60device cpu 61attach cpu at mainbus 62file arch/macppc/macppc/cpu.c 63 64file arch/macppc/pci/pci_machdep.c pci 65 66device bandit: pcibus 67attach bandit at mainbus 68file arch/macppc/pci/bandit.c bandit 69 70device grackle: pcibus 71attach grackle at mainbus 72file arch/macppc/pci/grackle.c grackle 73 74device uninorth: pcibus 75attach uninorth at mainbus 76file arch/macppc/pci/uninorth.c uninorth 77 78# PCI bus support 79include "dev/pci/files.pci" 80 81file arch/macppc/pci/pciide_machdep.c pciide 82 83# network devices MII bus 84include "dev/mii/files.mii" 85 86include "dev/wscons/files.wscons" 87include "dev/wsfont/files.wsfont" 88include "dev/rasops/files.rasops" 89 90device ofb: wsemuldisplaydev, rasops8 91attach ofb at pci 92file arch/macppc/dev/ofb.c ofb needs-flag 93 94# PCI-Host bridge chipsets 95device pchb 96attach pchb at pci 97file arch/macppc/pci/pchb.c pchb 98 99device gm: ifnet, ether, arp, mii 100attach gm at pci 101file arch/macppc/dev/if_gm.c gm 102 103define obio {} 104device obio: obio 105attach obio at pci 106file arch/macppc/dev/obio.c obio 107 108device mediabay: obio 109attach mediabay at obio 110file arch/macppc/dev/mediabay.c mediabay 111 112attach esp at obio 113file arch/macppc/dev/esp.c esp 114 115device mesh: scsi 116attach mesh at obio 117file arch/macppc/dev/mesh.c mesh 118 119device mc: ifnet, ether, arp 120attach mc at obio 121file arch/macppc/dev/if_mc.c mc 122file arch/macppc/dev/am79c950.c mc 123 124device bm: ifnet, ether, arp, mii, mii_bitbang 125attach bm at obio 126file arch/macppc/dev/if_bm.c bm 127 128device zsc {channel = -1} 129attach zsc at obio 130file arch/macppc/dev/zs.c zsc needs-flag 131file dev/ic/z8530sc.c zsc 132 133device zstty: tty 134attach zstty at zsc 135file arch/macppc/dev/z8530tty.c zstty needs-flag 136 137device adb {} 138attach adb at obio 139file arch/macppc/dev/adb.c adb needs-flag 140file arch/macppc/dev/adb_direct.c adb 141file arch/macppc/dev/pm_direct.c adb 142 143device aed 144attach aed at adb 145file arch/macppc/dev/aed.c aed needs-flag 146 147device akbd: wskbddev 148attach akbd at adb 149file arch/macppc/dev/akbd.c akbd needs-flag 150 151device ams: wsmousedev 152attach ams at adb 153file arch/macppc/dev/ams.c ams 154 155device abtn 156attach abtn at adb 157file arch/macppc/dev/abtn.c abtn 158 159device nvram 160attach nvram at obio 161file arch/macppc/dev/nvram.c nvram needs-flag 162 163attach wdc at obio with wdc_obio 164file arch/macppc/dev/wdc_obio.c wdc_obio 165 166define grfdev {} 167 168device grfati: grfdev 169attach grfati at pci 170file arch/macppc/dev/grf_ati.c grfati needs-flag 171 172device grf {} 173attach grf at grfdev 174file arch/macppc/dev/grf.c grf needs-flag 175file arch/macppc/dev/grf_subr.c grf 176 177device ite: tty 178attach ite at grf 179file arch/macppc/dev/ite.c ite needs-flag 180 181device macofcons: tty 182attach macofcons at pci 183file arch/macppc/dev/ofcons.c macofcons needs-flag 184 185include "dev/usb/files.usb" 186 187# 188# Machine-independent CardBus drivers 189# 190 191# XXX dev/pcmcia needs fdc 192device fdc {drive = -1} 193 194include "dev/cardbus/files.cardbus" 195include "dev/pcmcia/files.pcmcia" 196 197file arch/macppc/macppc/rbus_machdep.c cardbus 198