aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_82598.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_82598.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_82598.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_82598.c b/drivers/net/ixgbe/ixgbe_82598.c
index ad5699d9ab0d..6c7ddb96ed04 100644
--- a/drivers/net/ixgbe/ixgbe_82598.c
+++ b/drivers/net/ixgbe/ixgbe_82598.c
@@ -213,6 +213,10 @@ static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw)
213 213
214 /* Media type for I82598 is based on device ID */ 214 /* Media type for I82598 is based on device ID */
215 switch (hw->device_id) { 215 switch (hw->device_id) {
216 case IXGBE_DEV_ID_82598:
217 /* Default device ID is mezzanine card KX/KX4 */
218 media_type = ixgbe_media_type_backplane;
219 break;
216 case IXGBE_DEV_ID_82598AF_DUAL_PORT: 220 case IXGBE_DEV_ID_82598AF_DUAL_PORT:
217 case IXGBE_DEV_ID_82598AF_SINGLE_PORT: 221 case IXGBE_DEV_ID_82598AF_SINGLE_PORT:
218 case IXGBE_DEV_ID_82598EB_CX4: 222 case IXGBE_DEV_ID_82598EB_CX4:
@@ -1002,6 +1006,11 @@ static s32 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw)
1002 s32 physical_layer = IXGBE_PHYSICAL_LAYER_UNKNOWN; 1006 s32 physical_layer = IXGBE_PHYSICAL_LAYER_UNKNOWN;
1003 1007
1004 switch (hw->device_id) { 1008 switch (hw->device_id) {
1009 case IXGBE_DEV_ID_82598:
1010 /* Default device ID is mezzanine card KX/KX4 */
1011 physical_layer = (IXGBE_PHYSICAL_LAYER_10GBASE_KX4 |
1012 IXGBE_PHYSICAL_LAYER_1000BASE_KX);
1013 break;
1005 case IXGBE_DEV_ID_82598EB_CX4: 1014 case IXGBE_DEV_ID_82598EB_CX4:
1006 case IXGBE_DEV_ID_82598_CX4_DUAL_PORT: 1015 case IXGBE_DEV_ID_82598_CX4_DUAL_PORT:
1007 physical_layer = IXGBE_PHYSICAL_LAYER_10GBASE_CX4; 1016 physical_layer = IXGBE_PHYSICAL_LAYER_10GBASE_CX4;