]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc/mpc85xx: Make Freescale PCI bridge driver a subclass of ofw_pcib_pci
authorJustin Hibbits <jhibbits@FreeBSD.org>
Sun, 21 Oct 2018 02:39:13 +0000 (02:39 +0000)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Sun, 21 Oct 2018 02:39:13 +0000 (02:39 +0000)
commitc9bd5bee1a2b247e69560e88d06a3a71ad0c7737
treef77dbd3a16e715a003cde4d4ab3a7ad82aa92467
parent27ef2ca86bc8412c7d6515fb4c147c6911f38817
powerpc/mpc85xx: Make Freescale PCI bridge driver a subclass of ofw_pcib_pci

This driver was already 99% identical to the ofw_pcib_pci driver, except for
the attachment.  Since ofw_pcib_pci is already a subclass of pcib, this
creates a private declaration of that class, to use for the base class for
this driver.

At some point in the future, ofw_pcib_pci_driver should probably be exported
to a header, so we're not tracking the softc struct contents, but for now,
since there's only this one other driver, it's not a pressing issue.
sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c