]> err.no Git - linux-2.6/commit
[SCSI] scsi_transport_sas: remove local_attached flag
authorJames Bottomley <James.Bottomley@steeleye.com>
Fri, 25 Aug 2006 18:48:18 +0000 (13:48 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Mon, 28 Aug 2006 03:30:11 +0000 (22:30 -0500)
commitf4ad7b5807385ad1fed0347d966e51a797cd1013
tree7661a3f739cc6fc808175a482202885ee1c3ab48
parent8ce7a9c159c8c4eb480f0a65c6af753dbf9a1a70
[SCSI] scsi_transport_sas: remove local_attached flag

This flag denotes local attachment of the phy.  There are two problems
with it:

1) It's actually redundant ... you can get the same information simply
by seeing whether a host is the phys parent
2) we condition a lot of phy parameters on it on the false assumption
that we can only control local phys.  I'm wiring up phy resets in the
aic94xx now, and it will be able to reset non-local phys as well.

I fixed 2) by moving the local check into the reset and stats function
of the mptsas, since that seems to be the only HBA that can't
(currently) control non-local phys.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/message/fusion/mptsas.c
drivers/scsi/scsi_transport_sas.c
include/scsi/scsi_transport_sas.h