summaryrefslogtreecommitdiff
path: root/drivers/net/kirkwood_egiga.h
diff options
context:
space:
mode:
authorSimon Kagstrom <simon.kagstrom@netinsight.net>2009-07-08 13:05:11 +0200
committerBen Warren <biggerbadderben@gmail.com>2009-07-22 22:53:45 -0700
commit16025ea45539219f2a7c750c6f0ae983ea5c2737 (patch)
treeaf0a7527446c7371f098ad2b92291ca3e9d2164e /drivers/net/kirkwood_egiga.h
parent7b05f5e027b81cd3a9a41c6c6d3fe09c72fa93f6 (diff)
downloadu-boot-imx-16025ea45539219f2a7c750c6f0ae983ea5c2737.zip
u-boot-imx-16025ea45539219f2a7c750c6f0ae983ea5c2737.tar.gz
u-boot-imx-16025ea45539219f2a7c750c6f0ae983ea5c2737.tar.bz2
arm: Kirkwood: Check the error summary bit for error detection
The Marvell documentation for the 88f6281 states that the error coding is only valid if the error summary and last frame bits in the transmit descriptor status field are set. This patch adds checks for these for transmit (I would get transmit errors on bootp with the current check, which I believe are spurious). Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/kirkwood_egiga.h')
-rw-r--r--drivers/net/kirkwood_egiga.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/kirkwood_egiga.h b/drivers/net/kirkwood_egiga.h
index 8b67c9c..9c893d1 100644
--- a/drivers/net/kirkwood_egiga.h
+++ b/drivers/net/kirkwood_egiga.h
@@ -256,6 +256,7 @@
#define KWGBE_UR_ERROR (1 << 1)
#define KWGBE_RL_ERROR (1 << 2)
#define KWGBE_LLC_SNAP_FORMAT (1 << 9)
+#define KWGBE_TX_LAST_FRAME (1 << 20)
/* Rx descriptors status */
#define KWGBE_CRC_ERROR 0