summaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-16 21:15:51 +0200
committerJeff Garzik <jeff@garzik.org>2007-10-17 03:10:28 +0200
commit501fb72d052d2a302b423bef7dec98d9d98c8a36 (patch)
treea7e2f58a981c8e35cf8c0297a3d9a90cb6987669 /drivers/net/skge.h
parentskge: changing MTU while running causes problems (diff)
downloadlinux-501fb72d052d2a302b423bef7dec98d9d98c8a36.tar.xz
linux-501fb72d052d2a302b423bef7dec98d9d98c8a36.zip
skge: XM PHY handling fixes
Change how PHY is managed on SysKonnect fibre based boards. Poll for PHY coming up 1 per second, but use interrupt to detect loss. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/skge.h')
-rw-r--r--drivers/net/skge.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h
index 1a57bdd1ddf1..b944738a4a0e 100644
--- a/drivers/net/skge.h
+++ b/drivers/net/skge.h
@@ -2191,11 +2191,9 @@ enum {
XM_IS_TXF_UR = 1<<2, /* Bit 2: Transmit FIFO Underrun */
XM_IS_TX_COMP = 1<<1, /* Bit 1: Frame Tx Complete */
XM_IS_RX_COMP = 1<<0, /* Bit 0: Frame Rx Complete */
-};
-
-#define XM_DEF_MSK (~(XM_IS_INP_ASS | XM_IS_LIPA_RC | \
- XM_IS_RXF_OV | XM_IS_TXF_UR))
+ XM_IMSK_DISABLE = 0xffff,
+};
/* XM_HW_CFG 16 bit r/w Hardware Config Register */
enum {