diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-10-03 15:52:59 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-10-03 11:55:15 -0500 |
commit | bdca03a271f2de2c24ea56756fd9bbcff35173fb (patch) | |
tree | 7b02e0d68aaf549c5491f0a97a9f70758e13c71c | |
parent | 5827e17d0555b566c32044b0632b46f9f95054fa (diff) |
PCI: Add PCI_HEADER_TYPE_MFD definition
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>
-rw-r--r-- | include/uapi/linux/pci_regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h index e5f558d96493..06df65f11c39 100644 --- 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 */ |