Hello, all.
I shall be very glad for the help on how do I need to modify the Ethernet driver to allow the phy-free EMAC connection (MII only).
Studying the driver code I came to the conclusion that it is enough to modify file davinci_emac.c in the function emac_cfg_prob. I corrected there the function call emac_cfg_build second parameter - I set it to 1.
But for some reason this did not help. I see message "PHY not found" emitted periodically and no Ethernet working.
I managed to make Ethernet working by brutally setting manually the phy_linked, link_speed and link_mode parameters in several places in the code, but this is not a good way and, besides, it sometimes does not work in high temperature (strange, but real)...
Many thanks ahead for any help.