summaryrefslogtreecommitdiff
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-10-05 15:49:50 -0700
committerJeff Garzik <jeff@garzik.org>2006-10-11 04:06:08 -0400
commita1bc9b875be597cdf147db2748ba7ddc6b0f0fbe (patch)
treea4820b33026072c5a3e0fb1b8a1d1b37184fd286 /drivers/net/skge.h
parent647519100105fb4ddfe6455e820093999c08c4be (diff)
[PATCH] skge: fix stuck irq when fiber down
The PHY interrupt from the internal fiber is getting stuck on when the link is down. Add code to handle the transition and mask it. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/skge.h')
-rw-r--r--drivers/net/skge.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h
index d0b47d46cf9..9cc955c1250 100644
--- a/drivers/net/skge.h
+++ b/drivers/net/skge.h
@@ -2195,7 +2195,8 @@ enum {
XM_IS_RX_COMP = 1<<0, /* Bit 0: Frame Rx Complete */
};
-#define XM_DEF_MSK (~(XM_IS_RXC_OV | XM_IS_TXC_OV | XM_IS_RXF_OV | XM_IS_TXF_UR))
+#define XM_DEF_MSK (~(XM_IS_INP_ASS | XM_IS_LIPA_RC | \
+ XM_IS_RXF_OV | XM_IS_TXF_UR))
/* XM_HW_CFG 16 bit r/w Hardware Config Register */