diff options
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r-- | drivers/ide/ide-iops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index 8aae9176451..2cbadffe922 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c | |||
@@ -484,11 +484,11 @@ void ide_fix_driveid (struct hd_driveid *id) | |||
484 | for (i = 0; i < 3; i++) | 484 | for (i = 0; i < 3; i++) |
485 | id->words157_159[i] = __le16_to_cpu(id->words157_159[i]); | 485 | id->words157_159[i] = __le16_to_cpu(id->words157_159[i]); |
486 | id->cfa_power = __le16_to_cpu(id->cfa_power); | 486 | id->cfa_power = __le16_to_cpu(id->cfa_power); |
487 | for (i = 0; i < 14; i++) | 487 | for (i = 0; i < 15; i++) |
488 | id->words161_175[i] = __le16_to_cpu(id->words161_175[i]); | 488 | id->words161_175[i] = __le16_to_cpu(id->words161_175[i]); |
489 | for (i = 0; i < 31; i++) | 489 | for (i = 0; i < 30; i++) |
490 | id->words176_205[i] = __le16_to_cpu(id->words176_205[i]); | 490 | id->words176_205[i] = __le16_to_cpu(id->words176_205[i]); |
491 | for (i = 0; i < 48; i++) | 491 | for (i = 0; i < 49; i++) |
492 | id->words206_254[i] = __le16_to_cpu(id->words206_254[i]); | 492 | id->words206_254[i] = __le16_to_cpu(id->words206_254[i]); |
493 | id->integrity_word = __le16_to_cpu(id->integrity_word); | 493 | id->integrity_word = __le16_to_cpu(id->integrity_word); |
494 | # else | 494 | # else |