diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-03-21 00:48:22 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-21 22:00:53 +0100 |
commit | d257924e85a81561a956f1791fa5a226e3a32ce1 (patch) | |
tree | 4632372160838e2a878f9f1edf0d34b0da06d49c /drivers/net/sky2.h | |
parent | [PATCH] sky2: transmit recovery (diff) | |
download | linux-d257924e85a81561a956f1791fa5a226e3a32ce1.tar.xz linux-d257924e85a81561a956f1791fa5a226e3a32ce1.zip |
[PATCH] sky2: handle all error irqs
The hardware has additional error trap interrupt bits. I have never seen
them trigger, but if they do, it looks like this might be useful.
Signed-off-by: Stephen Hemminger <shemminger@osdl.rog>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/sky2.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h index 50e9f7d38bf3..d63cd5a1b71c 100644 --- a/drivers/net/sky2.h +++ b/drivers/net/sky2.h @@ -279,8 +279,10 @@ enum { Y2_IS_CHK_TXA1 = 1<<0, /* Descriptor error TXA 1 */ Y2_IS_BASE = Y2_IS_HW_ERR | Y2_IS_STAT_BMU, - Y2_IS_PORT_1 = Y2_IS_IRQ_PHY1 | Y2_IS_IRQ_MAC1, - Y2_IS_PORT_2 = Y2_IS_IRQ_PHY2 | Y2_IS_IRQ_MAC2, + Y2_IS_PORT_1 = Y2_IS_IRQ_PHY1 | Y2_IS_IRQ_MAC1 + | Y2_IS_CHK_TXA1 | Y2_IS_CHK_RX1, + Y2_IS_PORT_2 = Y2_IS_IRQ_PHY2 | Y2_IS_IRQ_MAC2 + | Y2_IS_CHK_TXA2 | Y2_IS_CHK_RX2, }; /* B2_IRQM_HWE_MSK 32 bit IRQ Moderation HW Error Mask */ |