summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/Makefile
diff options
context:
space:
mode:
authorJon Mason <jon.mason@broadcom.com>2016-07-07 19:08:57 -0400
committerDavid S. Miller <davem@davemloft.net>2016-07-09 18:10:41 -0400
commitf6a95a24957aec5bb488c3f978c4ed508177998f (patch)
tree5e6036327a5751736c68e1cdc2324116268b7174 /drivers/net/ethernet/broadcom/Makefile
parentdb791eb2970bad193b1dc95a4461b222dd22cb64 (diff)
downloadop-kernel-dev-f6a95a24957aec5bb488c3f978c4ed508177998f.zip
op-kernel-dev-f6a95a24957aec5bb488c3f978c4ed508177998f.tar.gz
net: ethernet: bgmac: Add platform device support
The bcma portion of the driver has been split off into a bcma specific driver. This has been mirrored for the platform driver. The last references to the bcma core struct have been changed into a generic function call. These function calls are wrappers to either the original bcma code or new platform functions that access the same areas via MMIO. This necessitated adding function pointers for both platform and bcma to hide which backend is being used from the generic bgmac code. Signed-off-by: Jon Mason <jon.mason@broadcom.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Tested-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/Makefile')
-rw-r--r--drivers/net/ethernet/broadcom/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/Makefile b/drivers/net/ethernet/broadcom/Makefile
index f559794..79f2372 100644
--- a/drivers/net/ethernet/broadcom/Makefile
+++ b/drivers/net/ethernet/broadcom/Makefile
@@ -10,6 +10,8 @@ obj-$(CONFIG_CNIC) += cnic.o
obj-$(CONFIG_BNX2X) += bnx2x/
obj-$(CONFIG_SB1250_MAC) += sb1250-mac.o
obj-$(CONFIG_TIGON3) += tg3.o
-obj-$(CONFIG_BGMAC) += bgmac.o bgmac-bcma-mdio.o
+obj-$(CONFIG_BGMAC) += bgmac.o
+obj-$(CONFIG_BGMAC_BCMA) += bgmac-bcma.o bgmac-bcma-mdio.o
+obj-$(CONFIG_BGMAC_PLATFORM) += bgmac-platform.o
obj-$(CONFIG_SYSTEMPORT) += bcmsysport.o
obj-$(CONFIG_BNXT) += bnxt/
OpenPOWER on IntegriCloud