linux-mips
[Top] [All Lists]

[PATCH][2.4] Added IDE IRQ share support for IBM WorkPad z50

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][2.4] Added IDE IRQ share support for IBM WorkPad z50
From: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Date: Wed, 11 Feb 2004 01:59:47 +0900
Cc: yuasa@hh.iij4u.or.jp, linux-mips <linux-mips@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hello Ralf,

I made a patch for IBM WorkPad z50.
This patch added IDE IRQ share support for IBM WorkPad z50.

Please apply this patch to v2.4.

Yoichi

diff -urN -X dontdiff linux-orig/arch/mips/config-shared.in 
linux/arch/mips/config-shared.in
--- linux-orig/arch/mips/config-shared.in       Fri Feb  6 08:33:13 2004
+++ linux/arch/mips/config-shared.in    Wed Feb 11 01:53:08 2004
@@ -444,6 +444,7 @@
    define_bool CONFIG_NONCOHERENT_IO y
    define_bool CONFIG_ISA y
    define_bool CONFIG_SCSI n
+   define_bool CONFIG_IDEPCI_SHARE_IRQ y
 fi
 if [ "$CONFIG_LASAT" = "y" ]; then
    define_bool CONFIG_BOARD_SCACHE y
diff -urN -X dontdiff linux-orig/drivers/ide/ide-probe.c 
linux/drivers/ide/ide-probe.c
--- linux-orig/drivers/ide/ide-probe.c  Thu Nov 27 00:29:14 2003
+++ linux/drivers/ide/ide-probe.c       Wed Feb 11 01:53:08 2004
@@ -1077,9 +1077,9 @@
         */
        if (!match || match->irq != hwif->irq) {
                int sa = SA_INTERRUPT;
-#if defined(__mc68000__) || defined(CONFIG_APUS)
+#if defined(__mc68000__) || defined(CONFIG_APUS) || defined(CONFIG_IBM_WORKPAD)
                sa = SA_SHIRQ;
-#endif /* __mc68000__ || CONFIG_APUS */
+#endif /* __mc68000__ || CONFIG_APUS || CONFIG_IBM_WORKPAD */
 
                if (IDE_CHIPSET_IS_PCI(hwif->chipset)) {
                        sa = SA_SHIRQ;

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH][2.4] Added IDE IRQ share support for IBM WorkPad z50, Yoichi Yuasa <=