Dan, > > are threre any structs for IDMA in the recent kernel sources? > > No, they would be in 'commproc.h'. Again, just use a similar > method to all of the other device drivers for the CPM. There > is a standard BD structure that is part of all devices for > DMA purposes, and simply add the information needed by IDMA. Have you ever use IDMA? I think there is a significanct difference between SDMA and IDMA. The "standard BD structure" doesn't help much for IDMA, does it? So it's not that easy. I already had a look at enet.c... > Don't confuse "parameter ram" and IDMA buffer descriptors. If > you notice, the parameter ram is defined as the offset into the > appropriate pages of the CPM memory. This information for IDMA > is not currently defined in 'commproc.h' and you will need to do that. I don't. Thanks. > > I know Greg Johnson proposed some stuff > > last year. But they never made it into the linuxppc_2_4_devel, did they? > > I don't recall anyone sending a patch to do this. If they did, > I apologize for missing it and I'll look through the archives to > find it. It was in April last year! > > /* Buffer descriptors used by IDMA > > */ > > typedef struct idma_buf_desc { > > There you go, the IDMA buffer descriptor. Why didn't you just > edit commproc.h to include this, get it working, and send a patch :-)? I will! But since I found this message from Greg I thought it's already done. I'll attach what I have so far. It's basicly the patch sent by Greg. I am about to check all these defines again. Cheers, Steven