lkml.org 
[lkml]   [1998]   [Mar]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From(Alan Cox)
SubjectPAS16 bug fix (diff included)
DateSat, 21 Mar 1998 08:59:15 +0000 (GMT)
> This isn't really a problem but more a cosmetic item.  In 2.1.90 my PAS16
> sound card is being reported as <NULL>.  Here have a look:

Oops. Yep I sent that one Linus in the PnP diff he rejected, and I told him
was only the PnP stuff - my fault. I've included it at the bottom of the
message and I'll merge it to the vger cvs when my modem RX light goes out
for a couple of seconds ;)

> It's on IRQ 5 and works fine with anything i feed it.  It's compiled
> directly in the kernel since I have never gotten the module to work
> properly.

It should be otherwise ok then. The modular one with that bug crashes the
box shortly after unload. Patch at the bottom . Linus can you apply this one


diff -u --new-file --recursive --exclude-from exclude linux.vanilla/drivers/sound/pas2_card.c linux/drivers/sound/pas2_card.c
--- linux.vanilla/drivers/sound/pas2_card.c	Sun Mar 15 21:50:41 1998
+++ linux/drivers/sound/pas2_card.c	Sun Mar 15 17:57:43 1998
@@ -164,7 +164,7 @@
 		}
 		else
 		{
-			if (request_irq(pas_irq, pasintr, "PAS16", 0, NULL) < 0)
+			if (request_irq(pas_irq, pasintr, 0, "PAS16",NULL) < 0)
 				ok = 0;
 		}
 	}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008