From: Adrian M. <ad...@mc...> - 2004-06-20 18:16:02
|
I am working on a rewrite of the Maple code in the Linux SH repository. I want the maple bus to query port on start up to determine which devices= are=20 initally attached. So I am building the various MAPLE_COMMAND_DEVINFO buf= fers=20 to send. Going along slowly, learning as I do it... But I am wondering what the code below (in the existing driver) does as I= have=20 to say my knowledge of DMA is shady =09for (i=3D0; i<(1<<MAPLE_DMA_PAGES); i++) =09=09=09dma_cache_wback_inv(maple_sendbuf+i*PAGE_SIZE, PAGE_SIZE); =09=09 Could someone fill me in? Thanks Adrian |