1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-18 07:13:36 +02:00

MT_DMASHDL_SW_CONTROL is accessed via remapping. Define it with

the explicit address 0x7c026004 as Linux does to avoid confusion.

While here, remove duplicate definitions of MT_PCIE_MAC_BASE and
MT_PCIE_MAC_INT_ENABLE.

ok claudio@
This commit is contained in:
kevlo
2026-05-09 05:50:33 +00:00
parent 387d82fb61
commit fc4fe263ab
+1 -4
View File
@@ -272,9 +272,6 @@
#define MT_RX_MCU_RING_BASE 0xd4540
#define MT_RX_FWDL_RING_BASE 0xd4500
#define MT_PCIE_MAC_BASE 0x10000
#define MT_PCIE_MAC_INT_ENABLE 0x10188
#define MT_INFRA_CFG_BASE 0xfe000
#define MT_HIF_REMAP_L1 0xfe24c
#define MT_HIF_REMAP_L1_MASK 0x0000ffff
@@ -288,7 +285,7 @@
#define MT_SWDEF_ICAP_MODE 1
#define MT_SWDEF_SPECTRUM_MODE 2
#define MT_DMASHDL_SW_CONTROL 0xd6004
#define MT_DMASHDL_SW_CONTROL 0x7c026004
#define MT_DMASHDL_DMASHDL_BYPASS (1U << 28)
#define MT_DMASHDL_OPTIONAL 0xd6008
#define MT_DMASHDL_PAGE 0xd600c