ntb_hw: Correctly detect DSD/USD
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
2219047bc1
commit
e4a818a922
@ -1168,9 +1168,9 @@ ntb_detect_xeon(struct ntb_softc *ntb)
|
|||||||
ntb->ppd = ppd;
|
ntb->ppd = ppd;
|
||||||
|
|
||||||
if ((ppd & XEON_PPD_DEV_TYPE) != 0)
|
if ((ppd & XEON_PPD_DEV_TYPE) != 0)
|
||||||
ntb->dev_type = NTB_DEV_USD;
|
|
||||||
else
|
|
||||||
ntb->dev_type = NTB_DEV_DSD;
|
ntb->dev_type = NTB_DEV_DSD;
|
||||||
|
else
|
||||||
|
ntb->dev_type = NTB_DEV_USD;
|
||||||
|
|
||||||
if ((ppd & XEON_PPD_SPLIT_BAR) != 0)
|
if ((ppd & XEON_PPD_SPLIT_BAR) != 0)
|
||||||
ntb->features |= NTB_SPLIT_BAR;
|
ntb->features |= NTB_SPLIT_BAR;
|
||||||
|
Loading…
Reference in New Issue
Block a user