diff options
Diffstat (limited to 'drivers/ata/pata_efar.c')
-rw-r--r-- | drivers/ata/pata_efar.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ata/pata_efar.c b/drivers/ata/pata_efar.c index a3216850bba1..d0f52e034906 100644 --- a/drivers/ata/pata_efar.c +++ b/drivers/ata/pata_efar.c | |||
@@ -27,12 +27,13 @@ | |||
27 | /** | 27 | /** |
28 | * efar_pre_reset - Enable bits | 28 | * efar_pre_reset - Enable bits |
29 | * @ap: Port | 29 | * @ap: Port |
30 | * @deadline: deadline jiffies for the operation | ||
30 | * | 31 | * |
31 | * Perform cable detection for the EFAR ATA interface. This is | 32 | * Perform cable detection for the EFAR ATA interface. This is |
32 | * different to the PIIX arrangement | 33 | * different to the PIIX arrangement |
33 | */ | 34 | */ |
34 | 35 | ||
35 | static int efar_pre_reset(struct ata_port *ap) | 36 | static int efar_pre_reset(struct ata_port *ap, unsigned long deadline) |
36 | { | 37 | { |
37 | static const struct pci_bits efar_enable_bits[] = { | 38 | static const struct pci_bits efar_enable_bits[] = { |
38 | { 0x41U, 1U, 0x80UL, 0x80UL }, /* port 0 */ | 39 | { 0x41U, 1U, 0x80UL, 0x80UL }, /* port 0 */ |
@@ -43,7 +44,7 @@ static int efar_pre_reset(struct ata_port *ap) | |||
43 | if (!pci_test_config_bits(pdev, &efar_enable_bits[ap->port_no])) | 44 | if (!pci_test_config_bits(pdev, &efar_enable_bits[ap->port_no])) |
44 | return -ENOENT; | 45 | return -ENOENT; |
45 | 46 | ||
46 | return ata_std_prereset(ap); | 47 | return ata_std_prereset(ap, deadline); |
47 | } | 48 | } |
48 | 49 | ||
49 | /** | 50 | /** |