From: Rafał Miłecki <ra...@milecki.pl> This patchset adds support for initializing PHY using PHY subsystem. It's required e.g. for wireless access point devices that use bgmac supported Ethernet device connected to some external PHY.
Implementing this required accessing phydev in bcma specific code which wasn't possible with core code allocating struct bgmac on its own. This is why I needed to modify alloc_etherdev usage first. Rafał Miłecki (3): net: bgmac: allocate struct bgmac just once & don't copy it net: bgmac: drop struct bcma_mdio we don't need anymore net: bgmac: use PHY subsystem for initializing PHY drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c | 108 +++++++++++------------- drivers/net/ethernet/broadcom/bgmac-bcma.c | 2 +- drivers/net/ethernet/broadcom/bgmac-platform.c | 2 +- drivers/net/ethernet/broadcom/bgmac.c | 24 +++--- drivers/net/ethernet/broadcom/bgmac.h | 2 +- 5 files changed, 64 insertions(+), 74 deletions(-) -- 2.11.0