scsi: hpsa: add 'ctlr_num' sysfs attribute
authorHannes Reinecke <hare@suse.de>
Fri, 18 Nov 2016 07:32:49 +0000 (08:32 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Nov 2016 16:21:48 +0000 (11:21 -0500)
commit16961204a0ebcb87b89ed3be14b0a484c754d7e4
tree763e47edbd4b1aa08b823a841cbc3a2437383767
parent1ccde7004ff66cdcbe4c8005f3bb44dda6ab0b99
scsi: hpsa: add 'ctlr_num' sysfs attribute

Add a sysfs attribute 'ctlr_num' holding the current HPSA controller
number. This is required to construct compability 'cciss' links.

[mkp: fixed typo]

Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c