diff options
Diffstat (limited to 'drivers/ata/pata_oldpiix.c')
-rw-r--r-- | drivers/ata/pata_oldpiix.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/ata/pata_oldpiix.c b/drivers/ata/pata_oldpiix.c index 7001b756819e..c1da79a76439 100644 --- a/drivers/ata/pata_oldpiix.c +++ b/drivers/ata/pata_oldpiix.c | |||
@@ -51,20 +51,6 @@ static int oldpiix_pre_reset(struct ata_link *link, unsigned long deadline) | |||
51 | } | 51 | } |
52 | 52 | ||
53 | /** | 53 | /** |
54 | * oldpiix_pata_error_handler - Probe specified port on PATA host controller | ||
55 | * @ap: Port to probe | ||
56 | * @classes: | ||
57 | * | ||
58 | * LOCKING: | ||
59 | * None (inherited from caller). | ||
60 | */ | ||
61 | |||
62 | static void oldpiix_pata_error_handler(struct ata_port *ap) | ||
63 | { | ||
64 | ata_bmdma_drive_eh(ap, oldpiix_pre_reset, ata_std_softreset, NULL, ata_std_postreset); | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * oldpiix_set_piomode - Initialize host controller PATA PIO timings | 54 | * oldpiix_set_piomode - Initialize host controller PATA PIO timings |
69 | * @ap: Port whose timings we are configuring | 55 | * @ap: Port whose timings we are configuring |
70 | * @adev: Device whose timings we are configuring | 56 | * @adev: Device whose timings we are configuring |
@@ -229,7 +215,7 @@ static struct ata_port_operations oldpiix_pata_ops = { | |||
229 | .cable_detect = ata_cable_40wire, | 215 | .cable_detect = ata_cable_40wire, |
230 | .set_piomode = oldpiix_set_piomode, | 216 | .set_piomode = oldpiix_set_piomode, |
231 | .set_dmamode = oldpiix_set_dmamode, | 217 | .set_dmamode = oldpiix_set_dmamode, |
232 | .error_handler = oldpiix_pata_error_handler, | 218 | .prereset = oldpiix_pre_reset, |
233 | }; | 219 | }; |
234 | 220 | ||
235 | 221 | ||