• Martin Dalecki's avatar
    [PATCH] 2.5.13 IDE 52 · ab08629c
    Martin Dalecki authored
    Adapted from patch Bar³omiej ¯o³nierkiewicz:
    
     - make straight8 a flag in ata_channel instead of byte
    
     - don't store tables as code in drive_is_flashcard()
       and ide_xfer_verbose()
    
     - fix init_gendisk() (due to 2.5.13 blksize_size[] change)
    
     - compress region requesting/releasing
       in channel_probe() and ide_unregister()
    
     - clean a bit ide_setup_ports()
    
    Start of DMA handling tratment.
    
     - Fix the parameters to ide_build_dmatable() to be channel and request.
       Rename it to udma_new_table(). udma will mark arch specific functions
       later.
    
     - Let ide_start_dma() take the request directly as an arguemnt. Rename it to
       ata_start_dma(). After realizing that the usage of the func argument of it
       was bogous and that nobody is using rwproc we where able to remove both of
       them.
    
     - Fix ide_destroy_dmatable() to take the channel as argument and rename it to
       udma_destroy_table(). This function should have possible architecture
       specific implementation as well at some point in time.
    
     - Split up the TCQ UDMA handling stuff in to proper functions. Jens must has
       been dreaming as he introduced them ;-).
    ab08629c
ide-dma.c 21.7 KB