2005-11-16 18:37:55

by Vitaly Bordug

[permalink] [raw]
Subject: [PATCH] ppc32: Added missing define for fs_enet Ethernet driver

This adds the FCC_PSMR_RMII defenition, which is used in fs_enet to enable
RMII mode.

Signed-off-by: Vitaly Bordug <[email protected]>


---

include/asm-ppc/cpm2.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

applies-to: a4efeaa72988e2e2e2604535283e7f274bc0bc53
339019bec61c89ca21c48df47519c27a44eab7f5
diff --git a/include/asm-ppc/cpm2.h b/include/asm-ppc/cpm2.h
index 43d2ebb..e952d55 100644
--- a/include/asm-ppc/cpm2.h
+++ b/include/asm-ppc/cpm2.h
@@ -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__ */
---
Sincerely,
Vitaly