summaryrefslogtreecommitdiffstats
path: root/sys/dev/ntb
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-08-18 09:28:26 +0000
committermav <mav@FreeBSD.org>2016-08-18 09:28:26 +0000
commit770dd15d1675dfbaa3d0c97b0aca10d4190f5e7d (patch)
tree624c761a705a25797922360b6225e87478418af3 /sys/dev/ntb
parent9b38c56e02a755d4f097b12219b1fd2a5c6ac94c (diff)
downloadFreeBSD-src-770dd15d1675dfbaa3d0c97b0aca10d4190f5e7d.zip
FreeBSD-src-770dd15d1675dfbaa3d0c97b0aca10d4190f5e7d.tar.gz
MFC r302530: Fix wrong copy/paste in r302510.
Diffstat (limited to 'sys/dev/ntb')
-rw-r--r--sys/dev/ntb/ntb_hw/ntb_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ntb/ntb_hw/ntb_hw.c b/sys/dev/ntb/ntb_hw/ntb_hw.c
index 0ff9c8c..ff12ea8 100644
--- a/sys/dev/ntb/ntb_hw/ntb_hw.c
+++ b/sys/dev/ntb/ntb_hw/ntb_hw.c
@@ -1833,7 +1833,7 @@ xeon_setup_b2b_mw(struct ntb_softc *ntb, const struct ntb_b2b_addr *addr,
} 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];
OpenPOWER on IntegriCloud