diff options
| -rw-r--r-- | drivers/scsi/libata-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index 76621463b499..62340f4ef004 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c | |||
| @@ -2112,7 +2112,6 @@ int sata_std_hardreset(struct ata_port *ap, int verbose, unsigned int *class) | |||
| 2112 | * This function is invoked after a successful reset. Note that | 2112 | * This function is invoked after a successful reset. Note that |
| 2113 | * the device might have been reset more than once using | 2113 | * the device might have been reset more than once using |
| 2114 | * different reset methods before postreset is invoked. | 2114 | * different reset methods before postreset is invoked. |
| 2115 | * postreset is also reponsible for setting cable type. | ||
| 2116 | * | 2115 | * |
| 2117 | * This function is to be used as standard callback for | 2116 | * This function is to be used as standard callback for |
| 2118 | * ata_drive_*_reset(). | 2117 | * ata_drive_*_reset(). |
| @@ -2124,7 +2123,7 @@ void ata_std_postreset(struct ata_port *ap, unsigned int *classes) | |||
| 2124 | { | 2123 | { |
| 2125 | DPRINTK("ENTER\n"); | 2124 | DPRINTK("ENTER\n"); |
| 2126 | 2125 | ||
| 2127 | /* set cable type */ | 2126 | /* set cable type if it isn't already set */ |
| 2128 | if (ap->cbl == ATA_CBL_NONE && ap->flags & ATA_FLAG_SATA) | 2127 | if (ap->cbl == ATA_CBL_NONE && ap->flags & ATA_FLAG_SATA) |
| 2129 | ap->cbl = ATA_CBL_SATA; | 2128 | ap->cbl = ATA_CBL_SATA; |
| 2130 | 2129 | ||
