diff options
Diffstat (limited to 'drivers/ata/pata_hpt37x.c')
-rw-r--r-- | drivers/ata/pata_hpt37x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_hpt37x.c b/drivers/ata/pata_hpt37x.c index dfb306057cf4..3ad0e51cb2ab 100644 --- a/drivers/ata/pata_hpt37x.c +++ b/drivers/ata/pata_hpt37x.c | |||
@@ -459,7 +459,7 @@ static int hpt37x_pre_reset(struct ata_port *ap) | |||
459 | }; | 459 | }; |
460 | if (!pci_test_config_bits(pdev, &hpt37x_enable_bits[ap->port_no])) | 460 | if (!pci_test_config_bits(pdev, &hpt37x_enable_bits[ap->port_no])) |
461 | return -ENOENT; | 461 | return -ENOENT; |
462 | 462 | ||
463 | pci_read_config_byte(pdev, 0x5B, &scr2); | 463 | pci_read_config_byte(pdev, 0x5B, &scr2); |
464 | pci_write_config_byte(pdev, 0x5B, scr2 & ~0x01); | 464 | pci_write_config_byte(pdev, 0x5B, scr2 & ~0x01); |
465 | /* Cable register now active */ | 465 | /* Cable register now active */ |
@@ -504,7 +504,7 @@ static int hpt374_pre_reset(struct ata_port *ap) | |||
504 | 504 | ||
505 | if (!pci_test_config_bits(pdev, &hpt37x_enable_bits[ap->port_no])) | 505 | if (!pci_test_config_bits(pdev, &hpt37x_enable_bits[ap->port_no])) |
506 | return -ENOENT; | 506 | return -ENOENT; |
507 | 507 | ||
508 | /* Do the extra channel work */ | 508 | /* Do the extra channel work */ |
509 | pci_read_config_word(pdev, 0x52, &mcr3); | 509 | pci_read_config_word(pdev, 0x52, &mcr3); |
510 | pci_read_config_word(pdev, 0x56, &mcr6); | 510 | pci_read_config_word(pdev, 0x56, &mcr6); |