Skip to content

Commit

Permalink
[libata reset-seq] build and merge fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Jeff Garzik committed May 1, 2007
1 parent 31daabd commit 27c78b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion drivers/ata/pata_artop.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ static int artop6260_pre_reset(struct ata_port *ap, unsigned long deadline)
/* Odd numbered device ids are the units with enable bits (the -R cards) */
if (pdev->device % 1 && !pci_test_config_bits(pdev, &artop_enable_bits[ap->port_no]))
return -ENOENT;
return ata_std_prereset(ap);

return ata_std_prereset(ap, deadline);
}

/**
Expand Down
3 changes: 2 additions & 1 deletion drivers/ata/pata_marvell.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ static int marvell_pre_reset(struct ata_port *ap, unsigned long deadline)
if ((pdev->device == 0x6145) && (ap->port_no == 0) &&
(!(devices & 0x10))) /* PATA enable ? */
return -ENOENT;
return ata_std_prereset(ap);

return ata_std_prereset(ap, deadline);
}

static int marvell_cable_detect(struct ata_port *ap)
Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/pata_sis.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ static int sis_66_cable_detect(struct ata_port *ap)
* Set up cable type and use generic probe init
*/

static int sis_old_pre_reset(struct ata_port *ap, unsigned long deadline)
static int sis_pre_reset(struct ata_port *ap, unsigned long deadline)
{
static const struct pci_bits sis_enable_bits[] = {
{ 0x4aU, 1U, 0x02UL, 0x02UL }, /* port 0 */
Expand Down

0 comments on commit 27c78b3

Please sign in to comment.