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

Re: ALSA Driver for Sparc DBRI chips



Am Mittwoch, 13. April 2005 15:48 schrieb Martin Habets:
> > 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
> > [...]
>
> Looks like the same error reported earlier. Do you have the patch from:
> http://lists.debian.org/debian-sparc/2004/11/msg00158.html

Oops, must have missed that one. It surely fixes the problem.
There is still the problem, that linux/modversions.h is not included in any of 
the sparc drivers.

> > Is the dbri driver going to be submitted to official ALSA?
>
> The driver is in ALSA 1.0.8 (part of alsa-driver). I don't expect ALSA
> 1.0.8 to ever be pulled back into the 2.4 kernels, but I could be wrong.

That's strange, I have the alsa-source-1.0.8-7 debian package installed and 
there is not dbri.c, neither does upstream alsa-driver-1.0.9rc2. It's also 
not at http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/sparc/
There's no problem in adding the files, though.

> Regarding your email address: I'll be in Karlsruhe next week for the
> LAC (http://lac.zkm.de/). Will you by any chance attend that too?

No, I probably won't have time for that. However, if you need some old sparc32 
equipment, I have some spare parts (for free :)

HS



Reply to: