diff options
author | Shaohua Li <shli@fb.com> | 2015-01-23 19:52:07 -0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-01-24 17:09:47 -0700 |
commit | 98bd4be1ba95f2fe7f543910792b7163a5de06eb (patch) | |
tree | bae9c292324fe749f78b48d05585d5eca8b28c97 /drivers/ata/libata.h | |
parent | 12cb5ce101abfaf74421f8cc9f196e708209eb79 (diff) | |
download | linux-98bd4be1ba95f2fe7f543910792b7163a5de06eb.tar.bz2 |
libata: move sas ata tag allocation to libata-scsi.c
Basically move the sas ata tag allocation to libata-scsi.c to make it clear
these staffs are just for sas.
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 40405135bbb6..8c491cd8805b 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h @@ -145,6 +145,8 @@ extern void ata_scsi_dev_rescan(struct work_struct *work); extern int ata_bus_probe(struct ata_port *ap); extern int ata_scsi_user_scan(struct Scsi_Host *shost, unsigned int channel, unsigned int id, u64 lun); +int ata_sas_allocate_tag(struct ata_port *ap); +void ata_sas_free_tag(unsigned int tag, struct ata_port *ap); /* libata-eh.c */ |