Date: Wed, 21 Sep 2016 00:46:08 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306062 - head/sys/dev/cxgbe Message-ID: <201609210046.u8L0k8R4078293@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Wed Sep 21 00:46:08 2016 New Revision: 306062 URL: https://svnweb.freebsd.org/changeset/base/306062 Log: cxgbe(4): Show wcwr_stats for T6 cards. Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c ============================================================================== --- head/sys/dev/cxgbe/t4_main.c Wed Sep 21 00:08:42 2016 (r306061) +++ head/sys/dev/cxgbe/t4_main.c Wed Sep 21 00:46:08 2016 (r306062) @@ -5093,7 +5093,7 @@ t4_sysctls(struct adapter *sc) CTLTYPE_STRING | CTLFLAG_RD, sc, 0, sysctl_ulprx_la, "A", "ULPRX logic analyzer"); - if (is_t5(sc)) { + if (chip_id(sc) >= CHELSIO_T5) { SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "wcwr_stats", CTLTYPE_STRING | CTLFLAG_RD, sc, 0, sysctl_wcwr_stats, "A", "write combined work requests");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609210046.u8L0k8R4078293>