IB/ipath: Only do 1X workaround on rev1 chips
Signed-off-by: Dave Olson <dave.olson@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
committed by
Roland Dreier
parent
60e845035a
commit
6114d4cd31
@@ -2452,13 +2452,14 @@ static int ipath_7220_ib_updown(struct ipath_devdata *dd, int ibup, u64 ibcs)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* if we are in 1X, and are in autoneg width, it
|
* if we are in 1X on rev1 only, and are in autoneg width,
|
||||||
* could be due to an xgxs problem, so if we haven't
|
* it could be due to an xgxs problem, so if we haven't
|
||||||
* already tried, try twice to get to 4X; if we
|
* already tried, try twice to get to 4X; if we
|
||||||
* tried, and couldn't, report it, since it will
|
* tried, and couldn't, report it, since it will
|
||||||
* probably not be what is desired.
|
* probably not be what is desired.
|
||||||
*/
|
*/
|
||||||
if ((dd->ipath_link_width_enabled & (IB_WIDTH_1X |
|
if (dd->ipath_minrev == 1 &&
|
||||||
|
(dd->ipath_link_width_enabled & (IB_WIDTH_1X |
|
||||||
IB_WIDTH_4X)) == (IB_WIDTH_1X | IB_WIDTH_4X)
|
IB_WIDTH_4X)) == (IB_WIDTH_1X | IB_WIDTH_4X)
|
||||||
&& dd->ipath_link_width_active == IB_WIDTH_1X
|
&& dd->ipath_link_width_active == IB_WIDTH_1X
|
||||||
&& dd->ipath_x1_fix_tries < 3) {
|
&& dd->ipath_x1_fix_tries < 3) {
|
||||||
|
Reference in New Issue
Block a user