Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] Alchemy: Fix Au1x SD controller IRQ
@ 2007-12-06  7:11 Manuel Lauss
  2007-12-07  1:55 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Manuel Lauss @ 2007-12-06  7:11 UTC (permalink / raw)
  To: linux-mips

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 <mano@roarinelk.homelinux.net>

--- linux-2.6.24-rc4/include/asm-mips/mach-au1x00/au1100_mmc.h	2007-12-04 08:31:24.613002000 +0100
+++ linux-2.6.24-rc4-work/include/asm-mips/mach-au1x00/au1100_mmc.h	2007-12-06 15:33:35.000000000 +0100
@@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Alchemy: Fix Au1x SD controller IRQ
  2007-12-06  7:11 [PATCH] Alchemy: Fix Au1x SD controller IRQ Manuel Lauss
@ 2007-12-07  1:55 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-12-07  1:55 UTC (permalink / raw)
  To: Manuel Lauss; +Cc: linux-mips

On Thu, Dec 06, 2007 at 08:11:56AM +0100, Manuel Lauss wrote:

> 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 <mano@roarinelk.homelinux.net>

Thanks, applied.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-07 11:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-06  7:11 [PATCH] Alchemy: Fix Au1x SD controller IRQ Manuel Lauss
2007-12-07  1:55 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox