Is emu10k1 broken in ppc ?

Ken Moffat ken at kenmoffat.uklinux.net
Fri Mar 4 12:01:40 EST 2005


 First noticed this earlier this week, trying to upgrade my iBook from
2.6.8 to 2.6.11-rc5, using a debian config.  At that point, it didn't
seem important to me.  Bit me again tonight when I tried to get my
AmigaOne up to 2.6.10 from 2.6.9 using my existing config.  The case
labels are SNDRV_EMU10K1_CODE_POKE and SNDRV_EMU10K1_CODE_PEEK, neither
the header nor the code changed between 2.6.9 and 2.6.10.

sound/pci/emu10k1/emufx.c: In function `snd_emu10k1_fx8010_ioctl':
sound/pci/emu10k1/emufx.c:2055: error: case label does not reduce to an integer constant
sound/pci/emu10k1/emufx.c:2068: error: case label does not reduce to an integer constant
make[3]: *** [sound/pci/emu10k1/emufx.o] Error 1
make[2]: *** [sound/pci/emu10k1] Error 2
make[1]: *** [sound/pci] Error 2
make: *** [sound] Error 2

Any clues, please ?  Definitions from emu10k1.h are

#define SNDRV_EMU10K1_IOCTL_CODE_POKE	_IOW ('H', 0x11, emu10k1_fx8010_code_t)
#define SNDRV_EMU10K1_IOCTL_CODE_PEEK	_IOWR('H', 0x12, emu10k1_fx8010_code_t)

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce




More information about the Linuxppc-dev mailing list