Skip to content

Commit

Permalink
Add network backplane capability
Browse files Browse the repository at this point in the history
Used in pcb connections in blade servers/switches etc, and uses
nnnbaseK* modes like 1000baseKX, 10000baseKX4, 10000baseKR and so on.
  • Loading branch information
yarrick committed Nov 4, 2021
1 parent 28146a8 commit c13bab0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core/network.cc
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ struct ethtool_value
#define SUPPORTED_BNC (1 << 11)
#define SUPPORTED_10000baseT_Full (1 << 12)
#define SUPPORTED_2500baseX_Full (1 << 15)
#define SUPPORTED_BACKPLANE (1 << 16)
#define SUPPORTED_1000baseKX_Full (1 << 17)
#define SUPPORTED_10000baseKX4_Full (1 << 18)
#define SUPPORTED_10000baseKR_Full (1 << 19)
Expand Down Expand Up @@ -496,7 +497,9 @@ static void updateCapabilities(hwNode & interface, u32 supported, u32 supported2
if(supported & SUPPORTED_MII)
interface.addCapability("mii", _("Media Independent Interface"));
if(supported & SUPPORTED_FIBRE)
interface.addCapability("fibre",_( "optical fibre"));
interface.addCapability("fibre", _("optical fibre"));
if(supported & SUPPORTED_BACKPLANE)
interface.addCapability("backplane", _("backplane"));
if(supported & SUPPORTED_10baseT_Half)
{
interface.addCapability("10bt", _("10Mbit/s"));
Expand Down

0 comments on commit c13bab0

Please sign in to comment.