* Compiling ALSA with 2.5.7
@ 2002-04-16 15:35 Downing, Thomas
2002-04-16 16:00 ` Takashi Iwai
2002-04-16 16:02 ` Alan Cox
0 siblings, 2 replies; 3+ messages in thread
From: Downing, Thomas @ 2002-04-16 15:35 UTC (permalink / raw)
To: linux-kernel
If this is off-topic, my apologies.
I am unable to build ALSA for 2.5.7 on i386. The problem is that
the ALSA code uses a function virt_to_bus( ). This is #defined in
asm/io.h as virt_to_bus_not_defined_use_pci_map( ). So there is
an unresolved external.
The correct replacement of virt_to_bus( ) to pci_map_*( ) is not
obvious to a newbie from a look at pci.h.
Am I missing something? I think I must be. So , is there
a kernel config option that needs to be set/unset, or is there
a patch I should get?
BTW I tried building 2.5.8, but that failed spectacularly in other
areas not related to ALSA... Hmmmm, I've never had kernel build
problems before, I must be regressing!
thanks
td
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiling ALSA with 2.5.7
2002-04-16 15:35 Compiling ALSA with 2.5.7 Downing, Thomas
@ 2002-04-16 16:00 ` Takashi Iwai
2002-04-16 16:02 ` Alan Cox
1 sibling, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2002-04-16 16:00 UTC (permalink / raw)
To: Downing, Thomas; +Cc: linux-kernel
At Tue, 16 Apr 2002 11:35:17 -0400,
Downing, Thomas <Thomas.Downing@ipc.com> wrote:
>
> If this is off-topic, my apologies.
>
> I am unable to build ALSA for 2.5.7 on i386. The problem is that
> the ALSA code uses a function virt_to_bus( ). This is #defined in
> asm/io.h as virt_to_bus_not_defined_use_pci_map( ). So there is
> an unresolved external.
is include/asm correctly symlinked to asm-i386?
all ALSA drivers (except for rme9652-mem and ppc ones) don't use
virt_to_bus() any more.
Takashi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiling ALSA with 2.5.7
2002-04-16 15:35 Compiling ALSA with 2.5.7 Downing, Thomas
2002-04-16 16:00 ` Takashi Iwai
@ 2002-04-16 16:02 ` Alan Cox
1 sibling, 0 replies; 3+ messages in thread
From: Alan Cox @ 2002-04-16 16:02 UTC (permalink / raw)
To: Downing, Thomas; +Cc: linux-kernel
> The correct replacement of virt_to_bus( ) to pci_map_*( ) is not
> obvious to a newbie from a look at pci.h.
Have a look at the DMA-Mapping.txt documentation file. Its not a trivial
replacement but its maybe one to have a go at.
Alan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-04-16 16:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-16 15:35 Compiling ALSA with 2.5.7 Downing, Thomas
2002-04-16 16:00 ` Takashi Iwai
2002-04-16 16:02 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).