aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/sc1200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/sc1200.c')
-rw-r--r--drivers/ide/pci/sc1200.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c
index 252b12f9c954..2471a6dcf6fa 100644
--- a/drivers/ide/pci/sc1200.c
+++ b/drivers/ide/pci/sc1200.c
@@ -362,9 +362,6 @@ static int sc1200_resume (struct pci_dev *dev)
362 */ 362 */
363static void __devinit init_hwif_sc1200 (ide_hwif_t *hwif) 363static void __devinit init_hwif_sc1200 (ide_hwif_t *hwif)
364{ 364{
365 if (hwif->mate)
366 hwif->serialized = hwif->mate->serialized = 1;
367
368 hwif->set_pio_mode = &sc1200_set_pio_mode; 365 hwif->set_pio_mode = &sc1200_set_pio_mode;
369 hwif->set_dma_mode = &sc1200_set_dma_mode; 366 hwif->set_dma_mode = &sc1200_set_dma_mode;
370 367
@@ -381,7 +378,9 @@ static void __devinit init_hwif_sc1200 (ide_hwif_t *hwif)
381static ide_pci_device_t sc1200_chipset __devinitdata = { 378static ide_pci_device_t sc1200_chipset __devinitdata = {
382 .name = "SC1200", 379 .name = "SC1200",
383 .init_hwif = init_hwif_sc1200, 380 .init_hwif = init_hwif_sc1200,
384 .host_flags = IDE_HFLAG_ABUSE_DMA_MODES | IDE_HFLAG_POST_SET_MODE | 381 .host_flags = IDE_HFLAG_SERIALIZE |
382 IDE_HFLAG_POST_SET_MODE |
383 IDE_HFLAG_ABUSE_DMA_MODES |
385 IDE_HFLAG_BOOTABLE, 384 IDE_HFLAG_BOOTABLE,
386 .pio_mask = ATA_PIO4, 385 .pio_mask = ATA_PIO4,
387 .mwdma_mask = ATA_MWDMA2, 386 .mwdma_mask = ATA_MWDMA2,