Skip to content

Commit

Permalink
fec: fix definition of 5272 version of FEC_X_DES_ACTIVE register
Browse files Browse the repository at this point in the history
fec: fix definition of 5272 version of FEC_X_DES_ACTIVE register

The ColdFire 5272 FEC driver has a different register address map
than other users of the FEC driver. And its definition of the
FEC_X_DES_ACTIVE register is incorrect, it should be 0x14.
The fec interface cannot transmit data with the old value.

Signed-off-by: Greg Ungerer <[email protected]>
----
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Greg Ungerer authored and davem330 committed Jul 7, 2009
1 parent 9ff1a91 commit 5ca1ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/fec.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#define FEC_IMASK 0x008 /* Interrupt mask reg */
#define FEC_IVEC 0x00c /* Interrupt vec status reg */
#define FEC_R_DES_ACTIVE 0x010 /* Receive descriptor reg */
#define FEC_X_DES_ACTIVE 0x01c /* Transmit descriptor reg */
#define FEC_X_DES_ACTIVE 0x014 /* Transmit descriptor reg */
#define FEC_MII_DATA 0x040 /* MII manage frame reg */
#define FEC_MII_SPEED 0x044 /* MII speed control reg */
#define FEC_R_BOUND 0x08c /* FIFO receive bound reg */
Expand Down

0 comments on commit 5ca1ea2

Please sign in to comment.