]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bb1c5d4bf1bd29a6f46ddc78f8408c0c4363fdc
tree011e161019bbdd06617a2e06ab89398b9c20537c
parentfb22c8f9c201075f8f099734aab069cbf9568088
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