Current-Users archive

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

Re: 82599EB 10-Gigabit not detected



Hello.

(2014/04/09 2:36), 6bone%6bone.informatik.uni-leipzig.de@localhost wrote:
Hello,

On Sat, 22 Mar 2014, Matthias Scheler wrote:
Please let us know whether that made the card work for you.

only modifying the ixgbe_vendor_info_array is not enough. I attached a smal, 
patch. With it the card works fine. The only problem is that ifconfig can't set 
all hardware capabilities. But I think that is a problem of the driver.

Perhaps the card is DELL OEM version of Intel X520 dual port server adapter.

So,

Regards
Uwe



diff -crB src/sys/arch/amd64/conf/ALL src-patch/sys/arch/amd64/conf/ALL
*** src/sys/arch/amd64/conf/ALL    Mon Mar 24 15:15:37 2014
--- src-patch/sys/arch/amd64/conf/ALL    Tue Apr  8 14:57:08 2014
***************
*** 877,882 ****
--- 877,883 ----
   bwi*    at pci? dev ? function ?    # Broadcom BCM43xx wireless
   cas*    at pci? dev ? function ?    # Sun Cassini/Cassini+ Ethernet
   dge*    at pci? dev ? function ?    # Intel 82597 10GbE LR
+ ixg*    at pci? dev ? function ?    # Intel 8259x 10 gigabit
   en*    at pci? dev ? function ?    # ENI/Adaptec ATM
   ep*    at pci? dev ? function ?    # 3Com 3c59x
   epic*    at pci? dev ? function ?    # SMC EPIC/100 Ethernet
diff -crB src/sys/arch/i386/conf/ALL src-patch/sys/arch/i386/conf/ALL
*** src/sys/arch/i386/conf/ALL    Mon Mar 24 15:15:38 2014
--- src-patch/sys/arch/i386/conf/ALL    Tue Apr  8 14:57:31 2014
***************
*** 1003,1008 ****
--- 1003,1009 ----
   bwi*    at pci? dev ? function ?    # Broadcom BCM43xx wireless
   cas*    at pci? dev ? function ?    # Sun Cassini/Cassini+ Ethernet
   dge*    at pci? dev ? function ?    # Intel 82597 10GbE LR
+ ixg*    at pci? dev ? function ?    # Intel 8259x 10 gigabit
   en*    at pci? dev ? function ?    # ENI/Adaptec ATM
   ep*    at pci? dev ? function ?    # 3Com 3c59x
   epic*    at pci? dev ? function ?    # SMC EPIC/100 Ethernet
diff -crB src/sys/dev/pci/ixgbe/ixgbe.c src-patch/sys/dev/pci/ixgbe/ixgbe.c
*** src/sys/dev/pci/ixgbe/ixgbe.c    Sun Mar 30 15:14:40 2014
--- src-patch/sys/dev/pci/ixgbe/ixgbe.c    Tue Apr  8 14:07:42 2014
***************
*** 107,112 ****
--- 107,113 ----
       {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 -crB src/sys/dev/pci/ixgbe/ixgbe_82599.c 
src-patch/sys/dev/pci/ixgbe/ixgbe_82599.c
*** src/sys/dev/pci/ixgbe/ixgbe_82599.c    Fri Aug 12 23:55:29 2011
--- src-patch/sys/dev/pci/ixgbe/ixgbe_82599.c    Tue Apr  8 14:07:42 2014
***************
*** 434,439 ****
--- 434,440 ----
           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 -crB src/sys/dev/pci/ixgbe/ixgbe_api.c 
src-patch/sys/dev/pci/ixgbe/ixgbe_api.c
*** src/sys/dev/pci/ixgbe/ixgbe_api.c    Fri Aug 12 23:55:29 2011
--- src-patch/sys/dev/pci/ixgbe/ixgbe_api.c    Tue Apr  8 14:07:42 2014
***************
*** 119,124 ****
--- 119,125 ----
           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 -crB src/sys/dev/pci/ixgbe/ixgbe_type.h 
src-patch/sys/dev/pci/ixgbe/ixgbe_type.h
*** src/sys/dev/pci/ixgbe/ixgbe_type.h    Fri Aug 12 23:55:29 2011
--- src-patch/sys/dev/pci/ixgbe/ixgbe_type.h    Tue Apr  8 14:07:42 2014
***************
*** 73,78 ****
--- 73,79 ----
   #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

This is not good because this Intel original X520 matches the entry.

Other *BSDs use the following definition:

#define IXGBE_DEV_ID_82599_SFP_SF2         0x154D

   /* General Registers */
   #define IXGBE_CTRL      0x00000

(Sorry, I have no any 10G cards)

--
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index