• A
    [PATCH] libata: interrupt driven pio for libata-core · 312f7da2
    Albert Lee 提交于
    - add PIO_ST_FIRST for the state before sending ATAPI CDB or sending
    "ATA PIO data out" first data block.
    - add ATA_TFLAG_POLLING and ATA_DFLAG_CDB_INTR flags
    - remove the ATA_FLAG_NOINTR flag since the interrupt handler is now
    aware of the states
    - modify ata_pio_sector() and atapi_pio_bytes() to work in the interrupt
    context
    - modify the ata_host_intr() to handle PIO interrupts
    - modify ata_qc_issue_prot() to initialize states
    - atapi_packet_task() changed to handle "ATA PIO data out" first data block
    - support the pre-ATA4 ATAPI device which raise interrupt when ready to
    receive CDB
    Signed-off-by: NAlbert Lee <albertcc@tw.ibm.com>
    Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
    312f7da2
ata.h 7.6 KB