netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] net-next: use one struct bgmac & add PHY support
@ 2017-01-27  9:20 Rafał Miłecki
  2017-01-27  9:20 ` [PATCH 1/3] net: bgmac: allocate struct bgmac just once & don't copy it Rafał Miłecki
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Rafał Miłecki @ 2017-01-27  9:20 UTC (permalink / raw)
  To: David S . Miller
  Cc: Jon Mason, Florian Fainelli, Felix Fietkau, netdev,
	Rafał Miłecki

From: Rafał Miłecki <rafal@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-27 20:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-27  9:20 [PATCH 0/3] net-next: use one struct bgmac & add PHY support Rafał Miłecki
2017-01-27  9:20 ` [PATCH 1/3] net: bgmac: allocate struct bgmac just once & don't copy it Rafał Miłecki
2017-01-27 16:02   ` Felix Fietkau
2017-01-27 16:14     ` David Miller
2017-01-27 16:24       ` Rafał Miłecki
2017-01-27  9:20 ` [PATCH 2/3] net: bgmac: drop struct bcma_mdio we don't need anymore Rafał Miłecki
2017-01-27  9:20 ` [PATCH 3/3] net: bgmac: use PHY subsystem for initializing PHY Rafał Miłecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).