]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/macb.h
spidernet: improve interrupt handling
[linux-2.6-omap-h63xx.git] / drivers / net / macb.h
index 27bf0ae0f0bb8310136e749fa94d8d495d92d09d..b3bb2182edd1ce3f9cf1178f18169a51fba926cd 100644 (file)
 #define MACB_SOF_OFFSET                                30
 #define MACB_SOF_SIZE                          2
 
-/* Bitfields in USRIO */
+/* Bitfields in USRIO (AVR32) */
 #define MACB_MII_OFFSET                                0
 #define MACB_MII_SIZE                          1
 #define MACB_EAM_OFFSET                                1
 #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