[ewg] [EWG] RDMA/nes: corrected firmware version update
miroslaw.walukiewicz at intel.com
miroslaw.walukiewicz at intel.com
Fri Jul 16 04:37:34 PDT 2010
Now firmware version is read from correct place
Signed-off-by: Mirek Walukiewicz <miroslaw.walukiewicz at intel.com>
---
kernel_patches/fixes/nes_0039_fw_ver.patch | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
create mode 100644 kernel_patches/fixes/nes_0039_fw_ver.patch
diff --git a/kernel_patches/fixes/nes_0039_fw_ver.patch b/kernel_patches/fixes/nes_0039_fw_ver.patch
new file mode 100644
index 0000000..1574c89
--- /dev/null
+++ b/kernel_patches/fixes/nes_0039_fw_ver.patch
@@ -0,0 +1,13 @@
+diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c
+index 1e0d476..466e773 100644
+--- a/drivers/infiniband/hw/nes/nes_verbs.c
++++ b/drivers/infiniband/hw/nes/nes_verbs.c
+@@ -519,7 +519,7 @@ static int nes_query_device(struct ib_device *ibdev, struct ib_device_attr *prop
+ memset(props, 0, sizeof(*props));
+ memcpy(&props->sys_image_guid, nesvnic->netdev->dev_addr, 6);
+
+- props->fw_ver = nesdev->nesadapter->fw_ver;
++ props->fw_ver = nesdev->nesadapter->firmware_version;
+ props->device_cap_flags = nesdev->nesadapter->device_cap_flags;
+ props->vendor_id = nesdev->nesadapter->vendor_id;
+ props->vendor_part_id = nesdev->nesadapter->vendor_part_id;
More information about the ewg
mailing list