linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: linuxppc-2.5 fixlets
@ 2003-08-23 14:30 Ernst Persson
  2003-08-24  7:09 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 12+ messages in thread
From: Ernst Persson @ 2003-08-23 14:30 UTC (permalink / raw)
  To: linuxppc-dev


>> Alsa does not seem to produce any sound, whatever I try to do
>> (including messing around with mute), and dmasound doesn't compile at
>> all.
>>
>> Used kernel is 2.6.0-test3, via rsync from
>> source.mvista.com::linuxppc-2.5, as of around 10AM CET (8AM UTC).
>
>Typically enough, I was just pointed to a fix for this problem (for
>alsa) a few minutes after sending this mail.
>
>According to
>http://www.ussg.iu.edu/hypermail/linux/kernel/0308.2/0288.html
>reloading i2c-keywest after loading the alsa-modules initialised things
>so that demuting works. There's also a patch included.

I have something that sounds (no pun intended...) like exactly the same
problem with sound on my iMac, using the burgundy sound driver. Could it
be the same thing? I'll have to try to modify the patch for the burgundy
driver when I get home on friday.

//ernie

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linuxppc-2.5 fixlets
@ 2003-08-21 17:36 Michel Dänzer
  2003-08-21 17:49 ` Tom Rini
  2003-08-21 20:13 ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 12+ messages in thread
From: Michel Dänzer @ 2003-08-21 17:36 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 885 bytes --]


First of all, export flush_tlb_page, which is needed by ext3 and SCSI
modules.

Then, thanks to the great new build system, some warnings stood out:

Fix 'comparison is always false due to limited range of data type' in
net/sched/estimator.c by changing char to signed char.

I'm not sure how to fix the same warning in drivers/ide/ppc/pmac.c
though:

if (drive->waiting_for_dma >= DMA_WAIT_TIMEOUT) {

DMA_WAIT_TIMEOUT is 500, but drive->waiting_for_dma is a u8.

Finally, fix

drivers/usb/misc/usbtest.c:438: warning: passing arg 1 of `__swab32s'
from incompatible pointer type

by using le16_to_cpus instead of le32_to_cpus .


PS: I guess Ben's PM fixes haven't made it into linuxppc-2.5 yet? The
display is garbled after sleep.

--
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=daenzer

[-- Attachment #2: linuxppc-2.5.diff --]
[-- Type: text/plain, Size: 1260 bytes --]

--- linuxppc-2.6.0-test3/arch/ppc/kernel/ppc_ksyms.c	2003-08-20 10:27:35.000000000 +0200
+++ linuxppc-2.6.0-test3-md/arch/ppc/kernel/ppc_ksyms.c	2003-08-21 13:16:55.000000000 +0200
@@ -204,6 +204,7 @@ EXPORT_SYMBOL(flush_dcache_range);
 EXPORT_SYMBOL(flush_icache_user_range);
 EXPORT_SYMBOL(flush_dcache_page);
 EXPORT_SYMBOL(flush_tlb_kernel_range);
+EXPORT_SYMBOL(flush_tlb_page);
 #ifdef CONFIG_ALTIVEC
 EXPORT_SYMBOL(last_task_used_altivec);
 EXPORT_SYMBOL(giveup_altivec);
--- linuxppc-2.6.0-test3/drivers/usb/misc/usbtest.c	2003-08-20 10:27:43.000000000 +0200
+++ linuxppc-2.6.0-test3-md/drivers/usb/misc/usbtest.c	2003-08-21 17:34:01.000000000 +0200
@@ -435,7 +435,7 @@ static int is_good_config (char *buf, in
 		return 0;
 	}

-	le32_to_cpus (&config->wTotalLength);
+	le16_to_cpus (&config->wTotalLength);
 	if (config->wTotalLength == len)		/* read it all */
 		return 1;
 	return config->wTotalLength >= TBUF_SIZE;	/* max partial read */
--- linuxppc-2.6.0-test3/include/linux/pkt_sched.h	2003-08-20 10:26:48.000000000 +0200
+++ linuxppc-2.6.0-test3-md/include/linux/pkt_sched.h	2003-08-21 17:02:55.000000000 +0200
@@ -45,7 +45,7 @@ struct tc_stats

 struct tc_estimator
 {
-	char		interval;
+	signed char	interval;
 	unsigned char	ewma_log;
 };


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-08-24  7:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-23 14:30 linuxppc-2.5 fixlets Ernst Persson
2003-08-24  7:09 ` Benjamin Herrenschmidt
  -- strict thread matches above, loose matches on Subject: below --
2003-08-21 17:36 Michel Dänzer
2003-08-21 17:49 ` Tom Rini
2003-08-21 20:13 ` Benjamin Herrenschmidt
2003-08-22 11:39   ` Stefan Berndtsson
2003-08-22 11:57     ` Stefan Berndtsson
2003-08-22 11:58     ` Benjamin Herrenschmidt
2003-08-22 12:46     ` Giuliano Pochini
2003-08-22 12:55       ` Benjamin Herrenschmidt
2003-08-22 16:18         ` Giuliano Pochini
2003-08-22 16:34           ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).