Commit 23cb1d71 authored by Albert Lee's avatar Albert Lee Committed by Jeff Garzik

libata passthru: map UDMA protocols

 Map the ATA passthru UDMA protocols to ATA_PROT_DMA.
Signed-off-by: default avatarAlbert Lee <albertcc@tw.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 1dce589c
......@@ -2506,6 +2506,8 @@ ata_scsi_map_proto(u8 byte1)
return ATA_PROT_NODATA;
case 6: /* DMA */
case 10: /* UDMA Data-in */
case 11: /* UDMA Data-Out */
return ATA_PROT_DMA;
case 4: /* PIO Data-in */
......@@ -2517,8 +2519,6 @@ ata_scsi_map_proto(u8 byte1)
case 8: /* Device Diagnostic */
case 9: /* Device Reset */
case 7: /* DMA Queued */
case 10: /* UDMA Data-in */
case 11: /* UDMA Data-Out */
case 12: /* FPDMA */
case 15: /* Return Response Info */
default: /* Reserved */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment