Subject: [unex@linija.org: Intel PRO/1000 GT]
To: None <tech-net@NetBSD.org>
From: Simas Mockevicius <symka@NetBSD.org>
List: tech-net
Date: 03/13/2005 10:03:45
--lEGEL1/lMxI0MVQ2
Content-Type: multipart/mixed; boundary="vkogqOf2sHV7VnPd"
Content-Disposition: inline


--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

----- Forwarded message from Unex <unex@linija.org> -----

From: Unex <unex@linija.org>
To: symka@netbsd.org
Subject: Intel PRO/1000 GT

Hi,
Intel PRO/1000 GT you gave is not supported by NetBSD. All of 82541x suppor=
ted cards is working, except this one.
But PI modem is compatible with GI, so I've patched sources and sending you=
 a diff. Everything working even checksuming ;)

root@connecty ~$ dmesg | grep ^wm
wm0 at pci2 dev 4 function 0: Intel i82541PI 1000BASE-T Ethernet, rev. 5
wm0: interrupting at irq 12
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:0e:0c:69:ce:fa

Patch if for netbsd-2-0 branch.

Sincereley,
Mindaugas Rasiukevi?ius
Tel.: +370 650 85758
E-mail: unex@linija.org
Web: www.linija.org

----- End forwarded message -----

--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="82541PI.diff"
Content-Transfer-Encoding: quoted-printable

Index: sys/dev/pci/pcidevs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/src/sys/dev/pci/pcidevs,v
retrieving revision 1.615.2.17
diff -b -u -r1.615.2.17 pcidevs
--- sys/dev/pci/pcidevs	12 Nov 2004 06:27:37 -0000	1.615.2.17
+++ sys/dev/pci/pcidevs	12 Mar 2005 17:59:07 -0000
@@ -1580,6 +1580,7 @@
 product INTEL 82546GB_COPPER	0x1079	i82546GB Gigabit Ethernet (1000BASE-T)
 product INTEL 82546GB_FIBER	0x107a	i82546GB Gigabit Ethernet (1000BASE-X)
 product INTEL 82546GB_SERDES	0x107b	i82546GB Gigabit Ethernet (SERDES)
+product INTEL 82541PI		0x107c  i82541PI Gigabit Ethernet
 product INTEL 82815_DC100_HUB	0x1100	82815 Hub
 product INTEL 82815_DC100_AGP	0x1101	82815 AGP
 product INTEL 82815_DC100_GRAPH	0x1102	82815 Graphics
Index: sys/dev/pci/pcidevs.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/src/sys/dev/pci/pcidevs.h,v
retrieving revision 1.615.2.17
diff -b -u -r1.615.2.17 pcidevs.h
--- sys/dev/pci/pcidevs.h	12 Nov 2004 06:28:22 -0000	1.615.2.17
+++ sys/dev/pci/pcidevs.h	12 Mar 2005 17:59:31 -0000
@@ -1587,6 +1587,7 @@
 #define	PCI_PRODUCT_INTEL_82546GB_COPPER	0x1079		/* i82546GB Gigabit Ether=
net (1000BASE-T) */
 #define	PCI_PRODUCT_INTEL_82546GB_FIBER	0x107a		/* i82546GB Gigabit Ethern=
et (1000BASE-X) */
 #define	PCI_PRODUCT_INTEL_82546GB_SERDES	0x107b		/* i82546GB Gigabit Ether=
net (SERDES) */
+#define	PCI_PRODUCT_INTEL_82541PI	0x107c		/* i82541PI Gigabit Ethernet */
 #define	PCI_PRODUCT_INTEL_82815_DC100_HUB	0x1100		/* 82815 Hub */
 #define	PCI_PRODUCT_INTEL_82815_DC100_AGP	0x1101		/* 82815 AGP */
 #define	PCI_PRODUCT_INTEL_82815_DC100_GRAPH	0x1102		/* 82815 Graphics */
Index: sys/dev/pci/if_wm.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/src/sys/dev/pci/if_wm.c,v
retrieving revision 1.68.2.3.2.7
diff -b -u -r1.68.2.3.2.7 if_wm.c
--- sys/dev/pci/if_wm.c	23 Feb 2005 15:34:11 -0000	1.68.2.3.2.7
+++ sys/dev/pci/if_wm.c	12 Mar 2005 17:59:45 -0000
@@ -595,6 +595,10 @@
 	  "Intel i82541GI Mobile 1000BASE-T Ethernet",
 	  WM_T_82541_2,		WMP_F_1000T },
=20
+	{ PCI_VENDOR_INTEL,	PCI_PRODUCT_INTEL_82541PI,
+	  "Intel i82541PI 1000BASE-T Ethernet",
+	  WM_T_82541_2,		WMP_F_1000T },
+
 	{ PCI_VENDOR_INTEL,	PCI_PRODUCT_INTEL_82547EI,
 	  "Intel i82547EI 1000BASE-T Ethernet",
 	  WM_T_82547,		WMP_F_1000T },

--vkogqOf2sHV7VnPd--

--lEGEL1/lMxI0MVQ2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFCM/PhUtlifAEIUUgRAmX6AJ4qyGVXHcGPS9eD7/cKniq6KNf3MwCfSytw
VSCkxKYEt3i/ZmBYTjJ4MEw=
=YiIn
-----END PGP SIGNATURE-----

--lEGEL1/lMxI0MVQ2--