diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-09-12 18:43:39 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-05-05 18:42:38 +0100 |
commit | 6b10f3465acd6fa6fecede58e8ae23794c0e981a (patch) | |
tree | 1c2eedaccb9802e8418e1c9a6132347be2152edc /lib/ctype.c | |
parent | 66d63b73494db6b0f948d8925b8bbd200e085432 (diff) |
sfp: add phylink based SFP module support
Add support for SFP hotpluggable modules via phylink. This supports
both copper and optical SFP modules, which require different Serdes
modes in order to properly negotiate the link.
Optical SFP modules typically require the Serdes link to be talking
1000base-X mode - this is the gigabit ethernet mode defined by the
802.3 standard.
Copper SFP modules typically integrate a PHY in the module to convert
from Serdes to copper, and the PHY will be configured by the vendor
to either present a 1000base-X Serdes link (for fixed 1000base-T) or
a SGMII Serdes link. However, this is vendor defined, so we instead
detect the PHY, switch the link to SGMII mode, and use traditional
PHY based negotiation.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
- set port and port capability depending on connector type
- move autoneg mode setting to probe function
- set "supported" speed capabilities depending on reported ethernet
capabilities
- checks for short read
- dump eeprom base ID when checksum fails
Diffstat (limited to 'lib/ctype.c')
0 files changed, 0 insertions, 0 deletions