summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorMaciej Sosnowski <maciej.sosnowski@intel.com>2009-09-10 15:05:58 +0200
committerDan Williams <dan.j.williams@intel.com>2009-09-10 10:00:05 -0700
commit1a5aeeecd550ee4344cfba1791f1134739b16dc6 (patch)
tree0b2f1f104d7dbff82130ea1d41c037a74fa6753e /drivers/dma
parent9a8de639f35ca3951b910d5e3a2f92f4cf3afc8f (diff)
downloadlinux-3.10-1a5aeeecd550ee4344cfba1791f1134739b16dc6.tar.gz
linux-3.10-1a5aeeecd550ee4344cfba1791f1134739b16dc6.tar.bz2
linux-3.10-1a5aeeecd550ee4344cfba1791f1134739b16dc6.zip
dca: registering requesters in multiple dca domains
This patch enables DCA support on multiple-IOH/multiple-IIO architectures. It modifies dca module by replacing single dca_providers list with dca_domains list, each domain containing separate list of providers. This approach lets dca driver manage multiple domains, i.e. sets of providers and requesters mapped back to the same PCI root complex device. The driver takes care to register each requester to a provider from the same domain. Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/ioat/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/pci.c b/drivers/dma/ioat/pci.c
index c788fa26647..d545fae30f3 100644
--- a/drivers/dma/ioat/pci.c
+++ b/drivers/dma/ioat/pci.c
@@ -175,7 +175,7 @@ static void __devexit ioat_remove(struct pci_dev *pdev)
dev_err(&pdev->dev, "Removing dma and dca services\n");
if (device->dca) {
- unregister_dca_provider(device->dca);
+ unregister_dca_provider(device->dca, &pdev->dev);
free_dca_provider(device->dca);
device->dca = NULL;
}