summaryrefslogtreecommitdiff
path: root/drivers/net/fsl-mc/dpio/qbman_portal.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-12-16 17:46:36 (GMT)
committerTom Rini <trini@konsulko.com>2016-12-16 17:46:36 (GMT)
commitb5178a1f2468d5e9b1066e7d08757c1164727e4c (patch)
tree59ba300f55720cc86874c2ad25646ec09a9f2675 /drivers/net/fsl-mc/dpio/qbman_portal.h
parentbe72591bcd644df7e16afdd12ec258693693422f (diff)
parentc151cb5b516e609a0846bd392d6207a77b66a7ff (diff)
downloadu-boot-b5178a1f2468d5e9b1066e7d08757c1164727e4c.tar.xz
Merge git://git.denx.de/u-boot-fsl-qoriq
Diffstat (limited to 'drivers/net/fsl-mc/dpio/qbman_portal.h')
-rw-r--r--drivers/net/fsl-mc/dpio/qbman_portal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/fsl-mc/dpio/qbman_portal.h b/drivers/net/fsl-mc/dpio/qbman_portal.h
index 86e2c3a..97a47aa 100644
--- a/drivers/net/fsl-mc/dpio/qbman_portal.h
+++ b/drivers/net/fsl-mc/dpio/qbman_portal.h
@@ -14,8 +14,8 @@
/* Management command result codes */
#define QBMAN_MC_RSLT_OK 0xf0
-/* TBD: as of QBMan 4.1, DQRR will be 8 rather than 4! */
-#define QBMAN_DQRR_SIZE 4
+#define QBMAN_VER_4_0_DQRR_SIZE 4
+#define QBMAN_VER_4_1_DQRR_SIZE 8
/* --------------------- */
@@ -71,6 +71,7 @@ struct qbman_swp {
struct {
uint32_t next_idx;
uint32_t valid_bit;
+ uint8_t dqrr_size;
} dqrr;
};