lkml.org 
[lkml]   [2002]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: What? Clock Slowdown Again?
Eric Gillespie <viking@flying-brick.caverock.net.nz> :
[...]
> Also, what are the plans for replacing the virt_to_bus / bus_to_virt
> functions? The sourcecode basically says to use pci_map functions, but, being
> almost a kernel illiterate (I know how to compile, apply patches, and not much
> else) I don't know how to get started on converting. I thought that
> pci_resource_{start,end,len} may also be needed too. Am I right?

Look at Documentation/DMA-mapping.txt, section "Types of DMA mappings"
Read it again from the start. If you aren't familiar with PCI,
http://ww.google.com/search?hl=en&q=PCI+dual+address+cycle+explanation may
help. Then look at drivers/net/{epic/eepro100/3c59x}.c and grep for the
functions quoted in DMA-mapping.txt. After that, glue all the pieces in
your head.

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

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