[ofw] [IBBUS] Change BFI --> HCA GUID binding from late to early in fdo_start()
Stan C. Smith
stan.smith at intel.com
Tue Mar 17 11:29:54 PDT 2009
Hefty, Sean wrote:
>> - BUS_PRINT(BUS_DBG_PNP,
>> - ("%s exit
>> %x\n",p_bfi->whoami,status));
>> - BUS_EXIT( BUS_DBG_PNP );
>> + /* bind BFI to HCA by CA GUID */
>> + p_bfi->ca_guid = ((const
>> ci_interface_t*)&p_ext->hca_ifc.Verbs)->guid;
>
> A cast is unnecessary here.
Applied svn.2036
diff U3 C:/Documents and Settings/scsmith/Local Settings/Temp/bus_pnp.c-revBASE.svn002.tmp.c C:/Documents and
Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/core/bus/kernel/bus_pnp.c
--- C:/Documents and Settings/scsmith/Local Settings/Temp/bus_pnp.c-revBASE.svn002.tmp.c Tue Mar 17 11:12:33 2009
+++ C:/Documents and Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/core/bus/kernel/bus_pnp.c Tue Mar
17 11:09:44 2009
@@ -470,7 +470,7 @@
}
/* bind BFI to HCA by CA GUID */
- p_bfi->ca_guid = ((const ci_interface_t*)&p_ext->hca_ifc.Verbs)->guid;
+ p_bfi->ca_guid = p_ext->hca_ifc.Verbs.guid;
BUS_TRACE_EXIT(BUS_DBG_PNP, ("%s bound to CA guid %I64x\n",
p_bfi->whoami,p_bfi->ca_guid));
More information about the ofw
mailing list