Thread (40 messages) 40 messages, 5 authors, 2025-03-06

Re: [PATCH v2 6/8] PCI: brcmstb: Use same constant table for config space access

From: Florian Fainelli <florian.fainelli@broadcom.com>
Date: 2025-02-20 18:14:22
Also in: linux-pci, lkml


On 2/14/2025 9:39 AM, Jim Quinlan wrote:
The constants EXT_CFG_DATA and EXT_CFG_INDEX vary by SOC. One of the
map_bus methods used these constants, the other used different constants.
Fortunately there was no problem because the SoCs that used the latter
map_bus method all had the same register constants.

Remove the redundant constants and adjust the code to use them.  In
addition, update EXT_CFG_DATA to use the 4k-page based config space access
system, which is what the second map_bus method was already using.

Signed-off-by: Jim Quinlan <redacted>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
-- 
Florian

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help