Skip to content

Commit bdca03a

Browse files
ij-intelbjorn-helgaas
authored andcommitted
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/[email protected] Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 5827e17 commit bdca03a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/uapi/linux/pci_regs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
#define PCI_HEADER_TYPE_NORMAL 0
8181
#define PCI_HEADER_TYPE_BRIDGE 1
8282
#define PCI_HEADER_TYPE_CARDBUS 2
83+
#define PCI_HEADER_TYPE_MFD 0x80 /* Multi-Function Device (possible) */
8384

8485
#define PCI_BIST 0x0f /* 8 bits */
8586
#define PCI_BIST_CODE_MASK 0x0f /* Return result */

0 commit comments

Comments
 (0)