Go to the documentation of this file.
29 #define BSWAP(w) (((w) << 8) | ((w) >> 8))
37 #if defined(CONFIG_ARN5206)
38 #define NE2000_ADDR 0x40000300
39 #define NE2000_ODDOFFSET 0x00010000
40 #define NE2000_ADDRSIZE 0x00020000
41 #define NE2000_IRQ_VECTOR 0xf0
42 #define NE2000_IRQ_PRIORITY 2
43 #define NE2000_IRQ_LEVEL 4
44 #define NE2000_BYTE volatile unsigned short
47 #if defined(CONFIG_M5206eC3)
48 #define NE2000_ADDR 0x40000300
49 #define NE2000_ODDOFFSET 0x00010000
50 #define NE2000_ADDRSIZE 0x00020000
51 #define NE2000_IRQ_VECTOR 0x1c
52 #define NE2000_IRQ_PRIORITY 2
53 #define NE2000_IRQ_LEVEL 4
54 #define NE2000_BYTE volatile unsigned short
57 #if defined(CONFIG_M5206e) && defined(CONFIG_NETtel)
58 #define NE2000_ADDR 0x30000300
59 #define NE2000_ADDRSIZE 0x00001000
60 #define NE2000_IRQ_VECTOR 25
61 #define NE2000_IRQ_PRIORITY 1
62 #define NE2000_IRQ_LEVEL 3
63 #define NE2000_BYTE volatile unsigned char
66 #if defined(CONFIG_M5307C3)
67 #define NE2000_ADDR 0x40000300
68 #define NE2000_ODDOFFSET 0x00010000
69 #define NE2000_ADDRSIZE 0x00020000
70 #define NE2000_IRQ_VECTOR 0x1b
71 #define NE2000_BYTE volatile unsigned short
74 #if defined(CONFIG_M5272) && defined(CONFIG_NETtel)
75 #define NE2000_ADDR 0x30600300
76 #define NE2000_ODDOFFSET 0x00008000
77 #define NE2000_ADDRSIZE 0x00010000
78 #define NE2000_IRQ_VECTOR 67
81 #define NE2000_BYTE volatile unsigned short
83 #define RSWAP(w) (((w) << 8) | ((w) >> 8))
86 #if defined(CONFIG_M5307) && defined(CONFIG_NETtel)
87 #define NE2000_ADDR0 0x30600300
88 #define NE2000_ADDR1 0x30800300
89 #define NE2000_ODDOFFSET 0x00008000
90 #define NE2000_ADDRSIZE 0x00010000
91 #define NE2000_IRQ_VECTOR0 27
92 #define NE2000_IRQ_VECTOR1 29
95 #define NE2000_BYTE volatile unsigned short
97 #define RSWAP(w) (((w) << 8) | ((w) >> 8))
100 #if defined(CONFIG_M5307) && defined(CONFIG_SECUREEDGEMP3)
101 #define NE2000_ADDR 0x30600300
102 #define NE2000_ODDOFFSET 0x00008000
103 #define NE2000_ADDRSIZE 0x00010000
104 #define NE2000_IRQ_VECTOR 27
107 #define NE2000_BYTE volatile unsigned short
109 #define RSWAP(w) (((w) << 8) | ((w) >> 8))
112 #if defined(CONFIG_ARN5307)
113 #define NE2000_ADDR 0xfe600300
114 #define NE2000_ODDOFFSET 0x00010000
115 #define NE2000_ADDRSIZE 0x00020000
116 #define NE2000_IRQ_VECTOR 0x1b
117 #define NE2000_IRQ_PRIORITY 2
118 #define NE2000_IRQ_LEVEL 3
119 #define NE2000_BYTE volatile unsigned short
122 #if defined(CONFIG_M5407C3)
123 #define NE2000_ADDR 0x40000300
124 #define NE2000_ODDOFFSET 0x00010000
125 #define NE2000_ADDRSIZE 0x00020000
126 #define NE2000_IRQ_VECTOR 0x1b
127 #define NE2000_BYTE volatile unsigned short