diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2010-06-17 05:10:10 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 13:02:32 -0400 |
commit | 51106ab5306b752cd53d40626f78774276bb1368 (patch) | |
tree | 0e8a12734f5c75b1478fd7bbc49193dec36a1517 /drivers/message/fusion/mptsas.h | |
parent | aca794ddd688f1bbb7551f569b0620255c052d80 (diff) |
[SCSI] mptfusion: Added sanity to check B_T mapping for device before adding to OS
Added sanity check before treating any device is a valid device.
It is possible that firmware can have device page0 in its table, but that
devicemay not be available in topology. Device will be available in topology
only if there is Bus Target mapping is done in firmware. Driver will always
check B_T mapping of firmware before reporting device to upper layer.
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/message/fusion/mptsas.h')
-rw-r--r-- | drivers/message/fusion/mptsas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptsas.h b/drivers/message/fusion/mptsas.h index 7b249edbda78..57e86ab77661 100644 --- a/drivers/message/fusion/mptsas.h +++ b/drivers/message/fusion/mptsas.h | |||
@@ -140,6 +140,7 @@ struct mptsas_devinfo { | |||
140 | u64 sas_address; /* WWN of this device, | 140 | u64 sas_address; /* WWN of this device, |
141 | SATA is assigned by HBA,expander */ | 141 | SATA is assigned by HBA,expander */ |
142 | u32 device_info; /* bitfield detailed info about this device */ | 142 | u32 device_info; /* bitfield detailed info about this device */ |
143 | u16 flags; /* sas device pg0 flags */ | ||
143 | }; | 144 | }; |
144 | 145 | ||
145 | /* | 146 | /* |