]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Move Omega PHY entry to Cygnus PHY driver
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 20 Mar 2019 19:53:13 +0000 (12:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Mar 2019 20:41:26 +0000 (13:41 -0700)
commit42e8549bae7c26e6ba2b5e3f9ce14427d5a28006
tree233eb08fbf03978ade22e00fde95f9cc8d26ac4e
parentaac29c1e28d0f7b2311378438300d589482f162b
net: phy: Move Omega PHY entry to Cygnus PHY driver

Cygnus and Omega are part of the same business unit and product line, it
makes sense to group PHY entries by products such that a platform can
select only the drivers that it needs. Bring all the functionality that
the BCM7XXX_28NM_GPHY() macro hides for us and remove the Omega PHY
entry from bcm7xxx.c.

As an added bonus, we now have a proper mdio_device_id entry to permit
auto-loading.

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/Kconfig
drivers/net/phy/bcm-cygnus.c
drivers/net/phy/bcm7xxx.c