]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfda98dd4b17827c9e47a11fff50238ca099bdefb
tree27abe2cfe5645ae9ab2a3a4ee67fe33703dacd47
parentcc0a43d32edaf068e153caf1b2013d136e84cfcb
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