summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/Makefile
diff options
context:
space:
mode:
authorJon Mason <jon.mason@broadcom.com>2016-07-08 01:08:55 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-10 00:10:41 +0200
commit55954f3bfdacc5908515b0c306cea23e77fab740 (patch)
tree5928baace2fbfe12d9f08e0d8a4520db07196443 /drivers/net/ethernet/broadcom/Makefile
parentnet: ethernet: bgmac: add dma_dev pointer (diff)
downloadlinux-55954f3bfdacc5908515b0c306cea23e77fab740.tar.xz
linux-55954f3bfdacc5908515b0c306cea23e77fab740.zip
net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file
Move the BCMA MDIO phy into a separate file, as it is very tightly coupled with the BCMA bus. This will help with the upcoming BCMA removal from the bgmac driver. Optimally, this should be moved into phy drivers, but it is too tightly coupled with the bgmac driver to effectively move it without more changes to the driver. Note: the phy_reset was intentionally removed, as the mdio phy subsystem automatically resets the phy if a reset function pointer is present. In addition to the moving of the driver, this reset function is added. 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/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/Makefile b/drivers/net/ethernet/broadcom/Makefile
index 00584d78b3e0..f559794ab616 100644
--- a/drivers/net/ethernet/broadcom/Makefile
+++ b/drivers/net/ethernet/broadcom/Makefile
@@ -10,6 +10,6 @@ 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
+obj-$(CONFIG_BGMAC) += bgmac.o bgmac-bcma-mdio.o
obj-$(CONFIG_SYSTEMPORT) += bcmsysport.o
obj-$(CONFIG_BNXT) += bnxt/