summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2010-01-18 18:15:38 +0100
committerJeff Garzik <jgarzik@redhat.com>2010-03-01 14:58:45 -0500
commit8ebf473860e8166e3d4f152a02e22b9cdddcd440 (patch)
tree66f1b524896f08242c80d2546a9689f3dc28d841
parentc754d9b6e04371fb398cdd2f5e77be895126be20 (diff)
downloadop-kernel-dev-8ebf473860e8166e3d4f152a02e22b9cdddcd440.zip
op-kernel-dev-8ebf473860e8166e3d4f152a02e22b9cdddcd440.tar.gz
pata_cs5535: use correct values for PIO1 and PIO2 data timings
There shouldn't be any problems with it as IDE cs5535 host driver has been using those values for years and they match values given in the (publicly available) datasheet. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r--drivers/ata/pata_cs5535.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_cs5535.c b/drivers/ata/pata_cs5535.c
index 71cef9a..c50c3a4 100644
--- a/drivers/ata/pata_cs5535.c
+++ b/drivers/ata/pata_cs5535.c
@@ -100,7 +100,7 @@ static int cs5535_cable_detect(struct ata_port *ap)
static void cs5535_set_piomode(struct ata_port *ap, struct ata_device *adev)
{
static const u16 pio_timings[5] = {
- 0xF7F4, 0x53F3, 0x13F1, 0x5131, 0x1131
+ 0xF7F4, 0xF173, 0x8141, 0x5131, 0x1131
};
static const u16 pio_cmd_timings[5] = {
0xF7F4, 0x53F3, 0x13F1, 0x5131, 0x1131
OpenPOWER on IntegriCloud