dd2488a8b3
Export non-inline version of pci api for modules (_MODULE is defined). Fix definition of pc_conf_hook and pc_conf_interrupt. Switch to using inlines instead of macros. Switch ibm4xx to use <powerpc/pci_machdep.h>
80 lines
1.9 KiB
Plaintext
80 lines
1.9 KiB
Plaintext
# $NetBSD: files.ibm4xx,v 1.14 2011/06/22 18:06:34 matt Exp $
|
|
#
|
|
# IBM 4xx specific configuration info
|
|
|
|
include "arch/powerpc/fpu/files.fpu"
|
|
include "arch/powerpc/pic/files.pic"
|
|
|
|
defflag opt_uic.h MULTIUIC
|
|
file arch/powerpc/ibm4xx/pic_uic.c
|
|
|
|
# Board Properties
|
|
file arch/powerpc/ibm4xx/board_prop.c
|
|
|
|
# Processor Local Bus
|
|
device plb { [irq = -1] }
|
|
attach plb at root
|
|
file arch/powerpc/ibm4xx/dev/plb.c plb
|
|
|
|
# On-chip Peripheral Bus
|
|
device opb {[addr = -1], [irq = -1]}
|
|
attach opb at plb
|
|
file arch/powerpc/ibm4xx/dev/opb.c opb
|
|
|
|
device cpu {}
|
|
attach cpu at plb
|
|
file arch/powerpc/ibm4xx/cpu.c
|
|
|
|
device ecc
|
|
attach ecc at plb with ecc_plb
|
|
file arch/powerpc/ibm4xx/dev/ecc_plb.c ecc_plb
|
|
|
|
# On-chip com device(s)
|
|
attach com at opb with com_opb
|
|
file arch/powerpc/ibm4xx/dev/com_opb.c com_opb
|
|
|
|
# On-chip GPIO controller
|
|
device opbgpio: gpiobus
|
|
attach opbgpio at opb
|
|
file arch/powerpc/ibm4xx/dev/gpio_opb.c opbgpio
|
|
|
|
# On-chip ethernet device(s)
|
|
device emac: ether, ifnet, arp, mii
|
|
attach emac at opb
|
|
file arch/powerpc/ibm4xx/dev/if_emac.c emac needs-flag
|
|
file arch/powerpc/ibm4xx/dev/mal.c emac
|
|
defflag opt_emac.h EMAC_ZMII_PHY EMAC_RGMII_PHY
|
|
#file arch/powerpc/ibm4xx/dev/zmii.c emac_zmii_phy
|
|
file arch/powerpc/ibm4xx/dev/rgmii.c emac_rgmii_phy
|
|
|
|
# Watchdog timer
|
|
device wdog: sysmon_wdog
|
|
attach wdog at opb
|
|
file arch/powerpc/ibm4xx/dev/wdog.c wdog
|
|
|
|
|
|
# Machine-independent I2O drivers.
|
|
include "dev/i2o/files.i2o"
|
|
|
|
# PCI bus support
|
|
include "dev/pci/files.pci"
|
|
|
|
# On-chip PCI bridge
|
|
device pchb : pcibus
|
|
attach pchb at plb
|
|
file arch/powerpc/ibm4xx/pci/pchb.c pchb
|
|
file arch/powerpc/ibm4xx/pci/pci_machdep.c pci
|
|
file arch/powerpc/ibm4xx/dev/ibm405gp.c pchb | pci
|
|
file arch/powerpc/pci/pci_machdep_common.c pci
|
|
file arch/powerpc/pci/pci_module.c pci & modular
|
|
|
|
# On-chip IIC controller
|
|
device gpiic: i2cbus, i2c_bitbang
|
|
attach gpiic at opb
|
|
file arch/powerpc/ibm4xx/dev/gpiic_opb.c gpiic
|
|
|
|
# External bus
|
|
#device exb {[addr = -1]}
|
|
#attach exb at plb
|
|
#file arch/powerpc/ibm4xx/dev/exb.c exb
|