• Martin Dalecki's avatar
    [PATCH] 2.5.14 IDE 55 · fb0bbfda
    Martin Dalecki authored
     - Update HPT374 driver carried over from 2.4.xx series by Andrew Morton.
       Resync it with the recent host chip driver changes, or better the
       introduction of an API at all.
    
     - Consolidate the handling of device ID byte order in one place.
       This was spotted and patched by Bartomiej onierkiewicz.
    
     - Eliminate CONFIG_BLK_DEV_IDEPCI - it's duplicating the functionality of the
       already present and fine CONFIG_PCI flag and if we are a PCI host, we are
       indeed very likely to need host chip support anyway.
    
     - Remove some redundant info about the model and channel number from
       /proc/ide. Remove the binary entries not helpful to the user, and not used
       by any program and redundant to corresponding ioctls.
    
     - Properly return udma_read and udma_write values in taskfile.
    
     - Only initialize XXX_udma to the default handlers if it has not been
       initialized by the host chip initialization.
    
    I have enabled spin lock debugging and can see that on device
    flush the spin locks get wrong counts... no problems elsewher ethus
    far. I will re check them next time around.
    fb0bbfda
ide.c 94.8 KB