From: Maciej Sosnowski Date: Wed, 24 Nov 2010 17:29:54 +0000 (+0000) Subject: RDMA/nes: Fix incorrect SFP+ link status detection on driver init X-Git-Tag: v2.6.38-rc1~13^2^4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=843276ad985cb59212ceb70d989474521ff516f6;p=pandora-kernel.git RDMA/nes: Fix incorrect SFP+ link status detection on driver init During iw_nes initialization the link status for SFP+ PHY is always detected as "up" regardless of real state (cable either connected or disconnected). Add SFP+ PHY specific link status detection to the iw_nes initialization procedure. Use link status recheck for netdev_open to detect delayed state updates. Signed-off-by: Maciej Sosnowski Signed-off-by: Roland Dreier --- Reading git-diff-tree failed