Author: cem
Date: Wed Nov 11 18:55:16 2015
New Revision: 290681
URL: https://svnweb.freebsd.org/changeset/base/290681
Log:
ntb_hw: Correctly detect DSD/USD
Sponsored by: EMC / Isilon Storage Division
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 Wed Nov 11 18:55:07 2015
(r290680)
+++ head/sys/dev/ntb/ntb_hw/ntb_hw.c Wed Nov 11 18:55:16 2015
(r290681)
@@ -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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"