1# $NetBSD: files.ofppc,v 1.45 2011/06/22 18:06:33 matt Exp $ 2# 3# NetBSD/ofppc configuration info 4# 5 6# maxpartitions must be the first thing in files.${MACHINE} 7maxpartitions 16 8 9maxusers 8 16 64 10 11defflag akbd.h NO_AKDB_DEVICE 12defflag adbkbd.h NO_ADBKBD_DEVICE 13defflag zsc.h NO_ZSC_DEVICE 14defflag adb.h NO_ADB_DEVICE 15defflag zstty.h NO_ZSTTY_DEVICE 16defflag ofb.h NO_OFB_DEVICE 17 18defflag opt_disksubr.h RDB_PART 19 20file arch/powerpc/oea/ofw_autoconf.c 21file arch/powerpc/powerpc/clock.c 22file arch/ofppc/ofppc/disksubr.c disk 23file arch/powerpc/oea/ofwoea_machdep.c 24file arch/powerpc/oea/ofw_consinit.c 25file arch/powerpc/oea/ofw_rascons.c 26file arch/ofppc/ofppc/machdep.c 27 28file arch/powerpc/powerpc/bus_dma.c 29file arch/powerpc/powerpc/bus_space.c 30file arch/powerpc/powerpc/procfs_machdep.c procfs 31file dev/cons.c 32 33# 34# CPU specific OpenFirmware code 35# 36include "arch/powerpc/conf/files.ofw" 37include "arch/powerpc/pic/files.pic" 38include "arch/powerpc/pic/files.ipi" 39 40# 41# Generic OpenFirmware device support 42# 43#include "dev/ofw/files.ofw" 44 45# 46# I2O device support 47# 48include "dev/i2o/files.i2o" 49 50# 51# SCSI support 52# 53include "dev/scsipi/files.scsipi" 54 55# 56# ATA/IDE support 57# 58include "dev/ata/files.ata" 59 60# Memory Disk 61file dev/md_root.c memory_disk_hooks 62 63define mainbus {} 64device mainbus: mainbus 65attach mainbus at root 66file arch/ofppc/ofppc/mainbus.c mainbus 67 68defpseudo openfirm 69file dev/ofw/openfirmio.c openfirm needs-flag 70file dev/ofw/ofw_subr.c ofbus | openfirm 71 72device rtas 73attach rtas at mainbus 74file arch/powerpc/powerpc/rtas.c rtas needs-flag 75 76include "dev/usb/files.usb" 77include "dev/ieee1394/files.ieee1394" 78 79# 80# PCI bus support 81# 82include "dev/pci/files.pci" 83include "dev/pci/files.agp" 84file arch/powerpc/pci/pciconf_indirect.c pci 85file arch/powerpc/pci/pciconf_ofmethod.c pci 86file arch/powerpc/pci/pci_machdep_common.c pci 87file arch/powerpc/pci/pci_machdep_ofw.c pci 88file arch/powerpc/pci/pci_module.c pci & modular 89 90device ofwpci: pcibus 91attach ofwpci at mainbus 92file arch/ofppc/pci/ofwpci.c ofwpci 93 94# Marvell System-Controller MV64361(Discovery II) (on PegasosII) 95include "dev/marvell/files.discovery" 96attach gt at mainbus 97file arch/ofppc/pci/gt_mainbus.c gt 98file arch/powerpc/marvell/pci_machdep.c gtpci 99 100device pchb: pcibus 101attach pchb at pci 102file arch/powerpc/pci/pchb.c pchb 103 104# PCI-ISA bridges 105device pcib: isabus 106attach pcib at pci 107file arch/powerpc/pci/pcib.c pcib 108 109# 110# ISA bus support 111# 112include "dev/isa/files.isa" 113file arch/powerpc/isa/isa_machdep_common.c isa 114file arch/ofppc/isa/isa_machdep.c isa 115file arch/powerpc/isa/isadma_machdep.c isa 116 117include "dev/pckbport/files.pckbport" 118 119# Floppy disk controller 120device fdc {drive = -1}: isadma 121file dev/isa/fd.c fdc needs-flag 122 123attach fdc at isa with fdc_isa 124file dev/isa/fdc_isa.c fdc_isa 125 126device fd: disk 127attach fd at fdc 128 129device cpu 130attach cpu at mainbus 131file arch/ofppc/ofppc/cpu.c cpu 132 133# 134# Support for generic OpenFirmware driver configurations. This is 135# always included in the kernel. 136# 137#file arch/ofppc/ofwgen/ofwgen.c 138#file arch/ofppc/ofwgen/ofwgen_intr.c 139 140include "arch/powerpc/conf/majors.powerpc" 141