Alan,
Alan Cox wrote:
On Mon, 18 Feb 2008 13:50:02 +0100
Jan Evert van Grootheest <j.e.van.grootheest@xxxxxxxxx> wrote:
Prefetch needs to be set for some ide devices to work when connected to
a ht6560b interface. This was not always done properly, causing a system
with a HD and CD on the primary interface to not work properly. Or, in
effect, hang hard.
This patch forces prefetch on devices before checking whether it
is necessary to change the settings in the interface
Interesting, that is backwards to the docs and not something I've seen.
Hum, I may have an incorrect understanding of the prefetch bit or
misread the code.
But for sure that patch makes my 486 boot (HD as primary master and CD
as primary slave).
From testing I know that the HD works with and without prefetch (it's
1.15M/s without prefetch, ~950k/s with). And the boot hangs (as in
powerbutton required) if prefetch is not set for the CD.
For reference, the generic IDE driver is ~850k/s.
If you are correct then pata_legacy also wants tweaking .
Alan
I think, but didn't look real good nor test yet, that pata_legacy also
needs something comparable to select_proc? Or is that implemented in
some generic manner?
Depending on the day job, I could get to testing that somewhere this week.
-- Jan Evert
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html