cxgb3: commnonize LASI phy code
authorDivy Le Ray <divy@chelsio.com>
Thu, 9 Oct 2008 00:39:31 +0000 (17:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2008 00:39:31 +0000 (17:39 -0700)
commit9b1e36566c5fafbcc732c971acfcf8580332931a
tree2c779d712f07f0b097ad1a2041779597b7ca9bbc
parentf231e0a5a2d01da40515c24f1daa689fe8cfd8d7
cxgb3: commnonize LASI phy code

Add generic code to manage interrupt driven PHYs.
Do not reset the phy after link parameters update,
the new values might get lost.
Return early from link change notification
when the link parameters remain unchanged.

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