projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d2d419
)
[MIPS] Alchemy: Fix Au1x SD controller IRQ
author
Manuel Lauss
<
[email protected]
>
Thu, 6 Dec 2007 07:11:56 +0000
(08:11 +0100)
committer
Ralf Baechle
<
[email protected]
>
Sun, 9 Dec 2007 04:51:10 +0000
(
04:51
+0000)
With the introduction of MIPS_CPU_IRQ_BASE, the hardcoded IRQ number of
the au1100/au1200 SD controller(s) is no longer valid.
Signed-off-by: Manuel Lauss <
[email protected]
>
Signed-off-by: Ralf Baechle <
[email protected]
>
include/asm-mips/mach-au1x00/au1100_mmc.h
patch
|
blob
|
history
diff --git
a/include/asm-mips/mach-au1x00/au1100_mmc.h
b/include/asm-mips/mach-au1x00/au1100_mmc.h
index 9e7d1ba21b557cc5051241fed588d5746f378b4d..9e0028f60a43bb1b0be30cb91dc3cd01924bd27b 100644
(file)
--- a/
include/asm-mips/mach-au1x00/au1100_mmc.h
+++ b/
include/asm-mips/mach-au1x00/au1100_mmc.h
@@
-41,8
+41,11
@@
#define NUM_AU1100_MMC_CONTROLLERS 2
-
-#define AU1100_SD_IRQ 2
+#if defined(CONFIG_SOC_AU1100)
+#define AU1100_SD_IRQ AU1100_SD_INT
+#elif defined(CONFIG_SOC_AU1200)
+#define AU1100_SD_IRQ AU1200_SD_INT
+#endif
#define SD0_BASE 0xB0600000