aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_main.c
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-02-12 03:37:00 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-16 02:31:29 -0500
commit285771852891b52a740b4ab2f2903cbfef5ec6a9 (patch)
tree1d92ae0660d078629175b86f47dcbe0c61e18771 /drivers/net/bnx2x_main.c
parent46c6a67495b3ec76204db800fc8d60a260f91cfe (diff)
bnx2x: Supporting BCM8481 PHY
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r--drivers/net/bnx2x_main.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 2ee480b4b77c..0d2d5564f255 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -7730,6 +7730,22 @@ static void __devinit bnx2x_link_settings_supported(struct bnx2x *bp,
7730 SUPPORTED_Asym_Pause); 7730 SUPPORTED_Asym_Pause);
7731 break; 7731 break;
7732 7732
7733 case PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8481:
7734 BNX2X_DEV_INFO("ext_phy_type 0x%x (BCM8481)\n",
7735 ext_phy_type);
7736
7737 bp->port.supported |= (SUPPORTED_10baseT_Half |
7738 SUPPORTED_10baseT_Full |
7739 SUPPORTED_100baseT_Half |
7740 SUPPORTED_100baseT_Full |
7741 SUPPORTED_1000baseT_Full |
7742 SUPPORTED_10000baseT_Full |
7743 SUPPORTED_TP |
7744 SUPPORTED_Autoneg |
7745 SUPPORTED_Pause |
7746 SUPPORTED_Asym_Pause);
7747 break;
7748
7733 case PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE: 7749 case PORT_HW_CFG_XGXS_EXT_PHY_TYPE_FAILURE:
7734 BNX2X_ERR("XGXS PHY Failure detected 0x%x\n", 7750 BNX2X_ERR("XGXS PHY Failure detected 0x%x\n",
7735 bp->link_params.ext_phy_config); 7751 bp->link_params.ext_phy_config);
@@ -8189,6 +8205,7 @@ static int bnx2x_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
8189 break; 8205 break;
8190 8206
8191 case PORT_HW_CFG_XGXS_EXT_PHY_TYPE_SFX7101: 8207 case PORT_HW_CFG_XGXS_EXT_PHY_TYPE_SFX7101:
8208 case PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8481:
8192 cmd->port = PORT_TP; 8209 cmd->port = PORT_TP;
8193 break; 8210 break;
8194 8211