• Martin Dalecki's avatar
    [PATCH] 2.5.18 IDE 75 · 1138d8a0
    Martin Dalecki authored
     - Comment out config_chipset_for_pio from hpt366 driver. It seems to hang on it
       and many people consistently reported that this may be necessary.
       Well apparently this host chip is forced to be in DMA read mode anyway
       and we where undoing this there.
    
     - Apply small cosmetics to pdc202xx.c driver by Thierry Vignaud.
       His change log entries follow:
    
          - factorize constants with PDC_CLOCK and UDMA_SPEED_FLAG macros and
    	the init_high_16() static inline functions, thus removing floating
    	constants in code
    
          - remove unused variables and pci space read
    
          - kill useless code in pdc202xx_udma_irq_status() resulting in
    	removing unused variable: the code does lots of tests to check what
    	value to return but just always return the same exact value in all
    	code paths!
    	this also saves a few cpu & pci bus cyles by removing a useless read
    	in pci space
    
          - simplify #if/#else resulting in code duplication
    
          - make init_pdc202xx clearer
    
          - remove duplicated initializations in config_drive_xfer_rate() and
    	simplify code paths
    
     - Kill unused init_speed member from ata_device struct. Spotted by
       M.H.VanLeeuwen.
    1138d8a0
serverworks.c 20.8 KB