]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: Add pci_resource_is_bridge_win()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 19 Dec 2025 17:40:23 +0000 (19:40 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 27 Jan 2026 22:36:52 +0000 (16:36 -0600)
commit5fa2f9fb34870f7e66d6d19dac50a6a13dd458e7
treea2fbdaf77fe7e60f1b420f9d3ea702d1a21f8440
parente112fbb26b66b183d9387017b29e5d0b62986eed
PCI: Add pci_resource_is_bridge_win()

Add pci_resource_is_bridge_win() helper to simplify checking if the
resource is a bridge window.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20251219174036.16738-11-ilpo.jarvinen@linux.intel.com
drivers/pci/pci-sysfs.c
drivers/pci/pci.h
drivers/pci/setup-bus.c
drivers/pci/setup-res.c