Skip to content

Commit 47c3cd3

Browse files
committed
Add network backplane capability
Used in pcb connections in blade servers/switches etc, and uses nnnbaseK* modes like 1000baseKX, 10000baseKX4, 10000KR and so on.
1 parent 28146a8 commit 47c3cd3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/core/network.cc

+4-1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ struct ethtool_value
185185
#define SUPPORTED_BNC (1 << 11)
186186
#define SUPPORTED_10000baseT_Full (1 << 12)
187187
#define SUPPORTED_2500baseX_Full (1 << 15)
188+
#define SUPPORTED_BACKPLANE (1 << 16)
188189
#define SUPPORTED_1000baseKX_Full (1 << 17)
189190
#define SUPPORTED_10000baseKX4_Full (1 << 18)
190191
#define SUPPORTED_10000baseKR_Full (1 << 19)
@@ -496,7 +497,9 @@ static void updateCapabilities(hwNode & interface, u32 supported, u32 supported2
496497
if(supported & SUPPORTED_MII)
497498
interface.addCapability("mii", _("Media Independent Interface"));
498499
if(supported & SUPPORTED_FIBRE)
499-
interface.addCapability("fibre",_( "optical fibre"));
500+
interface.addCapability("fibre", _("optical fibre"));
501+
if(supported & SUPPORTED_BACKPLANE)
502+
interface.addCapability("backplane", _("backplane"));
500503
if(supported & SUPPORTED_10baseT_Half)
501504
{
502505
interface.addCapability("10bt", _("10Mbit/s"));

0 commit comments

Comments
 (0)