Skip to content

Commit

Permalink
libata passthru: map UDMA protocols
Browse files Browse the repository at this point in the history
 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>
  • Loading branch information
Albert Lee authored and Jeff Garzik committed Jun 10, 2007
1 parent 1dce589 commit 23cb1d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/ata/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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 */
Expand Down

0 comments on commit 23cb1d7

Please sign in to comment.