diff options
Diffstat (limited to 'drivers/ide/pci/aec62xx.c')
-rw-r--r-- | drivers/ide/pci/aec62xx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ide/pci/aec62xx.c b/drivers/ide/pci/aec62xx.c index be0d077dbbdf..f3912aa8e576 100644 --- a/drivers/ide/pci/aec62xx.c +++ b/drivers/ide/pci/aec62xx.c | |||
@@ -187,11 +187,9 @@ static void __devinit init_hwif_aec62xx(ide_hwif_t *hwif) | |||
187 | 187 | ||
188 | hwif->set_pio_mode = &aec_set_pio_mode; | 188 | hwif->set_pio_mode = &aec_set_pio_mode; |
189 | 189 | ||
190 | if (dev->device == PCI_DEVICE_ID_ARTOP_ATP850UF) { | 190 | if (dev->device == PCI_DEVICE_ID_ARTOP_ATP850UF) |
191 | if(hwif->mate) | ||
192 | hwif->mate->serialized = hwif->serialized = 1; | ||
193 | hwif->set_dma_mode = &aec6210_set_mode; | 191 | hwif->set_dma_mode = &aec6210_set_mode; |
194 | } else | 192 | else |
195 | hwif->set_dma_mode = &aec6260_set_mode; | 193 | hwif->set_dma_mode = &aec6260_set_mode; |
196 | 194 | ||
197 | hwif->drives[0].autotune = hwif->drives[1].autotune = 1; | 195 | hwif->drives[0].autotune = hwif->drives[1].autotune = 1; |
@@ -219,7 +217,9 @@ static ide_pci_device_t aec62xx_chipsets[] __devinitdata = { | |||
219 | .init_chipset = init_chipset_aec62xx, | 217 | .init_chipset = init_chipset_aec62xx, |
220 | .init_hwif = init_hwif_aec62xx, | 218 | .init_hwif = init_hwif_aec62xx, |
221 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, | 219 | .enablebits = {{0x4a,0x02,0x02}, {0x4a,0x04,0x04}}, |
222 | .host_flags = IDE_HFLAG_NO_ATAPI_DMA | IDE_HFLAG_OFF_BOARD, | 220 | .host_flags = IDE_HFLAG_SERIALIZE | |
221 | IDE_HFLAG_NO_ATAPI_DMA | | ||
222 | IDE_HFLAG_OFF_BOARD, | ||
223 | .pio_mask = ATA_PIO4, | 223 | .pio_mask = ATA_PIO4, |
224 | .mwdma_mask = ATA_MWDMA2, | 224 | .mwdma_mask = ATA_MWDMA2, |
225 | .udma_mask = ATA_UDMA2, | 225 | .udma_mask = ATA_UDMA2, |