Messages in this thread | | | From | Tyrel Datwyler <> | Subject | [PATCH v2 0/7] ibmvscsi code cleanup | Date | Wed, 10 Feb 2016 19:32:21 -0600 |
| |
Fixed up a couple spots that were out of line with the PAPR in regards to its defined VSCSI protocol. Did away with some magic numbers directly in the code. Fixed a minor endian issue.
--
v2 changes:
-Renamed CRQ header enums and added enums for INIT formats -Check that crq->valid != VIOSRP_CRQ_FREE before handling in place of hacky bitwise & to check for first bit being set. -Added define for AIX os_type -Left sysfs config attribute to prevent breaking userspace
Tyrel Datwyler (7): ibmvscsi: Correct values for several viosrp_crq_format enums ibmvscsi: Add and use enums for valid CRQ header values ibmvscsi: Replace magic values in set_adpater_info() with defines ibmvscsi: Use of_root to access OF device tree root node ibmvscsi: Remove unsupported host config MAD ibmvscsi: Add endian conversions to sysfs attribute show functions ibmvscsi: use H_CLOSED instead of magic number
drivers/scsi/ibmvscsi/ibmvscsi.c | 128 ++++++++++----------------------------- drivers/scsi/ibmvscsi/viosrp.h | 26 +++++--- 2 files changed, 49 insertions(+), 105 deletions(-)
-- 2.5.0
| |