linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Kmalloc returns which address
@ 2007-07-16 13:59 suresh suresh
  2007-07-16 15:46 ` Scott Wood
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: suresh suresh @ 2007-07-16 13:59 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

Hi,

I am porting MPC8280 driver from vxWorks to Linux.

I want know the address return by kmalloc function? is it physical address
or kernel virtual address.

For Tx and Rx, hardware uses buffers, so I have to allocate buffers and pass
the pointer to hardware. Can I pass the pointer returned kmalloc?  or  I
should convert it into physical address?

If it returns kernel virtual address, then how to convert into physical?

Thanks & Regards-
Suresh

[-- Attachment #2: Type: text/html, Size: 514 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-07-24  7:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-16 13:59 Kmalloc returns which address suresh suresh
2007-07-16 15:46 ` Scott Wood
2007-07-23  3:47   ` Misbah khan
2007-07-23 18:35     ` Scott Wood
2007-07-24  7:03   ` Misbah khan
2007-07-20 10:52 ` Misbah khan
2007-07-20 16:58   ` Scott Wood
2007-07-20 12:13 ` Alessandro Rubini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).