svn commit: r302530 - head/sys/dev/ntb/ntb_hw

Alexander Motin mav at FreeBSD.org
Sun Jul 10 19:52:27 UTC 2016


Author: mav
Date: Sun Jul 10 19:52:26 2016
New Revision: 302530
URL: https://svnweb.freebsd.org/changeset/base/302530

Log:
  Fix wrong copy/paste in r302510.

Modified:
  head/sys/dev/ntb/ntb_hw/ntb_hw.c

Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c
==============================================================================
--- head/sys/dev/ntb/ntb_hw/ntb_hw.c	Sun Jul 10 19:15:29 2016	(r302529)
+++ head/sys/dev/ntb/ntb_hw/ntb_hw.c	Sun Jul 10 19:52:26 2016	(r302530)
@@ -1833,7 +1833,7 @@ xeon_setup_b2b_mw(struct ntb_softc *ntb,
 		} else {
 			ntb_reg_write(4, xlat_reg, MSI_INTEL_ADDR_BASE);
 			ntb->msix_xlat = ntb_reg_read(4, xlat_reg);
-			ntb_reg_write(8, lmt_reg, 0);
+			ntb_reg_write(4, lmt_reg, 0);
 		}
 
 		ntb->peer_lapic_bar =  &ntb->bar_info[bar_num];


More information about the svn-src-all mailing list