Yes, but you always dereference it as a *kernel virtual* address.
I.e., "virt" not "phys".
If the pointer was created by the controller, then it's a "bus" address.
If the pointer was created by the kernel (e.g. address of a preallocated
data area), then it's a "virt" address.
So you either need bus_to_virt(ptr) or just ptr.
"phys" type addresses are only used for page tables. And even when
hand-translating a page table, pte_page(x) returns a "virt" address.
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/