On Wed, 16 Mar 2011 04:39:21 +1100
Jonathan Gray <j...@goblin.cx> wrote:

> On Tue, Mar 15, 2011 at 05:02:38PM +0100, Peter Hallin wrote:
> > Hi all,
> > 
> > After reading the manpages for ix(4) "Intel 82598/82599 PCI Express
> > 10Gb Ethernet device",
> > I drew the conclusion that the X520-T2
> > (http://www.intel.com/Products/Server/Adapters/esa-x520-t2/ethernet-esa-x520-
> > t2-overview.htm)
> > would also be supported by the driver, so we took a shot and bought
> > a pair for our firewalls.
> > 
> > It is based on the 82599 chipset, so why wouldn't it? My mistake,
> > is seems..
> > 
> > I get an "unknown product 0x151c" error in dmesg (see below).
> > 
> > So now we have a pair of these cards and the obvious question is of
> > course, will they be supported?
> > 
> > I realize that I should have checked this before I bought it,
> > but as Intel claims in the specs
> > (http://www.intel.com/Assets/PDF/prodbrief/318349-004.pdf)
> > it is supported by FreeBSD and I believe that's from where the
> > driver was ported.
> > 
> > I'm very grateful for any input.
> 
> This is a diff against -current not 4.8 but perhaps it applies there
> as well:
> 
> you'll have to apply this from /usr/src/sys/dev/pci and then
> run 'make' in the directory to regenerate the pcidevs headers
> 
> Index: pcidevs
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/pcidevs,v
> retrieving revision 1.1590
> diff -u -p -r1.1590 pcidevs
> --- pcidevs   26 Jan 2011 07:09:09 -0000      1.1590
> +++ pcidevs   15 Mar 2011 17:31:38 -0000
> @@ -2492,6 +2492,7 @@ product INTEL 82580_SGMII       0x1511
> 82580 S product INTEL 82580_COPPER_DUAL       0x1516  I340-T2
> (82580) product INTEL 82599_KX4_MEZZ  0x1514  10GbE KX4
> (82599) product INTEL 82576_NS_SERDES 0x1518  82576NS
> SerDes +product INTEL 82599_T3_LOM    0x151c  82599 T3
>  product INTEL 82576_QUAD_CU_ET2      0x1526  PRO/1000 QP
> (82576) product INTEL 80960RP_ATU     0x1960  80960RP ATU
>  product INTEL 82840_HB               0x1a21  82840 Host
> Index: if_ix.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/if_ix.c,v
> retrieving revision 1.46
> diff -u -p -r1.46 if_ix.c
> --- if_ix.c   10 Nov 2010 15:23:25 -0000      1.46
> +++ if_ix.c   15 Mar 2011 17:31:39 -0000
> @@ -68,7 +68,8 @@ const struct pci_matchid ixgbe_devices[]
>       { PCI_VENDOR_INTEL,
> PCI_PRODUCT_INTEL_82599_COMBO_BACKPLANE }, { PCI_VENDOR_INTEL,
> PCI_PRODUCT_INTEL_82599_CX4 }, { PCI_VENDOR_INTEL,
> PCI_PRODUCT_INTEL_82599_SFP },
> -     { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82599_SFP_EM }
> +     { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82599_SFP_EM },
> +     { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82599_T3_LOM }
>  };
>  
>  /*********************************************************************
> @@ -1251,6 +1252,10 @@ ixgbe_identify_hardware(struct ix_softc 
>       case PCI_PRODUCT_INTEL_82598EB_XF_LR:
>               sc->hw.mac.type = ixgbe_mac_82598EB;
>               sc->optics = IFM_10G_LR;
> +             break;
> +     case PCI_PRODUCT_INTEL_82599_T3_LOM:
> +             sc->hw.mac.type = ixgbe_mac_82599EB;
> +             sc->optics = IFM_10G_T;
>               break;
>       case PCI_PRODUCT_INTEL_82598AT_DUAL:
>       case PCI_PRODUCT_INTEL_82598AT:
> 

And this one here?

Index: ixgbe_82599.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ixgbe_82599.c,v
retrieving revision 1.2
diff -u -p -r1.2 ixgbe_82599.c
--- ixgbe_82599.c       25 Feb 2010 10:56:07 -0000      1.2
+++ ixgbe_82599.c       15 Mar 2011 17:27:55 -0000
@@ -416,6 +416,9 @@ enum ixgbe_media_type ixgbe_get_media_ty
        case IXGBE_DEV_ID_82599_CX4:
                media_type = ixgbe_media_type_cx4;
                break;
+       case IXGBE_DEV_ID_82599_T3_LOM:
+               media_type = ixgbe_media_type_copper;
+               break;
        default:
                media_type = ixgbe_media_type_unknown;
                break;

Reply via email to