diff options
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_iba7220.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_iba7220.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_iba7220.c b/drivers/infiniband/hw/qib/qib_iba7220.c index 28063d4c225b..7dec89fdc124 100644 --- a/drivers/infiniband/hw/qib/qib_iba7220.c +++ b/drivers/infiniband/hw/qib/qib_iba7220.c | |||
@@ -4059,7 +4059,9 @@ static int qib_init_7220_variables(struct qib_devdata *dd) | |||
4059 | init_waitqueue_head(&cpspec->autoneg_wait); | 4059 | init_waitqueue_head(&cpspec->autoneg_wait); |
4060 | INIT_DELAYED_WORK(&cpspec->autoneg_work, autoneg_7220_work); | 4060 | INIT_DELAYED_WORK(&cpspec->autoneg_work, autoneg_7220_work); |
4061 | 4061 | ||
4062 | qib_init_pportdata(ppd, dd, 0, 1); | 4062 | ret = qib_init_pportdata(ppd, dd, 0, 1); |
4063 | if (ret) | ||
4064 | goto bail; | ||
4063 | ppd->link_width_supported = IB_WIDTH_1X | IB_WIDTH_4X; | 4065 | ppd->link_width_supported = IB_WIDTH_1X | IB_WIDTH_4X; |
4064 | ppd->link_speed_supported = QIB_IB_SDR | QIB_IB_DDR; | 4066 | ppd->link_speed_supported = QIB_IB_SDR | QIB_IB_DDR; |
4065 | 4067 | ||