diff options
Diffstat (limited to 'drivers/ide/pci/serverworks.c')
-rw-r--r-- | drivers/ide/pci/serverworks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/serverworks.c b/drivers/ide/pci/serverworks.c index 9e92e7ba0227..36decbe3afcb 100644 --- a/drivers/ide/pci/serverworks.c +++ b/drivers/ide/pci/serverworks.c | |||
@@ -160,7 +160,7 @@ static int svwks_tune_chipset (ide_drive_t *drive, u8 xferspeed) | |||
160 | if ((dev->device == PCI_DEVICE_ID_SERVERWORKS_CSB6IDE) || | 160 | if ((dev->device == PCI_DEVICE_ID_SERVERWORKS_CSB6IDE) || |
161 | (dev->device == PCI_DEVICE_ID_SERVERWORKS_CSB6IDE2)) { | 161 | (dev->device == PCI_DEVICE_ID_SERVERWORKS_CSB6IDE2)) { |
162 | if (!drive->init_speed) { | 162 | if (!drive->init_speed) { |
163 | u8 dma_stat = hwif->INB(hwif->dma_status); | 163 | u8 dma_stat = inb(hwif->dma_status); |
164 | 164 | ||
165 | dma_pio: | 165 | dma_pio: |
166 | if (((ultra_enable << (7-drive->dn) & 0x80) == 0x80) && | 166 | if (((ultra_enable << (7-drive->dn) & 0x80) == 0x80) && |
@@ -529,7 +529,7 @@ static void __devinit init_hwif_svwks (ide_hwif_t *hwif) | |||
529 | if (!noautodma) | 529 | if (!noautodma) |
530 | hwif->autodma = 1; | 530 | hwif->autodma = 1; |
531 | 531 | ||
532 | dma_stat = hwif->INB(hwif->dma_status); | 532 | dma_stat = inb(hwif->dma_status); |
533 | hwif->drives[0].autodma = (dma_stat & 0x20); | 533 | hwif->drives[0].autodma = (dma_stat & 0x20); |
534 | hwif->drives[1].autodma = (dma_stat & 0x40); | 534 | hwif->drives[1].autodma = (dma_stat & 0x40); |
535 | hwif->drives[0].autotune = (!(dma_stat & 0x20)); | 535 | hwif->drives[0].autotune = (!(dma_stat & 0x20)); |