Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jun 2006 14:19:51 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-hardware@freebsd.org
Subject:   Intel 1000 PT PCI Express single port ethernet adaptor diffs
Message-ID:  <6.2.3.4.0.20060602140504.07f00958@64.7.153.2>

next in thread | raw e-mail | index | archive | help

In case anyone comes across this PCI-e NIC from Intel, the following 
diffs get it to work for me.  I had a quick look at Intels source 
code from the website and they seem to define it just as #define 
E1000_DEV_ID_82572EI             0x10B9


# diff -u if_em.c.orig if_em.c
--- if_em.c.orig        Thu May 18 20:19:57 2006
+++ if_em.c     Fri Jun  2 13:59:45 2006
@@ -111,6 +111,7 @@
         { 0x8086, E1000_DEV_ID_82571EB_FIBER,       PCI_ANY_ID, 
PCI_ANY_ID, 0},
         { 0x8086, E1000_DEV_ID_82571EB_SERDES,      PCI_ANY_ID, 
PCI_ANY_ID, 0},

+       { 0x8086, E1000_DEV_ID_82572EI,             PCI_ANY_ID, PCI_ANY_ID, 0},
         { 0x8086, E1000_DEV_ID_82572EI_COPPER,      PCI_ANY_ID, 
PCI_ANY_ID, 0},
         { 0x8086, E1000_DEV_ID_82572EI_FIBER,       PCI_ANY_ID, 
PCI_ANY_ID, 0},
         { 0x8086, E1000_DEV_ID_82572EI_SERDES,      PCI_ANY_ID, 
PCI_ANY_ID, 0},
# diff -u if_em_hw.c.orig if_em_hw.c
--- if_em_hw.c.orig     Fri Nov 25 09:11:59 2005
+++ if_em_hw.c  Fri Jun  2 14:00:00 2006
@@ -319,6 +319,7 @@
      case E1000_DEV_ID_82571EB_SERDES:
         hw->mac_type = em_82571;
         break;
+    case E1000_DEV_ID_82572EI:
      case E1000_DEV_ID_82572EI_COPPER:
      case E1000_DEV_ID_82572EI_FIBER:
      case E1000_DEV_ID_82572EI_SERDES:
# diff -u if_em_hw.h.orig if_em_hw.h
--- if_em_hw.h.orig     Fri Nov 25 09:11:59 2005
+++ if_em_hw.h  Fri Jun  2 13:59:19 2006
@@ -500,6 +500,7 @@
  #define E1000_DEV_ID_82571EB_COPPER      0x105E
  #define E1000_DEV_ID_82571EB_FIBER       0x105F
  #define E1000_DEV_ID_82571EB_SERDES      0x1060
+#define E1000_DEV_ID_82572EI             0x10B9
  #define E1000_DEV_ID_82572EI_COPPER      0x107D
  #define E1000_DEV_ID_82572EI_FIBER       0x107E
  #define E1000_DEV_ID_82572EI_SERDES      0x107F





pciconf -lv shows it as

em0@pci2:0:0:   class=0x020000 card=0x10838086 chip=0x10b98086 
rev=0x06 hdr=0x00
     vendor   = 'Intel Corporation'
     class    = network
     subclass = ethernet


I guess for completeness,


# diff -u /usr/src/share/misc/pci_vendors.orig pci_vendors
--- /usr/src/share/misc/pci_vendors.orig        Mon Jul 18 03:45:17 2005
+++ pci_vendors Fri Jun  2 14:11:56 2006
@@ -6970,7 +6970,8 @@
         1054    82801EB/ER PRO/100 VE Network Connection (mobile)
         1055    82801EB/ER PRO/100 VM Network Connection (mobile)
         1059    82551QM Fast Ethernet PCI/CardBus Controller
-       105E    PRO/1000 PT
+       10B9    PRO/1000 PT Single Port
+       105E    PRO/1000 PT Dual Port
         105F    PRO/1000 PF
         1060    PRO/1000 PB
         1064    82562EZ PRO/100 Ethernet Controller


As the 105E refers to the dual port (at least my NIC does)


em0@pci6:0:0:   class=0x020000 card=0x115e8086 chip=0x105e8086 
rev=0x06 hdr=0x00
     vendor   = 'Intel Corporation'
     device   = 'PRO/1000 PT'
     class    = network
     subclass = ethernet
em1@pci6:0:1:   class=0x020000 card=0x115e8086 chip=0x105e8086 
rev=0x06 hdr=0x00
     vendor   = 'Intel Corporation'
     device   = 'PRO/1000 PT'
     class    = network
     subclass = ethernet



dmesg for the dual (on i386)

em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 
0x9000-0x901f mem 0xd7020000-0xd703ffff,0xd7000000-0xd701ffff irq
17 at device 0.0 on pci6
em0: Ethernet address: 00:15:17:0b:70:98
em1: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 
0x9400-0x941f mem 0xd7040000-0xd705ffff,0xd7060000-0xd707ffff irq
18 at device 0.1 on pci6
em1: Ethernet address: 00:15:17:0b:70:99

dmesg for the single (on AMD64)

em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 
0xd800-0xd81f mem 0xfe9e0000-0xfe9fffff,0xfe9c0000-0xfe9dffff irq 18 
at device 0.0 on pci2
em0: Ethernet address: 00:15:17:0b:6a:83



--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.3.4.0.20060602140504.07f00958>