netdev
[Top] [All Lists]

[PATCH] natsemi update 3/4 External PHY operation

To: netdev@xxxxxxxxxxx
Subject: [PATCH] natsemi update 3/4 External PHY operation
From: "Gary N Spiess" <Gary.Spiess@xxxxxxxxxxxx>
Date: Fri, 04 Jun 2004 14:55:29 -0500
Cc: manfred@xxxxxxxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx

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

 oooooooooooooooooooooooooooooooooooooooooooooooooo
 Gary Spiess (Gary.Spiess@xxxxxxxxxxxx)
 MobileLan Wireless Products Group, Intermec Technology Corp
 voice: 319 369-3580  fax: 319 369-3804

Attachment: natsemi-2.6.6-3.patch
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>