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