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-devel

[Xen-devel] [PATCH 5/6] [pciback] Remove the vestiges of CONFIG_PCI_GUES

The code 'pci_is_guestdev' is not yet back-ported. Will revisit
this once that has been completed.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
---
 drivers/xen/pciback/pci_stub.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/drivers/xen/pciback/pci_stub.c b/drivers/xen/pciback/pci_stub.c
index 9ee947f..7d33999 100644
--- a/drivers/xen/pciback/pci_stub.c
+++ b/drivers/xen/pciback/pci_stub.c
@@ -430,16 +430,6 @@ static int __devinit pcistub_probe(struct pci_dev *dev,
 
                dev_info(&dev->dev, "seizing device\n");
                err = pcistub_seize(dev);
-#ifdef CONFIG_PCI_GUESTDEV
-       } else if (dev->hdr_type == PCI_HEADER_TYPE_NORMAL) {
-               if (!pci_is_guestdev(dev)) {
-                       err = -ENODEV;
-                       goto out;
-               }
-
-               dev_info(&dev->dev, "seizing device\n");
-               err = pcistub_seize(dev);
-#endif /* CONFIG_PCI_GUESTDEV */
        } else
                /* Didn't find the device */
                err = -ENODEV;
-- 
1.6.2.2


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

<Prev in Thread] Current Thread [Next in Thread>