]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Prepare for moving Omega out of bcm7xxx
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 20 Mar 2019 19:53:12 +0000 (12:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Mar 2019 20:41:26 +0000 (13:41 -0700)
commit7cac46bd98cbd0a30a9b2e99d1d27a6f0f44a2b4
tree960db5f903ab780673a704062349b0c28ebae183
parent89c48c62444266d82115e44337bf92061a9f2759
net: phy: Prepare for moving Omega out of bcm7xxx

The Omega PHY entry was added to bcm7xxx.c out of convenience and this
breaks the one driver per product line paradigm that was applied up
until now. Since the AFE initialization is shared between Omega and
BCM7xxx move the relevant functions to bcm-phy-lib.[ch]. No functional
changes introduced.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm-phy-lib.c
drivers/net/phy/bcm-phy-lib.h
drivers/net/phy/bcm7xxx.c