Skip to contentSkip to conversation

FEC driver update for 8xx

PATCH In review Pantelis Antoniou 2 participants 2 messages Mar 30, 2004 – Apr 15, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 FEC driver update for 8xx

Hello

The following patch improves and fixes various things in the FEC driver on the 8xx series of processors.

The changes are as following:

1. The new 87x and 88x series of processors have two FECs, and the new driver supports them both.
2. Another change in the 87x/88x series is support for the RMII (Reduced MII) interface. However numerous changes are needed to make it work since the PHYs are connected to the same lines. That means that you have to address them correctly over the MII interface.
3. We now correctly match the MII/RMII interface configuration to what the PHY reports.

The following new defines are supported:

CONFIG_ETHER_ON_FEC[12]

Enable FEC on given FEC

CONFIG_FEC[12]_PHY

Assign PHY address to FEC. If -1 means probe.

CONFIG_FEC[12]_PHY_NORXERR

The PHY does not have a RXERR line (RMII only).

CONFIG_RMII

Enable RMII mode common for any activated FECs.

For compatibility reasons the name of the first interface remains unchanged at 'FEC ETHERNET' while the second is name 'FEC2 ETHERNET'.

Regards

Pantelis

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fec.diffstat
Url: http://lists.denx.de/pipermail/u-boot/attachments/20040330/9f102327/attachment.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fec.diff
Url: http://lists.denx.de/pipermail/u-boot/attachments/20040330/9f102327/attachment-0001.txt

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

The following patch improves and fixes various things in the FEC driver on the 8xx series of processors.

Added, thanks.

Quoted 10 lines

The following new defines are supported:

CONFIG_ETHER_ON_FEC[12]

Enable FEC on given FEC

CONFIG_FEC[12]_PHY

Assign PHY address to FEC. If -1 means probe.

Quoted 7 lines

CONFIG_FEC[12]_PHY_NORXERR

The PHY does not have a RXERR line (RMII only).

CONFIG_RMII

Enable RMII mode common for any activated FECs.

Please provide an additional patch for the README file to document these new features.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
A verbal contract isn't worth the paper it's written on.
                                                    -- Samuel Goldwyn