diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_82598.c | 6 | ||||
-rw-r--r-- | drivers/net/ixgbe/ixgbe_82599.c | 2 | ||||
-rw-r--r-- | drivers/net/ixgbe/ixgbe_type.h | 1 |
3 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/ixgbe/ixgbe_82598.c b/drivers/net/ixgbe/ixgbe_82598.c index cb7f0c3c6e16..56b12f3192f1 100644 --- a/drivers/net/ixgbe/ixgbe_82598.c +++ b/drivers/net/ixgbe/ixgbe_82598.c | |||
@@ -322,14 +322,16 @@ static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw) | |||
322 | break; | 322 | break; |
323 | case IXGBE_DEV_ID_82598AF_DUAL_PORT: | 323 | case IXGBE_DEV_ID_82598AF_DUAL_PORT: |
324 | case IXGBE_DEV_ID_82598AF_SINGLE_PORT: | 324 | case IXGBE_DEV_ID_82598AF_SINGLE_PORT: |
325 | case IXGBE_DEV_ID_82598EB_CX4: | ||
326 | case IXGBE_DEV_ID_82598_CX4_DUAL_PORT: | ||
327 | case IXGBE_DEV_ID_82598_DA_DUAL_PORT: | 325 | case IXGBE_DEV_ID_82598_DA_DUAL_PORT: |
328 | case IXGBE_DEV_ID_82598_SR_DUAL_PORT_EM: | 326 | case IXGBE_DEV_ID_82598_SR_DUAL_PORT_EM: |
329 | case IXGBE_DEV_ID_82598EB_XF_LR: | 327 | case IXGBE_DEV_ID_82598EB_XF_LR: |
330 | case IXGBE_DEV_ID_82598EB_SFP_LOM: | 328 | case IXGBE_DEV_ID_82598EB_SFP_LOM: |
331 | media_type = ixgbe_media_type_fiber; | 329 | media_type = ixgbe_media_type_fiber; |
332 | break; | 330 | break; |
331 | case IXGBE_DEV_ID_82598EB_CX4: | ||
332 | case IXGBE_DEV_ID_82598_CX4_DUAL_PORT: | ||
333 | media_type = ixgbe_media_type_cx4; | ||
334 | break; | ||
333 | case IXGBE_DEV_ID_82598AT: | 335 | case IXGBE_DEV_ID_82598AT: |
334 | case IXGBE_DEV_ID_82598AT2: | 336 | case IXGBE_DEV_ID_82598AT2: |
335 | media_type = ixgbe_media_type_copper; | 337 | media_type = ixgbe_media_type_copper; |
diff --git a/drivers/net/ixgbe/ixgbe_82599.c b/drivers/net/ixgbe/ixgbe_82599.c index c9006bbd2ed3..2ec58dcdb82b 100644 --- a/drivers/net/ixgbe/ixgbe_82599.c +++ b/drivers/net/ixgbe/ixgbe_82599.c | |||
@@ -338,7 +338,7 @@ static enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw) | |||
338 | media_type = ixgbe_media_type_fiber; | 338 | media_type = ixgbe_media_type_fiber; |
339 | break; | 339 | break; |
340 | case IXGBE_DEV_ID_82599_CX4: | 340 | case IXGBE_DEV_ID_82599_CX4: |
341 | media_type = ixgbe_media_type_fiber; | 341 | media_type = ixgbe_media_type_cx4; |
342 | break; | 342 | break; |
343 | default: | 343 | default: |
344 | media_type = ixgbe_media_type_unknown; | 344 | media_type = ixgbe_media_type_unknown; |
diff --git a/drivers/net/ixgbe/ixgbe_type.h b/drivers/net/ixgbe/ixgbe_type.h index 37303a15e6de..8761d7899f7d 100644 --- a/drivers/net/ixgbe/ixgbe_type.h +++ b/drivers/net/ixgbe/ixgbe_type.h | |||
@@ -2144,6 +2144,7 @@ enum ixgbe_media_type { | |||
2144 | ixgbe_media_type_fiber, | 2144 | ixgbe_media_type_fiber, |
2145 | ixgbe_media_type_copper, | 2145 | ixgbe_media_type_copper, |
2146 | ixgbe_media_type_backplane, | 2146 | ixgbe_media_type_backplane, |
2147 | ixgbe_media_type_cx4, | ||
2147 | ixgbe_media_type_virtual | 2148 | ixgbe_media_type_virtual |
2148 | }; | 2149 | }; |
2149 | 2150 | ||