• Willem Riede's avatar
    ide-scsi changes for new mid level api and error handling in 2.5.52 · d55b3076
    Willem Riede authored
    Here is my proposal for bringing ide-scsi in line with the current kernel.
    
    The attached patch does:
    
    1. Change from old style initialization to the new hotplug initialization model.
       It involves declaring both a parent device and bus kernel object, which feels
       a bit awkward, but hey, it works.
    
    2. Make ide-scsi request sense itself when CHECK_CONDITION is asserted. This 
       change particularly makes ide-scsi run much smoother on my test box.
    
    3. Implement eh_abort_handler and eh_device_reset_handler. I have no real way
       to thoroughly test these new routines, so for this part particularly I ask
       for peer review.
    d55b3076
ide-scsi.c 29.4 KB