From owner-freebsd-hardware@FreeBSD.ORG Fri Jun 2 18:20:15 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1298D16A421 for ; Fri, 2 Jun 2006 18:20:15 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A49CC43D48 for ; Fri, 2 Jun 2006 18:20:14 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.13.4P/8.13.4) with ESMTP id k52IKDWn026899 for ; Fri, 2 Jun 2006 14:20:13 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3P/8.13.3) with ESMTP id k52IKC1S076053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 2 Jun 2006 14:20:13 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060602140504.07f00958@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Fri, 02 Jun 2006 14:19:51 -0400 To: freebsd-hardware@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Intel 1000 PT PCI Express single port ethernet adaptor diffs X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jun 2006 18:20:15 -0000 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: 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: 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: 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