diff options
author | Divy Le Ray <divy@chelsio.com> | 2008-10-08 20:39:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-08 20:39:00 -0400 |
commit | f231e0a5a2d01da40515c24f1daa689fe8cfd8d7 (patch) | |
tree | 011e161019bbdd06617a2e06ab89398b9c20537c /drivers/net/cxgb3/regs.h | |
parent | 044979827eda13675abab99879ebe3ea535d59fa (diff) |
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>
Diffstat (limited to 'drivers/net/cxgb3/regs.h')
-rw-r--r-- | drivers/net/cxgb3/regs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/regs.h b/drivers/net/cxgb3/regs.h index 4bda27c551c9..a035d5c24442 100644 --- a/drivers/net/cxgb3/regs.h +++ b/drivers/net/cxgb3/regs.h | |||
@@ -573,6 +573,10 @@ | |||
573 | #define V_GPIO10(x) ((x) << S_GPIO10) | 573 | #define V_GPIO10(x) ((x) << S_GPIO10) |
574 | #define F_GPIO10 V_GPIO10(1U) | 574 | #define F_GPIO10 V_GPIO10(1U) |
575 | 575 | ||
576 | #define S_GPIO9 9 | ||
577 | #define V_GPIO9(x) ((x) << S_GPIO9) | ||
578 | #define F_GPIO9 V_GPIO9(1U) | ||
579 | |||
576 | #define S_GPIO7 7 | 580 | #define S_GPIO7 7 |
577 | #define V_GPIO7(x) ((x) << S_GPIO7) | 581 | #define V_GPIO7(x) ((x) << S_GPIO7) |
578 | #define F_GPIO7 V_GPIO7(1U) | 582 | #define F_GPIO7 V_GPIO7(1U) |