hpsa: change how SA controllers are reset
authorDon Brace <don.brace@pmcs.com>
Fri, 23 Jan 2015 22:41:25 +0000 (16:41 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:35 +0000 (09:57 -0800)
commit2662cab8984f6075e72e0997065c75ad3def6c95
treeda70f7a7b0dbd25349b91ee3c0debe8a9b0b1ff9
parent3b747298786355c6934b0892fc9ae4ca44105192
hpsa: change how SA controllers are reset

Change how SA controllers are reset by changing PCI power levels.
The hpsa driver was finding the PCI_PM_CTRL_STATE_MASK offset
then reading/writing a bitmask to change the power state. There
are kernel functions that do the same operations. Better to use
the kernel functions.

Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Webb Scales <webbnh@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c
This page took 0.030869 seconds and 5 git commands to generate.