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

Re: failed to build sid latest alsa modules for powermac



Eric,
   I already submitted a bug report (141114) with the following patch...
-------------------------------------------------------------------------------
diff -uNr alsa-driver-0.9+0beta12-1/alsa-kernel/ppc/awacs.c alsa-driver-0.9+0beta12-1.new/alsa-kernel/ppc/awacs.c
--- alsa-driver-0.9+0beta12-1/alsa-kernel/ppc/awacs.c	Thu Feb 14 12:40:34 2002+++ alsa-driver-0.9+0beta12-1.new/alsa-kernel/ppc/awacs.c	Wed Apr  3 20:27:47 2002
@@ -24,6 +24,7 @@
 #include <sound/driver.h>
 #include <asm/io.h>
 #include <linux/init.h>
+#include <linux/delay.h>
 #include <sound/core.h>
 #include "pmac.h"
 
diff -uNr alsa-driver-0.9+0beta12-1/alsa-kernel/ppc/keywest.c alsa-driver-0.9+0beta12-1.new/alsa-kernel/ppc/keywest.c
--- alsa-driver-0.9+0beta12-1/alsa-kernel/ppc/keywest.c	Mon Feb 25 06:50:13 2002+++ alsa-driver-0.9+0beta12-1.new/alsa-kernel/ppc/keywest.c	Wed Apr  3 20:27:04 2002
@@ -26,6 +26,7 @@
 #define __NO_VERSION__
 #include <sound/driver.h>
 #include <linux/init.h>
+#include <linux/delay.h>
 #include <sound/core.h>
 #include "pmac.h"
 
diff -uNr alsa-driver-0.9+0beta12-1/alsa-kernel/ppc/pmac.c alsa-driver-0.9+0beta12-1.new/alsa-kernel/ppc/pmac.c
--- alsa-driver-0.9+0beta12-1/alsa-kernel/ppc/pmac.c	Thu Feb 14 12:40:34 2002+++ alsa-driver-0.9+0beta12-1.new/alsa-kernel/ppc/pmac.c	Wed Apr  3 20:26:13 2002
@@ -1307,7 +1307,7 @@
 	unsigned long flags;
 	snd_card_t *card = chip->card;
 
-	snd_power_lock(card, can_schedule);
+	snd_power_lock(card);
 	if (card->power_state == SNDRV_CTL_POWER_D3hot)
 		goto __skip;
 
@@ -1331,7 +1331,7 @@
 {
 	snd_card_t *card = chip->card;
 
-	snd_power_lock(card, can_schedule);
+	snd_power_lock(card);
 	if (card->power_state == SNDRV_CTL_POWER_D0)
 		goto __skip;
 
-----------------------------------------------------------------------------
This allows alsa 0.9beta12's powermac module to build and work fine.
Oh, note that they have changed the sound driver name from snd-card-pmac
in beta10 to snd-powermac in beta12 so you'll have to edit your modutils
arch file and update-modutils.
                      Jack


-- 
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: