Merged some Alan patches...
Jeff Garzik
AppliedI just moved the following changes from #for-testing (which auto-propagates to -mm along with other stuff) into #upstream, queueing for 2.6.25:
Applied:
Quoted 9 lines
Author: Alan <[email protected]> Date: Tue Oct 2 13:53:05 2007 -0700libata: fix (hopefully) all the remaining problems with devices failing setu
Two fixes in this test patch. One of them allows old CF cards to refuse pio mode setting, and one to wait for the drive to settle after a set features changes the speed settings, which is based upon the workarounds used by
drivers/ide.
Applied:
Quoted 4 lines
Author: Alan Cox <[email protected]> Date: Mon Oct 15 20:44:11 2007 +0100
pata_pcmcia: Add support for dumb 8bit IDE emulations
Applied:
Quoted 10 lines
Author: Alan Cox <[email protected]> Date: Thu Oct 25 14:21:16 2007 +0100libata/pata_it821x: Improve handling of poorly compatible emulations
Some it821x RAID firmwares return 0 for the err return off both devices. A similar issue occurs with the slave returning 0 not 1 if you plug a gigabyte sata ramdisk into a controller that fakes two SATA ports as master/slave on an SFF channel.
Quoted 4 lines
The patch does the following
- Allow the 'failed diagnostics' case on both master and slave
- Move theHORKAGE_DIAGNOSTICcheck after ->dev_config
And finally, dropped one patch as per request:
Quoted 7 lines
Author: Alan Cox <[email protected]> Date: Mon Oct 15 19:23:13 2007 +0100libata-core: Don't have screaming fits over DF/ERR combinations
Some hardware seems to get this wrong in a non-harmful way, and there are some devices that seem to do it deliberately for various reasons.