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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux