diff options
Diffstat (limited to 'drivers/ata/pata_atiixp.c')
-rw-r--r-- | drivers/ata/pata_atiixp.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c index 0bea7e75d2d6..56a65baddd4a 100644 --- a/drivers/ata/pata_atiixp.c +++ b/drivers/ata/pata_atiixp.c | |||
@@ -48,11 +48,6 @@ static int atiixp_pre_reset(struct ata_link *link, unsigned long deadline) | |||
48 | return ata_std_prereset(link, deadline); | 48 | return ata_std_prereset(link, deadline); |
49 | } | 49 | } |
50 | 50 | ||
51 | static void atiixp_error_handler(struct ata_port *ap) | ||
52 | { | ||
53 | ata_bmdma_drive_eh(ap, atiixp_pre_reset, ata_std_softreset, NULL, ata_std_postreset); | ||
54 | } | ||
55 | |||
56 | static int atiixp_cable_detect(struct ata_port *ap) | 51 | static int atiixp_cable_detect(struct ata_port *ap) |
57 | { | 52 | { |
58 | struct pci_dev *pdev = to_pci_dev(ap->host->dev); | 53 | struct pci_dev *pdev = to_pci_dev(ap->host->dev); |
@@ -235,7 +230,7 @@ static struct ata_port_operations atiixp_port_ops = { | |||
235 | .cable_detect = atiixp_cable_detect, | 230 | .cable_detect = atiixp_cable_detect, |
236 | .set_piomode = atiixp_set_piomode, | 231 | .set_piomode = atiixp_set_piomode, |
237 | .set_dmamode = atiixp_set_dmamode, | 232 | .set_dmamode = atiixp_set_dmamode, |
238 | .error_handler = atiixp_error_handler, | 233 | .prereset = atiixp_pre_reset, |
239 | }; | 234 | }; |
240 | 235 | ||
241 | static int atiixp_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 236 | static int atiixp_init_one(struct pci_dev *dev, const struct pci_device_id *id) |