[PATCH ht6560b] Force prefetch for some devices

2008-02-18 Thread Jan Evert van Grootheest
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

Re: [PATCH ht6560b] Force prefetch for some devices

2008-02-18 Thread Sergei Shtylyov
Hello. Jan Evert van Grootheest wrote: Prefetch needs to be set for some ide devices to work when connected to Prefetch bit seems to mean 1=disable, 0=enable despite what the datasheet says... a ht6560b interface. This was not always done properly, causing a system with a HD and CD on

Re: [PATCH ht6560b] Force prefetch for some devices

2008-02-18 Thread Alan Cox
On Mon, 18 Feb 2008 13:50:02 +0100 Jan Evert van Grootheest [EMAIL PROTECTED] 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.

Re: [PATCH ht6560b] Force prefetch for some devices

2008-02-18 Thread Jan Evert van Grootheest
Alan, Alan Cox wrote: On Mon, 18 Feb 2008 13:50:02 +0100 Jan Evert van Grootheest [EMAIL PROTECTED] 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

Re: [PATCH ht6560b] Force prefetch for some devices

2008-02-18 Thread Alan Cox
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? It sets it in the timing routine: pata_legacy:ht6560b_set_piomode - To unsubscribe from this list: send the line

Re: [PATCH ht6560b] Force prefetch for some devices

2008-02-18 Thread Bartlomiej Zolnierkiewicz
On Monday 18 February 2008, Jan Evert van Grootheest 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.