diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | src/mthca.h | 11 |
4 files changed, 8 insertions, 14 deletions
@@ -1,3 +1,8 @@ +2005-09-07 Roland Dreier <roland@cisco.com> + + * src/mthca.h: Get rid of ntohll() and htonll() now that + libibverbs defines them in <infiniband/arch.h>. + 2005-08-31 Roland Dreier <roland@cisco.com> * src/memfree.c (mthca_free_db): When we free a doorbell record, diff --git a/configure.in b/configure.in index 568d98b..ce67f84 100644 --- a/configure.in +++ b/configure.in @@ -1,11 +1,11 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT(libmthca, 1.0-rc1, openib-general@openib.org) +AC_INIT(libmthca, 1.0-rc2, openib-general@openib.org) AC_CONFIG_SRCDIR([src/mthca.h]) AC_CONFIG_AUX_DIR(config) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(libmthca, 1.0-rc1) +AM_INIT_AUTOMAKE(libmthca, 1.0-rc2) AM_PROG_LIBTOOL dnl Checks for programs diff --git a/debian/changelog b/debian/changelog index 11997fc..6e4f8a9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -libmthca (1.0-rc1-1) unstable; urgency=low +libmthca (1.0-rc2-1) unstable; urgency=low * Initial Release. (Closes: #325753) diff --git a/src/mthca.h b/src/mthca.h index be6faf4..1d85d36 100644 --- a/src/mthca.h +++ b/src/mthca.h @@ -36,9 +36,6 @@ #ifndef MTHCA_H #define MTHCA_H -#include <endian.h> -#include <byteswap.h> - #include <infiniband/driver.h> #include <infiniband/arch.h> @@ -212,14 +209,6 @@ struct mthca_ah { uint32_t key; }; -#if __BYTE_ORDER == __LITTLE_ENDIAN -static inline uint64_t htonll(uint64_t x) { return bswap_64(x); } -static inline uint64_t ntohll(uint64_t x) { return bswap_64(x); } -#elif __BYTE_ORDER == __BIG_ENDIAN -static inline uint64_t htonll(uint64_t x) { return x; } -static inline uint64_t ntohll(uint64_t x) { return x; } -#endif - static inline unsigned long align(unsigned long val, unsigned long align) { return (val + align - 1) & ~(align - 1); |