Re: [PATCH] libata: Correct IORDY handling

2007-08-15 Thread Jeff Garzik
Alan Cox wrote: Debugging a report of a problem with an ancient solid state disk showed up some problems in the IORDY handling 1. We check the wrong bit to see if the device has IORDY 2. Even then some ancient creaking piles of crap don't support SETXFER at all. I think this

[PATCH] libata: Correct IORDY handling

2007-07-31 Thread Alan Cox
Debugging a report of a problem with an ancient solid state disk showed up some problems in the IORDY handling 1. We check the wrong bit to see if the device has IORDY 2. Even then some ancient creaking piles of crap don't support SETXFER at all. I think this should go via -mm

Re: [PATCH] libata: Correct IORDY handling

2007-07-31 Thread Sergei Shtylyov
Hello. Alan Cox wrote: Debugging a report of a problem with an ancient solid state disk showed up some problems in the IORDY handling 1. We check the wrong bit to see if the device has IORDY 2. Even then some ancient creaking piles of crap don't support SETXFER at all.

Re: [PATCH] libata: Correct IORDY handling

2007-07-31 Thread Alan Cox
+ dev-pio_mode = XFER_PIO_2) Overindented line (to my taste :-). And do we really need to check this? Yes - if it refuses SET_XFER_MODE we really don't want to run any mode above PIO2. No hardware *should* do this but then this is IDE... - To unsubscribe from this