__pa giving strange phys address on PPC
dibacco at libero.it
dibacco at libero.it
Thu Jan 8 07:59:36 EST 2009
Hi all,
I'm using a linux 2.6.19 (from Denx ELDK) on a PPC MPC880. In a driver (that uses TDM channels) I have some calls to __pa to get the physical address corresponding to a virtual address. The physical address returned by __pa is higher than the maximum physical memory I have on the board. This result make my driver hang. The driver I'm trying to use was written for a 2.4 kernel and I'm wondering if I have to replace the calls to __pa with some other API/MACRO.
Thank you in advance.
More information about the Linuxppc-dev
mailing list