OSDN Git Service

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[android-x86/kernel.git] / drivers / net / ethernet / broadcom / bnx2x / bnx2x_ethtool.c
index 08ea91c..92fee84 100644 (file)
@@ -416,6 +416,7 @@ static int bnx2x_set_settings(struct net_device *dev, struct ethtool_cmd *cmd)
                        break;
                case PORT_FIBRE:
                case PORT_DA:
+               case PORT_NONE:
                        if (!(bp->port.supported[0] & SUPPORTED_FIBRE ||
                              bp->port.supported[1] & SUPPORTED_FIBRE)) {
                                DP(BNX2X_MSG_ETHTOOL,