pci: remove device_cap from dma calls

Issue #1486
This commit is contained in:
Alexander Boettcher
2015-04-22 16:31:39 +02:00
committed by Christian Helmuth
parent 0ed45d92ff
commit e4d663cf41
8 changed files with 22 additions and 43 deletions

View File

@@ -203,7 +203,7 @@ struct Pci_driver
/* trigger that the device gets assigned to this driver */
_pci.config_extended(_cap);
Ram_dataspace_capability ram_cap;
ram_cap = _pci.alloc_dma_buffer(_cap, size);
ram_cap = _pci.alloc_dma_buffer(size);
_region.mapped_base = (Genode::addr_t)env()->rm_session()->attach(ram_cap);
_region.base = Dataspace_client(ram_cap).phys_addr();