libibumad: add missing #defines to sync with linux
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 23 Jan 2009 21:42:19 +0000 (21:42 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 23 Jan 2009 21:42:19 +0000 (21:42 +0000)
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1868 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/libibumad/include/infiniband/umad.h

index 16adf8c..d4b1836 100644 (file)
@@ -55,7 +55,8 @@ typedef unsigned __int64      uint64_t;
 #define EINVAL         22\r
 #define ETIMEDOUT      110\r
 \r
-#define UMAD_ANY_PORT          1       // TODO: support this properly\r
+#define UMAD_MAX_DEVICES       20\r
+#define UMAD_ANY_PORT          0\r
 \r
 // Allow casting to WM_MAD_AV\r
 typedef struct ib_mad_addr\r