diff options
Diffstat (limited to 'drivers/ata/pata_efar.c')
-rw-r--r-- | drivers/ata/pata_efar.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/ata/pata_efar.c b/drivers/ata/pata_efar.c index 2f5b4848456a..1d839a57068e 100644 --- a/drivers/ata/pata_efar.c +++ b/drivers/ata/pata_efar.c | |||
@@ -49,19 +49,6 @@ static int efar_pre_reset(struct ata_link *link, unsigned long deadline) | |||
49 | } | 49 | } |
50 | 50 | ||
51 | /** | 51 | /** |
52 | * efar_probe_reset - Probe specified port on PATA host controller | ||
53 | * @ap: Port to probe | ||
54 | * | ||
55 | * LOCKING: | ||
56 | * None (inherited from caller). | ||
57 | */ | ||
58 | |||
59 | static void efar_error_handler(struct ata_port *ap) | ||
60 | { | ||
61 | ata_bmdma_drive_eh(ap, efar_pre_reset, ata_std_softreset, NULL, ata_std_postreset); | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * efar_cable_detect - check for 40/80 pin | 52 | * efar_cable_detect - check for 40/80 pin |
66 | * @ap: Port | 53 | * @ap: Port |
67 | * | 54 | * |
@@ -241,7 +228,7 @@ static struct ata_port_operations efar_ops = { | |||
241 | .cable_detect = efar_cable_detect, | 228 | .cable_detect = efar_cable_detect, |
242 | .set_piomode = efar_set_piomode, | 229 | .set_piomode = efar_set_piomode, |
243 | .set_dmamode = efar_set_dmamode, | 230 | .set_dmamode = efar_set_dmamode, |
244 | .error_handler = efar_error_handler, | 231 | .prereset = efar_pre_reset, |
245 | }; | 232 | }; |
246 | 233 | ||
247 | 234 | ||