diff options
| author | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:28:22 -0400 |
|---|---|---|
| committer | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:28:22 -0400 |
| commit | 52783c5dcc8d317bc8c3e2692d366e8a305abada (patch) | |
| tree | 328fafa2775f835329b0e9ca64bc173dba4cf2b3 /include/linux | |
| parent | 0542925b25676543e8384edf454668f89227e905 (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.h | 8 |
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 */ |
| 305 | typedef void (*ata_qc_cb_t) (struct ata_queued_cmd *qc); | 305 | typedef void (*ata_qc_cb_t) (struct ata_queued_cmd *qc); |
| 306 | typedef void (*ata_probeinit_fn_t)(struct ata_port *ap); | ||
| 307 | typedef int (*ata_prereset_fn_t)(struct ata_port *ap); | 306 | typedef int (*ata_prereset_fn_t)(struct ata_port *ap); |
| 308 | typedef int (*ata_reset_fn_t)(struct ata_port *ap, unsigned int *classes); | 307 | typedef int (*ata_reset_fn_t)(struct ata_port *ap, unsigned int *classes); |
| 309 | typedef void (*ata_postreset_fn_t)(struct ata_port *ap, unsigned int *classes); | 308 | typedef 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); | |||
| 628 | extern int sata_set_spd(struct ata_port *ap); | 626 | extern int sata_set_spd(struct ata_port *ap); |
| 629 | extern int sata_phy_debounce(struct ata_port *ap, const unsigned long *param); | 627 | extern int sata_phy_debounce(struct ata_port *ap, const unsigned long *param); |
| 630 | extern int sata_phy_resume(struct ata_port *ap, const unsigned long *param); | 628 | extern int sata_phy_resume(struct ata_port *ap, const unsigned long *param); |
| 631 | extern 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); | ||
| 635 | extern void ata_std_probeinit(struct ata_port *ap); | ||
| 636 | extern int ata_std_prereset(struct ata_port *ap); | 629 | extern int ata_std_prereset(struct ata_port *ap); |
| 637 | extern int ata_std_softreset(struct ata_port *ap, unsigned int *classes); | 630 | extern int ata_std_softreset(struct ata_port *ap, unsigned int *classes); |
| 638 | extern int sata_std_hardreset(struct ata_port *ap, unsigned int *class); | 631 | extern 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); | |||
| 688 | extern u8 ata_check_status(struct ata_port *ap); | 681 | extern u8 ata_check_status(struct ata_port *ap); |
| 689 | extern u8 ata_altstatus(struct ata_port *ap); | 682 | extern u8 ata_altstatus(struct ata_port *ap); |
| 690 | extern void ata_exec_command(struct ata_port *ap, const struct ata_taskfile *tf); | 683 | extern void ata_exec_command(struct ata_port *ap, const struct ata_taskfile *tf); |
| 691 | extern int ata_std_probe_reset(struct ata_port *ap, unsigned int *classes); | ||
| 692 | extern int ata_port_start (struct ata_port *ap); | 684 | extern int ata_port_start (struct ata_port *ap); |
| 693 | extern void ata_port_stop (struct ata_port *ap); | 685 | extern void ata_port_stop (struct ata_port *ap); |
| 694 | extern void ata_host_stop (struct ata_host_set *host_set); | 686 | extern void ata_host_stop (struct ata_host_set *host_set); |
