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

From: David S. Miller (davem@redhat.com)
Date: Mon Jan 31 2000 - 05:09:37 EST


   From: Jes Sorensen <Jes.Sorensen@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@redhat.com

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



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:27 EST