diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2006-06-30 13:54:02 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-30 22:35:17 -0400 |
commit | 2686de27a356914e098329463d5a8cd7aa6f29a4 (patch) | |
tree | 8bf625cb1a387f6f179662a101ca256463e67f7f /drivers/message/fusion/mptbase.h | |
parent | 413975a0f1a43a896490fc5c589d05c95624c6d2 (diff) |
[SCSI] mptsas: eliminate ghost devices
One of the current problems the mptsas driver has is that of "ghost"
devices (these are devices the firmware reports as existing, but what
they actually represent are the parents of a lower device), so for
example in my dual expander configuration, three expanders actually show
up, two for the real expanders but a third is created because the
firmware reports that the lower expander also has another expander
connected (which is simply the port going back to the upper expander).
The attached patch eliminates all these ghosts by not allocating any
devices for them if the SAS address is the SAS address of the parent.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r-- | drivers/message/fusion/mptbase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index 7bf0855f9349..2697b70653f2 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -632,6 +632,7 @@ typedef struct _MPT_ADAPTER | |||
632 | struct mutex sas_discovery_mutex; | 632 | struct mutex sas_discovery_mutex; |
633 | u8 sas_discovery_runtime; | 633 | u8 sas_discovery_runtime; |
634 | u8 sas_discovery_ignore_events; | 634 | u8 sas_discovery_ignore_events; |
635 | u16 handle; | ||
635 | int sas_index; /* index refrencing */ | 636 | int sas_index; /* index refrencing */ |
636 | MPT_SAS_MGMT sas_mgmt; | 637 | MPT_SAS_MGMT sas_mgmt; |
637 | int num_ports; | 638 | int num_ports; |