Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe Add dell's flavor (from uwe, in current-us...



details:   https://anonhg.NetBSD.org/src/rev/d1f976715894
branches:  trunk
changeset: 795348:d1f976715894
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Apr 08 19:39:06 2014 +0000

description:
Add dell's flavor (from uwe, in current-users@)

diffstat:

 sys/dev/pci/ixgbe/ixgbe.c       |  3 ++-
 sys/dev/pci/ixgbe/ixgbe_82599.c |  3 ++-
 sys/dev/pci/ixgbe/ixgbe_api.c   |  3 ++-
 sys/dev/pci/ixgbe/ixgbe_type.h  |  3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

diffs (80 lines):

diff -r 13dc780af2d0 -r d1f976715894 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Tue Apr 08 17:56:10 2014 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Tue Apr 08 19:39:06 2014 +0000
@@ -59,7 +59,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 /*$FreeBSD: src/sys/dev/ixgbe/ixgbe.c,v 1.51 2011/04/25 23:34:21 jfv Exp $*/
-/*$NetBSD: ixgbe.c,v 1.9 2014/03/30 13:14:40 skrll Exp $*/
+/*$NetBSD: ixgbe.c,v 1.10 2014/04/08 19:39:06 christos Exp $*/
 
 #include "opt_inet.h"
 
@@ -107,6 +107,7 @@
        {IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_COMBO_BACKPLANE, 0, 0, 0},
        {IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_BACKPLANE_FCOE, 0, 0, 0},
        {IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_SFP_FCOE, 0, 0, 0},
+       {IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_SFP_DELL, 0, 0, 0},
        /* required last entry */
        {0, 0, 0, 0, 0}
 };
diff -r 13dc780af2d0 -r d1f976715894 sys/dev/pci/ixgbe/ixgbe_82599.c
--- a/sys/dev/pci/ixgbe/ixgbe_82599.c   Tue Apr 08 17:56:10 2014 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_82599.c   Tue Apr 08 19:39:06 2014 +0000
@@ -31,7 +31,7 @@
 
 ******************************************************************************/
 /*$FreeBSD: src/sys/dev/ixgbe/ixgbe_82599.c,v 1.6 2011/01/19 19:36:27 jfv Exp $*/
-/*$NetBSD: ixgbe_82599.c,v 1.1 2011/08/12 21:55:29 dyoung Exp $*/
+/*$NetBSD: ixgbe_82599.c,v 1.2 2014/04/08 19:39:06 christos Exp $*/
 
 #include "ixgbe_type.h"
 #include "ixgbe_api.h"
@@ -434,6 +434,7 @@
                break;
        case IXGBE_DEV_ID_82599_SFP:
        case IXGBE_DEV_ID_82599_SFP_FCOE:
+       case IXGBE_DEV_ID_82599_SFP_DELL:
                media_type = ixgbe_media_type_fiber;
                break;
        case IXGBE_DEV_ID_82599_CX4:
diff -r 13dc780af2d0 -r d1f976715894 sys/dev/pci/ixgbe/ixgbe_api.c
--- a/sys/dev/pci/ixgbe/ixgbe_api.c     Tue Apr 08 17:56:10 2014 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_api.c     Tue Apr 08 19:39:06 2014 +0000
@@ -31,7 +31,7 @@
 
 ******************************************************************************/
 /*$FreeBSD: src/sys/dev/ixgbe/ixgbe_api.c,v 1.11 2010/11/26 22:46:32 jfv Exp $*/
-/*$NetBSD: ixgbe_api.c,v 1.1 2011/08/12 21:55:29 dyoung Exp $*/
+/*$NetBSD: ixgbe_api.c,v 1.2 2014/04/08 19:39:06 christos Exp $*/
 
 #include "ixgbe_api.h"
 #include "ixgbe_common.h"
@@ -119,6 +119,7 @@
                case IXGBE_DEV_ID_82599_SFP_FCOE:
                case IXGBE_DEV_ID_82599_CX4:
                case IXGBE_DEV_ID_82599_T3_LOM:
+               case IXGBE_DEV_ID_82599_SFP_DELL:
                        hw->mac.type = ixgbe_mac_82599EB;
                        break;
                case IXGBE_DEV_ID_82599_VF:
diff -r 13dc780af2d0 -r d1f976715894 sys/dev/pci/ixgbe/ixgbe_type.h
--- a/sys/dev/pci/ixgbe/ixgbe_type.h    Tue Apr 08 17:56:10 2014 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_type.h    Tue Apr 08 19:39:06 2014 +0000
@@ -31,7 +31,7 @@
 
 ******************************************************************************/
 /*$FreeBSD: src/sys/dev/ixgbe/ixgbe_type.h,v 1.12 2011/01/19 19:36:27 jfv Exp $*/
-/*$NetBSD: ixgbe_type.h,v 1.1 2011/08/12 21:55:29 dyoung Exp $*/
+/*$NetBSD: ixgbe_type.h,v 1.2 2014/04/08 19:39:06 christos Exp $*/
 
 #ifndef _IXGBE_TYPE_H_
 #define _IXGBE_TYPE_H_
@@ -73,6 +73,7 @@
 #define IXGBE_DEV_ID_82599_XAUI_LOM    PCI_PRODUCT_INTEL_82599_XAUI_LOM
 #define IXGBE_DEV_ID_82599_T3_LOM        0x151C
 #define IXGBE_DEV_ID_82599_VF   0x10ED
+#define IXGBE_DEV_ID_82599_SFP_DELL    0x154d
 
 /* General Registers */
 #define IXGBE_CTRL      0x00000



Home | Main Index | Thread Index | Old Index