WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xend: pci: fix a typo in do_Dstate_transi

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: pci: fix a typo in do_Dstate_transition
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Jul 2009 01:30:18 -0700
Delivery-date: Wed, 29 Jul 2009 01:30:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1248855570 -3600
# Node ID 035857a72413b44073f2461ec51e8c6a40b65283
# Parent  92eec6f672fe34eb68c9b72992d32a9e9076225d
xend: pci: fix a typo in do_Dstate_transition

Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
---
 tools/python/xen/util/pci.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 92eec6f672fe -r 035857a72413 tools/python/xen/util/pci.py
--- a/tools/python/xen/util/pci.py      Wed Jul 29 09:19:13 2009 +0100
+++ b/tools/python/xen/util/pci.py      Wed Jul 29 09:19:30 2009 +0100
@@ -730,7 +730,7 @@ class PciDevice:
         # devices transitioning from D3hot to D0 because of
         # PowerState commands do not perform an internal reset.
         pm_ctl = self.pci_conf_read32(pos + PCI_PM_CTRL)
-        if (pm_ctl & PCI_PM_CTRL_NO_SOFT_RESET) == 1:
+        if (pm_ctl & PCI_PM_CTRL_NO_SOFT_RESET) == PCI_PM_CTRL_NO_SOFT_RESET:
             return False
 
         (pci_list, cfg_list) = save_pci_conf_space([self.name])

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xend: pci: fix a typo in do_Dstate_transition, Xen patchbot-unstable <=