lkml.org 
[lkml]   [1998]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Accessing MMIO PCI space - crossplatform
Date
From
Jamie Lokier wrote:
> > d) phys_to_virt, bus_to_virt should be removed, it cannot be done
> > in linear time (I'm not aware of such solution (on ia32)) and
> > ioremap is already here and should be used instead of this one-time
> > translation) (or explicitly say that for shared (adaptor) memory
> > it cannot be used)
>
> I agree completely.
>
> Remove phys_to_virt: it does not make sense.

Some PCI controllers are able to create linked lists in memory. You
give them some memory to work with, and they manage the memory in that
area. If you walk that list and have found a pointer to a data-area,
you will need to dereference that physical address.

Roger.

--
| Most people would die sooner than think.... | R.E.Wolff@BitWizard.nl
| in fact, most do. -- Bertrand Russsell | phone: +31-15-2137555
We write Linux device drivers for any device you may have! fax: ..-2138217

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.080 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site