diff options
author | Haiying Wang <Haiying.Wang@freescale.com> | 2013-08-14 21:43:56 (GMT) |
---|---|---|
committer | Rivera Jose-B46482 <German.Rivera@freescale.com> | 2013-09-10 23:24:03 (GMT) |
commit | 4268d8367f37a5c47e5b3e61342fe05e403e377f (patch) | |
tree | 19cae0a010036c1804a8e8367fd17ebef7224af1 /drivers/staging/fsl_qbman/qman_debugfs.c | |
parent | bad206bc9bd78e15dc7df68974a02e5ab60dfa83 (diff) | |
download | linux-fsl-qoriq-4268d8367f37a5c47e5b3e61342fe05e403e377f.tar.xz |
fsl_qman: Remove all Qman rev1.0 support
Because P4080 Rev1 is not supported any more.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Change-Id: I78197d0a539cd825a6a63dc222b80ee551b13e33
Reviewed-on: http://git.am.freescale.net:8181/4298
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Thorpe Geoff-R01361 <Geoff.Thorpe@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/staging/fsl_qbman/qman_debugfs.c')
-rw-r--r-- | drivers/staging/fsl_qbman/qman_debugfs.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/drivers/staging/fsl_qbman/qman_debugfs.c b/drivers/staging/fsl_qbman/qman_debugfs.c index ede3d40..f0c0227 100644 --- a/drivers/staging/fsl_qbman/qman_debugfs.c +++ b/drivers/staging/fsl_qbman/qman_debugfs.c @@ -540,11 +540,9 @@ static int query_cgr_show(struct seq_file *file, void *offset) seq_printf(file, " cs_thresh_TA: %u, cs_thresh_Tn: %u\n", cgrd.cgr.cs_thres.TA, cgrd.cgr.cs_thres.Tn); - if (qman_ip_rev != QMAN_REV10) { - seq_printf(file, " mode: %s\n", - (cgrd.cgr.mode & QMAN_CGR_MODE_FRAME) ? - "frame count" : "byte count"); - } + seq_printf(file, " mode: %s\n", + (cgrd.cgr.mode & QMAN_CGR_MODE_FRAME) ? + "frame count" : "byte count"); seq_printf(file, " i_bcnt: %llu\n", qm_mcr_querycgr_i_get64(&cgrd)); seq_printf(file, " a_bcnt: %llu\n", qm_mcr_querycgr_a_get64(&cgrd)); @@ -625,11 +623,9 @@ static int testwrite_cgr_show(struct seq_file *file, void *offset) result.cgr.cs_thres.TA, result.cgr.cs_thres.Tn); /* Add Mode for Si 2 */ - if (qman_ip_rev != QMAN_REV10) { - seq_printf(file, " mode: %s\n", - (result.cgr.mode & QMAN_CGR_MODE_FRAME) ? - "frame count" : "byte count"); - } + seq_printf(file, " mode: %s\n", + (result.cgr.mode & QMAN_CGR_MODE_FRAME) ? + "frame count" : "byte count"); seq_printf(file, " i_bcnt: %llu\n", qm_mcr_cgrtestwrite_i_get64(&result)); |