Re: how to migrate these drivers?

Francois Romieu (romieu@cogenit.fr)
Wed, 27 Feb 2002 18:00:10 +0100


Pau <linuxnow@wanadoo.es> :
[...]
> I want to fix these drivers so that they compile in 2.5. Is anybody
> working on it? Any rule of the thumb to do it?

Read Documentation/DMA-mapping.txt, especially "Types of DMA mappings",
then figure how it's used in drivers/net/{3c59x,epic100,eepro100}.c for
example.
Side note: pci_{map/alloc}_xxx must be balanced to avoid leak -> a straight
search/replace virt_to_xxx/pci_map won't necessarily be enough.

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