aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_efar.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_efar.c')
-rw-r--r--drivers/ata/pata_efar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_efar.c b/drivers/ata/pata_efar.c
index 043dcd35106c..dc33220fe5b2 100644
--- a/drivers/ata/pata_efar.c
+++ b/drivers/ata/pata_efar.c
@@ -135,7 +135,7 @@ static void efar_set_piomode (struct ata_port *ap, struct ata_device *adev)
135 idetm_data &= 0xCC0F; 135 idetm_data &= 0xCC0F;
136 idetm_data |= (control << 4); 136 idetm_data |= (control << 4);
137 137
138 /* Slave timing in seperate register */ 138 /* Slave timing in separate register */
139 pci_read_config_byte(dev, 0x44, &slave_data); 139 pci_read_config_byte(dev, 0x44, &slave_data);
140 slave_data &= 0x0F << shift; 140 slave_data &= 0x0F << shift;
141 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << shift; 141 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << shift;