diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-10-16 15:15:51 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-16 21:10:28 -0400 |
commit | 501fb72d052d2a302b423bef7dec98d9d98c8a36 (patch) | |
tree | a7e2f58a981c8e35cf8c0297a3d9a90cb6987669 /drivers/net/skge.h | |
parent | 60b24b51799cc23313eed85fb874b70a6d02e2b7 (diff) |
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.h | 6 |
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 { | |||
2191 | XM_IS_TXF_UR = 1<<2, /* Bit 2: Transmit FIFO Underrun */ | 2191 | XM_IS_TXF_UR = 1<<2, /* Bit 2: Transmit FIFO Underrun */ |
2192 | XM_IS_TX_COMP = 1<<1, /* Bit 1: Frame Tx Complete */ | 2192 | XM_IS_TX_COMP = 1<<1, /* Bit 1: Frame Tx Complete */ |
2193 | XM_IS_RX_COMP = 1<<0, /* Bit 0: Frame Rx Complete */ | 2193 | XM_IS_RX_COMP = 1<<0, /* Bit 0: Frame Rx Complete */ |
2194 | }; | ||
2195 | |||
2196 | #define XM_DEF_MSK (~(XM_IS_INP_ASS | XM_IS_LIPA_RC | \ | ||
2197 | XM_IS_RXF_OV | XM_IS_TXF_UR)) | ||
2198 | 2194 | ||
2195 | XM_IMSK_DISABLE = 0xffff, | ||
2196 | }; | ||
2199 | 2197 | ||
2200 | /* XM_HW_CFG 16 bit r/w Hardware Config Register */ | 2198 | /* XM_HW_CFG 16 bit r/w Hardware Config Register */ |
2201 | enum { | 2199 | enum { |