summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ata_piix.c
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 23:39:34 +0100
commitfba6edbd3bbd5e6c10b8247d3c3794e718bbc811 (patch)
tree4b6fed09aea236aed161c29d8536ce2300294a79 /drivers/ata/ata_piix.c
parentsata_promise: issue ATAPI commands as normal packets (diff)
downloadlinux-fba6edbd3bbd5e6c10b8247d3c3794e718bbc811.tar.xz
linux-fba6edbd3bbd5e6c10b8247d3c3794e718bbc811.zip
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 'drivers/ata/ata_piix.c')
0 files changed, 0 insertions, 0 deletions