Skip to contentSkip to conversation

Fix unplug logic

PATCH New Zhai, Edwin 1 participant 1 message Feb 20, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix unplug logic

Add the missing part for the dev_unplug parameter in r20847

Signature · 2 lines
best rgds,
edwin
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c +1 -1
Index: tip/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
===================================================================
@@ -332,7 +332,7 @@ static int check_platform_magic(struct d
 		}
 		/* Fall through */
 	case 0:
-		outw(0xf, XEN_IOPORT_UNPLUG);
+		outw(unplug, XEN_IOPORT_UNPLUG);
 		break;
 	default:
 		err = "unknown I/O protocol version";

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel