• Martin Dalecki's avatar
    [PATCH] 2.5.8 IDE 38 · 43c1ab59
    Martin Dalecki authored
    - Fix typo in ide_cmd_ioctl().
    
    - Fix typo in cris driver.
    
    - Don't retry operations on medium errors. (pointed out by Eric Andersen).
    
    - Attach the no_io_32bit, io_32bit, no_unmask, unmask and slow fields to the
       ata_channel instead of the ata_device structure. They are a property of the
       channel and not just the devices attached to it. This allowed us to fix the
       set_io_32bit function by removing the CONFIG_BLK_DEV_DTC2278 conditional. In
       fact initialization shows that this is fixing many other host chipsets as
       well since all of them did expect sometimes particular values for those
       parameters in paralell on both drives attached to a channel but we where
       allowed to apply different values on a per drive basis.
    
    - The keep_settings flag is now unconditional and we don't mess with any
       channel parameters before drive reset. Some chipsets really really expect
       unconditionally that the tweaks they apply are always present and this wasn't
       honoured thus far! We are expecting the user to have good reasons for
       manually tweaking the settings.
    
    - Don't reset io_32bit in ata_pre_reset() unconditionally. There are chipsets
       out there which expect io_32bit to be *allways* enabled!
    
    - Remove many obsolete and nawadays just confusing documentation from ide.txt
    43c1ab59
pdc202xx.c 40 KB