net: ibm: emac: replace custom PHY_MODE_* macros
authorChristian Lamparter <chunkeey@gmail.com>
Wed, 20 Dec 2017 22:01:49 +0000 (23:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Dec 2017 18:09:41 +0000 (13:09 -0500)
commit78b69921a125689ee0164e877a36e877f5905e3a
tree35138e30594a1ecad474b82e8a3c20282e6d920e
parent49dd19bf7457b491e1321b19c7101453db222dbc
net: ibm: emac: replace custom PHY_MODE_* macros

The ibm_emac driver predates the PHY_INTERFACE_MODE_*
enums by a few years.

And while the driver has been retrofitted to use the PHYLIB,
the old definitions have stuck around to this day.

This patch replaces all occurences of PHY_MODE_* with
the respective equivalent PHY_INTERFACE_MODE_* enum.
And finally, it purges the old macros for good.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/emac/core.c
drivers/net/ethernet/ibm/emac/emac.h
drivers/net/ethernet/ibm/emac/phy.c
drivers/net/ethernet/ibm/emac/rgmii.c
drivers/net/ethernet/ibm/emac/zmii.c