Re: BUG: 2.4.18 & ALI15X3 DMA hang on boot

From: Martin Dalecki (dalecki@evision-ventures.com)
Date: Fri Mar 22 2002 - 06:50:11 EST


Andre Hedrick wrote:
> Martin,
>
> You go and play in 2.5, please.

I didn't look at the issue but anyway the following is still
obviously wrong. hwif->index should be hwif->channel

Anyway please note the following:

diff -urN linux-2.5.7/drivers/ide/alim15x3.c linux/drivers/ide/alim15x3.c
--- linux-2.5.7/drivers/ide/alim15x3.c Thu Mar 21 23:54:16 2002
+++ linux/drivers/ide/alim15x3.c Fri Mar 22 02:08:58 2002
@@ -247,8 +247,8 @@
          int s_time, a_time, c_time;
          byte s_clc, a_clc, r_clc;
          unsigned long flags;
        int port = hwif->index ? 0x5c : 0x58;
        int portFIFO = hwif->channel ? 0x55 : 0x54;

The usage of hwif->index *is* wrong.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:27 EST