summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata.h
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2015-01-24 04:52:07 +0100
committerJens Axboe <axboe@fb.com>2015-01-25 01:09:47 +0100
commit98bd4be1ba95f2fe7f543910792b7163a5de06eb (patch)
treebae9c292324fe749f78b48d05585d5eca8b28c97 /drivers/ata/libata.h
parentlibata: use blk taging (diff)
downloadlinux-98bd4be1ba95f2fe7f543910792b7163a5de06eb.tar.xz
linux-98bd4be1ba95f2fe7f543910792b7163a5de06eb.zip
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.h2
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 */