mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* how to migrate these drivers?
@ 2002-02-26 22:54 Pau
  2002-02-27 17:00 ` Francois Romieu
  0 siblings, 1 reply; 2+ messages in thread
From: Pau @ 2002-02-26 22:54 UTC (permalink / raw)
  To: lkml


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?

Thanks

depmod: *** Unresolved symbols in 
/var/tmp/kernel-2.5.6pre1-root/lib/modules/2.5.6-pre1/kernel/drivers/media/video/bttv.o
depmod: 	virt_to_bus_not_defined_use_pci_map
depmod: *** Unresolved symbols in 
/var/tmp/kernel-2.5.6pre1-root/lib/modules/2.5.6-pre1/kernel/drivers/net/pcmcia/xircom_tulip_cb.o
depmod: 	bus_to_virt_not_defined_use_pci_map
depmod: 	virt_to_bus_not_defined_use_pci_map
depmod: *** Unresolved symbols in 
/var/tmp/kernel-2.5.6pre1-root/lib/modules/2.5.6-pre1/kernel/net/irda/irda.o
depmod: 	virt_to_bus_not_defined_use_pci_map
depmod: *** Unresolved symbols in 
/var/tmp/kernel-2.5.6pre1-root/lib/modules/2.5.6-pre1/kernel/sound/oss/maestro.o
depmod: 	virt_to_bus_not_defined_use_pci_map
depmod: *** Unresolved symbols in 
/var/tmp/kernel-2.5.6pre1-root/lib/modules/2.5.6-pre1/kernel/sound/oss/sound.o
depmod: 	virt_to_bus_not_defined_use_pci_map
make[1]: *** [_modinst_post] Error 1


Pau


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to migrate these drivers?
  2002-02-26 22:54 how to migrate these drivers? Pau
@ 2002-02-27 17:00 ` Francois Romieu
  0 siblings, 0 replies; 2+ messages in thread
From: Francois Romieu @ 2002-02-27 17:00 UTC (permalink / raw)
  To: Pau; +Cc: lkml

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-27 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-26 22:54 how to migrate these drivers? Pau
2002-02-27 17:00 ` Francois Romieu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®