Re: kmap for dma buffer

2000-10-13 Thread Alan Cox
> For dma transfers to/from user space buffer, one need to lock that user > space buffer so that it won't be swaped out. and also > its bus address is obtained by call virt_to_bus and then this bus address > is written to dma controller. Thats what the kiovecs deal with yes > but do we

Re: kmap for dma buffer

2000-10-13 Thread Alan Cox
For dma transfers to/from user space buffer, one need to lock that user space buffer so that it won't be swaped out. and also its bus address is obtained by call virt_to_bus and then this bus address is written to dma controller. Thats what the kiovecs deal with yes but do we explicitly

kmap for dma buffer

2000-10-12 Thread aprasad
hi all, For dma transfers to/from user space buffer, one need to lock that user space buffer so that it won't be swaped out. and also its bus address is obtained by call virt_to_bus and then this bus address is written to dma controller. but do we explicitly need to map that user buffer into

kmap for dma buffer

2000-10-12 Thread aprasad
hi all, For dma transfers to/from user space buffer, one need to lock that user space buffer so that it won't be swaped out. and also its bus address is obtained by call virt_to_bus and then this bus address is written to dma controller. but do we explicitly need to map that user buffer into