summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-05-31 18:27:44 +0900
committerTejun Heo <htejun@gmail.com>2006-05-31 18:27:44 +0900
commita9beec95352ff675f27d74c3cb97dc258d022497 (patch)
treef301e31e3a9648bd6e2f4050a44b4e89aebe0f18 /drivers/scsi/libata.h
parent453b07accb47c5b54aa2f156ebffac63c543027b (diff)
downloadop-kernel-dev-a9beec95352ff675f27d74c3cb97dc258d022497.zip
op-kernel-dev-a9beec95352ff675f27d74c3cb97dc258d022497.tar.gz
[PATCH] libata-hp-prep: make probing related functions global
Hotplug will be implemented in libata-eh.c. Make ata_dev_read_id() and ata_dev_configure() global. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r--drivers/scsi/libata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h
index 4458fd9..2d704be 100644
--- a/drivers/scsi/libata.h
+++ b/drivers/scsi/libata.h
@@ -50,6 +50,9 @@ extern void ata_port_flush_task(struct ata_port *ap);
extern unsigned ata_exec_internal(struct ata_device *dev,
struct ata_taskfile *tf, const u8 *cdb,
int dma_dir, void *buf, unsigned int buflen);
+extern int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class,
+ int post_reset, u16 *id);
+extern int ata_dev_configure(struct ata_device *dev, int print_info);
extern int sata_down_spd_limit(struct ata_port *ap);
extern int sata_set_spd_needed(struct ata_port *ap);
extern int ata_down_xfermask_limit(struct ata_device *dev, int force_pio0);
OpenPOWER on IntegriCloud