cxgb3: More flexible support for PHY interrupts.
authorDivy Le Ray <divy@chelsio.com>
Thu, 9 Oct 2008 00:39:00 +0000 (17:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2008 00:39:00 +0000 (17:39 -0700)
commitf231e0a5a2d01da40515c24f1daa689fe8cfd8d7
tree011e161019bbdd06617a2e06ab89398b9c20537c
parent044979827eda13675abab99879ebe3ea535d59fa
cxgb3: More flexible support for PHY interrupts.

Do not require PHY interrupts to be connected to GPIs in ascending order.
Base interrupt availability both on PHYs supporting them and on GPIs being
hooked up.  Allows boards to specify interrupt GPIs though the PHYs don't
use them.

Remove spurious PHY interrupts due to clearing T3DBG interrupts before
setting their polarity.

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