RDMA/nes: Fix CX4 link problem in back-to-back configuration
authorChien Tung <chien.tin.tung@intel.com>
Wed, 3 Mar 2010 19:13:26 +0000 (19:13 +0000)
committerRoland Dreier <rolandd@cisco.com>
Fri, 12 Mar 2010 18:54:11 +0000 (10:54 -0800)
commita72042c08a8ba3b685dc9cba62c57c48188ef2c8
tree6e8c25efd48b1a46a6f3fe4a68f51ae23bd90eef
parent9f29006ae8c85746e5a52d557f689359149a0793
RDMA/nes: Fix CX4 link problem in back-to-back configuration

Commit 09124e19 ("RDMA/nes: Add support for KR device id 0x0110") took
out too much code and broke CX4 link detection in back-to-back
configuration.  Put back the code that does the link check.

Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_nic.c