[PATCH][2.5.69][ISAPNP] Remove deprecated __check_region

From: Bongani Hlope (bonganilinux@mweb.co.za)
Date: Tue May 06 2003 - 16:17:25 EST


Hi Jaroslav

You are listed as the maintainer of the ISAPNP code in the Maintainers file.
Could you verify if this patch is fine and forward it to Linus. The patch
has been test for compilation.

Thanx

        -- Bongani

--- linux-2.5/drivers/pnp/isapnp/core.c.orig 2003-05-06 22:52:20.000000000 +0200
+++ linux-2.5/drivers/pnp/isapnp/core.c 2003-05-06 23:11:13.000000000 +0200
@@ -262,7 +262,7 @@
                 * We cannot use NE2000 probe spaces for ISAPnP or we
                 * will lock up machines.
                 */
- if ((rdp < 0x280 || rdp > 0x380) && !check_region(rdp, 1))
+ if ((rdp < 0x280 || rdp > 0x380) && request_region(rdp, 1, "isapnp"))
                {
                        isapnp_rdp = rdp;
                        return 0;



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



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:28 EST