comparison usr/src/uts/common/io/ixgbe/ixgbe_82599.c @ 13696:7b5944437191

2654 add ixgbe support for new x520 models Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Milan Jurik <milan.jurik@xylab.cz> Approved by: Richard Lowe <richlowe@richlowe.net>
author Robert Mustacchi <rm@joyent.com>
date Wed, 16 May 2012 09:00:21 -0700
parents f03238cace0b
children 229af35d14fb
comparison
equal deleted inserted replaced
13695:2d025fa9b1e1 13696:7b5944437191
1 /****************************************************************************** 1 /******************************************************************************
2 2
3 Copyright (c) 2001-2010, Intel Corporation 3 Copyright (c) 2001-2012, Intel Corporation
4 All rights reserved. 4 All rights reserved.
5 5
6 Redistribution and use in source and binary forms, with or without 6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met: 7 modification, are permitted provided that the following conditions are met:
8 8
421 421
422 switch (hw->device_id) { 422 switch (hw->device_id) {
423 case IXGBE_DEV_ID_82599_KX4: 423 case IXGBE_DEV_ID_82599_KX4:
424 case IXGBE_DEV_ID_82599_KX4_MEZZ: 424 case IXGBE_DEV_ID_82599_KX4_MEZZ:
425 case IXGBE_DEV_ID_82599_COMBO_BACKPLANE: 425 case IXGBE_DEV_ID_82599_COMBO_BACKPLANE:
426 case IXGBE_DEV_ID_82599_KR:
426 case IXGBE_DEV_ID_82599_BACKPLANE_FCOE: 427 case IXGBE_DEV_ID_82599_BACKPLANE_FCOE:
427 case IXGBE_DEV_ID_82599_XAUI_LOM: 428 case IXGBE_DEV_ID_82599_XAUI_LOM:
428 /* Default device ID is mezzanine card KX/KX4 */ 429 /* Default device ID is mezzanine card KX/KX4 */
429 media_type = ixgbe_media_type_backplane; 430 media_type = ixgbe_media_type_backplane;
430 break; 431 break;
431 case IXGBE_DEV_ID_82599_SFP: 432 case IXGBE_DEV_ID_82599_SFP:
432 case IXGBE_DEV_ID_82599_SFP_FCOE: 433 case IXGBE_DEV_ID_82599_SFP_FCOE:
434 case IXGBE_DEV_ID_82599_SFP_EM:
435 case IXGBE_DEV_ID_82599_SFP_SF2:
436 case IXGBE_DEV_ID_82599EN_SFP:
433 media_type = ixgbe_media_type_fiber; 437 media_type = ixgbe_media_type_fiber;
434 break; 438 break;
435 case IXGBE_DEV_ID_82599_CX4: 439 case IXGBE_DEV_ID_82599_CX4:
436 media_type = ixgbe_media_type_cx4; 440 media_type = ixgbe_media_type_cx4;
437 break; 441 break;