From: Jan Evert van Grootheest <j.e.van.grootheest@caiway.nl>
To: linux-ide@vger.kernel.org, bzolnier@gmail.com
Subject: [PATCH] ht6560b can only do up to PIO mode 4
Date: Mon, 18 Feb 2008 14:58:20 +0100 [thread overview]
Message-ID: <47B98EFC.8080507@caiway.nl> (raw)
[-- Attachment #1: Type: text/plain, Size: 131 bytes --]
According to the datasheet, ht6560b only supports up to PIO mode 4.
Signed-off-by: Jan Evert van Grootheest <janevert@caiway.nl>
[-- Attachment #2: ht.pio.patch --]
[-- Type: text/x-patch, Size: 753 bytes --]
--- a/drivers/ide/legacy/ht6560b.c
+++ b/drivers/ide/legacy/ht6560b.c
@@ -343,7 +343,7 @@ int __init ht6560b_init(void)
hwif->chipset = ide_ht6560b;
hwif->selectproc = &ht6560b_selectproc;
hwif->host_flags = IDE_HFLAG_ABUSE_PREFETCH;
- hwif->pio_mask = ATA_PIO5;
+ hwif->pio_mask = ATA_PIO4;
hwif->set_pio_mode = &ht6560b_set_pio_mode;
hwif->serialized = 1; /* is this needed? */
hwif->mate = mate;
@@ -351,7 +351,7 @@ int __init ht6560b_init(void)
mate->chipset = ide_ht6560b;
mate->selectproc = &ht6560b_selectproc;
mate->host_flags = IDE_HFLAG_ABUSE_PREFETCH;
- mate->pio_mask = ATA_PIO5;
+ mate->pio_mask = ATA_PIO4;
mate->set_pio_mode = &ht6560b_set_pio_mode;
mate->serialized = 1; /* is this needed? */
mate->mate = hwif;
next reply other threads:[~2008-02-18 13:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-18 13:58 Jan Evert van Grootheest [this message]
2008-02-18 22:56 ` [PATCH] ht6560b can only do up to PIO mode 4 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=47B98EFC.8080507@caiway.nl \
--to=j.e.van.grootheest@caiway.nl \
--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 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).