]> git.karo-electronics.de Git - mv-sheeva.git/commit
IB/qib: Hold links until tuning data is available
authorMitko Haralanov <mitko@qlogic.com>
Wed, 19 Oct 2011 22:46:40 +0000 (18:46 -0400)
committerRoland Dreier <roland@purestorage.com>
Fri, 21 Oct 2011 22:08:20 +0000 (15:08 -0700)
commitdde05cbdf8b1c404344c370fe6e18ff160d6da6a
tree6c480da3c7e8e41ad6b24a51eaa27caeb6ea22b2
parent44d75d3d92304a1df8131f48b38de08df9011fa2
IB/qib: Hold links until tuning data is available

Hold the link state machine until the tuning data is read from the
QSFP EEPROM so correct tuning settings are applied before the state
machine attempts to bring the link up.  Link is also held on cable
unplug in case a different cable is used.

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>
drivers/infiniband/hw/qib/qib_iba7322.c
drivers/infiniband/hw/qib/qib_init.c
drivers/infiniband/hw/qib/qib_qsfp.c
drivers/infiniband/hw/qib/qib_qsfp.h