linux/arch/alpha
Krzysztof Wilczyński 5980dcbc4b alpha/PCI: Add static PCI resource attribute macros
Add macros for declaring static binary attributes for Alpha's PCI resource
files:

  - pci_dev_resource_attr(),        for dense/BWX systems (mmap dense)
  - pci_dev_resource_sparse_attr(), for sparse systems (mmap sparse)
  - pci_dev_resource_dense_attr(),  for dense companion files (mmap dense)

Each macro creates a const bin_attribute with the BAR index stored in the
.private property and the appropriate .mmap() callback.

Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Magnus Lindholm <linmag7@gmail.com>
Tested-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Acked-by: Magnus Lindholm <linmag7@gmail.com>
Link: https://patch.msgid.link/20260508043543.217179-17-kwilczynski@kernel.org
History 2026-06-23 15:19:09 -05:00
..
boot alpha/boot/misc: trim unused declarations 2023-02-24 23:14:22 -05:00
configs net: packetengines: remove obsolete yellowfin driver and vendor dir 2026-04-23 14:49:08 -07:00
include alpha updates for v7.1 2026-04-17 08:34:43 -07:00
kernel alpha/PCI: Add static PCI resource attribute macros 2026-06-23 15:19:09 -05:00
lib alpha: remove duplicate included header file 2025-01-12 20:21:07 -08:00
math-emu alpha: missing includes 2024-05-03 22:09:30 +02:00
mm mm.git review status for linus..mm-stable 2026-02-12 11:32:37 -08:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig alpha: add support for SECCOMP and SECCOMP_FILTER 2026-04-12 19:13:59 +02:00
Kconfig.debug treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile alpha: drop pre-EV56 support 2024-05-06 12:05:00 +02:00