drivers: pcie: reintroduce support for I/O BARs
Reintroduce support for accessing I/O BARs which was removed in
43d84147d9
.
Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
7756809c97
commit
3c99a1e015
9 changed files with 105 additions and 24 deletions
|
@ -333,7 +333,7 @@ static int uart_ns16550_configure(const struct device *dev,
|
|||
#ifndef CONFIG_UART_NS16550_ACCESS_IOPORT
|
||||
#if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie)
|
||||
if (dev_cfg->pcie) {
|
||||
struct pcie_mbar mbar;
|
||||
struct pcie_bar mbar;
|
||||
|
||||
if (!pcie_probe(dev_cfg->pcie_bdf, dev_cfg->pcie_id)) {
|
||||
ret = -EINVAL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue