summaryrefslogtreecommitdiff
path: root/drivers/net/macb.h
diff options
context:
space:
mode:
authorStelian Pop <stelian at>2008-01-03 21:15:56 +0000
committerPeter Pearse <peter.pearse@arm.com>2008-02-14 09:37:58 +0000
commit7263ef191b87da94768f762c7093bedeb70db98f (patch)
tree1de56890664d8226832679342bbd395ca220f07c /drivers/net/macb.h
parent6afcabf11d7321850f4feaadfee841488ace54c5 (diff)
downloadu-boot-imx-7263ef191b87da94768f762c7093bedeb70db98f.zip
u-boot-imx-7263ef191b87da94768f762c7093bedeb70db98f.tar.gz
u-boot-imx-7263ef191b87da94768f762c7093bedeb70db98f.tar.bz2
AT91CAP9 support : MACB changes
Signed-off-by: Stelian Pop <stelian <at> popies.net> Acked-by: Haavard Skinnemoen <hskinnemoen <at> atmel.com>
Diffstat (limited to 'drivers/net/macb.h')
-rw-r--r--drivers/net/macb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/macb.h b/drivers/net/macb.h
index c778e4e..f92a20c 100644
--- a/drivers/net/macb.h
+++ b/drivers/net/macb.h
@@ -222,6 +222,12 @@
#define MACB_TX_PAUSE_ZERO_OFFSET 3
#define MACB_TX_PAUSE_ZERO_SIZE 1
+/* Bitfields in USRIO (AT91) */
+#define MACB_RMII_OFFSET 0
+#define MACB_RMII_SIZE 1
+#define MACB_CLKEN_OFFSET 1
+#define MACB_CLKEN_SIZE 1
+
/* Bitfields in WOL */
#define MACB_IP_OFFSET 0
#define MACB_IP_SIZE 16