Re: [PATCH] 2.5.19 IDE 78

Bartlomiej Zolnierkiewicz (B.Zolnierkiewicz@elka.pw.edu.pl)
Sun, 2 Jun 2002 23:36:08 +0200 (MET DST)


On Sun, 2 Jun 2002, Martin Dalecki wrote:

> Paul Mackerras wrote:
> > Martin,
> >
> > I think you have a typo here:
> >
> >
> >>diff -urN linux-2.5.19/drivers/ide/ide-pmac.c linux/drivers/ide/ide-pmac.c
> >>--- linux-2.5.19/drivers/ide/ide-pmac.c 2002-06-01 18:53:06.000000000 +0200
> >>+++ linux/drivers/ide/ide-pmac.c 2002-06-01 18:17:36.000000000 +0200
> >>@@ -434,7 +434,7 @@
> >> goto out;
> >> }
> >> udelay(10);
> >>- OUT_BYTE(drive->ctl | 2, IDE_CONTROL_REG);
> >>+ ata_irq_enale(drive, 0);
>

I think Paul was talking about ata_irq_enale() ;)

> For sure not. The nIEN bit is *negated* on the part of the
> device - please look at the ata_irq_enable() functions definition.
> I have explained it there.
>
> > ata_irq_enable surely?
>
> The toggle is the second parameter becouse I didn't wan't to
> provide two functions. - 0 measn disable it 1 means enable it.>

--
Bartlomiej

- 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/