Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 47236

Summary: in kernel 2.6.5 SNDRV_DMA_TYPE_PCI should be SNDRV_DMA_TYPE_DEV ...
Product: Gentoo Linux Reporter: Jeremy Huddleston (RETIRED) <eradicator>
Component: [OLD] Core systemAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED INVALID    
Severity: major CC: sound
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://bugzilla.kernel.org/show_bug.cgi?id=2474
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: linux-2.6.5-rc1.sndfix.patch
alsa-driver-1.0.4.devfix.patch

Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-08 09:46:20 UTC
See http://www.ussg.iu.edu/hypermail/linux/kernel/0403.2/0084.html and http://bugzilla.kernel.org/show_bug.cgi?id=2474

Fix: sed -i 's/SNDRV_DMA_TYPE_PCI/SNDRV_DMA_TYPE_DEV/g' include/sound/trident.h
sound/isa/cs423x/cs4231_lib.c sound/sparc/cs4231.c sound/parisc/harmony.c
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-08 09:48:14 UTC
oh, and just to clarify, this isn't sparc specific.  As you can see by the list of files, the ISA version of that card and a couple others are affected as well.
Comment 2 Ciaran McCreesh 2004-04-08 09:58:47 UTC
didn't weeve already fix this?
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-08 10:00:29 UTC
Created attachment 28903 [details, diff]
linux-2.6.5-rc1.sndfix.patch

This patch (submitted upstream) fixes the mentioned bug as well as fixes a
parse error in the sparc file.
Comment 4 Jason Wever (RETIRED) gentoo-dev 2004-04-08 10:02:06 UTC
Fixed post 2.6.4 release in the kernel.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-08 10:08:09 UTC
Created attachment 28904 [details, diff]
alsa-driver-1.0.4.devfix.patch

and for the record... this is the patch for alsa-driver-1.0.4 which I'll
incorporate into the next revbump.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-08 11:01:30 UTC
2.6.5 has the sparc file patched, but the others need it still, so you should probably include those in dev-sources