]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: dwc: Replace ATU type macros with common TLP type macros
authorHans Zhang <18255117159@163.com>
Sat, 16 May 2026 15:36:56 +0000 (23:36 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Tue, 9 Jun 2026 13:54:49 +0000 (19:24 +0530)
commit3136184508d2889a11092dbaa097ed6580bc4214
tree9a8907a18b8c03766ea59e37b70bfd44da29b3bf
parent286db45fb7ef5fe950a60a47c963156d6ece356f
PCI: dwc: Replace ATU type macros with common TLP type macros

The dwc driver defines its own ATU type macros (PCIE_ATU_TYPE_MEM,
PCIE_ATU_TYPE_IO, PCIE_ATU_TYPE_CFG0, PCIE_ATU_TYPE_CFG1,
PCIE_ATU_TYPE_MSG) with the same numerical values as the newly
introduced common TLP type macros.

Remove the local definitions and switch all DWC users to the common
PCIE_TLP_TYPE_* macros. This eliminates redundancy and improves
consistency across PCI controller drivers.

No functional change intended.

Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20260516153657.65214-3-18255117159@163.com
drivers/pci/controller/dwc/pcie-designware-ep.c
drivers/pci/controller/dwc/pcie-designware-host.c
drivers/pci/controller/dwc/pcie-designware.c
drivers/pci/controller/dwc/pcie-designware.h
drivers/pci/controller/dwc/pcie-tegra194-acpi.c