[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.