[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 6/6] [pciback] Remove deprecated routine to find domain owner of PCI device.
In linux-2.6.18.hg tree the mechanism to find the domain owner was for the MSI driver (msi-xen.c) to call in this function to retrieve the domain number. This is not the way anymore. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> --- drivers/xen/pciback/pci_stub.c | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/drivers/xen/pciback/pci_stub.c b/drivers/xen/pciback/pci_stub.c index e9e8e68..a94d350 100644 --- a/drivers/xen/pciback/pci_stub.c +++ b/drivers/xen/pciback/pci_stub.c @@ -1157,22 +1157,6 @@ static ssize_t permissive_show(struct device_driver *drv, char *buf) DRIVER_ATTR(permissive, S_IRUSR | S_IWUSR, permissive_show, permissive_add); -#ifdef CONFIG_PCI_MSI - -int pciback_get_owner(struct pci_dev *dev) -{ - struct pcistub_device *psdev; - - psdev = pcistub_device_find(pci_domain_nr(dev->bus), dev->bus->number, - PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); - - if (!psdev || !psdev->pdev) - return -1; - - return psdev->pdev->xdev->otherend_id; -} -#endif - static void pcistub_exit(void) { driver_remove_file(&pciback_pci_driver.driver, &driver_attr_new_slot); -- 1.6.2.5 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |