diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-02-25 16:50:52 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 14:15:54 -0400 |
commit | 43727fbc753c63f9d2764c56467303698cc52c14 (patch) | |
tree | 66f4d58a5e9098f85e95636abbce675ebea8c523 | |
parent | 351772658a4d1acc0221a6e30676bb0594e74812 (diff) |
[libata] export sata_print_link_status()
To be used in sata_mv's exception handling code, and overall is a
generally useful function.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/ata/libata-core.c | 3 | ||||
-rw-r--r-- | include/linux/libata.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 0abd72d0dec2..e7ad13d43c9f 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -1958,7 +1958,7 @@ void ata_port_probe(struct ata_port *ap) | |||
1958 | * LOCKING: | 1958 | * LOCKING: |
1959 | * None. | 1959 | * None. |
1960 | */ | 1960 | */ |
1961 | static void sata_print_link_status(struct ata_port *ap) | 1961 | void sata_print_link_status(struct ata_port *ap) |
1962 | { | 1962 | { |
1963 | u32 sstatus, scontrol, tmp; | 1963 | u32 sstatus, scontrol, tmp; |
1964 | 1964 | ||
@@ -6360,6 +6360,7 @@ EXPORT_SYMBOL_GPL(ata_tf_load); | |||
6360 | EXPORT_SYMBOL_GPL(ata_tf_read); | 6360 | EXPORT_SYMBOL_GPL(ata_tf_read); |
6361 | EXPORT_SYMBOL_GPL(ata_noop_dev_select); | 6361 | EXPORT_SYMBOL_GPL(ata_noop_dev_select); |
6362 | EXPORT_SYMBOL_GPL(ata_std_dev_select); | 6362 | EXPORT_SYMBOL_GPL(ata_std_dev_select); |
6363 | EXPORT_SYMBOL_GPL(sata_print_link_status); | ||
6363 | EXPORT_SYMBOL_GPL(ata_tf_to_fis); | 6364 | EXPORT_SYMBOL_GPL(ata_tf_to_fis); |
6364 | EXPORT_SYMBOL_GPL(ata_tf_from_fis); | 6365 | EXPORT_SYMBOL_GPL(ata_tf_from_fis); |
6365 | EXPORT_SYMBOL_GPL(ata_check_status); | 6366 | EXPORT_SYMBOL_GPL(ata_check_status); |
diff --git a/include/linux/libata.h b/include/linux/libata.h index 0cfbcb6f08eb..a41749820964 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -701,6 +701,7 @@ static inline int ata_port_is_dummy(struct ata_port *ap) | |||
701 | return ap->ops == &ata_dummy_port_ops; | 701 | return ap->ops == &ata_dummy_port_ops; |
702 | } | 702 | } |
703 | 703 | ||
704 | extern void sata_print_link_status(struct ata_port *ap); | ||
704 | extern void ata_port_probe(struct ata_port *); | 705 | extern void ata_port_probe(struct ata_port *); |
705 | extern void __sata_phy_reset(struct ata_port *ap); | 706 | extern void __sata_phy_reset(struct ata_port *ap); |
706 | extern void sata_phy_reset(struct ata_port *ap); | 707 | extern void sata_phy_reset(struct ata_port *ap); |