[SCSI] isci: The port state should be set to stopping on the last phy.
commitcdd05f05b4adefccfa9fce7d0e10c50f38f8a4bd
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>
Thu, 29 Sep 2011 01:47:56 +0000 (28 18:47 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 2 Oct 2011 18:22:28 +0000 (2 13:22 -0500)
tree3d604c60dce1ae6502e00bc43ce21d0713ab6e41
parent7582ba8bdf5a119221ef663a327932cfc62bed79
[SCSI] isci: The port state should be set to stopping on the last phy.

Fixes a bug where any phy removed from the port set the port
state to "stopping" - do this only when the last phy removed
from the port.

Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/port.c