Problem with SiS900 - Unknown PHY

From: Laurent
Date: Tue Aug 24 2004 - 16:41:34 EST


Some time ago, I sent on this list a mail about my strange problem with
my SiS900 network card (Subject was Sluggish performances with FreeBSD)

To sum up, when my card is in 100Mb mode, I have poor throughput but in
10Mb, all seems normal.

After some tests, it seems these results was due to a misdetection of
the PHY device. mii-tool reports :
product info: vendor 08:00:17, model 3 rev 0

and after some search on the web, I found it's a NS DP83847 which is
very similar

Here is the patch :

--- linux/drivers/net/sis900.c.old 2004-08-24 20:51:43.865086208
+0200
+++ linux/drivers/net/sis900.c 2004-08-24 20:21:48.000000000 +0200
@@ -124,6 +124,7 @@
{ "AMD 79C901 HomePNA PHY", 0x0000, 0x6B90, HOME},
{ "ICS LAN PHY", 0x0015, 0xF440, LAN },
{ "NS 83851 PHY", 0x2000, 0x5C20, MIX },
+ { "NS 83847 PHY", 0x2000, 0x5C30, MIX },
{ "Realtek RTL8201 PHY", 0x0000, 0x8200, LAN },
{ "VIA 6103 PHY", 0x0101, 0x8f20, LAN },
{NULL,},

Hope it can help some people

Laurent Goujon

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/