bnx2x: Fix false link indication at link partner when DAC is used
authorYaniv Rosner <yanivr@broadcom.com>
Tue, 5 Jul 2011 01:06:53 +0000 (01:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2011 11:21:40 +0000 (04:21 -0700)
commit85242eea68f5039458afad0e4030828496bb4034
treeefc81e33f4c680a570a21d09718e15046be35180
parent985848f80ffc61a29d9a72fec46ddce3c9643636
bnx2x: Fix false link indication at link partner when DAC is used

When driver is unloaded, disable PMD in addition to TX laser, provided that the management firmware will be able to enable it back.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_hsi.h
drivers/net/bnx2x/bnx2x_link.c
drivers/net/bnx2x/bnx2x_link.h
drivers/net/bnx2x/bnx2x_main.c
drivers/net/bnx2x/bnx2x_reg.h