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)
commit17cc9821766c39f51dc7b1fa4962840b91600e77
tree233eb08fbf03978ade22e00fde95f9cc8d26ac4e
parentf878fe5685580a795793c2fcf880824e1c4b0911
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