Re: [PATCH] libata: Fix a large collection of DMA mode mismatches

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

 



On Fri, 01 Aug 2008 13:56:56 +0200
David Müller <dave.mueller@xxxxxx> wrote:

> Alan Cox wrote:
> >  drivers/ata/libata-core.c |    4 ++--
> >  drivers/ata/pata_acpi.c   |    2 +-
> >  drivers/ata/pata_atiixp.c |    2 +-
> >  drivers/ata/pata_cs5530.c |    6 +++---
> >  drivers/ata/pata_sc1200.c |    6 +++---
> >  include/linux/libata.h    |   22 ++++++++++++++++++++++
> >  6 files changed, 32 insertions(+), 10 deletions(-)
> 
> A patch for the "pata_oldpiix" driver seems to be missing.
> 
> Signed-off-by: Dave Mueller <dave.mueller@xxxxxx>

Oops I meant to send that one on as well

Acked-by: Alan Cox <alan@xxxxxxxxxx>

> diff -dpurN a/drivers/ata/pata_oldpiix.c b/drivers/ata/pata_oldpiix.c
> --- a/drivers/ata/pata_oldpiix.c    2008-07-14 18:19:53.000000000 +0200
> +++ b/drivers/ata/pata_oldpiix.c    2008-08-01 13:17:34.000000000 +0200
> @@ -198,7 +198,7 @@ static unsigned int oldpiix_qc_issue(str
> 
>   	if (adev != ap->private_data) {
>   		oldpiix_set_piomode(ap, adev);
> -		if (adev->dma_mode)
> +		if (ata_dma_enabled(adev))
>   			oldpiix_set_dmamode(ap, adev);
>   	}
>   	return ata_sff_qc_issue(qc);
> 


-- 
--
	"Alan, I'm getting a bit worried about you."
				-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux