Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2019 15:11:42 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r355389 - stable/12/sys/dev/ntb/ntb_hw
Message-ID:  <201912041511.xB4FBgS8087485@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Dec  4 15:11:42 2019
New Revision: 355389
URL: https://svnweb.freebsd.org/changeset/base/355389

Log:
  MFC r355074: Report XLAT0 register for completeness.

Modified:
  stable/12/sys/dev/ntb/ntb_hw/ntb_hw_intel.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/ntb/ntb_hw/ntb_hw_intel.c
==============================================================================
--- stable/12/sys/dev/ntb/ntb_hw/ntb_hw_intel.c	Wed Dec  4 15:04:06 2019	(r355388)
+++ stable/12/sys/dev/ntb/ntb_hw/ntb_hw_intel.c	Wed Dec  4 15:11:42 2019	(r355389)
@@ -2408,6 +2408,14 @@ intel_ntb_sysctl_init(struct ntb_softc *ntb)
 	if (ntb->conn_type != NTB_CONN_B2B)
 		return;
 
+	SYSCTL_ADD_PROC(ctx, regpar, OID_AUTO, "outgoing_xlat01l",
+	    CTLFLAG_RD | CTLTYPE_OPAQUE, ntb,
+	    NTB_REG_32 | XEON_B2B_XLAT_OFFSETL,
+	    sysctl_handle_register, "IU", "Outgoing XLAT0L register");
+	SYSCTL_ADD_PROC(ctx, regpar, OID_AUTO, "outgoing_xlat01u",
+	    CTLFLAG_RD | CTLTYPE_OPAQUE, ntb,
+	    NTB_REG_32 | XEON_B2B_XLAT_OFFSETU,
+	    sysctl_handle_register, "IU", "Outgoing XLAT0U register");
 	SYSCTL_ADD_PROC(ctx, regpar, OID_AUTO, "outgoing_xlat23",
 	    CTLFLAG_RD | CTLTYPE_OPAQUE, ntb,
 	    NTB_REG_64 | ntb->bar_info[NTB_B2B_BAR_1].pbarxlat_off,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912041511.xB4FBgS8087485>