diff options
-rw-r--r-- | drivers/ata/ata_piix.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index bfaa44ecfca..6f6e7718b05 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c | |||
@@ -341,12 +341,11 @@ static struct ata_port_operations piix_sata_ops = { | |||
341 | }; | 341 | }; |
342 | 342 | ||
343 | static struct ata_port_operations piix_pata_ops = { | 343 | static struct ata_port_operations piix_pata_ops = { |
344 | .inherits = &ata_bmdma32_port_ops, | 344 | .inherits = &piix_sata_ops, |
345 | .cable_detect = ata_cable_40wire, | 345 | .cable_detect = ata_cable_40wire, |
346 | .set_piomode = piix_set_piomode, | 346 | .set_piomode = piix_set_piomode, |
347 | .set_dmamode = piix_set_dmamode, | 347 | .set_dmamode = piix_set_dmamode, |
348 | .prereset = piix_pata_prereset, | 348 | .prereset = piix_pata_prereset, |
349 | .sff_irq_check = piix_irq_check, | ||
350 | }; | 349 | }; |
351 | 350 | ||
352 | static struct ata_port_operations piix_vmw_ops = { | 351 | static struct ata_port_operations piix_vmw_ops = { |
@@ -1588,15 +1587,6 @@ static int __devinit piix_init_one(struct pci_dev *pdev, | |||
1588 | "on poweroff and hibernation\n"); | 1587 | "on poweroff and hibernation\n"); |
1589 | } | 1588 | } |
1590 | 1589 | ||
1591 | /* | ||
1592 | * Sandybridge chipset H61/P67/H67 have broken 32 mode up to now | ||
1593 | * see https://bugzilla.kernel.org/show_bug.cgi?id=40592 | ||
1594 | */ | ||
1595 | if (pdev->vendor == PCI_VENDOR_ID_INTEL && pdev->device == 0x1c00) | ||
1596 | piix_sata_ops.inherits = &ata_bmdma_port_ops; | ||
1597 | else | ||
1598 | piix_sata_ops.inherits = &ata_bmdma32_port_ops; | ||
1599 | |||
1600 | port_info[0] = piix_port_info[ent->driver_data]; | 1590 | port_info[0] = piix_port_info[ent->driver_data]; |
1601 | port_info[1] = piix_port_info[ent->driver_data]; | 1591 | port_info[1] = piix_port_info[ent->driver_data]; |
1602 | 1592 | ||