Re: Linux 2.4.10-ac10

Adrian Bunk (bunk@fs.tum.de)
Wed, 10 Oct 2001 11:30:25 +0200 (CEST)


On Wed, 10 Oct 2001, willy tarreau wrote:

> 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;

Thanks, this fixed my problem!

cu
Adrian

-- 

Get my GPG key: finger bunk@debian.org | gpg --import

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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/