summaryrefslogtreecommitdiffstats
path: root/include/scsi/libsas.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2012-01-07 08:52:39 +0000
committerJames Bottomley <JBottomley@Parallels.com>2012-02-19 13:51:23 -0600
commite139942d77a6e3ac83bc322e826668054a8601d6 (patch)
treeef1741122d936f6fa9986a53f17e6f6108283649 /include/scsi/libsas.h
parent312d3e56119a4bc5c36a96818f87f650c069ddc2 (diff)
downloadblackbird-op-linux-e139942d77a6e3ac83bc322e826668054a8601d6.tar.gz
blackbird-op-linux-e139942d77a6e3ac83bc322e826668054a8601d6.zip
[SCSI] libsas: convert dev->gone to flags
In preparation for adding tracking of another device state "destroy". Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/libsas.h')
-rw-r--r--include/scsi/libsas.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index 42900fa95a03..d792b13cfcf5 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -173,7 +173,10 @@ struct sata_device {
struct ata_taskfile tf;
};
-/* ---------- Domain device ---------- */
+enum {
+ SAS_DEV_GONE,
+};
+
struct domain_device {
enum sas_dev_type dev_type;
@@ -205,7 +208,7 @@ struct domain_device {
};
void *lldd_dev;
- int gone;
+ unsigned long state;
struct kref kref;
};
OpenPOWER on IntegriCloud