]> git.itanic.dy.fi Git - linux-stable/commitdiff
PCI: Add PCI_HEADER_TYPE_MFD definition
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 3 Oct 2023 12:52:59 +0000 (15:52 +0300)
committerBjorn 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

index e5f558d9649396faed564c9156ab3d03b9aaa7ab..06df65f11c396dc82240ddae9eada58cd629e34f 100644 (file)
@@ -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 */