summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/apm/xgene/Kconfig
diff options
context:
space:
mode:
authorIyappan Subramanian <isubramanian@apm.com>2016-08-12 22:05:44 -0700
committerDavid S. Miller <davem@davemloft.net>2016-08-13 11:48:53 -0700
commit27ecf87c8a9d6152203ff5feb74535abd48e9ad3 (patch)
tree4b4d62c8eeb7b99b0c843a4ce846ff02818b416f /drivers/net/ethernet/apm/xgene/Kconfig
parent3eb7cb9dc94609c14c51029964ac4bfd59cc4d25 (diff)
downloadlinux-27ecf87c8a9d6152203ff5feb74535abd48e9ad3.tar.gz
linux-27ecf87c8a9d6152203ff5feb74535abd48e9ad3.tar.bz2
linux-27ecf87c8a9d6152203ff5feb74535abd48e9ad3.zip
drivers: net: xgene: Poll link status via GPIO
When 10GbE SFP+ module is not plugged in or cable is not connected, the link status register does not report the proper state due to floating signal. This patch checks the module present status via an GPIO to determine whether to ignore the link status register and report link down. Signed-off-by: Quan Nguyen <qnguyen@apm.com> Signed-off-by: Iyappan Subramanian <isubramanian@apm.com> Tested-by: Fushen Chen <fchen@apm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/apm/xgene/Kconfig')
-rw-r--r--drivers/net/ethernet/apm/xgene/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/apm/xgene/Kconfig b/drivers/net/ethernet/apm/xgene/Kconfig
index 300e3b5c54e0..afccb033177b 100644
--- a/drivers/net/ethernet/apm/xgene/Kconfig
+++ b/drivers/net/ethernet/apm/xgene/Kconfig
@@ -4,6 +4,7 @@ config NET_XGENE
depends on ARCH_XGENE || COMPILE_TEST
select PHYLIB
select MDIO_XGENE
+ select GPIOLIB
help
This is the Ethernet driver for the on-chip ethernet interface on the
APM X-Gene SoC.