diff options
author | Mitko Haralanov <mitko@qlogic.com> | 2011-10-19 18:46:47 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-10-31 10:57:59 -0700 |
commit | 16d99812d58b8af2df29cd337a74cd965b53da04 (patch) | |
tree | b370dec6b40a274ef2192414ce6377c974dea8d5 /drivers/infiniband/hw/qib/qib_qsfp.h | |
parent | dde05cbdf8b1c404344c370fe6e18ff160d6da6a (diff) |
IB/qib: Fix issue with link states and QSFP cables
Fix an issue where the link would come up after replugging a cable
even if it has been DISABLED manually.
Signed-off-by: Mitko Haralanov <mitko@qlogic.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_qsfp.h')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_qsfp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/qib/qib_qsfp.h b/drivers/infiniband/hw/qib/qib_qsfp.h index 786a92a25c25..46002a9417c0 100644 --- a/drivers/infiniband/hw/qib/qib_qsfp.h +++ b/drivers/infiniband/hw/qib/qib_qsfp.h @@ -178,6 +178,7 @@ struct qib_qsfp_data { struct work_struct work; struct qib_qsfp_cache cache; u64 t_insert; + u8 modpresent; }; extern int qib_refresh_qsfp_cache(struct qib_pportdata *ppd, |