The following changes have been done in the EMAC driver in this patch series:

Patch1: modified devices.c to add platform information for EMAC driver
Patch2: EMAC driver patch

1. Follow Linux coding guidelines - ran checkpatch.pl and cleaned up almost all 
warnings/errors - there are a couple of false alarms from checkpatch.pl
2. Followed kernel nano documentation style (thanks to Sanjeev for suggesting 
the same) - please refer to the file 
linux/Documentation/kernel-doc-nano-HOWTO.txt
3. General cleanup and removal of unnecessary code (one of the goals was to 
reduce number of lines of code as the original code was written to be ported to 
many OS's - lines of code was around 8K - now it is around 3K)
4. Removed register access structure and adopted Linux style register accesses 
- also removed volatile keyword from the file

Testing done on this patch:
Tested with NFS boot and flood ping tests

I plan to work on following items in coming days - suggestions welcome:

1. More testing (any help appreciated)
2. Using Linux DMA infrastructure (dma_xxx functions)
3. Replacing EMAC MDIO files with Linux MII infrastructure
4. Adding DM646x support - as soon as DM646x base port is added to GIT
5. TX multi queue
6. Ethtool support - code is in there but I have not paid much attention

-
Anant
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to