From e4a818a92221eb7eb899f7739501178514fdd43c Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Wed, 11 Nov 2015 18:55:16 +0000 Subject: [PATCH] ntb_hw: Correctly detect DSD/USD Sponsored by: EMC / Isilon Storage Division --- sys/dev/ntb/ntb_hw/ntb_hw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ntb/ntb_hw/ntb_hw.c b/sys/dev/ntb/ntb_hw/ntb_hw.c index 9417b3d1380..d97af044067 100644 --- a/sys/dev/ntb/ntb_hw/ntb_hw.c +++ b/sys/dev/ntb/ntb_hw/ntb_hw.c @@ -1168,9 +1168,9 @@ ntb_detect_xeon(struct ntb_softc *ntb) ntb->ppd = ppd; if ((ppd & XEON_PPD_DEV_TYPE) != 0) - ntb->dev_type = NTB_DEV_USD; - else ntb->dev_type = NTB_DEV_DSD; + else + ntb->dev_type = NTB_DEV_USD; if ((ppd & XEON_PPD_SPLIT_BAR) != 0) ntb->features |= NTB_SPLIT_BAR; -- 2.45.2