Jeff,
This is the third of a series of patches needed to support our product
using the DP83815.
This patch permits operation of an external PHY. Updates the mdio_read
and mdio_write functions to permit actual MII operation. Modify
miscellaneous code to use the MII registers instead of the internal registers
where it makes a difference. Relocate the internal phy to phy_address=1,
and add find_mii() to locate the address of the external mii phy. Prevent
the 'nasty random phy-reset' code from operating when an external phy is being
used.
The probe code determines the previously used internal or external phy to
determine the initial mode it will use. Again, our implementation does not
have an EEPROM, so we rely on the mode that our boot rom used to setup the
Ethernet.
Gary