• Martin Dalecki's avatar
    [PATCH] 2.5.20 IDE 84 · a73f75e2
    Martin Dalecki authored
     - Simplify ide_cmd_type_parse by removing the handling of commands which we
       never use.
    
     - Realize that pre_task_out_intr and pre_task_mulout_intr are semanticaly
       identical. Use only pre_task_out_intr(). This allowed us to
       eliminate the prehandler altogether.
    
     - Updated fix for misconfigured host chips by Vojtech Pavlik.
    
     - Be more permissive about ioctl handling to allow device type drivers to do
       they own checks.
    
     - ali14xx cleanups by Andrej Panin.
    
     - Unfold usage ide_cmd_type_parser in tcq.c code. This makes this operation
       local to ide-disk.c. Move it as well as the interrupt handlers used only for
       the handling of disk requests there too.
    
     - Guard against calling handler before the drive is ready for it in
       ata_taskfile()! Well this bug was there before, but right now we inform
       about it.
    
     - Unfold ide_cmd_type_praser in ide-disk.c. Merge the remaining bits of it with
       get_command. Well it's no more.
    
     - Move recal_intr to ide.c - the only place where it's used.
    
    This doesn't change the "mechanics" of the code but it makes it a lot more
    "obvious" what's going on.
    a73f75e2
ide-taskfile.c 10.5 KB