Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=23cb1d718ddbeb718ed7ca5be283dcbfb63993c3
Commit:     23cb1d718ddbeb718ed7ca5be283dcbfb63993c3
Parent:     1dce589c38c36ae69614840ee230183f3a7d43c5
Author:     Albert Lee <[EMAIL PROTECTED]>
AuthorDate: Thu Jun 7 15:50:44 2007 +0800
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Sat Jun 9 23:08:11 2007 -0400

    libata passthru: map UDMA protocols
    
     Map the ATA passthru UDMA protocols to ATA_PROT_DMA.
    
    Signed-off-by: Albert Lee <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/ata/libata-scsi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index 8a66ca5..8c6a2b2 100644
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to