All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@mvista.com>
To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: linux-ide@vger.kernel.org, jgarzik@pobox.com
Subject: Re: [PATCH] sata_highbank: use ATA_BUSY
Date: Wed, 21 Nov 2012 22:35:17 +0300	[thread overview]
Message-ID: <50AD2CF5.6080907@mvista.com> (raw)
In-Reply-To: <201211012059.29109.sshtylyov@ru.mvista.com>

Hello.

On 11/01/2012 08:59 PM, Sergei Shtylyov wrote:

> ahci_highbank_hardreset() uses bare number for the BSY bit of the ATA status
> register, despite it is #define'd in <linux/ata.h>

> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

> ---
> The patch is atop of the 'upstream' branch of libata-dev.git...

>  drivers/ata/sata_highbank.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

> Index: libata-dev/drivers/ata/sata_highbank.c
> ===================================================================
> --- libata-dev.orig/drivers/ata/sata_highbank.c
> +++ libata-dev/drivers/ata/sata_highbank.c
> @@ -213,7 +213,7 @@ static int ahci_highbank_hardreset(struc
>  
>  	/* clear D2H reception area to properly wait for D2H FIS */
>  	ata_tf_init(link->device, &tf);
> -	tf.command = 0x80;
> +	tf.command = ATA_BUSY;
>  	ata_tf_to_fis(&tf, 0, 0, d2h_fis);
>  
>  	do {

   Jeff, are you going to queue this one and earlier patches from me?

MBR, Sergei


  reply	other threads:[~2012-11-21 18:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-01 17:59 [PATCH] sata_highbank: use ATA_BUSY Sergei Shtylyov
2012-11-21 19:35 ` Sergei Shtylyov [this message]
2012-11-21 19:43   ` Jeff Garzik
2012-11-28 17:42 ` Jeff Garzik

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=50AD2CF5.6080907@mvista.com \
    --to=sshtylyov@mvista.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=sshtylyov@ru.mvista.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.