bnx2x: fix I2C non-respondent issue
authorYuval Mintz <yuvalmin@broadcom.com>
Sat, 16 Jun 2012 20:27:14 +0000 (20:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Jun 2012 06:38:36 +0000 (23:38 -0700)
commit50a2984543aa2581d08580f8468533ce0ade8a62
tree7a14940ef423e7f6f4cdb77248329146cecb339c
parente8803b6c387129059e04d9e14d49efda250a7361
bnx2x: fix I2C non-respondent issue

When I2C is not responding it's usually due to a previous
unexpected reset during I2C operation. We release it by
powering down and up the SFP+ module.

Signed-off-by: Yaniv Rosner <yaniv.rosner@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c