[ofw] [PATCH] [RFC] mlx4: install under the InfiniBandHca class

Hefty, Sean sean.hefty at intel.com
Tue Aug 12 15:36:17 PDT 2008


The mlx4 hca driver should install as an InfiniBandHca class driver,
rather than inventing its own class.  This allows filter drivers to
reside above both the mthca and mlx4 drivers.

Signed-off-by: Sean Hefty <sean.hefty at intel.com>
---
I use the same class name and GUID used by the mthca driver.

Index: mlx4_hca.inx
===================================================================
--- mlx4_hca.inx        (revision 1474)
+++ mlx4_hca.inx        (working copy)
@@ -3,8 +3,8 @@

 [Version]
 Signature="$WINDOWS NT$"
-Class=Mlx4Hca
-ClassGUID={31B0B28A-26FF-4dca-A6FA-E767C7DFBA20}
+Class=InfiniBandHca
+ClassGUID={58517E00-D3CF-40c9-A679-CEE5752F4491}
 Provider=%MTL%
 ; must be synchronized with hca\drv.c
 DriverVer=02/01/2008,1.0.0.0
@@ -208,7 +208,7 @@
 ;*****************************************

 [Strings]
-Mlx4HcaClassGuid = "{31B0B28A-26FF-4dca-A6FA-E767C7DFBA20}"
+Mlx4HcaClassGuid = "{58517E00-D3CF-40c9-A679-CEE5752F4491}"
 MTL="Mellanox Technologies Ltd."
 MLX4HCA.ServiceDesc = "Mellanox ConnectX Virtual Infiband Driver"
 Mlx4_Hca.DeviceDesc="Mellanox ConnectX Virtual Channel Adapter"




More information about the ofw mailing list