On May 10, 2005, at 7:17 AM, Pantelis Antoniou wrote: > This patch replace iopa use with virt_to_phys.
Not gonna work ..... When you map uncached on 8xx you get a new vmalloc() space. The virt_to_xxx macros don't work on those addresses. You need to use the dma_consistent() function, stash the real physical address it returns and then use it where appropriate. > + W32(ep, fen_genfcc.fcc_rbase, virt_to_phys(fep->rx_bd_base)); > + W32(ep, fen_genfcc.fcc_tbase, virt_to_phys(fep->tx_bd_base)); I thought you were getting rid of these weirdo macros and write normal code for data structure access? Please ..... Thanks. -- Dan