summaryrefslogtreecommitdiffstats
path: root/drivers/vlynq
diff options
context:
space:
mode:
authorCharles <charles.chiou@tw.promise.com>2016-02-22 13:04:25 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-02-24 03:27:02 +0100
commit45b42adbec68872529e4e24ba7570de367240818 (patch)
tree89b526877e14a340adf5dd38a68d0ee1b8db9388 /drivers/vlynq
parentstex: Support to Pegasus series. (diff)
downloadlinux-45b42adbec68872529e4e24ba7570de367240818.tar.xz
linux-45b42adbec68872529e4e24ba7570de367240818.zip
stex: Add hotplug support
1. Add hotplug support. Pegasus support surprise removal. To this end, I use return_abnormal_state function to return DID_NO_CONNECT for all commands which sent to driver. 2. Remove stex_hba_stop in stex_remove because we cannot send command to device after hotplug. 3. Add new device status: MU_STATE_STOP, MU_STATE_NOCONNECT, MU_STATE_STOP. MU_STATE_STOP is currently not referenced. MU_STATE_NOCONNECT represent that device is plugged out from the host. 4. Use return_abnormal_function() to substitute part of code in stex_do_reset. Signed-off-by: Charles Chiou <charles.chiou@tw.promise.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/vlynq')
0 files changed, 0 insertions, 0 deletions