[ofw] [PATCH] ib_types: update SA attribute definitions

Sean Hefty sean.hefty at intel.com
Wed Feb 25 09:44:33 PST 2009


>The patch below delete IB_PR_COMPMASK_NUM_PATH, IB_PR_COMPMASK_RESV1 and
>change the affected (4 lines) code.
>Could you incorporate these changes into your patch?

Yes - I will remove those two defines and fix the affected areas.  Thanks

>Index: core/al/kernel/al_ioc_pnp.c
>===================================================================
>--- core/al/kernel/al_ioc_pnp.c	(revision 4019)
>+++ core/al/kernel/al_ioc_pnp.c	(working copy)
>@@ -1570,8 +1570,8 @@
> 	info.method = IB_MAD_METHOD_GETTABLE;
> 	info.attr_id = IB_MAD_ATTR_PATH_RECORD;
> 	info.attr_size = sizeof(ib_path_rec_t);
>-	info.comp_mask = IB_PR_COMPMASK_SGID | IB_PR_COMPMASK_NUM_PATH;
>-	info.comp_mask = IB_PR_COMPMASK_SGID | IB_PR_COMPMASK_NUM_PATH |
>
>+	info.comp_mask = IB_PR_COMPMASK_SGID | IB_PR_COMPMASK_NUMBPATH;
>+	info.comp_mask = IB_PR_COMPMASK_SGID | IB_PR_COMPMASK_NUMBPATH |

Except I'll just delete the first of these lines.

- Sean




More information about the ofw mailing list