Subject: Re: Marvell ethernet card
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Jeff Rizzo <riz@NetBSD.org>
List: current-users
Date: 12/04/2005 08:22:16
--zx4FCpZtqtKETZ7O
Content-Type: multipart/mixed; boundary="ew6BAiZeqk4r7MaW"
Content-Disposition: inline


--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sun, Dec 04, 2005 at 03:27:26PM +0000, Patrick Welche wrote:
> On Sat, Dec 03, 2005 at 07:34:13PM -0800, Jeff Rizzo wrote:
> > Patrick Welche wrote:
> > >it is a (0x11ab,0x4362) "Marvell Technology Group Ltd.|Marvell Yukon
> > >88E8053 Gigabit Ethernet 10/100/1000Base-T Adapter"

OK, here is a first cut - this doesn't appear to be a Yukon II, so you
may be in luck.  :)

Apply the attached patch in sys/dev/pci, and rebuild your kernel.

+j

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

Index: 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.738
diff -u -r1.738 pcidevs
--- pcidevs	27 Nov 2005 10:17:26 -0000	1.738
+++ pcidevs	4 Dec 2005 16:20:26 -0000
@@ -1548,6 +1548,11 @@
 product GALILEO	GT64115		0x4111	GT-64115 System Controller
 product GALILEO	GT64011		0x4146	GT-64011 System Controller
 product GALILEO	SKNET		0x4320	SK-NET Gigabit Ethernet
+product GALILEO YUKON_8035	0x4350	Yukon 8035
+product GALILEO YUKON_8036	0x4351	Yukon 8036
+product GALILEO YUKON_8052	0x4351	Yukon 8052
+product GALILEO YUKON_8050	0x4351	Yukon 8050
+product GALILEO YUKON_8053	0x4351	Yukon 8053
 product GALILEO	GT64120		0x4620	GT-64120 System Controller
 product GALILEO	BELKIN		0x5005	Belkin Gigabit Ethernet
 product GALILEO	GT64130		0x6320	GT-64130 System Controller
Index: 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.740
diff -u -r1.740 pcidevs.h
--- pcidevs.h	27 Nov 2005 10:19:03 -0000	1.740
+++ pcidevs.h	4 Dec 2005 16:20:28 -0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: pcidevs.h,v 1.740 2005/11/27 10:19:03 jdolecek Exp $	*/
+/*	$NetBSD$	*/
=20
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -1555,6 +1555,11 @@
 #define	PCI_PRODUCT_GALILEO_GT64115	0x4111		/* GT-64115 System Controller =
*/
 #define	PCI_PRODUCT_GALILEO_GT64011	0x4146		/* GT-64011 System Controller =
*/
 #define	PCI_PRODUCT_GALILEO_SKNET	0x4320		/* SK-NET Gigabit Ethernet */
+#define	PCI_PRODUCT_GALILEO_YUKON_8035	0x4350		/* Yukon 8035 */
+#define	PCI_PRODUCT_GALILEO_YUKON_8036	0x4351		/* Yukon 8036 */
+#define	PCI_PRODUCT_GALILEO_YUKON_8052	0x4351		/* Yukon 8052 */
+#define	PCI_PRODUCT_GALILEO_YUKON_8050	0x4351		/* Yukon 8050 */
+#define	PCI_PRODUCT_GALILEO_YUKON_8053	0x4351		/* Yukon 8053 */
 #define	PCI_PRODUCT_GALILEO_GT64120	0x4620		/* GT-64120 System Controller =
*/
 #define	PCI_PRODUCT_GALILEO_BELKIN	0x5005		/* Belkin Gigabit Ethernet */
 #define	PCI_PRODUCT_GALILEO_GT64130	0x6320		/* GT-64130 System Controller =
*/
Index: pcidevs_data.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_data.h,v
retrieving revision 1.738
diff -u -r1.738 pcidevs_data.h
--- pcidevs_data.h	27 Nov 2005 10:19:03 -0000	1.738
+++ pcidevs_data.h	4 Dec 2005 16:20:29 -0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: pcidevs_data.h,v 1.738 2005/11/27 10:19:03 jdolecek Exp $	*/
+/*	$NetBSD$	*/
=20
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -5252,6 +5252,26 @@
 	    "SK-NET Gigabit Ethernet",
 	},
 	{
+	    PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_YUKON_8035,
+	    "Yukon 8035",
+	},
+	{
+	    PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_YUKON_8036,
+	    "Yukon 8036",
+	},
+	{
+	    PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_YUKON_8052,
+	    "Yukon 8052",
+	},
+	{
+	    PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_YUKON_8050,
+	    "Yukon 8050",
+	},
+	{
+	    PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_YUKON_8053,
+	    "Yukon 8053",
+	},
+	{
 	    PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_GT64120,
 	    "GT-64120 System Controller",
 	},
@@ -10572,4 +10592,4 @@
 	    "Video Controller",
 	},
 };
-const int pci_nproducts =3D 2061;
+const int pci_nproducts =3D 2066;
Index: if_sk.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_sk.c,v
retrieving revision 1.18
diff -u -r1.18 if_sk.c
--- if_sk.c	23 Nov 2005 18:56:22 -0000	1.18
+++ if_sk.c	4 Dec 2005 16:20:31 -0000
@@ -255,6 +255,11 @@
 	{ PCI_VENDOR_SCHNEIDERKOCH, PCI_PRODUCT_SCHNEIDERKOCH_SK9821v2, },
 	{ PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_SKNET, },
 	{ PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_BELKIN, },
+	{ PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_YUKON_8035, },
+	{ PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_YUKON_8036, },
+	{ PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_YUKON_8050, },
+	{ PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_YUKON_8052, },
+	{ PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_YUKON_8053, },
 	{ 0, 0, }
 };
=20

--ew6BAiZeqk4r7MaW--

--zx4FCpZtqtKETZ7O
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iQCVAwUBQ5MXuLOuUtxCgar5AQKbGwQAiVkwGboPWaZ6/cEF69Ox5uFEjATS6cAc
GdpSVwRWfYMuDs2Xwezt512OHO1WAYpn8lYZyL0tSkmlO1aEylw5VvGjP8adB+Sm
ndeV1PaR26LuxLbQ1J/LmT93JIHuTTLivU7Lhr9JTNIwHx7WVFFLjTeIcLjvyWa7
IIp806FOG34=
=SBRu
-----END PGP SIGNATURE-----

--zx4FCpZtqtKETZ7O--