aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
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
parent[SCSI] libsas: remove ata_port.lock management duties from lldds (diff)
downloadlinux-dev-e139942d77a6e3ac83bc322e826668054a8601d6.tar.xz
linux-dev-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')
-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;
};