summaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-16 12:15:51 -0700
committerJeff Garzik <jeff@garzik.org>2007-10-16 21:10:28 -0400
commit501fb72d052d2a302b423bef7dec98d9d98c8a36 (patch)
treea7e2f58a981c8e35cf8c0297a3d9a90cb6987669 /drivers/net/skge.h
parent60b24b51799cc23313eed85fb874b70a6d02e2b7 (diff)
downloadlinux-501fb72d052d2a302b423bef7dec98d9d98c8a36.tar.gz
linux-501fb72d052d2a302b423bef7dec98d9d98c8a36.tar.bz2
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 {