Skip to contentSkip to conversation

2.5.4, cs46xx snd, and virt_to_bus

DISCUSSION Tom Gall 2 participants 2 messages Feb 11, 2002

lore
Share & tools
lore

Tom Gall

author
#0 lore raw

Hi All,

Well forgive me for not being up on the lastest news but from building
2.5.4 kernel for my box, which uses the cs46xx.c sound driver, it would appear that virt_to_bus and bus_to_virt has gone the way of the do-do.

What's the correct method now?

Be nice to get this cleaned up....

Regards,

Tom

Signature · 7 lines
Tom Gall - [embedded] [PPC64 | PPC32] Code Monkey
Peace, Love &                  "Where's the ka-boom? There was
Linux Technology Center         supposed to be an earth
http://www.ibm.com/linux/ltc/   shattering ka-boom!"
(w) [email protected]       -- Marvin Martian
(w) 507-253-4558
(h) [email protected]
#1 lore raw
Quoted 3 lines

Well forgive me for not being up on the lastest news but from building
2.5.4 kernel for my box, which uses the cs46xx.c sound driver, it would appear that virt_to_bus and bus_to_virt has gone the way of the do-do.

You need to switch to using pci_alloc_consistet, pci_map_* and friends. Its been the case for a while that drivers should be using the PCI api, and its needed on some non x86 platforms - now its enforced for 2.5