]> git.karo-electronics.de Git - linux-beck.git/commit
[PATCH] libata: interrupt driven pio for libata-core
authorAlbert Lee <albertcc@tw.ibm.com>
Tue, 27 Sep 2005 09:38:03 +0000 (17:38 +0800)
committerJeff Garzik <jgarzik@pobox.com>
Wed, 28 Sep 2005 16:07:13 +0000 (12:07 -0400)
commit312f7da2824c82800ee78d6190f12854456957af
tree68b3b18a4ddd783a5c75dba688aabf2de0682fb3
parent14be71f4c5c5ad1e222c5202ee6d234e9c8828b7
[PATCH] libata: interrupt driven pio for libata-core

- 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: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c
include/linux/ata.h
include/linux/libata.h