net: bgmac: use PHY subsystem for initializing PHY
authorRafał Miłecki <rafal@milecki.pl>
Tue, 31 Jan 2017 18:37:56 +0000 (19:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Jan 2017 18:44:49 +0000 (13:44 -0500)
commit8e6f31baba7e2c13ab7e954fe6179420a7545a8b
tree72203aff7d95728584d71b77c66ac984ada099f0
parentaa8863e5d49417094b9457a0d53e8505e95a1863
net: bgmac: use PHY subsystem for initializing PHY

This adds support for using bgmac with PHYs supported by standalone PHY
drivers. Having any PHY initialization in bgmac is hacky and shouldn't
be extended but rather removed if anyone has hardware to test it.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c