files.macppc revision 1.6
1# $OpenBSD: files.macppc,v 1.6 2002/03/23 14:14:25 deraadt Exp $ 2 3# 4# macppc-specific configuration info 5# 6maxpartitions 16 7 8maxusers 2 8 64 9 10file arch/macppc/macppc/autoconf.c 11file arch/macppc/macppc/clock.c 12file arch/macppc/macppc/conf.c 13file arch/macppc/macppc/disksubr.c disk 14file arch/macppc/macppc/machdep.c 15file arch/macppc/macppc/wscons_machdep.c 16file arch/macppc/macppc/mem.c 17file arch/macppc/macppc/dma.c 18file arch/macppc/macppc/ofw_machdep.c 19file arch/macppc/macppc/openfirm.c 20file dev/cons.c 21file dev/cninit.c 22file arch/macppc/macppc/db_memrw.c ddb 23file arch/macppc/macppc/db_disasm.c ddb 24file arch/macppc/macppc/db_interface.c ddb 25file arch/macppc/macppc/db_trace.c ddb 26file arch/macppc/macppc/ofwreal.S 27 28# 29# Media Independent Interface (mii) 30# 31include "../../../dev/mii/files.mii" 32 33# 34# MAC generic 35# 36file arch/macppc/dev/dbdma.c 37 38# 39# Openfirmware support 40# 41 42define mainbus {} 43device mainbus 44attach mainbus at root 45file arch/macppc/macppc/mainbus.c mainbus 46 47device cpu 48attach cpu at mainbus 49file arch/macppc/macppc/cpu.c 50 51include "../../../dev/ofw/files.ofw" 52file arch/macppc/macppc/opendev.c 53major { ofdisk = 4 } 54 55 56device memc {} 57attach memc at mainbus 58file arch/macppc/dev/uni_n.c memc 59 60major {rd = 17} 61major {sd = 2} 62major {cd = 3} 63 64include "../../../scsi/files.scsi" 65 66# 67# I2O 68# 69include "../../../dev/i2o/files.i2o" 70 71include "dev/pci/files.pci" 72file arch/macppc/pci/pciide_machdep.c pciide 73 74device mpcpcibr {} : pcibus 75attach mpcpcibr at mainbus 76file arch/macppc/pci/mpcpcibus.c mpcpcibr 77#file arch/macppc/pci/pci_addr_fixup.c mpcpcibr 78 79# 80# "workstation console" routines 81# 82 83include "dev/wscons/files.wscons" 84 85 86#device ofb: wsemuldisplaydev, wsrasteremulops 87device ofb 88attach ofb at pci 89file arch/macppc/dev/ofb.c ofb needs-flag 90 91 92# 93# mac peripheral pieces. 94# 95 96#file arch/macppc/pci/bandit.c pci 97 98#PCI-Host bridge chipsets 99device pchb 100attach pchb at pci 101file arch/macppc/pci/pchb.c pchb 102 103 104# 105# Machine-independent ATAPI drivers 106# 107 108include "../../../dev/atapiscsi/files.atapiscsi" 109include "../../../dev/ata/files.ata" 110 111# MAC periph 112 113device macobio {} 114attach macobio at pci 115file arch/macppc/pci/macobio.c macobio 116 117#device esp: scsi, ncr53c9x 118#attach esp at macobio 119#file arch/macppc/dev/esp.c esp 120 121device mesh: scsi 122attach mesh at macobio 123file arch/macppc/dev/mesh.c mesh 124 125device mc: ifnet, ether 126attach mc at macobio 127file arch/macppc/dev/if_mc.c mc 128file arch/macppc/dev/am79c950.c mc 129 130device bm: ether, ifnet, ifmedia, mii, mii_bitbang 131attach bm at macobio 132file arch/macppc/dev/if_bm.c bm 133 134device gm: ether, ifnet, ifmedia, mii 135attach gm at pci 136file arch/macppc/dev/if_gm.c gm needs-flag 137 138device macintr {} 139attach macintr at macobio 140file arch/macppc/dev/macintr.c macintr 141 142device openpic {} 143attach openpic at macobio 144file arch/macppc/dev/openpic.c openpic 145 146device zsc {channel = -1} 147attach zsc at macobio 148file arch/macppc/dev/zs.c zsc needs-flag 149file dev/ic/z8530sc.c zsc 150 151device zstty: tty 152attach zstty at zsc 153file dev/ic/z8530tty.c zstty needs-flag 154 155device adb {} 156attach adb at macobio 157file arch/macppc/dev/adb.c adb needs-flag 158file arch/macppc/dev/adb_direct.c adb 159file arch/macppc/dev/pm_direct.c adb 160 161device apm 162attach apm at adb 163file arch/macppc/dev/apm.c apm needs-count 164 165device aed 166attach aed at adb 167file arch/macppc/dev/aed.c aed needs-flag 168 169#?? 170#define wskbddev {[console = -1]} 171#define wsmousedev {} 172#?? 173 174device akbd: wskbddev 175attach akbd at adb 176file arch/macppc/dev/akbd.c akbd needs-flag 177 178device ams: wsmousedev 179attach ams at adb 180file arch/macppc/dev/ams.c ams 181 182device abtn 183attach abtn at adb 184file arch/macppc/dev/abtn.c abtn 185 186device awacs: audio, auconv, mulaw 187attach awacs at macobio 188file arch/macppc/dev/awacs.c awacs 189 190device nvram 191attach nvram at macobio 192file arch/macppc/dev/nvram.c nvram needs-flag 193 194device gpio {} 195attach gpio at macobio with gpio_obio 196attach gpio at gpio with gpio_gpio 197file arch/macppc/dev/gpio.c gpio 198 199attach wdc at macobio with wdc_obio 200file arch/macppc/dev/wdc_obio.c wdc_obio 201 202attach wi at macobio with wi_obio 203file arch/macppc/dev/if_wi_obio.c wi_obio 204 205define grfdev {} 206 207device grfati: grfdev 208attach grfati at pci 209file arch/macppc/dev/grf_ati.c grfati needs-flag 210 211device grf {} 212attach grf at grfdev 213file arch/macppc/dev/grf.c grf needs-flag 214file arch/macppc/dev/grf_subr.c grf 215 216device ite: tty 217attach ite at grf 218file arch/macppc/dev/ite.c ite needs-flag 219 220 221# VGA framebuffer 222device vgafb: wsemuldisplaydev, wsrasteremulops 223file arch/macppc/pci/vgafb.c vgafb & vgafb_pci 224 225# Generic VGA Framebuffer version 226attach vgafb at pci with vgafb_pci 227file arch/macppc/pci/vgafb_pci.c vgafb_pci needs-flag 228 229 230# 231# CARDBUS 232# 233include "dev/cardbus/files.cardbus" 234#file arch/macppc/macppc/rbus_machdep.c cardbus 235 236# 237# Machine-independent PCMCIA drivers 238# 239include "dev/pcmcia/files.pcmcia" 240 241# 242# Machine-independent USB drivers 243# 244include "dev/usb/files.usb" 245 246# Sun HME Ethernet controllers 247device hme: ether, ifnet, mii, ifmedia 248file dev/ic/hme.c 249 250attach hme at pci with hme_pci 251file dev/pci/if_hme_pci.c hme_pci 252