lkml.org 
[lkml]   [2000]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] isapnp fixes against 2.4.0-testX
This patch fixes issues with freeing some isapnp ressources
with current kernels.

Christoph

--
Always remember that you are unique. Just like everyone else.

--- linux/drivers/pnp/isapnp.c~ Mon Mar 20 03:19:22 2000
+++ linux/drivers/pnp/isapnp.c Wed Jun 21 15:40:00 2000
@@ -2067,10 +2067,12 @@
static void isapnp_free_all_resources(void)
{
#ifdef ISAPNP_REGION_OK
+ if (pidxr_res)
release_resource(pidxr_res);
#endif
+ if (pnpwrp_res)
release_resource(pnpwrp_res);
- if (isapnp_rdp >= 0x203 && isapnp_rdp <= 0x3ff)
+ if (isapnp_rdp >= 0x203 && isapnp_rdp <= 0x3ff && isapnp_rdp_res)
release_resource(isapnp_rdp_res);
#ifdef MODULE
#ifdef CONFIG_PROC_FS

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

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.031 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site