aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-05-31 05:28:22 -0400
committerTejun Heo <htejun@gmail.com>2006-05-31 05:28:22 -0400
commit52783c5dcc8d317bc8c3e2692d366e8a305abada (patch)
tree328fafa2775f835329b0e9ca64bc173dba4cf2b3 /include/linux
parent0542925b25676543e8384edf454668f89227e905 (diff)
[PATCH] libata-hp: killl ops->probe_reset
Now that all drivers implementing new EH are converted to new probing mechanism, ops->probe_reset doesn't have any user. Kill it. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/libata.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index f11ba2715bef..a2a33a902917 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -303,7 +303,6 @@ struct ata_queued_cmd;
303 303
304/* typedefs */ 304/* typedefs */
305typedef void (*ata_qc_cb_t) (struct ata_queued_cmd *qc); 305typedef void (*ata_qc_cb_t) (struct ata_queued_cmd *qc);
306typedef void (*ata_probeinit_fn_t)(struct ata_port *ap);
307typedef int (*ata_prereset_fn_t)(struct ata_port *ap); 306typedef int (*ata_prereset_fn_t)(struct ata_port *ap);
308typedef int (*ata_reset_fn_t)(struct ata_port *ap, unsigned int *classes); 307typedef int (*ata_reset_fn_t)(struct ata_port *ap, unsigned int *classes);
309typedef void (*ata_postreset_fn_t)(struct ata_port *ap, unsigned int *classes); 308typedef void (*ata_postreset_fn_t)(struct ata_port *ap, unsigned int *classes);
@@ -553,7 +552,6 @@ struct ata_port_operations {
553 552
554 void (*phy_reset) (struct ata_port *ap); /* obsolete */ 553 void (*phy_reset) (struct ata_port *ap); /* obsolete */
555 void (*set_mode) (struct ata_port *ap); 554 void (*set_mode) (struct ata_port *ap);
556 int (*probe_reset) (struct ata_port *ap, unsigned int *classes);
557 555
558 void (*post_set_mode) (struct ata_port *ap); 556 void (*post_set_mode) (struct ata_port *ap);
559 557
@@ -628,11 +626,6 @@ extern void ata_bus_reset(struct ata_port *ap);
628extern int sata_set_spd(struct ata_port *ap); 626extern int sata_set_spd(struct ata_port *ap);
629extern int sata_phy_debounce(struct ata_port *ap, const unsigned long *param); 627extern int sata_phy_debounce(struct ata_port *ap, const unsigned long *param);
630extern int sata_phy_resume(struct ata_port *ap, const unsigned long *param); 628extern int sata_phy_resume(struct ata_port *ap, const unsigned long *param);
631extern int ata_drive_probe_reset(struct ata_port *ap,
632 ata_probeinit_fn_t probeinit,
633 ata_reset_fn_t softreset, ata_reset_fn_t hardreset,
634 ata_postreset_fn_t postreset, unsigned int *classes);
635extern void ata_std_probeinit(struct ata_port *ap);
636extern int ata_std_prereset(struct ata_port *ap); 629extern int ata_std_prereset(struct ata_port *ap);
637extern int ata_std_softreset(struct ata_port *ap, unsigned int *classes); 630extern int ata_std_softreset(struct ata_port *ap, unsigned int *classes);
638extern int sata_std_hardreset(struct ata_port *ap, unsigned int *class); 631extern int sata_std_hardreset(struct ata_port *ap, unsigned int *class);
@@ -688,7 +681,6 @@ extern void ata_std_dev_select (struct ata_port *ap, unsigned int device);
688extern u8 ata_check_status(struct ata_port *ap); 681extern u8 ata_check_status(struct ata_port *ap);
689extern u8 ata_altstatus(struct ata_port *ap); 682extern u8 ata_altstatus(struct ata_port *ap);
690extern void ata_exec_command(struct ata_port *ap, const struct ata_taskfile *tf); 683extern void ata_exec_command(struct ata_port *ap, const struct ata_taskfile *tf);
691extern int ata_std_probe_reset(struct ata_port *ap, unsigned int *classes);
692extern int ata_port_start (struct ata_port *ap); 684extern int ata_port_start (struct ata_port *ap);
693extern void ata_port_stop (struct ata_port *ap); 685extern void ata_port_stop (struct ata_port *ap);
694extern void ata_host_stop (struct ata_host_set *host_set); 686extern void ata_host_stop (struct ata_host_set *host_set);