Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Sun, 16 Nov 2003 00:26:20 +0000 | From | Adam Belay <> | Subject | [PATCH] PnP Fixes for 2.6.0-test9 |
| |
# -------------------------------------------- # 03/11/15 ambx1@neo.rr.com 1.1447 # [PnP] reserve resources specified by the PnPBIOS properly # # A bug prevents the PnP layer from reserving some of the resources # specified by the PnPBIOS. As a result some systems will have # unpredicable (random crashes etc.) problems because of resource # conflicts, especially when PCMCIA support is enabled. This patch # fixes the problem by ensuring that the proper resource data is # reserved. # -------------------------------------------- # diff -Nru a/drivers/pnp/system.c b/drivers/pnp/system.c --- a/drivers/pnp/system.c Sun Nov 16 00:25:14 2003 +++ b/drivers/pnp/system.c Sun Nov 16 00:25:14 2003 @@ -54,7 +54,7 @@ int i; for (i=0;i<PNP_MAX_PORT;i++) { - if (pnp_port_valid(dev, i)) + if (!pnp_port_valid(dev, i)) /* end of resources */ continue; if (pnp_port_start(dev, i) == 0) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |