[openfabrics-ewg] [PATCH] ehca backport openib_dma_addr_t_ofed_1.1_to_2_6_9.patch

Hoang-Nam Nguyen HNGUYEN at de.ibm.com
Tue Sep 19 04:54:33 PDT 2006


> > > Can we just do
> > > #define dma_map dma64_map
> > Sure. We can do that as newer kernels map dma_addr_t to u32 resp u64.
> Hmm. Which kernels do that?
Kernel 2.6.15 in include/asm-powerpc/types.h
#ifdef __powerpc64__
typedef u64 dma_addr_t;
#else
typedef u32 dma_addr_t;
#endif
typedef u64 dma64_addr_t;

> Let's see the patch with #defines then. If it's small, maybe we can apply
it
> if ehca is enabled only, so at least there will be a work-around
> if it breaks things.
This would be a good compromise, but I've wait for your answer of another
thread if this 2.6.9 patch could be included in OFED-1.1 for ehca.

Nam Nguyen





More information about the ewg mailing list