scsi: stex: Add S6 support
authorCharles <charles.chiou@tw.promise.com>
Fri, 17 Feb 2017 02:52:38 +0000 (10:52 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 15 Mar 2017 23:22:10 +0000 (19:22 -0400)
commit61b745fa63dbac366104c3585c0866562a8292be
tree214b6125c2626f1f6725227343044c36600b387a
parentd65702272c8d35afc8d7e85fa8100a914f0b787f
scsi: stex: Add S6 support

1. Add reboot notifier and register it in stex_probe for all supported
   device.

2. For all supported device in restart flow, we get a callback from
   notifier and set S6flag for stex_shutdown & stex_hba_stop to send
   restart command to FW.

Signed-off-by: Charles.Chiou <charles.chiou@tw.promise.com>
Signed-off-by: Paul.Lyu <paul.lyu@tw.promise.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/stex.c