[ipoib] Changed the guid_mask to GUIDMask (as read from registry).
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 4 Nov 2008 13:56:49 +0000 (13:56 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 4 Nov 2008 13:56:49 +0000 (13:56 +0000)
        Setting GUIDMask to be non-required parameter.
Signed off by: xalex@mellanox.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1731 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib/kernel/ipoib_driver.c
ulp/ipoib/kernel/netipoib-xp32.inf
ulp/ipoib/kernel/netipoib.inx

index 8730f81..d88ee53 100644 (file)
@@ -150,7 +150,7 @@ typedef struct _IPOIB_REG_ENTRY
 \r
 IPOIB_REG_ENTRY HCARegTable[] = {\r
        // reg value name             If Required  Offset in parentr struct             Field size                  Default         Min     Max\r
-       {NDIS_STRING_CONST("GUIDMask"),         1, IPOIB_OFFSET(guid_mask),             IPOIB_SIZE(guid_mask),          0,          0,    MAX_GUID_MAX},\r
+       {NDIS_STRING_CONST("GUIDMask"),         0, IPOIB_OFFSET(guid_mask),             IPOIB_SIZE(guid_mask),          0,          0,    MAX_GUID_MAX},\r
        /* GUIDMask should be the first element */\r
        {NDIS_STRING_CONST("RqDepth"),          1, IPOIB_OFFSET(rq_depth),              IPOIB_SIZE(rq_depth),           512,        128,    1024},\r
        {NDIS_STRING_CONST("RqLowWatermark"),   0, IPOIB_OFFSET(rq_low_watermark),      IPOIB_SIZE(rq_low_watermark),   4,          2,      8},\r
index 2287e06..92f2114 100644 (file)
@@ -147,12 +147,12 @@ HKR, Ndi\Params\MCLeaveRescan,            Optional,       0, "0"
 HKR, Ndi\Params\MCLeaveRescan,         Min,            0, "1"\r
 HKR, Ndi\Params\MCLeaveRescan,         Max,            0, "3600"\r
 \r
-HKR, Ndi\Params\guid_mask,             ParamDesc,      0, %GUID_MASK_STR%\r
-HKR, Ndi\Params\guid_mask,             Type,           0, "dword"\r
-HKR, Ndi\Params\guid_mask,             Default,        0, "0"\r
-HKR, Ndi\Params\guid_mask,             Optional,       0, "0"\r
-HKR, Ndi\Params\guid_mask,             Min,            0, "0"\r
-HKR, Ndi\Params\guid_mask,             Max,            0, "252"\r
+HKR, Ndi\Params\GUIDMask,              ParamDesc,      0, %GUID_MASK_STR%\r
+HKR, Ndi\Params\GUIDMask,              Type,           0, "dword"\r
+HKR, Ndi\Params\GUIDMask,              Default,        0, "0"\r
+HKR, Ndi\Params\GUIDMask,              Optional,       0, "0"\r
+HKR, Ndi\Params\GUIDMask,              Min,            0, "0"\r
+HKR, Ndi\Params\GUIDMask,              Max,            0, "252"\r
 \r
 HKR, Ndi\Params\BCJoinRetry,           ParamDesc,      0, %BC_JOIN_RETRY_STR%\r
 HKR, Ndi\Params\BCJoinRetry,           Type,           0, "dword"\r
index 3a7638d..795a1b8 100644 (file)
@@ -150,12 +150,12 @@ HKR, Ndi\Params\MCLeaveRescan,            Optional,       0, "0"
 HKR, Ndi\Params\MCLeaveRescan,         Min,            0, "1"\r
 HKR, Ndi\Params\MCLeaveRescan,         Max,            0, "3600"\r
 \r
-HKR, Ndi\Params\guid_mask,             ParamDesc,      0, %GUID_MASK_STR%\r
-HKR, Ndi\Params\guid_mask,             Type,           0, "dword"\r
-HKR, Ndi\Params\guid_mask,             Default,        0, "0"\r
-HKR, Ndi\Params\guid_mask,             Optional,       0, "0"\r
-HKR, Ndi\Params\guid_mask,             Min,            0, "0"\r
-HKR, Ndi\Params\guid_mask,             Max,            0, "252"\r
+HKR, Ndi\Params\GUIDMask,              ParamDesc,      0, %GUID_MASK_STR%\r
+HKR, Ndi\Params\GUIDMask,              Type,           0, "dword"\r
+HKR, Ndi\Params\GUIDMask,              Default,        0, "0"\r
+HKR, Ndi\Params\GUIDMask,              Optional,       0, "0"\r
+HKR, Ndi\Params\GUIDMask,              Min,            0, "0"\r
+HKR, Ndi\Params\GUIDMask,              Max,            0, "252"\r
 \r
 HKR, Ndi\Params\BCJoinRetry,           ParamDesc,      0, %BC_JOIN_RETRY_STR%\r
 HKR, Ndi\Params\BCJoinRetry,           Type,           0, "dword"\r