summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2004-11-09 04:10:52 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-09 04:10:52 -0800
commit0fd5e591ff948b28e0faa8945ac742625069f554 (patch)
tree0a1238737f5222adabae6cfa201948c3d9d55553
parent954824e59145ec24566c8bd5a30ed69cd97b6112 (diff)
[PATCH] m68knommu: use correct register offsets for ColdFire 527x FEC ethernet
The ColdFire 527x and 528x use the same FEC ethernet register offsets. Conditionally use the correct structure. Signed-off-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/net/fec.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/fec.h b/drivers/net/fec.h
index 3bdb0d78b75a..c6e4f979ff5d 100644
--- a/drivers/net/fec.h
+++ b/drivers/net/fec.h
@@ -1,8 +1,8 @@
/****************************************************************************/
/*
- * fec.h -- Fast Ethernet Controller for Motorola ColdFire 5272
- * and 5282..
+ * fec.h -- Fast Ethernet Controller for Motorola ColdFire 5270,
+ 5271, 5272, 5274, 5275, 5280 and 5282.
*
* (C) Copyright 2000-2003, Greg Ungerer (gerg@snapgear.com)
* (C) Copyright 2000-2001, Lineo (www.lineo.com)
@@ -13,7 +13,7 @@
#define FEC_H
/****************************************************************************/
-#ifdef CONFIG_M5282
+#if defined(CONFIG_M527x) || defined(CONFIG_M528x)
/*
* Just figures, Motorola would have to change the offsets for
* registers in the same peripheral device on different models