summaryrefslogtreecommitdiff
path: root/sys/src/9/imx8/pciimx.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2023-04-24 19:29:08 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2023-04-24 19:29:08 +0000
commit00b5e347b0ac95565d9f7ca1c6a3c7652a77f653 (patch)
tree53d83a9fac197fdf2b9cda345505015e9491c287 /sys/src/9/imx8/pciimx.c
parentee0fa9b8ca18868ada4ce19cecc7bb89dac70857 (diff)
imx8: provide PCIWINDOW constant, use PCIWADDR() for MSI_TARGET_ADDR
Diffstat (limited to 'sys/src/9/imx8/pciimx.c')
-rw-r--r--sys/src/9/imx8/pciimx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/imx8/pciimx.c b/sys/src/9/imx8/pciimx.c
index ac1357af8..3f668a3c4 100644
--- a/sys/src/9/imx8/pciimx.c
+++ b/sys/src/9/imx8/pciimx.c
@@ -227,7 +227,7 @@ pcicfgrw8(int tbdf, int rno, int data, int read)
}
static u16int msimsg;
-#define MSI_TARGET_ADDR PADDR(&msimsg)
+#define MSI_TARGET_ADDR PCIWADDR(&msimsg)
enum {
MSI_CAP_ID = 0x50/4,