platform_drv: PCI assignment failure is no error

When there is no I/O MMU available the assignment is failing too,
although this is no error but normal behaviour.

Ref genodelabs/genode#4578
This commit is contained in:
Stefan Kalkowski 2022-07-25 14:36:08 +02:00 committed by Christian Helmuth
parent 8f9b5e9bd2
commit 413e2baa1c

View File

@ -117,7 +117,7 @@ void Device_pd::assign_pci(Io_mem_dataspace_capability const io_mem_cap,
/* try to assign pci device to this protection domain */
if (!_pd.assign_pci(addr, Pci::Bdf::rid(bdf)))
error("Assignment of PCI device ", bdf, " to device PD failed!");
log("Assignment of PCI device ", bdf, " to device PD failed, no IOMMU?!");
/* we don't need the mapping anymore */
_address_space.detach(addr);