[PATCH] isapnp fixes against 2.4.0-testX

From: Christoph Hellwig (hch@caldera.de)
Date: Tue Jul 25 2000 - 03:28:15 EST


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/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:18 EST