Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add network backplane capability #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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