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] Trivial fix for pcifront bringup.

# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID aae274b4c1a739f70abf2dd1f3d7629bc37ccc6c
# Parent  766817372cab8b42b542bf05386f0850b4ea61e1
Trivial fix for pcifront bringup.

From: Jan Beulich
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 766817372cab -r aae274b4c1a7 
linux-2.6-xen-sparse/drivers/xen/pcifront/pci.c
--- a/linux-2.6-xen-sparse/drivers/xen/pcifront/pci.c   Wed Mar  8 14:49:04 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/pcifront/pci.c   Wed Mar  8 14:51:28 2006
@@ -18,8 +18,10 @@
 
        spin_lock(&pcifront_dev_lock);
 
-       if (!pcifront_dev)
+       if (!pcifront_dev) {
                dev_info(&pdev->xdev->dev, "Installing PCI frontend\n");
+               pcifront_dev = pdev;
+       }
        else {
                dev_err(&pdev->xdev->dev, "PCI frontend already installed!\n");
                err = -EEXIST;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Trivial fix for pcifront bringup., Xen patchbot -unstable <=