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 542419ffa9b7..6e47eac1cd7f 100644 --- a/drivers/ide/scc_pata.c +++ b/drivers/ide/scc_pata.c | |||
@@ -709,7 +709,7 @@ static void scc_tf_read(ide_drive_t *drive, struct ide_cmd *cmd) | |||
709 | } | 709 | } |
710 | 710 | ||
711 | /* be sure we're looking at the low order bits */ | 711 | /* be sure we're looking at the low order bits */ |
712 | scc_ide_outb(ATA_DEVCTL_OBS & ~0x80, io_ports->ctl_addr); | 712 | scc_ide_outb(ATA_DEVCTL_OBS, io_ports->ctl_addr); |
713 | 713 | ||
714 | if (cmd->tf_flags & IDE_TFLAG_IN_FEATURE) | 714 | if (cmd->tf_flags & IDE_TFLAG_IN_FEATURE) |
715 | tf->feature = scc_ide_inb(io_ports->feature_addr); | 715 | tf->feature = scc_ide_inb(io_ports->feature_addr); |
@@ -725,7 +725,7 @@ static void scc_tf_read(ide_drive_t *drive, struct ide_cmd *cmd) | |||
725 | tf->device = scc_ide_inb(io_ports->device_addr); | 725 | tf->device = scc_ide_inb(io_ports->device_addr); |
726 | 726 | ||
727 | if (cmd->tf_flags & IDE_TFLAG_LBA48) { | 727 | if (cmd->tf_flags & IDE_TFLAG_LBA48) { |
728 | scc_ide_outb(ATA_DEVCTL_OBS | 0x80, io_ports->ctl_addr); | 728 | scc_ide_outb(ATA_HOB | ATA_DEVCTL_OBS, io_ports->ctl_addr); |
729 | 729 | ||
730 | if (cmd->tf_flags & IDE_TFLAG_IN_HOB_FEATURE) | 730 | if (cmd->tf_flags & IDE_TFLAG_IN_HOB_FEATURE) |
731 | tf->hob_feature = scc_ide_inb(io_ports->feature_addr); | 731 | tf->hob_feature = scc_ide_inb(io_ports->feature_addr); |