diff options
Diffstat (limited to 'drivers/ata/pata_sl82c105.c')
-rw-r--r-- | drivers/ata/pata_sl82c105.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ata/pata_sl82c105.c b/drivers/ata/pata_sl82c105.c index da9e22b25753..9aeffdbe2829 100644 --- a/drivers/ata/pata_sl82c105.c +++ b/drivers/ata/pata_sl82c105.c | |||
@@ -44,11 +44,12 @@ enum { | |||
44 | /** | 44 | /** |
45 | * sl82c105_pre_reset - probe begin | 45 | * sl82c105_pre_reset - probe begin |
46 | * @ap: ATA port | 46 | * @ap: ATA port |
47 | * @deadline: deadline jiffies for the operation | ||
47 | * | 48 | * |
48 | * Set up cable type and use generic probe init | 49 | * Set up cable type and use generic probe init |
49 | */ | 50 | */ |
50 | 51 | ||
51 | static int sl82c105_pre_reset(struct ata_port *ap) | 52 | static int sl82c105_pre_reset(struct ata_port *ap, unsigned long deadline) |
52 | { | 53 | { |
53 | static const struct pci_bits sl82c105_enable_bits[] = { | 54 | static const struct pci_bits sl82c105_enable_bits[] = { |
54 | { 0x40, 1, 0x01, 0x01 }, | 55 | { 0x40, 1, 0x01, 0x01 }, |
@@ -58,7 +59,7 @@ static int sl82c105_pre_reset(struct ata_port *ap) | |||
58 | 59 | ||
59 | if (ap->port_no && !pci_test_config_bits(pdev, &sl82c105_enable_bits[ap->port_no])) | 60 | if (ap->port_no && !pci_test_config_bits(pdev, &sl82c105_enable_bits[ap->port_no])) |
60 | return -ENOENT; | 61 | return -ENOENT; |
61 | return ata_std_prereset(ap); | 62 | return ata_std_prereset(ap, deadline); |
62 | } | 63 | } |
63 | 64 | ||
64 | 65 | ||