OSDN Git Service

net: pch_gbe: Remove PCH_GBE_MAC_IFOP_RGMII define
authorPaul Burton <paul.burton@mips.com>
Sat, 23 Jun 2018 03:17:49 +0000 (20:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jun 2018 11:52:08 +0000 (20:52 +0900)
commit41fd60fa74d6aac84c214afc71aa4b9d3edba263
tree27abe2cfe5645ae9ab2a3a4ee67fe33703dacd47
parentc63ebdf01ad96d8c11ab3ff245a3acd30e7fc8ba
net: pch_gbe: Remove PCH_GBE_MAC_IFOP_RGMII define

The pch_gbe driver currently presumes that the PHY is connected using
RGMII, and would need further work to support other buses. It includes a
define which is always set that conditionalises some of the
RGMII-specific code regardless. Remove it. If we do ever support
different MII buses then preprocessor defines won't be the best way to
select between them anyway.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.h