mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
27ecf87c8a
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>
14 lines
364 B
Plaintext
14 lines
364 B
Plaintext
config NET_XGENE
|
|
tristate "APM X-Gene SoC Ethernet Driver"
|
|
depends on HAS_DMA
|
|
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.
|
|
|
|
To compile this driver as a module, choose M here. This module will
|
|
be called xgene_enet.
|