hpsa: do not ack controller events on controllers that do not support it
Acking controller events on controllers that do not support it can cause such controllers to lock up. Reviewed-by: Scott Teel <scott.teel@pmcs.com> Signed-off-by: Joe Handzik <joseph.t.handzik@hp.com> Signed-off-by: Don Brace <don.brace@pmcs.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
6f99a9160f
commit
e4aa3e6ae2
|
@ -6674,6 +6674,9 @@ static void hpsa_ack_ctlr_events(struct ctlr_info *h)
|
|||
int i;
|
||||
char *event_type;
|
||||
|
||||
if (!(h->fw_support & MISC_FW_EVENT_NOTIFY))
|
||||
return;
|
||||
|
||||
/* Ask the controller to clear the events we're handling. */
|
||||
if ((h->transMethod & (CFGTBL_Trans_io_accel1
|
||||
| CFGTBL_Trans_io_accel2)) &&
|
||||
|
|
Loading…
Reference in New Issue