isci: merge phy substates
authorAdam Gruchala <adam.gruchala@intel.com>
Tue, 10 May 2011 23:54:23 +0000 (23:54 +0000)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:48 +0000 (04:04 -0700)
commit4a33c525f0e94b57602abd1e43644cbf6f5418f4
tree4f42dccac26c36af150322c6b7e152d31efe4aa1
parent79e2b6b27699c916e3c7cda18a26d47fea6017fb
isci: merge phy substates

Merged states and substates into one state machine, as we always
unconditionally transitioned to the substate machine it was straightforward to
enter that substate from the starting state.

Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Adam Gruchala <adam.gruchala@intel.com>
[fixed construction, starting_state_enter, and starting check]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/host.c
drivers/scsi/isci/phy.c
drivers/scsi/isci/phy.h