BY: ptsekov DATE: 2005-Oct-31 00:38 SUBJECT: [PATCH] Enable auto-negotiation for SCPH10281Hello,
I've recently got a Playstation 2 Linux dvd set. Since I do not own a full kit but only the dvd set I had to by a network adapter from ebay. It was a regular network adapter and not the one which comes with the Linux kit. And this is where the problems started. After reading the forums for a while I got the picture and also found the patch from falcon which enables the regular network adapter to work with Playstation 2 linux. However I did not feel comfortable with the way falcon solved the problem. So I did some testing and found out that the SCPH-10281 uses a different phyter chip than the one smap.c expects to find - smap.c expects DS83847 from National Semiconductors as far as I can tell. Next, I opened my network adapter and found that the chip used in it is "STE100S SB" from SGS Thompson. Documentation was hard to find about this particular chip but I found docs on STE100P or STEPHY1 (from the same vendor) which seemed to be the same. Using this documentation I've patched smap.c and smap.h to work with both the original adapter included with the kit and with SCPH-10281.
This is the first incarnation of the patch and it can be improved. Still it works pretty well and this is why I post it. I'll post updated versions in this thread if there is interest. Comments are much appreciated.
Note that the patch is against the smap.h and smap.c in the original kernel source (2.2.1). I'll update the patch to later versions too.
Pavel |