javier Martin e8f1546a88 mxc_fec: fix some erroneous PHY accesses.
This patch fixes erroneous access to the ethernet PHY which broke the driver.
1. Selector field in the auto-negotiation register must be 0x00001 for
using 802.3, not 0x00000 which is reseved.
2. Access to the PHY address specified by CONFIG_FEC_MXC_PHYADDR, not
0x0 fixed address.

This has been tested in i.MX27 Litekit board and eldk-4.2 toolchains.

Now using proper defines for auto-negotiation register.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2009-11-11 13:27:09 -08:00
..
2009-09-04 21:53:37 +02:00
2009-10-03 10:17:56 +02:00
2009-09-04 21:54:52 +02:00
2009-09-04 21:54:04 +02:00
2009-07-29 09:57:43 +02:00
2009-07-14 09:46:09 -05:00
2009-04-04 20:42:19 +02:00