[SCSI] sas: add flag for locally attached PHYs
Add a flag to mark a PHY as attached to the HBA as opposed to beeing on an expander. This is needed because various features are only supported on those. This is a crude hack, the proper fix would be to use different classes for host-attached vs expander phys. I'm looking into that. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
committed by
James Bottomley
parent
80d904c43b
commit
ac01bbbd3b
@@ -56,6 +56,9 @@ struct sas_phy {
|
||||
enum sas_linkrate maximum_linkrate;
|
||||
u8 port_identifier;
|
||||
|
||||
/* internal state */
|
||||
unsigned int local_attached : 1;
|
||||
|
||||
/* link error statistics */
|
||||
u32 invalid_dword_count;
|
||||
u32 running_disparity_error_count;
|
||||
|
Reference in New Issue
Block a user