diff options
Diffstat (limited to 'drivers/ide/scc_pata.c')
-rw-r--r-- | drivers/ide/scc_pata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/scc_pata.c b/drivers/ide/scc_pata.c index f5a6fa0a8bea..feabf5487049 100644 --- a/drivers/ide/scc_pata.c +++ b/drivers/ide/scc_pata.c | |||
@@ -686,7 +686,7 @@ static void scc_tf_read(ide_drive_t *drive, struct ide_cmd *cmd) | |||
686 | u8 valid = cmd->valid.in.tf; | 686 | u8 valid = cmd->valid.in.tf; |
687 | 687 | ||
688 | /* be sure we're looking at the low order bits */ | 688 | /* be sure we're looking at the low order bits */ |
689 | scc_ide_outb(ATA_DEVCTL_OBS, io_ports->ctl_addr); | 689 | scc_write_devctl(hwif, ATA_DEVCTL_OBS); |
690 | 690 | ||
691 | if (valid & IDE_VALID_ERROR) | 691 | if (valid & IDE_VALID_ERROR) |
692 | tf->error = scc_ide_inb(io_ports->feature_addr); | 692 | tf->error = scc_ide_inb(io_ports->feature_addr); |
@@ -702,7 +702,7 @@ static void scc_tf_read(ide_drive_t *drive, struct ide_cmd *cmd) | |||
702 | tf->device = scc_ide_inb(io_ports->device_addr); | 702 | tf->device = scc_ide_inb(io_ports->device_addr); |
703 | 703 | ||
704 | if (cmd->tf_flags & IDE_TFLAG_LBA48) { | 704 | if (cmd->tf_flags & IDE_TFLAG_LBA48) { |
705 | scc_ide_outb(ATA_HOB | ATA_DEVCTL_OBS, io_ports->ctl_addr); | 705 | scc_write_devctl(hwif, ATA_HOB | ATA_DEVCTL_OBS); |
706 | 706 | ||
707 | tf = &cmd->hob; | 707 | tf = &cmd->hob; |
708 | valid = cmd->valid.in.hob; | 708 | valid = cmd->valid.in.hob; |