lkml.org 
[lkml]   [2002]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: how to migrate these drivers?
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/

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