]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8693033663a7b78f9eeaa9bed77fdd18f118549
tree72203aff7d95728584d71b77c66ac984ada099f0
parent4c5f0cacdf94a2c955818da4827e3f37eedf81e0
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