diff options
| author | Carl Delsey <carl@FreeBSD.org> | 2013-09-05 22:52:40 +0000 |
|---|---|---|
| committer | Carl Delsey <carl@FreeBSD.org> | 2013-09-05 22:52:40 +0000 |
| commit | 12c5baf9f54407ab57d85f3f6c82814261745c8f (patch) | |
| tree | 18da132ac73111f321ed798feba03401a437dddf /sys/dev/ntb | |
| parent | d43c0fbae12cc28866fcf0681edea56c7f7b66a8 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ntb')
| -rw-r--r-- | sys/dev/ntb/ntb_hw/ntb_hw.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ntb/ntb_hw/ntb_hw.c b/sys/dev/ntb/ntb_hw/ntb_hw.c index 2f1d65d41c53..cf5eb637f836 100644 --- a/sys/dev/ntb/ntb_hw/ntb_hw.c +++ b/sys/dev/ntb/ntb_hw/ntb_hw.c @@ -637,6 +637,10 @@ ntb_setup_xeon(struct ntb_softc *ntb) /* Enable Bus Master and Memory Space on the secondary side */ ntb_write_2(ntb->reg_ofs.spci_cmd, PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN); + + /* Enable link training */ + ntb_write_4(ntb->reg_ofs.lnk_cntl, + NTB_CNTL_BAR23_SNOOP | NTB_CNTL_BAR45_SNOOP); return (0); } |
