summaryrefslogtreecommitdiffstats
path: root/src/drivers/infiniband/mlx_utils_flexboot/include
diff options
context:
space:
mode:
authorRaed Salem2016-12-08 10:01:51 +0100
committerMichael Brown2016-12-08 10:35:52 +0100
commit26050fd4c87c50503d5bd573b2ec91703676e211 (patch)
tree51dac8a878d188803b1d76d7a0f150656f466ed3 /src/drivers/infiniband/mlx_utils_flexboot/include
parent[efi] Work around temporal anomaly encountered during ExitBootServices() (diff)
downloadipxe-26050fd4c87c50503d5bd573b2ec91703676e211.tar.gz
ipxe-26050fd4c87c50503d5bd573b2ec91703676e211.tar.xz
ipxe-26050fd4c87c50503d5bd573b2ec91703676e211.zip
[golan] Update Connect-IB, ConnectX-4 and ConnectX-4 Lx (Infiniband) support
Updates: - Nodnic: Support for arm cq doorbell via the UAR BAR - Ensure hardware is quiescent when no interface is open - WinPE WA - Support for clear interrupt via BAR - Nodnic: Support for send TX doorbells via the UAR BAR - Added ConnectX-5EX device - Added ConnectX-5 device Signed-off-by: Raed Salem <raeds@mellanox.com> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband/mlx_utils_flexboot/include')
-rw-r--r--src/drivers/infiniband/mlx_utils_flexboot/include/mlx_logging_priv.h5
-rw-r--r--src/drivers/infiniband/mlx_utils_flexboot/include/mlx_types_priv.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/drivers/infiniband/mlx_utils_flexboot/include/mlx_logging_priv.h b/src/drivers/infiniband/mlx_utils_flexboot/include/mlx_logging_priv.h
index af7e86f44..3acc1d9d8 100644
--- a/src/drivers/infiniband/mlx_utils_flexboot/include/mlx_logging_priv.h
+++ b/src/drivers/infiniband/mlx_utils_flexboot/include/mlx_logging_priv.h
@@ -12,8 +12,8 @@
#include <compiler.h>
#define MLX_DEBUG_FATAL_ERROR_PRIVATE(...) do { \
- DBG("%s: ",__func__); \
- DBG(__VA_ARGS__); \
+ printf("%s: ",__func__); \
+ printf(__VA_ARGS__); \
} while ( 0 )
#define MLX_DEBUG_ERROR_PRIVATE(id, ...) do { \
@@ -56,6 +56,7 @@
DBG2(__VA_ARGS__); \
} while ( 0 )
+#define MLX_PRINT_PRIVATE(...) printf(__VA_ARGS__)
#endif /* STUB_MLXUTILS_INCLUDE_PRIVATE_FLEXBOOT_DEBUG_H_ */
diff --git a/src/drivers/infiniband/mlx_utils_flexboot/include/mlx_types_priv.h b/src/drivers/infiniband/mlx_utils_flexboot/include/mlx_types_priv.h
index feaeae679..fe0d5c056 100644
--- a/src/drivers/infiniband/mlx_utils_flexboot/include/mlx_types_priv.h
+++ b/src/drivers/infiniband/mlx_utils_flexboot/include/mlx_types_priv.h
@@ -33,7 +33,7 @@ typedef uint8_t mlx_uint8;
typedef uint16_t mlx_uint16;
typedef uint32_t mlx_uint32;
typedef uint64_t mlx_uint64;
-typedef uint32_t mlx_uintn;
+typedef unsigned long mlx_uintn;
typedef int8_t mlx_int8;
typedef int16_t mlx_int16;;