Skip to contentSkip to conversation

Linux 2.4.10-ac10

DISCUSSION willy tarreau 2 participants 2 messages Oct 10, 2001

lore
Share & tools
lore
#0 lore raw

Adrian,

I think this simple patch should solve your problem. It may have
been a simple thinko replacing check_region with request_region.

Cheers,
Willy

--- linux/drivers/sound/ad1816.c Wed Oct 10
11:15:53 2001
+++ linux/drivers/sound/ad1816.c Wed Oct 10
11:16:12 2001
@@ -1015,7 +1015,7 @@

               options,
               isa_dma_bridge_buggy);

- if (request_region(io_base, 16, "AD1816
Sound")) {
+ if (!request_region(io_base, 16, "AD1816
Sound")) {
printk(KERN_WARNING "ad1816: I/O port
0x%03x not free\n",

                                    io_base);
                goto err;

___________________________________________________________
Un nouveau Nokia Game commence.
Allez sur http://fr.yahoo.com/nokiagame avant le 3 novembre pour participer à cette aventure tous médias.

#1 lore raw
Quoted 24 lines · willy tarreau

Adrian,

I think this simple patch should solve your problem. It may have
been a simple thinko replacing check_region with request_region.

Cheers,
Willy

--- linux/drivers/sound/ad1816.c Wed Oct 10
11:15:53 2001
+++ linux/drivers/sound/ad1816.c Wed Oct 10
11:16:12 2001

(quoted diff) +1 -1
@@ -1015,7 +1015,7 @@
               options,
               isa_dma_bridge_buggy);
 
-       if (request_region(io_base, 16, "AD1816
 Sound")) {
+       if (!request_region(io_base, 16, "AD1816
 Sound")) {
                printk(KERN_WARNING "ad1816: I/O port

0x%03x not free\n",

Quoted 2 lines
                                    io_base);
                goto err;

Thanks, this fixed my problem!

cu
Adrian

Signature · 3 lines
Get my GPG key: finger [email protected] | gpg --import

Fingerprint: B29C E71E FE19 6755 5C8A  84D4 99FC EA98 4F12 B400