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

Bongani Hlope (bonganilinux@mweb.co.za)
Tue, 6 May 2003 23:17:25 +0200


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-6694-1052255969-0001-2
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

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;

--=_courier-6694-1052255969-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+uCZx+pvEqv8+FEMRAmjpAJ4qr4gqzyiZmyX57s4dMoSoBUSfRwCdEXAD
etZQfYmV4x0js27GyGm3jm4=
=ZVQh
-----END PGP SIGNATURE-----

--=_courier-6694-1052255969-0001-2--