DMA changes in 2.3.41 - how the f* do I get this working on ARM?

David S. Miller davem en redhat.com
Lun Ene 31 09:32:33 CST 2000


   From: Jes Sorensen <Jes.Sorensen en cern.ch>
   Date: 31 Jan 2000 11:02:28 +0100

   The place where this is a real problem is in drivers where data is
   shared between the adapter and the host CPU, for instance the
   53c7xx driver. On the m68k we currently use a
   kernel_set_cachemode() function to change the caching of the page
   allocated for the shared structures, but thats a pretty non
   portable way of doing it. I would like to see something a
   get_free_cachecoherent_page() interface instead, what do you think
   of that?

Sounds like pci_alloc_consistent()

Go read the document and check out the interfaces, I believe
you'll be pleasantly surprised :-)

Later,
David S. Miller
davem en redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda