aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fec.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2009-07-06 11:23:34 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-06 21:56:11 -0400
commit5ca1ea23c4581f961afaddf1599970e6f05d02dc (patch)
tree5a148443aa1caddfd8a3c1c533487dfed988ff47 /drivers/net/fec.h
parent9ff1a91c027145a53bec618c8255a7bd0a89794b (diff)
fec: fix definition of 5272 version of FEC_X_DES_ACTIVE register
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 <gerg@uclinux.org> ---- Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fec.h')
-rw-r--r--drivers/net/fec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec.h b/drivers/net/fec.h
index 6958d850a6ad..cc47f3f057c7 100644
--- a/drivers/net/fec.h
+++ b/drivers/net/fec.h
@@ -51,7 +51,7 @@
51#define FEC_IMASK 0x008 /* Interrupt mask reg */ 51#define FEC_IMASK 0x008 /* Interrupt mask reg */
52#define FEC_IVEC 0x00c /* Interrupt vec status reg */ 52#define FEC_IVEC 0x00c /* Interrupt vec status reg */
53#define FEC_R_DES_ACTIVE 0x010 /* Receive descriptor reg */ 53#define FEC_R_DES_ACTIVE 0x010 /* Receive descriptor reg */
54#define FEC_X_DES_ACTIVE 0x01c /* Transmit descriptor reg */ 54#define FEC_X_DES_ACTIVE 0x014 /* Transmit descriptor reg */
55#define FEC_MII_DATA 0x040 /* MII manage frame reg */ 55#define FEC_MII_DATA 0x040 /* MII manage frame reg */
56#define FEC_MII_SPEED 0x044 /* MII speed control reg */ 56#define FEC_MII_SPEED 0x044 /* MII speed control reg */
57#define FEC_R_BOUND 0x08c /* FIFO receive bound reg */ 57#define FEC_R_BOUND 0x08c /* FIFO receive bound reg */