Hello -

PATCH: Fix DaVinci ethernet half-duplex bug + cleanup


I've attached two .patch files - one for the kernel that comes with DVSDK
1.10 (2.6.10_mvl401), and another for the latest 'git tree' kernel (2.6.19).

These patches fix the 'half duplex' problem with ethernet on the DaVinci
platform (problems when plugging DVEVM into a hub).

Yesterday, I sent out a similar patch, but I've since re-implemented the
patch per a suggestion on the list from "Anant Gole" (a TI employee).



In addition, I've made two other changes:

- Added #defines for "PHY_DUPLEX_AUTO/_FULL/_HALF/_UNKNOWN", and changed the
code to use these names instead of hard-coded "2", "3", etc.  (makes it
easier to follow the code)

- Fixed a bug in "emac_control()" (EMAC_IOCTL_READ_PHY_REG handler was
calling "emac_mdio_read()" with the arguments swapped.



Please let me know if you find any problems with the patches.

- Paulb

Attachment: davinci_eth_half_duplex_fix__2.6.10_mvl401.patch
Description: Binary data

Attachment: davinci_eth_half_duplex_fix__2.6.19.patch
Description: Binary data

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to