net: phy: Add Broadcom phy library for common interfaces
authorArun Parameswaran <arunp@broadcom.com>
Tue, 6 Oct 2015 19:25:48 +0000 (12:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Oct 2015 11:45:46 +0000 (04:45 -0700)
commita1cba5613edf50c2a213fa90c30aa10500b241b7
treeb015ddfca52bdcb0766dbc2a6abbaf5a3417c851
parentddc24ae1fd6ae2638365b0b824750b5b2ef13ca5
net: phy: Add Broadcom phy library for common interfaces

This patch adds the Broadcom phy library to consolidate common
interfaces shared by Broadcom phy's.

Moved the common interfaces to the 'bcm-phy-lib.c' and updated
the Broadcom PHY drivers to use the new APIs.

Signed-off-by: Arun Parameswaran <arunp@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/bcm-phy-lib.c [new file with mode: 0644]
drivers/net/phy/bcm-phy-lib.h [new file with mode: 0644]
drivers/net/phy/bcm63xx.c
drivers/net/phy/bcm7xxx.c
drivers/net/phy/broadcom.c
include/linux/brcmphy.h