2003-05-06 21:05:30

by Bongani Hlope

[permalink] [raw]
Subject: [PATCH][2.5.69][ISAPNP] Remove deprecated __check_region

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;


Attachments:
(No filename) (189.00 B)