[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170128210832.26174-1-zajec5@gmail.com>
Date: Sat, 28 Jan 2017 22:08:29 +0100
From: Rafał Miłecki <zajec5@...il.com>
To: "David S . Miller" <davem@...emloft.net>
Cc: Jon Mason <jon.mason@...adcom.com>,
Florian Fainelli <f.fainelli@...il.com>,
Felix Fietkau <nbd@...nwrt.org>, netdev@...r.kernel.org,
Rafał Miłecki <rafal@...ecki.pl>
Subject: [PATCH V2 0/3] net-next: use one struct bgmac & add PHY support
From: Rafał Miłecki <rafal@...ecki.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 | 6 +-
drivers/net/ethernet/broadcom/bgmac-platform.c | 2 +-
drivers/net/ethernet/broadcom/bgmac.c | 24 ++++--
drivers/net/ethernet/broadcom/bgmac.h | 5 +-
5 files changed, 72 insertions(+), 73 deletions(-)
--
2.11.0
Powered by blists - more mailing lists