diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2013-05-22 21:11:11 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-28 01:42:50 -0400 |
commit | 7ec872114251b618adf5a2688de0ca00de63635d (patch) | |
tree | ec96fdf9f4b8d810d5d5895afd255ab7cc0072dd /include/uapi | |
parent | 1010dcceed9d45dc8a07c50ec93e5d0c1ef7cc24 (diff) |
net: ethtool: disambiguate XCVR_* meaning
Add a comment which explains the real meaning of XCVR_INTERNAL (PHY and
Ethernet MAC in the same package/die) and XCVR_EXTERNAL (PHY and
Ethernet MAC in a different package/die). Most if not all of the drivers
setting their transceiver type already do it the way the comment
describes it.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/ethtool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index 0c9b44871df0..38dbafaa5341 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h | |||
@@ -993,8 +993,8 @@ enum ethtool_sfeatures_retval_bits { | |||
993 | #define PORT_OTHER 0xff | 993 | #define PORT_OTHER 0xff |
994 | 994 | ||
995 | /* Which transceiver to use. */ | 995 | /* Which transceiver to use. */ |
996 | #define XCVR_INTERNAL 0x00 | 996 | #define XCVR_INTERNAL 0x00 /* PHY and MAC are in the same package */ |
997 | #define XCVR_EXTERNAL 0x01 | 997 | #define XCVR_EXTERNAL 0x01 /* PHY and MAC are in different packages */ |
998 | #define XCVR_DUMMY1 0x02 | 998 | #define XCVR_DUMMY1 0x02 |
999 | #define XCVR_DUMMY2 0x03 | 999 | #define XCVR_DUMMY2 0x03 |
1000 | #define XCVR_DUMMY3 0x04 | 1000 | #define XCVR_DUMMY3 0x04 |