Messages in this thread Patch in this message | | | Date | Tue, 25 Jul 2000 10:28:15 +0200 | From | Christoph Hellwig <> | 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/
| |