aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/mm/swift.S
diff options
context:
space:
mode:
authorMikael Pettersson <mikpe@it.uu.se>2007-01-13 21:32:30 +0100
committerJeff Garzik <jeff@garzik.org>2007-02-09 17:39:34 -0500
commitfba6edbd3bbd5e6c10b8247d3c3794e718bbc811 (patch)
tree4b6fed09aea236aed161c29d8536ce2300294a79 /arch/sparc/mm/swift.S
parent4113bb6b67ced963b3269a72f335dd278543b56d (diff)
sata_promise: handle ATAPI_NODATA ourselves
This patch extends sata_promise to handle ATAPI_NODATA commands internally. However, commands destined to ATA_DFLAG_CDB_INTR devices are excluded from this and continue to be returned to libata. Concrete changes: - pdc_atapi_dma_pkt() is renamed to pdc_atapi_pkt(), and is extended to set up correct headers for NODATA packets - pdc_qc_prep() calls pdc_atapi_pkt() for ATAPI_NODATA - pdc_host_intr() handles ATAPI_NODATA - pdc_qc_issue_prot() sends ATAPI_NODATA packets via the chip's packet mechanism, except for CDB_INTR devices Tested on first- and second-generation chips, SATAPI and PATAPI, with no observable regressions. Signed-off-by: Mikael Pettersson <mikpe@it.uu.se> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'arch/sparc/mm/swift.S')
0 files changed, 0 insertions, 0 deletions