Hello The attached patch is a driver for both the FECs on the new motorola 87x/88x processors.
I first tried to modified the old FEC driver but due to hardware peculiarities and the large modification needed I decided to create a new driver based on the old one. The main features of the driver are: o Supports correctly both FECs. o Easier way to add new boards. o MII ethtool support. o NAPI support. o Support polling mode of link changes even with generic phys. o No fixed receive ethernet buffers zero copy receive, based on the work of Joakim Tjernlund. o Copy small received frames to reduce memory consumption. o I think it will be easier to port to 2.6. Haven't yet a chance to try it though. The major changes were: o Moved location to drivers/net o It is now a whole subdirectory instead of just one file. o MII no longer interrupt driven. Note that the board which uses it is not in the tree since it depends on other patches that were rejected for 2.4. However it is trivial to add more boards. Please take a look and comment. Regards Pantelis -------------- next part -------------- A non-text attachment was scrubbed... Name: duet-fec2.diff.bz2 Type: application/x-bzip2 Size: 13872 bytes Desc: not available Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20040513/1c333bb8/attachment.bin