diff options
author | Greg Ungerer <gerg@snapgear.com> | 2005-11-01 23:56:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-02 00:41:19 -0500 |
commit | ed65fa16d54a015ef0855692901a6cf362046622 (patch) | |
tree | 2cff76a0e9f89d45a2735c084f52f89c1a80f87c | |
parent | b30db61b9bdc6bbc43a1b3bc5664092103d2bd82 (diff) |
[PATCH] m68knommu: use board name defines to differentiate board definitions
Use board name define to differentiate boards, not combination
of more generic defines.
Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | include/asm-m68knommu/anchor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-m68knommu/anchor.h b/include/asm-m68knommu/anchor.h index 75390e0b40c9..871c0d5cfc3d 100644 --- a/include/asm-m68knommu/anchor.h +++ b/include/asm-m68knommu/anchor.h | |||
@@ -14,7 +14,7 @@ | |||
14 | /* | 14 | /* |
15 | * Define basic addressing info. | 15 | * Define basic addressing info. |
16 | */ | 16 | */ |
17 | #if defined(CONFIG_MOTOROLA) && defined(CONFIG_M5407) | 17 | #if defined(CONFIG_M5407C3) |
18 | #define COMEM_BASE 0xFFFF0000 /* Base of CO-MEM address space */ | 18 | #define COMEM_BASE 0xFFFF0000 /* Base of CO-MEM address space */ |
19 | #define COMEM_IRQ 25 /* IRQ of anchor part */ | 19 | #define COMEM_IRQ 25 /* IRQ of anchor part */ |
20 | #else | 20 | #else |
@@ -96,7 +96,7 @@ | |||
96 | * The PCI bus will be limited in what slots will actually be used. | 96 | * The PCI bus will be limited in what slots will actually be used. |
97 | * Define valid device numbers for different boards. | 97 | * Define valid device numbers for different boards. |
98 | */ | 98 | */ |
99 | #if defined(CONFIG_MOTOROLA) && defined(CONFIG_M5407) | 99 | #if defined(CONFIG_M5407C3) |
100 | #define COMEM_MINDEV 14 /* Minimum valid DEVICE */ | 100 | #define COMEM_MINDEV 14 /* Minimum valid DEVICE */ |
101 | #define COMEM_MAXDEV 14 /* Maximum valid DEVICE */ | 101 | #define COMEM_MAXDEV 14 /* Maximum valid DEVICE */ |
102 | #define COMEM_BRIDGEDEV 15 /* Slot bridge is in */ | 102 | #define COMEM_BRIDGEDEV 15 /* Slot bridge is in */ |