public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PnP Fixes for 2.6.0-test9
@ 2003-11-16  0:26 Adam Belay
  2003-11-16  0:26 ` Adam Belay
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Adam Belay @ 2003-11-16  0:26 UTC (permalink / raw)
  To: linux-kernel

# --------------------------------------------
# 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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-11-16  5:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-16  0:26 [PATCH] PnP Fixes for 2.6.0-test9 Adam Belay
2003-11-16  0:26 ` Adam Belay
2003-11-16  0:27 ` Adam Belay
2003-11-16  0:27 ` Adam Belay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox