diff options
author | Dan Williams <dan.j.williams@intel.com> | 2012-01-07 03:52:39 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 14:51:23 -0500 |
commit | e139942d77a6e3ac83bc322e826668054a8601d6 (patch) | |
tree | ef1741122d936f6fa9986a53f17e6f6108283649 /include/scsi/libsas.h | |
parent | 312d3e56119a4bc5c36a96818f87f650c069ddc2 (diff) |
[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.h | 7 |
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 { | |||
173 | struct ata_taskfile tf; | 173 | struct ata_taskfile tf; |
174 | }; | 174 | }; |
175 | 175 | ||
176 | /* ---------- Domain device ---------- */ | 176 | enum { |
177 | SAS_DEV_GONE, | ||
178 | }; | ||
179 | |||
177 | struct domain_device { | 180 | struct domain_device { |
178 | enum sas_dev_type dev_type; | 181 | enum sas_dev_type dev_type; |
179 | 182 | ||
@@ -205,7 +208,7 @@ struct domain_device { | |||
205 | }; | 208 | }; |
206 | 209 | ||
207 | void *lldd_dev; | 210 | void *lldd_dev; |
208 | int gone; | 211 | unsigned long state; |
209 | struct kref kref; | 212 | struct kref kref; |
210 | }; | 213 | }; |
211 | 214 | ||