diff options
author | James Bottomley <James.Bottomley@suse.de> | 2011-01-23 08:28:33 -0600 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2011-03-02 02:36:45 -0500 |
commit | 238c9cf9ea88bbbb9fd0f60c2cc9511c10b4585c (patch) | |
tree | 914d87dc521fc4bca4f91f7c432ddac9be17c9be /drivers/ata/libata.h | |
parent | eb0e85e36b971ec31610eda7e3ff5c11c1c44785 (diff) | |
download | linux-stable-238c9cf9ea88bbbb9fd0f60c2cc9511c10b4585c.tar.gz linux-stable-238c9cf9ea88bbbb9fd0f60c2cc9511c10b4585c.tar.bz2 linux-stable-238c9cf9ea88bbbb9fd0f60c2cc9511c10b4585c.zip |
libata: plumb sas port scan into standard libata paths
The function ata_sas_port_init() has always really done its own thing.
However, as a precursor to moving to the libata new eh, it has to be
properly using the standard libata scan paths. This means separating
the current libata scan paths into pieces which can be shared with
libsas and pieces which cant (really just the async call and the host
scan).
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index a9be110dbf51..773de97988a2 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h @@ -103,6 +103,7 @@ extern int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg); extern int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg); extern struct ata_port *ata_port_alloc(struct ata_host *host); extern const char *sata_spd_string(unsigned int spd); +extern int ata_port_probe(struct ata_port *ap); /* libata-acpi.c */ #ifdef CONFIG_ATA_ACPI |