diff options
Diffstat (limited to 'drivers/net/skge.h')
-rw-r--r-- | drivers/net/skge.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h index f6223c533c01..17b1b479dff5 100644 --- a/drivers/net/skge.h +++ b/drivers/net/skge.h | |||
@@ -876,11 +876,13 @@ enum { | |||
876 | WOL_PATT_CNT_0 = 0x0f38,/* 32 bit WOL Pattern Counter 3..0 */ | 876 | WOL_PATT_CNT_0 = 0x0f38,/* 32 bit WOL Pattern Counter 3..0 */ |
877 | WOL_PATT_CNT_4 = 0x0f3c,/* 24 bit WOL Pattern Counter 6..4 */ | 877 | WOL_PATT_CNT_4 = 0x0f3c,/* 24 bit WOL Pattern Counter 6..4 */ |
878 | }; | 878 | }; |
879 | #define WOL_REGS(port, x) (x + (port)*0x80) | ||
879 | 880 | ||
880 | enum { | 881 | enum { |
881 | WOL_PATT_RAM_1 = 0x1000,/* WOL Pattern RAM Link 1 */ | 882 | WOL_PATT_RAM_1 = 0x1000,/* WOL Pattern RAM Link 1 */ |
882 | WOL_PATT_RAM_2 = 0x1400,/* WOL Pattern RAM Link 2 */ | 883 | WOL_PATT_RAM_2 = 0x1400,/* WOL Pattern RAM Link 2 */ |
883 | }; | 884 | }; |
885 | #define WOL_PATT_RAM_BASE(port) (WOL_PATT_RAM_1 + (port)*0x400) | ||
884 | 886 | ||
885 | enum { | 887 | enum { |
886 | BASE_XMAC_1 = 0x2000,/* XMAC 1 registers */ | 888 | BASE_XMAC_1 = 0x2000,/* XMAC 1 registers */ |