linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: linux-ide@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pata_it8213: MWDMA0 is unsupported
Date: Thu, 26 Nov 2009 18:00:54 +0100	[thread overview]
Message-ID: <200911261800.55025.bzolnier@gmail.com> (raw)
In-Reply-To: <200911261728.36433.bzolnier@gmail.com>

On Thursday 26 November 2009 05:28:36 pm Bartlomiej Zolnierkiewicz wrote:
> 
> MWDMA0 timings cannot be met with the PIIX based controller
> programming interface.
> 
> This change should be safe as this is how we have been doing
> things in IDE it8213 host driver for years.
> 
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
> ---
> Verified with the documentation (similar case as with pata_efar).

Uhhh, no...

Too many damn drivers.

Too much damn duplication.

Too much damn subtle differences here and there.

The hardware is probably fine for MWMDA0 when it comes to pata_{efar,it8213},
it just not documented properly in the data sheet.

I'll drop those two patches from my tree and take some break..

> On top of patches from yesterday.
> 
>  drivers/ata/pata_it8213.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: b/drivers/ata/pata_it8213.c
> ===================================================================
> --- a/drivers/ata/pata_it8213.c
> +++ b/drivers/ata/pata_it8213.c
> @@ -227,7 +227,7 @@ static int it8213_init_one (struct pci_d
>  	static const struct ata_port_info info = {
>  		.flags		= ATA_FLAG_SLAVE_POSS,
>  		.pio_mask	= ATA_PIO4,
> -		.mwdma_mask	= ATA_MWDMA2,
> +		.mwdma_mask	= ATA_MWDMA12_ONLY,
>  		.udma_mask 	= ATA_UDMA6,
>  		.port_ops	= &it8213_ops,
>  	};

  reply	other threads:[~2009-11-26 17:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-26 16:28 [PATCH] pata_it8213: MWDMA0 is unsupported Bartlomiej Zolnierkiewicz
2009-11-26 17:00 ` Bartlomiej Zolnierkiewicz [this message]
2009-11-26 17:23   ` Sergei Shtylyov
2009-11-26 18:00     ` Bartlomiej Zolnierkiewicz
2009-11-26 18:03       ` Bartlomiej Zolnierkiewicz
2009-11-26 18:12         ` Sergei Shtylyov
2009-11-26 18:27           ` Bartlomiej Zolnierkiewicz
2009-11-26 18:33             ` Sergei Shtylyov
2009-11-26 18:47               ` Sergei Shtylyov
2009-12-03 21:04     ` Jeff Garzik
2009-12-03 22:06       ` Sergei Shtylyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200911261800.55025.bzolnier@gmail.com \
    --to=bzolnier@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).