diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:58:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:58:20 -0400 |
commit | 4750def52cb2c21732dda9aa1d43a07db37b0186 (patch) | |
tree | 29fd6223665faabb593f8ae1f4f626685f425ff9 /drivers/ata/pata_via.c | |
parent | 9028780a3e6d2c3dd940e89b377765cca008b6df (diff) | |
parent | 27c78b372d05e47bbd059c9bb003c6d716abff54 (diff) |
Merge branch 'reset-seq' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
* 'reset-seq' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
[libata reset-seq] build and merge fixes
libata: reimplement reset sequencing
libata: improve ata_std_prereset()
libata: improve 0xff status handling
libata: add deadline support to prereset and reset methods
Diffstat (limited to 'drivers/ata/pata_via.c')
-rw-r--r-- | drivers/ata/pata_via.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c index 96b71791d2f4..362beb2f489c 100644 --- a/drivers/ata/pata_via.c +++ b/drivers/ata/pata_via.c | |||
@@ -154,7 +154,7 @@ static int via_cable_detect(struct ata_port *ap) { | |||
154 | return ATA_CBL_PATA40; | 154 | return ATA_CBL_PATA40; |
155 | } | 155 | } |
156 | 156 | ||
157 | static int via_pre_reset(struct ata_port *ap) | 157 | static int via_pre_reset(struct ata_port *ap, unsigned long deadline) |
158 | { | 158 | { |
159 | const struct via_isa_bridge *config = ap->host->private_data; | 159 | const struct via_isa_bridge *config = ap->host->private_data; |
160 | 160 | ||
@@ -167,7 +167,8 @@ static int via_pre_reset(struct ata_port *ap) | |||
167 | if (!pci_test_config_bits(pdev, &via_enable_bits[ap->port_no])) | 167 | if (!pci_test_config_bits(pdev, &via_enable_bits[ap->port_no])) |
168 | return -ENOENT; | 168 | return -ENOENT; |
169 | } | 169 | } |
170 | return ata_std_prereset(ap); | 170 | |
171 | return ata_std_prereset(ap, deadline); | ||
171 | } | 172 | } |
172 | 173 | ||
173 | 174 | ||