From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: bzolnier@gmail.com
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH 1/3] ide: mask interrupt in ide_config_drive_speed()
Date: Wed, 15 Oct 2008 16:10:29 +0400 [thread overview]
Message-ID: <48F5DDB5.6060608@ru.mvista.com> (raw)
In-Reply-To: <200810150018.31003.sshtylyov@ru.mvista.com>
Hello, I wrote:
> Apparently, there is no sense in unmasking IRQ on the controller when you call
> disable_irq_nosync() before doing this, set the nIEN bit afterwards, and then
> unmask IRQ again after the command completion, hence 1 passed to SELECT_MASK()
>
s/1/0/, of course...
> before issuing the command in ide_config_drive_speed() is probably just a typo.
>
> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
>
> drivers/ide/ide-iops.c | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-2.6/drivers/ide/ide-iops.c
> ===================================================================
> --- linux-2.6.orig/drivers/ide/ide-iops.c
> +++ linux-2.6/drivers/ide/ide-iops.c
> @@ -840,7 +840,7 @@ int ide_config_drive_speed(ide_drive_t *
>
> udelay(1);
> SELECT_DRIVE(drive);
> - SELECT_MASK(drive, 0);
> + SELECT_MASK(drive, 1);
> udelay(1);
> tp_ops->set_irq(hwif, 0);
>
MBR, Sergei
prev parent reply other threads:[~2008-10-15 12:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-14 20:18 [PATCH 1/3] ide: mask interrupt in ide_config_drive_speed() Sergei Shtylyov
2008-10-15 12:10 ` Sergei Shtylyov [this message]
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=48F5DDB5.6060608@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=bzolnier@gmail.com \
--cc=linux-ide@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 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.