[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ALSA Driver for Sparc DBRI chips



Am Samstag, 11. Dezember 2004 19:59 schrieb Martin Habets:
> I hope to work on a sparc32 tomorrow here, so hopefully I'll be able to
> report on that.
> Hmm, maybe we need a way that a global Linux traveller can get access to
> some
> local hardware to work on...

Hi, it's quite some time ago and kernel-headers-2.4-sparc32 with version 
2.4.27-2 fixes the asm_offsets.h problem :)

However, _all_ ALSA drivers in alsa-driver/alsa-kernel/sparc/ do not include 
linux/modversions.h.
After including that file, they compile with the debian kernel and its 
kernel-headers package.
However, I still get a warning for every dprintk in the dbri code:
gcc-3.3 -D__KERNEL__ -DMODULE=1 -I/usr/src/modules/alsa-driver/include  
-I/usr/src/kernel-headers-2.4.27-2-sparc32/include 
-I/usr/src/kernel-headers-2.4.27-2-sparc32/include -O2 -m32 -mno-fpu 
-fcall-used-g5 -fcall-used-g7 -DLINUX -Wall -Wstrict-prototypes 
-fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-pipe -DALSA_BUILD -nostdinc -iwithprefix include  -DKBUILD_BASENAME=dbri   
-c -o dbri.o dbri.c
In file included from dbri.c:1:
../alsa-kernel/sparc/dbri.c:685:75: pasting "KERN_DEBUG" and ""cmd: %lx:
%08x\n"" does not give a valid preprocessing token
[...]

Since none of the other sound driver in the sparc subdir use dprintk, maybe it 
should be replaced?

Is the dbri driver going to be submitted to official ALSA?

HS



Reply to: