Skip to content

net-next: use one struct bgmac & add PHY support

Rafał Miłecki netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v23 patches 16 repliesSuperseded
  3. v13 patches 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: bgmac: allocate struct bgmac just once & don't copy itdrivers/net/ethernet/broadcom/bgmac-bcma.c drivers/net/ethernet/broadcom/bgmac-platform.c drivers/net/ethernet/broadcom/bgmac.c +1 more+21 -130 replies
2/3net: bgmac: drop struct bcma_mdio we don't need anymoredrivers/net/ethernet/broadcom/bgmac-bcma-mdio.c drivers/net/ethernet/broadcom/bgmac-bcma.c drivers/net/ethernet/broadcom/bgmac.h+42 -600 replies
3/3net: bgmac: use PHY subsystem for initializing PHYdrivers/net/ethernet/broadcom/bgmac-bcma-mdio.c+10 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchFlorian Fainelli
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/3] net-next: use one struct bgmac & add PHY support

From: Rafał Miłecki <[email protected]>

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      |   6 +-
 drivers/net/ethernet/broadcom/bgmac-platform.c  |   2 +-
 drivers/net/ethernet/broadcom/bgmac.c           |  25 ++++--
 drivers/net/ethernet/broadcom/bgmac.h           |   5 +-
 5 files changed, 73 insertions(+), 73 deletions(-)
Signature · 1 line
2.11.0