diff options
Diffstat (limited to 'drivers/ata/pata_atiixp.c')
-rw-r--r-- | drivers/ata/pata_atiixp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c index 78738fb4223b..d7de7baf58a8 100644 --- a/drivers/ata/pata_atiixp.c +++ b/drivers/ata/pata_atiixp.c | |||
@@ -88,8 +88,8 @@ static void atiixp_set_pio_timing(struct ata_port *ap, struct ata_device *adev, | |||
88 | pci_write_config_word(pdev, ATIIXP_IDE_PIO_MODE, pio_mode_data); | 88 | pci_write_config_word(pdev, ATIIXP_IDE_PIO_MODE, pio_mode_data); |
89 | 89 | ||
90 | pci_read_config_word(pdev, ATIIXP_IDE_PIO_TIMING, &pio_timing_data); | 90 | pci_read_config_word(pdev, ATIIXP_IDE_PIO_TIMING, &pio_timing_data); |
91 | pio_mode_data &= ~(0xFF << timing_shift); | 91 | pio_timing_data &= ~(0xFF << timing_shift); |
92 | pio_mode_data |= (pio_timings[pio] << timing_shift); | 92 | pio_timing_data |= (pio_timings[pio] << timing_shift); |
93 | pci_write_config_word(pdev, ATIIXP_IDE_PIO_TIMING, pio_timing_data); | 93 | pci_write_config_word(pdev, ATIIXP_IDE_PIO_TIMING, pio_timing_data); |
94 | } | 94 | } |
95 | 95 | ||