diff options
Diffstat (limited to 'tools/tools/cxgbetool/reg_defs_t4vf.c')
-rw-r--r-- | tools/tools/cxgbetool/reg_defs_t4vf.c | 55 |
1 files changed, 51 insertions, 4 deletions
diff --git a/tools/tools/cxgbetool/reg_defs_t4vf.c b/tools/tools/cxgbetool/reg_defs_t4vf.c index 6ebd7319951a..34909036d42b 100644 --- a/tools/tools/cxgbetool/reg_defs_t4vf.c +++ b/tools/tools/cxgbetool/reg_defs_t4vf.c @@ -19,6 +19,21 @@ struct reg_info t4vf_sge_regs[] = { { NULL, 0, 0 } }; +struct reg_info t5vf_sge_regs[] = { + { "SGE_VF_KDOORBELL", 0x000, 0 }, + { "QID", 15, 17 }, + { "Priority", 14, 1 }, + { "Type", 13, 1 }, + { "PIDX", 0, 13 }, + { "SGE_VF_GTS", 0x004, 0 }, + { "IngressQID", 16, 16 }, + { "TimerReg", 13, 3 }, + { "SEIntArm", 12, 1 }, + { "CIDXInc", 0, 12 }, + + { NULL, 0, 0 } +}; + struct reg_info t4vf_mps_regs[] = { { "MPS_VF_CTL", 0x100, 0 }, { "TxEn", 1, 1 }, @@ -70,9 +85,41 @@ struct reg_info t4vf_mps_regs[] = { struct reg_info t4vf_pl_regs[] = { { "PL_VF_WHOAMI", 0x200, 0 }, - { "PortxMap", 5, 3 }, - { "SourceBus", 3, 2 }, - { "SourcePF", 0, 3 }, + { "PortxMap", 24, 3 }, + { "SourceBus", 16, 2 }, + { "SourcePF", 8, 3 }, + { "IsVF", 7, 1 }, + { "VFID", 0, 7 }, + + { NULL, 0, 0 } +}; + +struct reg_info t5vf_pl_regs[] = { + { "PL_WHOAMI", 0x200, 0 }, + { "PortxMap", 24, 3 }, + { "SourceBus", 16, 2 }, + { "SourcePF", 8, 3 }, + { "IsVF", 7, 1 }, + { "VFID", 0, 7 }, + { "PL_VF_REV", 0x204, 0 }, + { "ChipID", 4, 4 }, + { "Rev", 0, 4 }, + { "PL_VF_REVISION", 0x208, 0 }, + + { NULL, 0, 0 } +}; + +struct reg_info t6vf_pl_regs[] = { + { "PL_WHOAMI", 0x200, 0 }, + { "PortxMap", 24, 3 }, + { "SourceBus", 16, 2 }, + { "SourcePF", 9, 3 }, + { "IsVF", 8, 1 }, + { "VFID", 0, 8 }, + { "PL_VF_REV", 0x204, 0 }, + { "ChipID", 4, 4 }, + { "Rev", 0, 4 }, + { "PL_VF_REVISION", 0x208, 0 }, { NULL, 0, 0 } }; @@ -85,7 +132,7 @@ struct reg_info t4vf_cim_regs[] = { { "CIM_VF_EXT_MAILBOX_CTRL", 0x300, 0 }, { "MBGeneric", 4, 4 }, { "MBMsgValid", 3, 1 }, - { "MBIntReq", 3, 1 }, + { "MBIntReq", 2, 1 }, { "MBOwner", 0, 2 }, { "CIM_VF_EXT_MAILBOX_STATUS", 0x304, 0 }, { "MBVFReady", 0, 1 }, |