diff options
author | Albert Lee <albertcc@tw.ibm.com> | 2007-06-07 03:47:13 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-06-09 23:08:11 -0400 |
commit | f93f1078d08e0f63a6a4bdaa154de3642fc03d5d (patch) | |
tree | 7baa983d1a2c0b5a4ece57e8d23d9e40d9fd521f /drivers | |
parent | 6070068b875f604ff3f62e6e342bbd4c1f34a895 (diff) |
libata passthru: update protocol numbers
Update the ATA passthru protocol numbers according to the new spec.
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/libata-scsi.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index b3900cfbd880..f70431a4c9e9 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c | |||
@@ -2512,16 +2512,15 @@ ata_scsi_map_proto(u8 byte1) | |||
2512 | case 5: /* PIO Data-out */ | 2512 | case 5: /* PIO Data-out */ |
2513 | return ATA_PROT_PIO; | 2513 | return ATA_PROT_PIO; |
2514 | 2514 | ||
2515 | case 10: /* Device Reset */ | ||
2516 | case 0: /* Hard Reset */ | 2515 | case 0: /* Hard Reset */ |
2517 | case 1: /* SRST */ | 2516 | case 1: /* SRST */ |
2518 | case 2: /* Bus Idle */ | 2517 | case 8: /* Device Diagnostic */ |
2519 | case 7: /* Packet */ | 2518 | case 9: /* Device Reset */ |
2520 | case 8: /* DMA Queued */ | 2519 | case 7: /* DMA Queued */ |
2521 | case 9: /* Device Diagnostic */ | 2520 | case 10: /* UDMA Data-in */ |
2522 | case 11: /* UDMA Data-in */ | 2521 | case 11: /* UDMA Data-Out */ |
2523 | case 12: /* UDMA Data-Out */ | 2522 | case 12: /* FPDMA */ |
2524 | case 13: /* FPDMA */ | 2523 | case 15: /* Return Response Info */ |
2525 | default: /* Reserved */ | 2524 | default: /* Reserved */ |
2526 | break; | 2525 | break; |
2527 | } | 2526 | } |