Re: [PATCH] pata_it821x: (partially) fix DMA in RAID mode

Alan Cox
2007-06-10T17:37:03Z

> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
> Cc: Tejun Heo <htejun@gmail.com>
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

Acked-by: Alan Cox <alan@redhat.com>

> - /* Bits 5 and 6 indicate if DMA is active on master/slave */
> - /* It is possible that BMDMA isn't allocated */
> - if (ap->ioaddr.bmdma_addr)
> - dma_enabled = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD);
> -
> for (i = 0; i < ATA_MAX_DEVICES; i++) {