summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/p5ioc2-regs.h1
-rw-r--r--include/p7ioc-regs.h1
-rw-r--r--include/phb3-regs.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/include/p5ioc2-regs.h b/include/p5ioc2-regs.h
index c4a63c67..1628f7af 100644
--- a/include/p5ioc2-regs.h
+++ b/include/p5ioc2-regs.h
@@ -135,6 +135,7 @@
#define CAP_PCADR 0x140
#define CAP_PCADR_ENABLE PPC_BIT32(0)
#define CAP_PCADR_FUNC PPC_BITMASK32(21,23)
+#define CAP_PCADR_BDFN PPC_BITMASK32(8,23) /* bus,dev,func */
#define CAP_PCADR_EXTOFF PPC_BITMASK32(4,7)
#define CAP_PCDAT 0x130
#define CAP_PCFGRW 0x160
diff --git a/include/p7ioc-regs.h b/include/p7ioc-regs.h
index e868188e..4eb10d69 100644
--- a/include/p7ioc-regs.h
+++ b/include/p7ioc-regs.h
@@ -125,6 +125,7 @@
#define PHB_CA_BUS PPC_BITMASK(4,11)
#define PHB_CA_DEV PPC_BITMASK(12,16)
#define PHB_CA_FUNC PPC_BITMASK(17,19)
+#define PHB_CA_BDFN PPC_BITMASK(4,19) /* bus,dev,func */
#define PHB_CA_REG PPC_BITMASK(20,31)
#define PHB_LOCK1 0x148
#define PHB_PHB2_CONFIG 0x160
diff --git a/include/phb3-regs.h b/include/phb3-regs.h
index 144c344a..b3f71601 100644
--- a/include/phb3-regs.h
+++ b/include/phb3-regs.h
@@ -43,6 +43,7 @@
#define PHB_CA_BUS PPC_BITMASK(4,11)
#define PHB_CA_DEV PPC_BITMASK(12,16)
#define PHB_CA_FUNC PPC_BITMASK(17,19)
+#define PHB_CA_BDFN PPC_BITMASK(4,19) /* bus,dev,func */
#define PHB_CA_REG PPC_BITMASK(20,31)
#define PHB_CA_PE PPC_BITMASK(40,47)
#define PHB_LOCK1 0x148
OpenPOWER on IntegriCloud