aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorAlbert Lee <albertcc@tw.ibm.com>2007-06-07 03:50:44 -0400
committerJeff Garzik <jeff@garzik.org>2007-06-09 23:08:11 -0400
commit23cb1d718ddbeb718ed7ca5be283dcbfb63993c3 (patch)
tree1c569650afa5b6916a68e71656aafdec9ba4163d /drivers/ata
parent1dce589c38c36ae69614840ee230183f3a7d43c5 (diff)
libata passthru: map UDMA protocols
Map the ATA passthru UDMA protocols to ATA_PROT_DMA. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-scsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index 8a66ca5f9530..8c6a2b2e81b4 100644
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -2506,6 +2506,8 @@ ata_scsi_map_proto(u8 byte1)
2506 return ATA_PROT_NODATA; 2506 return ATA_PROT_NODATA;
2507 2507
2508 case 6: /* DMA */ 2508 case 6: /* DMA */
2509 case 10: /* UDMA Data-in */
2510 case 11: /* UDMA Data-Out */
2509 return ATA_PROT_DMA; 2511 return ATA_PROT_DMA;
2510 2512
2511 case 4: /* PIO Data-in */ 2513 case 4: /* PIO Data-in */
@@ -2517,8 +2519,6 @@ ata_scsi_map_proto(u8 byte1)
2517 case 8: /* Device Diagnostic */ 2519 case 8: /* Device Diagnostic */
2518 case 9: /* Device Reset */ 2520 case 9: /* Device Reset */
2519 case 7: /* DMA Queued */ 2521 case 7: /* DMA Queued */
2520 case 10: /* UDMA Data-in */
2521 case 11: /* UDMA Data-Out */
2522 case 12: /* FPDMA */ 2522 case 12: /* FPDMA */
2523 case 15: /* Return Response Info */ 2523 case 15: /* Return Response Info */
2524 default: /* Reserved */ 2524 default: /* Reserved */