Commit ed65fa16 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[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: default avatarGreg Ungerer <gerg@uclinux.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b30db61b
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
/* /*
* Define basic addressing info. * Define basic addressing info.
*/ */
#if defined(CONFIG_MOTOROLA) && defined(CONFIG_M5407) #if defined(CONFIG_M5407C3)
#define COMEM_BASE 0xFFFF0000 /* Base of CO-MEM address space */ #define COMEM_BASE 0xFFFF0000 /* Base of CO-MEM address space */
#define COMEM_IRQ 25 /* IRQ of anchor part */ #define COMEM_IRQ 25 /* IRQ of anchor part */
#else #else
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
* The PCI bus will be limited in what slots will actually be used. * The PCI bus will be limited in what slots will actually be used.
* Define valid device numbers for different boards. * Define valid device numbers for different boards.
*/ */
#if defined(CONFIG_MOTOROLA) && defined(CONFIG_M5407) #if defined(CONFIG_M5407C3)
#define COMEM_MINDEV 14 /* Minimum valid DEVICE */ #define COMEM_MINDEV 14 /* Minimum valid DEVICE */
#define COMEM_MAXDEV 14 /* Maximum valid DEVICE */ #define COMEM_MAXDEV 14 /* Maximum valid DEVICE */
#define COMEM_BRIDGEDEV 15 /* Slot bridge is in */ #define COMEM_BRIDGEDEV 15 /* Slot bridge is in */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment