[ofw][patch] [IPOIB] Setting GUIDMask to be non-required parameter

Alex Naslednikov xalex at mellanox.co.il
Sun Nov 2 07:47:22 PST 2008


Index: ipoib_driver.c
===================================================================
--- ipoib_driver.c	(revision 3373)
+++ ipoib_driver.c	(working copy)
@@ -150,7 +150,7 @@
 
 IPOIB_REG_ENTRY HCARegTable[] = {
 	// reg value name             If Required  Offset in parentr
struct             Field size                  Default         Min
Max
-	{NDIS_STRING_CONST("GUIDMask"),         1,
IPOIB_OFFSET(guid_mask),             IPOIB_SIZE(guid_mask),          0,
0,    MAX_GUID_MAX},
+	{NDIS_STRING_CONST("GUIDMask"),         0,
IPOIB_OFFSET(guid_mask),             IPOIB_SIZE(guid_mask),          0,
0,    MAX_GUID_MAX},
 	/* GUIDMask should be the first element */
 	{NDIS_STRING_CONST("RqDepth"),          1,
IPOIB_OFFSET(rq_depth),              IPOIB_SIZE(rq_depth),
512,        128,    1024},
 	{NDIS_STRING_CONST("RqLowWatermark"),   0,
IPOIB_OFFSET(rq_low_watermark),      IPOIB_SIZE(rq_low_watermark),   4,
2,      8}, 



XaleX



More information about the ofw mailing list