提交 f93f1078 编写于 作者: A Albert Lee 提交者: Jeff Garzik

libata passthru: update protocol numbers

 Update the ATA passthru protocol numbers according to the new spec.
Signed-off-by: NAlbert Lee <albertcc@tw.ibm.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 6070068b
...@@ -2512,16 +2512,15 @@ ata_scsi_map_proto(u8 byte1) ...@@ -2512,16 +2512,15 @@ ata_scsi_map_proto(u8 byte1)
case 5: /* PIO Data-out */ case 5: /* PIO Data-out */
return ATA_PROT_PIO; return ATA_PROT_PIO;
case 10: /* Device Reset */
case 0: /* Hard Reset */ case 0: /* Hard Reset */
case 1: /* SRST */ case 1: /* SRST */
case 2: /* Bus Idle */ case 8: /* Device Diagnostic */
case 7: /* Packet */ case 9: /* Device Reset */
case 8: /* DMA Queued */ case 7: /* DMA Queued */
case 9: /* Device Diagnostic */ case 10: /* UDMA Data-in */
case 11: /* UDMA Data-in */ case 11: /* UDMA Data-Out */
case 12: /* UDMA Data-Out */ case 12: /* FPDMA */
case 13: /* FPDMA */ case 15: /* Return Response Info */
default: /* Reserved */ default: /* Reserved */
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册