From: Alan <alan@lxorguk.ukuu.org.uk>
To: Krzysztof Oledzki <olel@ans.pl>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: pata_via in 2.6.19-rc6: UDMA/66 hdd downgraded to UDMA/33
Date: Wed, 29 Nov 2006 15:39:21 +0000 [thread overview]
Message-ID: <20061129153921.1c27e19d@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.64.0611251718210.2557@bizon.gios.gov.pl>
Does this fix it
--- drivers/ata/pata_via.c~ 2006-11-29 15:16:10.961387472 +0000
+++ drivers/ata/pata_via.c 2006-11-29 15:17:08.784597008 +0000
@@ -60,7 +60,7 @@
#include <linux/libata.h>
#define DRV_NAME "pata_via"
-#define DRV_VERSION "0.2.0"
+#define DRV_VERSION "0.2.1"
/*
* The following comes directly from Vojtech Pavlik's ide/pci/via82cxxx
@@ -159,10 +159,13 @@
return -ENOENT;
}
- if ((config->flags & VIA_UDMA) >= VIA_UDMA_66)
+ if ((config->flags & VIA_UDMA) >= VIA_UDMA_100)
ap->cbl = via_cable_detect(ap);
- else
+ /* The UDMA66 series has no cable detect so do drive side detect */
+ else if ((config->flags & VIA_UDMA) < VIA_UDMA_66)
ap->cbl = ATA_CBL_PATA40;
+
+
return ata_std_prereset(ap);
}
next prev parent reply other threads:[~2006-11-29 15:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-25 1:25 pata_via in 2.6.19-rc6: UDMA/66 hdd downgraded to UDMA/33 Krzysztof Oledzki
2006-11-25 16:03 ` Alan
2006-11-25 16:31 ` Krzysztof Oledzki
2006-11-29 15:39 ` Alan [this message]
2006-12-09 12:03 ` Krzysztof Oledzki
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=20061129153921.1c27e19d@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olel@ans.pl \
/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).