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
|
@ -108,7 +108,7 @@ static const struct ivshmem_reg no_reg;
|
|||
static bool ivshmem_configure(const struct device *dev)
|
||||
{
|
||||
struct ivshmem *data = dev->data;
|
||||
struct pcie_mbar mbar_regs, mbar_mem;
|
||||
struct pcie_bar mbar_regs, mbar_mem;
|
||||
|
||||
if (!pcie_get_mbar(data->bdf, IVSHMEM_PCIE_REG_BAR_IDX, &mbar_regs)) {
|
||||
#ifdef CONFIG_IVSHMEM_DOORBELL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue