浏览代码

[libata reset-seq] build and merge fixes

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Jeff Garzik 18 年之前
父节点
当前提交
27c78b372d
共有 3 个文件被更改,包括 5 次插入3 次删除
  1. 2 1
      drivers/ata/pata_artop.c
  2. 2 1
      drivers/ata/pata_marvell.c
  3. 1 1
      drivers/ata/pata_sis.c

+ 2 - 1
drivers/ata/pata_artop.c

@@ -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) */
 	/* 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]))
 	if (pdev->device % 1 && !pci_test_config_bits(pdev, &artop_enable_bits[ap->port_no]))
 		return -ENOENT;
 		return -ENOENT;
-	return ata_std_prereset(ap);
+
+	return ata_std_prereset(ap, deadline);
 }
 }
 
 
 /**
 /**

+ 2 - 1
drivers/ata/pata_marvell.c

@@ -53,7 +53,8 @@ static int marvell_pre_reset(struct ata_port *ap, unsigned long deadline)
 	if ((pdev->device == 0x6145) && (ap->port_no == 0) &&
 	if ((pdev->device == 0x6145) && (ap->port_no == 0) &&
 	    (!(devices & 0x10)))	/* PATA enable ? */
 	    (!(devices & 0x10)))	/* PATA enable ? */
 		return -ENOENT;
 		return -ENOENT;
-	return ata_std_prereset(ap);
+
+	return ata_std_prereset(ap, deadline);
 }
 }
 
 
 static int marvell_cable_detect(struct ata_port *ap)
 static int marvell_cable_detect(struct ata_port *ap)

+ 1 - 1
drivers/ata/pata_sis.c

@@ -137,7 +137,7 @@ static int sis_66_cable_detect(struct ata_port *ap)
  *	Set up cable type and use generic probe init
  *	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[] = {
 	static const struct pci_bits sis_enable_bits[] = {
 		{ 0x4aU, 1U, 0x02UL, 0x02UL },	/* port 0 */
 		{ 0x4aU, 1U, 0x02UL, 0x02UL },	/* port 0 */