diff options
author | Wayne Boyer <wayneb@linux.vnet.ibm.com> | 2010-07-14 13:50:14 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-28 10:05:40 -0400 |
commit | 75576bb9b208d7c66822f310cdef9ca2d72c879c (patch) | |
tree | 3923b4c3604edcc37589bd140ea2ffc6afa5b1ca /drivers/scsi/dc395x.c | |
parent | 1df79ca4223632113f14618833b8bb1727a8ca15 (diff) |
[SCSI] ipr: fix resource type update and add sdev and shost attributes
Setting the resource type in the ipr_update_res_entry function was incorrect in
that the top 4 bits were masked off. The assignment has been updated to no
longer mask those bits.
Then, two new attributes were added to allow the user space utilities to more
easily get information. The resource_type sdev attribute is set for all devices
in the adapter's configuration table and indicates the type of device. The
fw_type shost attribute indicates the firmware type supported by the adapter.
Finally, the resource_path attribute was changed to be mode S_IRUGO.
Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/dc395x.c')
0 files changed, 0 insertions, 0 deletions