cxgb3: detect mac link faults.
authorDivy Le Ray <divy@chelsio.com>
Thu, 12 Mar 2009 21:14:19 +0000 (21:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2009 18:30:47 +0000 (11:30 -0700)
commitbf792094ef830117312b3990b63474320ec864c0
treedb47894a787ec8eee78b34c500661fd17231229f
parentcd40658a616050df0a50d0a3ded06e3ebcc0a04a
cxgb3: detect mac link faults.

The driver currently ignores the local or remote link faults
raised at the mac layer. This patch fixes it.
Our mac however only advertizes link events, so wait for the
phy to stabilize the link, then enable mac link events interrupts.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/adapter.h
drivers/net/cxgb3/common.h
drivers/net/cxgb3/cxgb3_main.c
drivers/net/cxgb3/regs.h
drivers/net/cxgb3/t3_hw.c
drivers/net/cxgb3/xgmac.c