lkml.org 
[lkml]   [2000]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: DMA changes in 2.3.41 - how the f* do I get this working on ARM?
   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/

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