[PATCH] ppc32: add missing define for fs_enet Ethernet driver
authorVitaly Bordug <vbordug@ru.mvista.com>
Fri, 18 Nov 2005 09:10:55 +0000 (01:10 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 18 Nov 2005 15:49:45 +0000 (07:49 -0800)
This adds the FCC_PSMR_RMII defenition, which is used in fs_enet to enable
RMII mode.

Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-ppc/cpm2.h

index 43d2ebbc7748fba88bbd0dfbd6cbeb4ca6daa17e..b638b87cebe3381a0312e34bd7618810463e0df0 100644 (file)
@@ -1091,5 +1091,7 @@ typedef struct im_idma {
 #define CPM_IMMR_OFFSET        0x101a8
 #endif
 
+#define FCC_PSMR_RMII  ((uint)0x00020000)      /* Use RMII interface */
+
 #endif /* __CPM2__ */
 #endif /* __KERNEL__ */