[lkml]   [1998]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectPC Speaker driver in 2.1.88
I just had my first crash due to the PC Speaker driver for months - my fix for 
it is included in
which is (obviously) against 2.1.88, but should apply to just about anything
since 2.1.6x AFAICR.

If you've already installed the PC Speaker driver, just apply the one-liner

This applies to all 2.1 kernels - the bug only shows up in certain memory
layouts, and didn't happen to me until today.

Other than this minor aberration, this driver has now been rock solid in my SMP
system and numerous UP systems that I maintain for a long time. Could it go
into the distribution kernel, please?

--- linux2/drivers/pcsnd/pcsp_stub.c Sat Feb 21 16:21:54 1998
+++ linux/drivers/pcsnd/pcsp_stub.c Sat Feb 21 15:43:49 1998
@@ -154,7 +154,7 @@
__initfunc(static int pcsp_test_speed(void))
int worst, worst1, best, best1;
- unsigned char test_buffer[32];
+ unsigned char test_buffer[256];

worst = pcsp_measurement(test_buffer, 0);
worst1 = pcsp_measurement(test_buffer, 0);

---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
finger for PGP key.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to

 \ /
  Last update: 2005-03-22 13:41    [W:0.023 / U:2.804 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site