Re: What? Clock Slowdown Again?

From: Francois Romieu (romieu@cogenit.fr)
Date: Sat Feb 16 2002 - 16:44:16 EST


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/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:12 EST