From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH 12/13] ide: move drive->using_dma check to callers of ->dma_host_on method
Date: Tue, 13 Nov 2007 14:23:32 +0300 [thread overview]
Message-ID: <47398934.8030100@ru.mvista.com> (raw)
In-Reply-To: <200711130002.20962.bzolnier@gmail.com>
Bartlomiej Zolnierkiewicz wrote:
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
MBR, Sergei
> Index: b/drivers/ide/ide-dma.c
> ===================================================================
> --- a/drivers/ide/ide-dma.c
> +++ b/drivers/ide/ide-dma.c
> @@ -470,7 +470,7 @@ EXPORT_SYMBOL(ide_dma_off);
>
> void ide_dma_host_on(ide_drive_t *drive)
> {
> - if (drive->using_dma) {
> + if (1) {
Why so?
> ide_hwif_t *hwif = HWIF(drive);
> u8 unit = (drive->select.b.unit & 0x01);
> u8 dma_stat = hwif->INB(hwif->dma_status);
WBR, Sergei
next prev parent reply other threads:[~2007-11-13 11:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 23:02 [PATCH 12/13] ide: move drive->using_dma check to callers of ->dma_host_on method Bartlomiej Zolnierkiewicz
2007-11-13 11:23 ` Sergei Shtylyov [this message]
2007-11-13 21:27 ` Bartlomiej Zolnierkiewicz
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=47398934.8030100@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.