[PATCH] skge support for Marvell chips in Toshiba laptops

From: Jesse Barnes
Date: Wed Oct 19 2005 - 12:48:28 EST


Here's a small patch to add the PCI ID and chip type of the chip in my
Toshiba laptop to the skge driver. I haven't tested it much (just
insmoded it and run ethtool against the corresponding eth1 device), but
it doesn't crash my system, so unless this configuration has already
been tested and is known to have problems, it might be good to add this
patch.

I'll test some more with a real network when I get home.

Thanks,
Jesse

Signed-off-by: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>

--- linux-2.6.14-rc4.orig/drivers/net/skge.c 2005-10-10 18:19:19.000000000 -0700
+++ linux-2.6.14-rc4/drivers/net/skge.c 2005-10-19 10:40:56.000000000 -0700
@@ -77,6 +77,7 @@
{ PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, PCI_DEVICE_ID_SYSKONNECT_YU) },
{ PCI_DEVICE(PCI_VENDOR_ID_DLINK, PCI_DEVICE_ID_DLINK_DGE510T), },
{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4320) },
+ { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4351), },
{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x5005) }, /* Belkin */
{ PCI_DEVICE(PCI_VENDOR_ID_CNET, PCI_DEVICE_ID_CNET_GIGACARD) },
{ PCI_DEVICE(PCI_VENDOR_ID_LINKSYS, PCI_DEVICE_ID_LINKSYS_EG1064) },
@@ -2932,6 +2933,7 @@
case CHIP_ID_YUKON:
case CHIP_ID_YUKON_LITE:
case CHIP_ID_YUKON_LP:
+ case CHIP_ID_YUKON_FE:
if (phy_type < SK_PHY_MARV_COPPER && pmd_type != 'S')
hw->copper = 1;