projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5827e17
)
PCI: Add PCI_HEADER_TYPE_MFD definition
author
Ilpo Järvinen
<ilpo.jarvinen@linux.intel.com>
Tue, 3 Oct 2023 12:52:59 +0000
(15:52 +0300)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Tue, 3 Oct 2023 16:55:15 +0000
(11:55 -0500)
Add PCI_HEADER_TYPE_MFD so we can replace literals in the code.
Link:
https://lore.kernel.org/r/20231003125300.5541-3-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/uapi/linux/pci_regs.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/pci_regs.h
b/include/uapi/linux/pci_regs.h
index e5f558d9649396faed564c9156ab3d03b9aaa7ab..06df65f11c396dc82240ddae9eada58cd629e34f 100644
(file)
--- a/
include/uapi/linux/pci_regs.h
+++ b/
include/uapi/linux/pci_regs.h
@@
-80,6
+80,7
@@
#define PCI_HEADER_TYPE_NORMAL 0
#define PCI_HEADER_TYPE_BRIDGE 1
#define PCI_HEADER_TYPE_CARDBUS 2
+#define PCI_HEADER_TYPE_MFD 0x80 /* Multi-Function Device (possible) */
#define PCI_BIST 0x0f /* 8 bits */
#define PCI_BIST_CODE_MASK 0x0f /* Return result */