]> 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)
commitaac29c1e28d0f7b2311378438300d589482f162b
tree960db5f903ab780673a704062349b0c28ebae183
parentda6e4cba9217b4162a84d859cffc2432b5e28896
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