Re: ide.2.4.1-p3.01112001.patch

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 13 Jan 2001 19:46:42 +0000 (GMT)


> if (IDE_PCI_DEVID_EQ(d->devid, DEVID_SIS5513) ||
> IDE_PCI_DEVID_EQ(d->devid, DEVID_AEC6260) ||
> IDE_PCI_DEVID_EQ(d->devid, DEVID_PIIX4NX) ||
> - IDE_PCI_DEVID_EQ(d->devid, DEVID_HPT34X))
> + IDE_PCI_DEVID_EQ(d->devid, DEVID_HPT34X) ||
> + IDE_PCI_DEVID_EQ(d->devid, DEVID_VIA_IDE) ||
> + IDE_PCI_DEVID_EQ(d->devid, DEVID_VP_IDE))
> autodma = 0;
> if (autodma)
> hwif->autodma = 1;

How about

&& !force_dma)

__setup("force_dma") ...

So those who want to play fast can
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/