diff options
Diffstat (limited to 'drivers')
102 files changed, 12293 insertions, 16567 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 765fd1c56cd6..bee64b73c919 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c | |||
@@ -758,8 +758,7 @@ static int __init acpi_bus_init(void) | |||
758 | acpi_status status = AE_OK; | 758 | acpi_status status = AE_OK; |
759 | extern acpi_status acpi_os_initialize1(void); | 759 | extern acpi_status acpi_os_initialize1(void); |
760 | 760 | ||
761 | 761 | acpi_os_initialize1(); | |
762 | status = acpi_os_initialize1(); | ||
763 | 762 | ||
764 | status = | 763 | status = |
765 | acpi_enable_subsystem(ACPI_NO_HARDWARE_INIT | ACPI_NO_ACPI_ENABLE); | 764 | acpi_enable_subsystem(ACPI_NO_HARDWARE_INIT | ACPI_NO_ACPI_ENABLE); |
@@ -769,12 +768,6 @@ static int __init acpi_bus_init(void) | |||
769 | goto error1; | 768 | goto error1; |
770 | } | 769 | } |
771 | 770 | ||
772 | if (ACPI_FAILURE(status)) { | ||
773 | printk(KERN_ERR PREFIX | ||
774 | "Unable to initialize ACPI OS objects\n"); | ||
775 | goto error1; | ||
776 | } | ||
777 | |||
778 | /* | 771 | /* |
779 | * ACPI 2.0 requires the EC driver to be loaded and work before | 772 | * ACPI 2.0 requires the EC driver to be loaded and work before |
780 | * the EC device is found in the namespace (i.e. before acpi_initialize_objects() | 773 | * the EC device is found in the namespace (i.e. before acpi_initialize_objects() |
diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index c5e292aab0e3..3a0d8ef25c75 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c | |||
@@ -277,7 +277,7 @@ int acpi_get_node(acpi_handle *handle) | |||
277 | int pxm, node = -1; | 277 | int pxm, node = -1; |
278 | 278 | ||
279 | pxm = acpi_get_pxm(handle); | 279 | pxm = acpi_get_pxm(handle); |
280 | if (pxm >= 0) | 280 | if (pxm >= 0 && pxm < MAX_PXM_DOMAINS) |
281 | node = acpi_map_pxm_to_node(pxm); | 281 | node = acpi_map_pxm_to_node(pxm); |
282 | 282 | ||
283 | return node; | 283 | return node; |
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index b3193ec0a2ef..1e35f342957c 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1317,54 +1317,6 @@ acpi_os_validate_interface (char *interface) | |||
1317 | return AE_SUPPORT; | 1317 | return AE_SUPPORT; |
1318 | } | 1318 | } |
1319 | 1319 | ||
1320 | #ifdef CONFIG_X86 | ||
1321 | |||
1322 | struct aml_port_desc { | ||
1323 | uint start; | ||
1324 | uint end; | ||
1325 | char* name; | ||
1326 | char warned; | ||
1327 | }; | ||
1328 | |||
1329 | static struct aml_port_desc aml_invalid_port_list[] = { | ||
1330 | {0x20, 0x21, "PIC0", 0}, | ||
1331 | {0xA0, 0xA1, "PIC1", 0}, | ||
1332 | {0x4D0, 0x4D1, "ELCR", 0} | ||
1333 | }; | ||
1334 | |||
1335 | /* | ||
1336 | * valid_aml_io_address() | ||
1337 | * | ||
1338 | * if valid, return true | ||
1339 | * else invalid, warn once, return false | ||
1340 | */ | ||
1341 | static bool valid_aml_io_address(uint address, uint length) | ||
1342 | { | ||
1343 | int i; | ||
1344 | int entries = sizeof(aml_invalid_port_list) / sizeof(struct aml_port_desc); | ||
1345 | |||
1346 | for (i = 0; i < entries; ++i) { | ||
1347 | if ((address >= aml_invalid_port_list[i].start && | ||
1348 | address <= aml_invalid_port_list[i].end) || | ||
1349 | (address + length >= aml_invalid_port_list[i].start && | ||
1350 | address + length <= aml_invalid_port_list[i].end)) | ||
1351 | { | ||
1352 | if (!aml_invalid_port_list[i].warned) | ||
1353 | { | ||
1354 | printk(KERN_ERR "ACPI: Denied BIOS AML access" | ||
1355 | " to invalid port 0x%x+0x%x (%s)\n", | ||
1356 | address, length, | ||
1357 | aml_invalid_port_list[i].name); | ||
1358 | aml_invalid_port_list[i].warned = 1; | ||
1359 | } | ||
1360 | return false; /* invalid */ | ||
1361 | } | ||
1362 | } | ||
1363 | return true; /* valid */ | ||
1364 | } | ||
1365 | #else | ||
1366 | static inline bool valid_aml_io_address(uint address, uint length) { return true; } | ||
1367 | #endif | ||
1368 | /****************************************************************************** | 1320 | /****************************************************************************** |
1369 | * | 1321 | * |
1370 | * FUNCTION: acpi_os_validate_address | 1322 | * FUNCTION: acpi_os_validate_address |
@@ -1394,8 +1346,6 @@ acpi_os_validate_address ( | |||
1394 | 1346 | ||
1395 | switch (space_id) { | 1347 | switch (space_id) { |
1396 | case ACPI_ADR_SPACE_SYSTEM_IO: | 1348 | case ACPI_ADR_SPACE_SYSTEM_IO: |
1397 | if (!valid_aml_io_address(address, length)) | ||
1398 | return AE_AML_ILLEGAL_ADDRESS; | ||
1399 | case ACPI_ADR_SPACE_SYSTEM_MEMORY: | 1349 | case ACPI_ADR_SPACE_SYSTEM_MEMORY: |
1400 | /* Only interference checks against SystemIO and SytemMemory | 1350 | /* Only interference checks against SystemIO and SytemMemory |
1401 | are needed */ | 1351 | are needed */ |
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 519266654f06..00456fccfa38 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c | |||
@@ -378,6 +378,22 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = { | |||
378 | DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"), | 378 | DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"), |
379 | }, | 379 | }, |
380 | }, | 380 | }, |
381 | { | ||
382 | .callback = init_old_suspend_ordering, | ||
383 | .ident = "Asus Pundit P1-AH2 (M2N8L motherboard)", | ||
384 | .matches = { | ||
385 | DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTek Computer INC."), | ||
386 | DMI_MATCH(DMI_BOARD_NAME, "M2N8L"), | ||
387 | }, | ||
388 | }, | ||
389 | { | ||
390 | .callback = init_set_sci_en_on_resume, | ||
391 | .ident = "Toshiba Satellite L300", | ||
392 | .matches = { | ||
393 | DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), | ||
394 | DMI_MATCH(DMI_PRODUCT_NAME, "Satellite L300"), | ||
395 | }, | ||
396 | }, | ||
381 | {}, | 397 | {}, |
382 | }; | 398 | }; |
383 | #endif /* CONFIG_SUSPEND */ | 399 | #endif /* CONFIG_SUSPEND */ |
diff --git a/drivers/block/Makefile b/drivers/block/Makefile index 204332b29578..87e120e0a79c 100644 --- a/drivers/block/Makefile +++ b/drivers/block/Makefile | |||
@@ -9,6 +9,7 @@ obj-$(CONFIG_MAC_FLOPPY) += swim3.o | |||
9 | obj-$(CONFIG_BLK_DEV_FD) += floppy.o | 9 | obj-$(CONFIG_BLK_DEV_FD) += floppy.o |
10 | obj-$(CONFIG_AMIGA_FLOPPY) += amiflop.o | 10 | obj-$(CONFIG_AMIGA_FLOPPY) += amiflop.o |
11 | obj-$(CONFIG_PS3_DISK) += ps3disk.o | 11 | obj-$(CONFIG_PS3_DISK) += ps3disk.o |
12 | obj-$(CONFIG_PS3_VRAM) += ps3vram.o | ||
12 | obj-$(CONFIG_ATARI_FLOPPY) += ataflop.o | 13 | obj-$(CONFIG_ATARI_FLOPPY) += ataflop.o |
13 | obj-$(CONFIG_AMIGA_Z2RAM) += z2ram.o | 14 | obj-$(CONFIG_AMIGA_Z2RAM) += z2ram.o |
14 | obj-$(CONFIG_BLK_DEV_RAM) += brd.o | 15 | obj-$(CONFIG_BLK_DEV_RAM) += brd.o |
diff --git a/drivers/block/ps3vram.c b/drivers/block/ps3vram.c new file mode 100644 index 000000000000..393ed6760d78 --- /dev/null +++ b/drivers/block/ps3vram.c | |||
@@ -0,0 +1,865 @@ | |||
1 | /* | ||
2 | * ps3vram - Use extra PS3 video ram as MTD block device. | ||
3 | * | ||
4 | * Copyright 2009 Sony Corporation | ||
5 | * | ||
6 | * Based on the MTD ps3vram driver, which is | ||
7 | * Copyright (c) 2007-2008 Jim Paris <jim@jtan.com> | ||
8 | * Added support RSX DMA Vivien Chappelier <vivien.chappelier@free.fr> | ||
9 | */ | ||
10 | |||
11 | #include <linux/blkdev.h> | ||
12 | #include <linux/delay.h> | ||
13 | #include <linux/proc_fs.h> | ||
14 | #include <linux/seq_file.h> | ||
15 | |||
16 | #include <asm/firmware.h> | ||
17 | #include <asm/lv1call.h> | ||
18 | #include <asm/ps3.h> | ||
19 | |||
20 | |||
21 | #define DEVICE_NAME "ps3vram" | ||
22 | |||
23 | |||
24 | #define XDR_BUF_SIZE (2 * 1024 * 1024) /* XDR buffer (must be 1MiB aligned) */ | ||
25 | #define XDR_IOIF 0x0c000000 | ||
26 | |||
27 | #define FIFO_BASE XDR_IOIF | ||
28 | #define FIFO_SIZE (64 * 1024) | ||
29 | |||
30 | #define DMA_PAGE_SIZE (4 * 1024) | ||
31 | |||
32 | #define CACHE_PAGE_SIZE (256 * 1024) | ||
33 | #define CACHE_PAGE_COUNT ((XDR_BUF_SIZE - FIFO_SIZE) / CACHE_PAGE_SIZE) | ||
34 | |||
35 | #define CACHE_OFFSET CACHE_PAGE_SIZE | ||
36 | #define FIFO_OFFSET 0 | ||
37 | |||
38 | #define CTRL_PUT 0x10 | ||
39 | #define CTRL_GET 0x11 | ||
40 | #define CTRL_TOP 0x15 | ||
41 | |||
42 | #define UPLOAD_SUBCH 1 | ||
43 | #define DOWNLOAD_SUBCH 2 | ||
44 | |||
45 | #define NV_MEMORY_TO_MEMORY_FORMAT_OFFSET_IN 0x0000030c | ||
46 | #define NV_MEMORY_TO_MEMORY_FORMAT_NOTIFY 0x00000104 | ||
47 | |||
48 | #define L1GPU_CONTEXT_ATTRIBUTE_FB_BLIT 0x601 | ||
49 | |||
50 | #define CACHE_PAGE_PRESENT 1 | ||
51 | #define CACHE_PAGE_DIRTY 2 | ||
52 | |||
53 | struct ps3vram_tag { | ||
54 | unsigned int address; | ||
55 | unsigned int flags; | ||
56 | }; | ||
57 | |||
58 | struct ps3vram_cache { | ||
59 | unsigned int page_count; | ||
60 | unsigned int page_size; | ||
61 | struct ps3vram_tag *tags; | ||
62 | unsigned int hit; | ||
63 | unsigned int miss; | ||
64 | }; | ||
65 | |||
66 | struct ps3vram_priv { | ||
67 | struct request_queue *queue; | ||
68 | struct gendisk *gendisk; | ||
69 | |||
70 | u64 size; | ||
71 | |||
72 | u64 memory_handle; | ||
73 | u64 context_handle; | ||
74 | u32 *ctrl; | ||
75 | u32 *reports; | ||
76 | u8 __iomem *ddr_base; | ||
77 | u8 *xdr_buf; | ||
78 | |||
79 | u32 *fifo_base; | ||
80 | u32 *fifo_ptr; | ||
81 | |||
82 | struct ps3vram_cache cache; | ||
83 | |||
84 | /* Used to serialize cache/DMA operations */ | ||
85 | struct mutex lock; | ||
86 | }; | ||
87 | |||
88 | |||
89 | static int ps3vram_major; | ||
90 | |||
91 | |||
92 | static struct block_device_operations ps3vram_fops = { | ||
93 | .owner = THIS_MODULE, | ||
94 | }; | ||
95 | |||
96 | |||
97 | #define DMA_NOTIFIER_HANDLE_BASE 0x66604200 /* first DMA notifier handle */ | ||
98 | #define DMA_NOTIFIER_OFFSET_BASE 0x1000 /* first DMA notifier offset */ | ||
99 | #define DMA_NOTIFIER_SIZE 0x40 | ||
100 | #define NOTIFIER 7 /* notifier used for completion report */ | ||
101 | |||
102 | static char *size = "256M"; | ||
103 | module_param(size, charp, 0); | ||
104 | MODULE_PARM_DESC(size, "memory size"); | ||
105 | |||
106 | static u32 *ps3vram_get_notifier(u32 *reports, int notifier) | ||
107 | { | ||
108 | return (void *)reports + DMA_NOTIFIER_OFFSET_BASE + | ||
109 | DMA_NOTIFIER_SIZE * notifier; | ||
110 | } | ||
111 | |||
112 | static void ps3vram_notifier_reset(struct ps3_system_bus_device *dev) | ||
113 | { | ||
114 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
115 | u32 *notify = ps3vram_get_notifier(priv->reports, NOTIFIER); | ||
116 | int i; | ||
117 | |||
118 | for (i = 0; i < 4; i++) | ||
119 | notify[i] = 0xffffffff; | ||
120 | } | ||
121 | |||
122 | static int ps3vram_notifier_wait(struct ps3_system_bus_device *dev, | ||
123 | unsigned int timeout_ms) | ||
124 | { | ||
125 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
126 | u32 *notify = ps3vram_get_notifier(priv->reports, NOTIFIER); | ||
127 | unsigned long timeout = jiffies + msecs_to_jiffies(timeout_ms); | ||
128 | |||
129 | do { | ||
130 | if (!notify[3]) | ||
131 | return 0; | ||
132 | msleep(1); | ||
133 | } while (time_before(jiffies, timeout)); | ||
134 | |||
135 | return -ETIMEDOUT; | ||
136 | } | ||
137 | |||
138 | static void ps3vram_init_ring(struct ps3_system_bus_device *dev) | ||
139 | { | ||
140 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
141 | |||
142 | priv->ctrl[CTRL_PUT] = FIFO_BASE + FIFO_OFFSET; | ||
143 | priv->ctrl[CTRL_GET] = FIFO_BASE + FIFO_OFFSET; | ||
144 | } | ||
145 | |||
146 | static int ps3vram_wait_ring(struct ps3_system_bus_device *dev, | ||
147 | unsigned int timeout_ms) | ||
148 | { | ||
149 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
150 | unsigned long timeout = jiffies + msecs_to_jiffies(timeout_ms); | ||
151 | |||
152 | do { | ||
153 | if (priv->ctrl[CTRL_PUT] == priv->ctrl[CTRL_GET]) | ||
154 | return 0; | ||
155 | msleep(1); | ||
156 | } while (time_before(jiffies, timeout)); | ||
157 | |||
158 | dev_warn(&dev->core, "FIFO timeout (%08x/%08x/%08x)\n", | ||
159 | priv->ctrl[CTRL_PUT], priv->ctrl[CTRL_GET], | ||
160 | priv->ctrl[CTRL_TOP]); | ||
161 | |||
162 | return -ETIMEDOUT; | ||
163 | } | ||
164 | |||
165 | static void ps3vram_out_ring(struct ps3vram_priv *priv, u32 data) | ||
166 | { | ||
167 | *(priv->fifo_ptr)++ = data; | ||
168 | } | ||
169 | |||
170 | static void ps3vram_begin_ring(struct ps3vram_priv *priv, u32 chan, u32 tag, | ||
171 | u32 size) | ||
172 | { | ||
173 | ps3vram_out_ring(priv, (size << 18) | (chan << 13) | tag); | ||
174 | } | ||
175 | |||
176 | static void ps3vram_rewind_ring(struct ps3_system_bus_device *dev) | ||
177 | { | ||
178 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
179 | int status; | ||
180 | |||
181 | ps3vram_out_ring(priv, 0x20000000 | (FIFO_BASE + FIFO_OFFSET)); | ||
182 | |||
183 | priv->ctrl[CTRL_PUT] = FIFO_BASE + FIFO_OFFSET; | ||
184 | |||
185 | /* asking the HV for a blit will kick the FIFO */ | ||
186 | status = lv1_gpu_context_attribute(priv->context_handle, | ||
187 | L1GPU_CONTEXT_ATTRIBUTE_FB_BLIT, 0, | ||
188 | 0, 0, 0); | ||
189 | if (status) | ||
190 | dev_err(&dev->core, | ||
191 | "%s: lv1_gpu_context_attribute failed %d\n", __func__, | ||
192 | status); | ||
193 | |||
194 | priv->fifo_ptr = priv->fifo_base; | ||
195 | } | ||
196 | |||
197 | static void ps3vram_fire_ring(struct ps3_system_bus_device *dev) | ||
198 | { | ||
199 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
200 | int status; | ||
201 | |||
202 | mutex_lock(&ps3_gpu_mutex); | ||
203 | |||
204 | priv->ctrl[CTRL_PUT] = FIFO_BASE + FIFO_OFFSET + | ||
205 | (priv->fifo_ptr - priv->fifo_base) * sizeof(u32); | ||
206 | |||
207 | /* asking the HV for a blit will kick the FIFO */ | ||
208 | status = lv1_gpu_context_attribute(priv->context_handle, | ||
209 | L1GPU_CONTEXT_ATTRIBUTE_FB_BLIT, 0, | ||
210 | 0, 0, 0); | ||
211 | if (status) | ||
212 | dev_err(&dev->core, | ||
213 | "%s: lv1_gpu_context_attribute failed %d\n", __func__, | ||
214 | status); | ||
215 | |||
216 | if ((priv->fifo_ptr - priv->fifo_base) * sizeof(u32) > | ||
217 | FIFO_SIZE - 1024) { | ||
218 | dev_dbg(&dev->core, "FIFO full, rewinding\n"); | ||
219 | ps3vram_wait_ring(dev, 200); | ||
220 | ps3vram_rewind_ring(dev); | ||
221 | } | ||
222 | |||
223 | mutex_unlock(&ps3_gpu_mutex); | ||
224 | } | ||
225 | |||
226 | static void ps3vram_bind(struct ps3_system_bus_device *dev) | ||
227 | { | ||
228 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
229 | |||
230 | ps3vram_begin_ring(priv, UPLOAD_SUBCH, 0, 1); | ||
231 | ps3vram_out_ring(priv, 0x31337303); | ||
232 | ps3vram_begin_ring(priv, UPLOAD_SUBCH, 0x180, 3); | ||
233 | ps3vram_out_ring(priv, DMA_NOTIFIER_HANDLE_BASE + NOTIFIER); | ||
234 | ps3vram_out_ring(priv, 0xfeed0001); /* DMA system RAM instance */ | ||
235 | ps3vram_out_ring(priv, 0xfeed0000); /* DMA video RAM instance */ | ||
236 | |||
237 | ps3vram_begin_ring(priv, DOWNLOAD_SUBCH, 0, 1); | ||
238 | ps3vram_out_ring(priv, 0x3137c0de); | ||
239 | ps3vram_begin_ring(priv, DOWNLOAD_SUBCH, 0x180, 3); | ||
240 | ps3vram_out_ring(priv, DMA_NOTIFIER_HANDLE_BASE + NOTIFIER); | ||
241 | ps3vram_out_ring(priv, 0xfeed0000); /* DMA video RAM instance */ | ||
242 | ps3vram_out_ring(priv, 0xfeed0001); /* DMA system RAM instance */ | ||
243 | |||
244 | ps3vram_fire_ring(dev); | ||
245 | } | ||
246 | |||
247 | static int ps3vram_upload(struct ps3_system_bus_device *dev, | ||
248 | unsigned int src_offset, unsigned int dst_offset, | ||
249 | int len, int count) | ||
250 | { | ||
251 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
252 | |||
253 | ps3vram_begin_ring(priv, UPLOAD_SUBCH, | ||
254 | NV_MEMORY_TO_MEMORY_FORMAT_OFFSET_IN, 8); | ||
255 | ps3vram_out_ring(priv, XDR_IOIF + src_offset); | ||
256 | ps3vram_out_ring(priv, dst_offset); | ||
257 | ps3vram_out_ring(priv, len); | ||
258 | ps3vram_out_ring(priv, len); | ||
259 | ps3vram_out_ring(priv, len); | ||
260 | ps3vram_out_ring(priv, count); | ||
261 | ps3vram_out_ring(priv, (1 << 8) | 1); | ||
262 | ps3vram_out_ring(priv, 0); | ||
263 | |||
264 | ps3vram_notifier_reset(dev); | ||
265 | ps3vram_begin_ring(priv, UPLOAD_SUBCH, | ||
266 | NV_MEMORY_TO_MEMORY_FORMAT_NOTIFY, 1); | ||
267 | ps3vram_out_ring(priv, 0); | ||
268 | ps3vram_begin_ring(priv, UPLOAD_SUBCH, 0x100, 1); | ||
269 | ps3vram_out_ring(priv, 0); | ||
270 | ps3vram_fire_ring(dev); | ||
271 | if (ps3vram_notifier_wait(dev, 200) < 0) { | ||
272 | dev_warn(&dev->core, "%s: Notifier timeout\n", __func__); | ||
273 | return -1; | ||
274 | } | ||
275 | |||
276 | return 0; | ||
277 | } | ||
278 | |||
279 | static int ps3vram_download(struct ps3_system_bus_device *dev, | ||
280 | unsigned int src_offset, unsigned int dst_offset, | ||
281 | int len, int count) | ||
282 | { | ||
283 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
284 | |||
285 | ps3vram_begin_ring(priv, DOWNLOAD_SUBCH, | ||
286 | NV_MEMORY_TO_MEMORY_FORMAT_OFFSET_IN, 8); | ||
287 | ps3vram_out_ring(priv, src_offset); | ||
288 | ps3vram_out_ring(priv, XDR_IOIF + dst_offset); | ||
289 | ps3vram_out_ring(priv, len); | ||
290 | ps3vram_out_ring(priv, len); | ||
291 | ps3vram_out_ring(priv, len); | ||
292 | ps3vram_out_ring(priv, count); | ||
293 | ps3vram_out_ring(priv, (1 << 8) | 1); | ||
294 | ps3vram_out_ring(priv, 0); | ||
295 | |||
296 | ps3vram_notifier_reset(dev); | ||
297 | ps3vram_begin_ring(priv, DOWNLOAD_SUBCH, | ||
298 | NV_MEMORY_TO_MEMORY_FORMAT_NOTIFY, 1); | ||
299 | ps3vram_out_ring(priv, 0); | ||
300 | ps3vram_begin_ring(priv, DOWNLOAD_SUBCH, 0x100, 1); | ||
301 | ps3vram_out_ring(priv, 0); | ||
302 | ps3vram_fire_ring(dev); | ||
303 | if (ps3vram_notifier_wait(dev, 200) < 0) { | ||
304 | dev_warn(&dev->core, "%s: Notifier timeout\n", __func__); | ||
305 | return -1; | ||
306 | } | ||
307 | |||
308 | return 0; | ||
309 | } | ||
310 | |||
311 | static void ps3vram_cache_evict(struct ps3_system_bus_device *dev, int entry) | ||
312 | { | ||
313 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
314 | struct ps3vram_cache *cache = &priv->cache; | ||
315 | |||
316 | if (!(cache->tags[entry].flags & CACHE_PAGE_DIRTY)) | ||
317 | return; | ||
318 | |||
319 | dev_dbg(&dev->core, "Flushing %d: 0x%08x\n", entry, | ||
320 | cache->tags[entry].address); | ||
321 | if (ps3vram_upload(dev, CACHE_OFFSET + entry * cache->page_size, | ||
322 | cache->tags[entry].address, DMA_PAGE_SIZE, | ||
323 | cache->page_size / DMA_PAGE_SIZE) < 0) { | ||
324 | dev_err(&dev->core, | ||
325 | "Failed to upload from 0x%x to " "0x%x size 0x%x\n", | ||
326 | entry * cache->page_size, cache->tags[entry].address, | ||
327 | cache->page_size); | ||
328 | } | ||
329 | cache->tags[entry].flags &= ~CACHE_PAGE_DIRTY; | ||
330 | } | ||
331 | |||
332 | static void ps3vram_cache_load(struct ps3_system_bus_device *dev, int entry, | ||
333 | unsigned int address) | ||
334 | { | ||
335 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
336 | struct ps3vram_cache *cache = &priv->cache; | ||
337 | |||
338 | dev_dbg(&dev->core, "Fetching %d: 0x%08x\n", entry, address); | ||
339 | if (ps3vram_download(dev, address, | ||
340 | CACHE_OFFSET + entry * cache->page_size, | ||
341 | DMA_PAGE_SIZE, | ||
342 | cache->page_size / DMA_PAGE_SIZE) < 0) { | ||
343 | dev_err(&dev->core, | ||
344 | "Failed to download from 0x%x to 0x%x size 0x%x\n", | ||
345 | address, entry * cache->page_size, cache->page_size); | ||
346 | } | ||
347 | |||
348 | cache->tags[entry].address = address; | ||
349 | cache->tags[entry].flags |= CACHE_PAGE_PRESENT; | ||
350 | } | ||
351 | |||
352 | |||
353 | static void ps3vram_cache_flush(struct ps3_system_bus_device *dev) | ||
354 | { | ||
355 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
356 | struct ps3vram_cache *cache = &priv->cache; | ||
357 | int i; | ||
358 | |||
359 | dev_dbg(&dev->core, "FLUSH\n"); | ||
360 | for (i = 0; i < cache->page_count; i++) { | ||
361 | ps3vram_cache_evict(dev, i); | ||
362 | cache->tags[i].flags = 0; | ||
363 | } | ||
364 | } | ||
365 | |||
366 | static unsigned int ps3vram_cache_match(struct ps3_system_bus_device *dev, | ||
367 | loff_t address) | ||
368 | { | ||
369 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
370 | struct ps3vram_cache *cache = &priv->cache; | ||
371 | unsigned int base; | ||
372 | unsigned int offset; | ||
373 | int i; | ||
374 | static int counter; | ||
375 | |||
376 | offset = (unsigned int) (address & (cache->page_size - 1)); | ||
377 | base = (unsigned int) (address - offset); | ||
378 | |||
379 | /* fully associative check */ | ||
380 | for (i = 0; i < cache->page_count; i++) { | ||
381 | if ((cache->tags[i].flags & CACHE_PAGE_PRESENT) && | ||
382 | cache->tags[i].address == base) { | ||
383 | cache->hit++; | ||
384 | dev_dbg(&dev->core, "Found entry %d: 0x%08x\n", i, | ||
385 | cache->tags[i].address); | ||
386 | return i; | ||
387 | } | ||
388 | } | ||
389 | |||
390 | /* choose a random entry */ | ||
391 | i = (jiffies + (counter++)) % cache->page_count; | ||
392 | dev_dbg(&dev->core, "Using entry %d\n", i); | ||
393 | |||
394 | ps3vram_cache_evict(dev, i); | ||
395 | ps3vram_cache_load(dev, i, base); | ||
396 | |||
397 | cache->miss++; | ||
398 | return i; | ||
399 | } | ||
400 | |||
401 | static int ps3vram_cache_init(struct ps3_system_bus_device *dev) | ||
402 | { | ||
403 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
404 | |||
405 | priv->cache.page_count = CACHE_PAGE_COUNT; | ||
406 | priv->cache.page_size = CACHE_PAGE_SIZE; | ||
407 | priv->cache.tags = kzalloc(sizeof(struct ps3vram_tag) * | ||
408 | CACHE_PAGE_COUNT, GFP_KERNEL); | ||
409 | if (priv->cache.tags == NULL) { | ||
410 | dev_err(&dev->core, "Could not allocate cache tags\n"); | ||
411 | return -ENOMEM; | ||
412 | } | ||
413 | |||
414 | dev_info(&dev->core, "Created ram cache: %d entries, %d KiB each\n", | ||
415 | CACHE_PAGE_COUNT, CACHE_PAGE_SIZE / 1024); | ||
416 | |||
417 | return 0; | ||
418 | } | ||
419 | |||
420 | static void ps3vram_cache_cleanup(struct ps3_system_bus_device *dev) | ||
421 | { | ||
422 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
423 | |||
424 | ps3vram_cache_flush(dev); | ||
425 | kfree(priv->cache.tags); | ||
426 | } | ||
427 | |||
428 | static int ps3vram_read(struct ps3_system_bus_device *dev, loff_t from, | ||
429 | size_t len, size_t *retlen, u_char *buf) | ||
430 | { | ||
431 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
432 | unsigned int cached, count; | ||
433 | |||
434 | dev_dbg(&dev->core, "%s: from=0x%08x len=0x%zx\n", __func__, | ||
435 | (unsigned int)from, len); | ||
436 | |||
437 | if (from >= priv->size) | ||
438 | return -EIO; | ||
439 | |||
440 | if (len > priv->size - from) | ||
441 | len = priv->size - from; | ||
442 | |||
443 | /* Copy from vram to buf */ | ||
444 | count = len; | ||
445 | while (count) { | ||
446 | unsigned int offset, avail; | ||
447 | unsigned int entry; | ||
448 | |||
449 | offset = (unsigned int) (from & (priv->cache.page_size - 1)); | ||
450 | avail = priv->cache.page_size - offset; | ||
451 | |||
452 | mutex_lock(&priv->lock); | ||
453 | |||
454 | entry = ps3vram_cache_match(dev, from); | ||
455 | cached = CACHE_OFFSET + entry * priv->cache.page_size + offset; | ||
456 | |||
457 | dev_dbg(&dev->core, "%s: from=%08x cached=%08x offset=%08x " | ||
458 | "avail=%08x count=%08x\n", __func__, | ||
459 | (unsigned int)from, cached, offset, avail, count); | ||
460 | |||
461 | if (avail > count) | ||
462 | avail = count; | ||
463 | memcpy(buf, priv->xdr_buf + cached, avail); | ||
464 | |||
465 | mutex_unlock(&priv->lock); | ||
466 | |||
467 | buf += avail; | ||
468 | count -= avail; | ||
469 | from += avail; | ||
470 | } | ||
471 | |||
472 | *retlen = len; | ||
473 | return 0; | ||
474 | } | ||
475 | |||
476 | static int ps3vram_write(struct ps3_system_bus_device *dev, loff_t to, | ||
477 | size_t len, size_t *retlen, const u_char *buf) | ||
478 | { | ||
479 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
480 | unsigned int cached, count; | ||
481 | |||
482 | if (to >= priv->size) | ||
483 | return -EIO; | ||
484 | |||
485 | if (len > priv->size - to) | ||
486 | len = priv->size - to; | ||
487 | |||
488 | /* Copy from buf to vram */ | ||
489 | count = len; | ||
490 | while (count) { | ||
491 | unsigned int offset, avail; | ||
492 | unsigned int entry; | ||
493 | |||
494 | offset = (unsigned int) (to & (priv->cache.page_size - 1)); | ||
495 | avail = priv->cache.page_size - offset; | ||
496 | |||
497 | mutex_lock(&priv->lock); | ||
498 | |||
499 | entry = ps3vram_cache_match(dev, to); | ||
500 | cached = CACHE_OFFSET + entry * priv->cache.page_size + offset; | ||
501 | |||
502 | dev_dbg(&dev->core, "%s: to=%08x cached=%08x offset=%08x " | ||
503 | "avail=%08x count=%08x\n", __func__, (unsigned int)to, | ||
504 | cached, offset, avail, count); | ||
505 | |||
506 | if (avail > count) | ||
507 | avail = count; | ||
508 | memcpy(priv->xdr_buf + cached, buf, avail); | ||
509 | |||
510 | priv->cache.tags[entry].flags |= CACHE_PAGE_DIRTY; | ||
511 | |||
512 | mutex_unlock(&priv->lock); | ||
513 | |||
514 | buf += avail; | ||
515 | count -= avail; | ||
516 | to += avail; | ||
517 | } | ||
518 | |||
519 | *retlen = len; | ||
520 | return 0; | ||
521 | } | ||
522 | |||
523 | static int ps3vram_proc_show(struct seq_file *m, void *v) | ||
524 | { | ||
525 | struct ps3vram_priv *priv = m->private; | ||
526 | |||
527 | seq_printf(m, "hit:%u\nmiss:%u\n", priv->cache.hit, priv->cache.miss); | ||
528 | return 0; | ||
529 | } | ||
530 | |||
531 | static int ps3vram_proc_open(struct inode *inode, struct file *file) | ||
532 | { | ||
533 | return single_open(file, ps3vram_proc_show, PDE(inode)->data); | ||
534 | } | ||
535 | |||
536 | static const struct file_operations ps3vram_proc_fops = { | ||
537 | .owner = THIS_MODULE, | ||
538 | .open = ps3vram_proc_open, | ||
539 | .read = seq_read, | ||
540 | .llseek = seq_lseek, | ||
541 | .release = single_release, | ||
542 | }; | ||
543 | |||
544 | static void __devinit ps3vram_proc_init(struct ps3_system_bus_device *dev) | ||
545 | { | ||
546 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
547 | struct proc_dir_entry *pde; | ||
548 | |||
549 | pde = proc_create(DEVICE_NAME, 0444, NULL, &ps3vram_proc_fops); | ||
550 | if (!pde) { | ||
551 | dev_warn(&dev->core, "failed to create /proc entry\n"); | ||
552 | return; | ||
553 | } | ||
554 | |||
555 | pde->owner = THIS_MODULE; | ||
556 | pde->data = priv; | ||
557 | } | ||
558 | |||
559 | static int ps3vram_make_request(struct request_queue *q, struct bio *bio) | ||
560 | { | ||
561 | struct ps3_system_bus_device *dev = q->queuedata; | ||
562 | int write = bio_data_dir(bio) == WRITE; | ||
563 | const char *op = write ? "write" : "read"; | ||
564 | loff_t offset = bio->bi_sector << 9; | ||
565 | int error = 0; | ||
566 | struct bio_vec *bvec; | ||
567 | unsigned int i; | ||
568 | |||
569 | dev_dbg(&dev->core, "%s\n", __func__); | ||
570 | |||
571 | bio_for_each_segment(bvec, bio, i) { | ||
572 | /* PS3 is ppc64, so we don't handle highmem */ | ||
573 | char *ptr = page_address(bvec->bv_page) + bvec->bv_offset; | ||
574 | size_t len = bvec->bv_len, retlen; | ||
575 | |||
576 | dev_dbg(&dev->core, " %s %zu bytes at offset %llu\n", op, | ||
577 | len, offset); | ||
578 | if (write) | ||
579 | error = ps3vram_write(dev, offset, len, &retlen, ptr); | ||
580 | else | ||
581 | error = ps3vram_read(dev, offset, len, &retlen, ptr); | ||
582 | |||
583 | if (error) { | ||
584 | dev_err(&dev->core, "%s failed\n", op); | ||
585 | goto out; | ||
586 | } | ||
587 | |||
588 | if (retlen != len) { | ||
589 | dev_err(&dev->core, "Short %s\n", op); | ||
590 | goto out; | ||
591 | } | ||
592 | |||
593 | offset += len; | ||
594 | } | ||
595 | |||
596 | dev_dbg(&dev->core, "%s completed\n", op); | ||
597 | |||
598 | out: | ||
599 | bio_endio(bio, error); | ||
600 | return 0; | ||
601 | } | ||
602 | |||
603 | static int __devinit ps3vram_probe(struct ps3_system_bus_device *dev) | ||
604 | { | ||
605 | struct ps3vram_priv *priv; | ||
606 | int error, status; | ||
607 | struct request_queue *queue; | ||
608 | struct gendisk *gendisk; | ||
609 | u64 ddr_lpar, ctrl_lpar, info_lpar, reports_lpar, ddr_size, | ||
610 | reports_size; | ||
611 | char *rest; | ||
612 | |||
613 | priv = kzalloc(sizeof(*priv), GFP_KERNEL); | ||
614 | if (!priv) { | ||
615 | error = -ENOMEM; | ||
616 | goto fail; | ||
617 | } | ||
618 | |||
619 | mutex_init(&priv->lock); | ||
620 | dev->core.driver_data = priv; | ||
621 | |||
622 | priv = dev->core.driver_data; | ||
623 | |||
624 | /* Allocate XDR buffer (1MiB aligned) */ | ||
625 | priv->xdr_buf = (void *)__get_free_pages(GFP_KERNEL, | ||
626 | get_order(XDR_BUF_SIZE)); | ||
627 | if (priv->xdr_buf == NULL) { | ||
628 | dev_err(&dev->core, "Could not allocate XDR buffer\n"); | ||
629 | error = -ENOMEM; | ||
630 | goto fail_free_priv; | ||
631 | } | ||
632 | |||
633 | /* Put FIFO at begginning of XDR buffer */ | ||
634 | priv->fifo_base = (u32 *) (priv->xdr_buf + FIFO_OFFSET); | ||
635 | priv->fifo_ptr = priv->fifo_base; | ||
636 | |||
637 | /* XXX: Need to open GPU, in case ps3fb or snd_ps3 aren't loaded */ | ||
638 | if (ps3_open_hv_device(dev)) { | ||
639 | dev_err(&dev->core, "ps3_open_hv_device failed\n"); | ||
640 | error = -EAGAIN; | ||
641 | goto out_close_gpu; | ||
642 | } | ||
643 | |||
644 | /* Request memory */ | ||
645 | status = -1; | ||
646 | ddr_size = ALIGN(memparse(size, &rest), 1024*1024); | ||
647 | if (!ddr_size) { | ||
648 | dev_err(&dev->core, "Specified size is too small\n"); | ||
649 | error = -EINVAL; | ||
650 | goto out_close_gpu; | ||
651 | } | ||
652 | |||
653 | while (ddr_size > 0) { | ||
654 | status = lv1_gpu_memory_allocate(ddr_size, 0, 0, 0, 0, | ||
655 | &priv->memory_handle, | ||
656 | &ddr_lpar); | ||
657 | if (!status) | ||
658 | break; | ||
659 | ddr_size -= 1024*1024; | ||
660 | } | ||
661 | if (status) { | ||
662 | dev_err(&dev->core, "lv1_gpu_memory_allocate failed %d\n", | ||
663 | status); | ||
664 | error = -ENOMEM; | ||
665 | goto out_free_xdr_buf; | ||
666 | } | ||
667 | |||
668 | /* Request context */ | ||
669 | status = lv1_gpu_context_allocate(priv->memory_handle, 0, | ||
670 | &priv->context_handle, &ctrl_lpar, | ||
671 | &info_lpar, &reports_lpar, | ||
672 | &reports_size); | ||
673 | if (status) { | ||
674 | dev_err(&dev->core, "lv1_gpu_context_allocate failed %d\n", | ||
675 | status); | ||
676 | error = -ENOMEM; | ||
677 | goto out_free_memory; | ||
678 | } | ||
679 | |||
680 | /* Map XDR buffer to RSX */ | ||
681 | status = lv1_gpu_context_iomap(priv->context_handle, XDR_IOIF, | ||
682 | ps3_mm_phys_to_lpar(__pa(priv->xdr_buf)), | ||
683 | XDR_BUF_SIZE, 0); | ||
684 | if (status) { | ||
685 | dev_err(&dev->core, "lv1_gpu_context_iomap failed %d\n", | ||
686 | status); | ||
687 | error = -ENOMEM; | ||
688 | goto out_free_context; | ||
689 | } | ||
690 | |||
691 | priv->ddr_base = ioremap_flags(ddr_lpar, ddr_size, _PAGE_NO_CACHE); | ||
692 | |||
693 | if (!priv->ddr_base) { | ||
694 | dev_err(&dev->core, "ioremap DDR failed\n"); | ||
695 | error = -ENOMEM; | ||
696 | goto out_free_context; | ||
697 | } | ||
698 | |||
699 | priv->ctrl = ioremap(ctrl_lpar, 64 * 1024); | ||
700 | if (!priv->ctrl) { | ||
701 | dev_err(&dev->core, "ioremap CTRL failed\n"); | ||
702 | error = -ENOMEM; | ||
703 | goto out_unmap_vram; | ||
704 | } | ||
705 | |||
706 | priv->reports = ioremap(reports_lpar, reports_size); | ||
707 | if (!priv->reports) { | ||
708 | dev_err(&dev->core, "ioremap REPORTS failed\n"); | ||
709 | error = -ENOMEM; | ||
710 | goto out_unmap_ctrl; | ||
711 | } | ||
712 | |||
713 | mutex_lock(&ps3_gpu_mutex); | ||
714 | ps3vram_init_ring(dev); | ||
715 | mutex_unlock(&ps3_gpu_mutex); | ||
716 | |||
717 | priv->size = ddr_size; | ||
718 | |||
719 | ps3vram_bind(dev); | ||
720 | |||
721 | mutex_lock(&ps3_gpu_mutex); | ||
722 | error = ps3vram_wait_ring(dev, 100); | ||
723 | mutex_unlock(&ps3_gpu_mutex); | ||
724 | if (error < 0) { | ||
725 | dev_err(&dev->core, "Failed to initialize channels\n"); | ||
726 | error = -ETIMEDOUT; | ||
727 | goto out_unmap_reports; | ||
728 | } | ||
729 | |||
730 | ps3vram_cache_init(dev); | ||
731 | ps3vram_proc_init(dev); | ||
732 | |||
733 | queue = blk_alloc_queue(GFP_KERNEL); | ||
734 | if (!queue) { | ||
735 | dev_err(&dev->core, "blk_alloc_queue failed\n"); | ||
736 | error = -ENOMEM; | ||
737 | goto out_cache_cleanup; | ||
738 | } | ||
739 | |||
740 | priv->queue = queue; | ||
741 | queue->queuedata = dev; | ||
742 | blk_queue_make_request(queue, ps3vram_make_request); | ||
743 | blk_queue_max_phys_segments(queue, MAX_PHYS_SEGMENTS); | ||
744 | blk_queue_max_hw_segments(queue, MAX_HW_SEGMENTS); | ||
745 | blk_queue_max_segment_size(queue, MAX_SEGMENT_SIZE); | ||
746 | blk_queue_max_sectors(queue, SAFE_MAX_SECTORS); | ||
747 | |||
748 | gendisk = alloc_disk(1); | ||
749 | if (!gendisk) { | ||
750 | dev_err(&dev->core, "alloc_disk failed\n"); | ||
751 | error = -ENOMEM; | ||
752 | goto fail_cleanup_queue; | ||
753 | } | ||
754 | |||
755 | priv->gendisk = gendisk; | ||
756 | gendisk->major = ps3vram_major; | ||
757 | gendisk->first_minor = 0; | ||
758 | gendisk->fops = &ps3vram_fops; | ||
759 | gendisk->queue = queue; | ||
760 | gendisk->private_data = dev; | ||
761 | gendisk->driverfs_dev = &dev->core; | ||
762 | strlcpy(gendisk->disk_name, DEVICE_NAME, sizeof(gendisk->disk_name)); | ||
763 | set_capacity(gendisk, priv->size >> 9); | ||
764 | |||
765 | dev_info(&dev->core, "%s: Using %lu MiB of GPU memory\n", | ||
766 | gendisk->disk_name, get_capacity(gendisk) >> 11); | ||
767 | |||
768 | add_disk(gendisk); | ||
769 | return 0; | ||
770 | |||
771 | fail_cleanup_queue: | ||
772 | blk_cleanup_queue(queue); | ||
773 | out_cache_cleanup: | ||
774 | remove_proc_entry(DEVICE_NAME, NULL); | ||
775 | ps3vram_cache_cleanup(dev); | ||
776 | out_unmap_reports: | ||
777 | iounmap(priv->reports); | ||
778 | out_unmap_ctrl: | ||
779 | iounmap(priv->ctrl); | ||
780 | out_unmap_vram: | ||
781 | iounmap(priv->ddr_base); | ||
782 | out_free_context: | ||
783 | lv1_gpu_context_free(priv->context_handle); | ||
784 | out_free_memory: | ||
785 | lv1_gpu_memory_free(priv->memory_handle); | ||
786 | out_close_gpu: | ||
787 | ps3_close_hv_device(dev); | ||
788 | out_free_xdr_buf: | ||
789 | free_pages((unsigned long) priv->xdr_buf, get_order(XDR_BUF_SIZE)); | ||
790 | fail_free_priv: | ||
791 | kfree(priv); | ||
792 | dev->core.driver_data = NULL; | ||
793 | fail: | ||
794 | return error; | ||
795 | } | ||
796 | |||
797 | static int ps3vram_remove(struct ps3_system_bus_device *dev) | ||
798 | { | ||
799 | struct ps3vram_priv *priv = dev->core.driver_data; | ||
800 | |||
801 | del_gendisk(priv->gendisk); | ||
802 | put_disk(priv->gendisk); | ||
803 | blk_cleanup_queue(priv->queue); | ||
804 | remove_proc_entry(DEVICE_NAME, NULL); | ||
805 | ps3vram_cache_cleanup(dev); | ||
806 | iounmap(priv->reports); | ||
807 | iounmap(priv->ctrl); | ||
808 | iounmap(priv->ddr_base); | ||
809 | lv1_gpu_context_free(priv->context_handle); | ||
810 | lv1_gpu_memory_free(priv->memory_handle); | ||
811 | ps3_close_hv_device(dev); | ||
812 | free_pages((unsigned long) priv->xdr_buf, get_order(XDR_BUF_SIZE)); | ||
813 | kfree(priv); | ||
814 | dev->core.driver_data = NULL; | ||
815 | return 0; | ||
816 | } | ||
817 | |||
818 | static struct ps3_system_bus_driver ps3vram = { | ||
819 | .match_id = PS3_MATCH_ID_GPU, | ||
820 | .match_sub_id = PS3_MATCH_SUB_ID_GPU_RAMDISK, | ||
821 | .core.name = DEVICE_NAME, | ||
822 | .core.owner = THIS_MODULE, | ||
823 | .probe = ps3vram_probe, | ||
824 | .remove = ps3vram_remove, | ||
825 | .shutdown = ps3vram_remove, | ||
826 | }; | ||
827 | |||
828 | |||
829 | static int __init ps3vram_init(void) | ||
830 | { | ||
831 | int error; | ||
832 | |||
833 | if (!firmware_has_feature(FW_FEATURE_PS3_LV1)) | ||
834 | return -ENODEV; | ||
835 | |||
836 | error = register_blkdev(0, DEVICE_NAME); | ||
837 | if (error <= 0) { | ||
838 | pr_err("%s: register_blkdev failed %d\n", DEVICE_NAME, error); | ||
839 | return error; | ||
840 | } | ||
841 | ps3vram_major = error; | ||
842 | |||
843 | pr_info("%s: registered block device major %d\n", DEVICE_NAME, | ||
844 | ps3vram_major); | ||
845 | |||
846 | error = ps3_system_bus_driver_register(&ps3vram); | ||
847 | if (error) | ||
848 | unregister_blkdev(ps3vram_major, DEVICE_NAME); | ||
849 | |||
850 | return error; | ||
851 | } | ||
852 | |||
853 | static void __exit ps3vram_exit(void) | ||
854 | { | ||
855 | ps3_system_bus_driver_unregister(&ps3vram); | ||
856 | unregister_blkdev(ps3vram_major, DEVICE_NAME); | ||
857 | } | ||
858 | |||
859 | module_init(ps3vram_init); | ||
860 | module_exit(ps3vram_exit); | ||
861 | |||
862 | MODULE_LICENSE("GPL"); | ||
863 | MODULE_DESCRIPTION("PS3 Video RAM Storage Driver"); | ||
864 | MODULE_AUTHOR("Sony Corporation"); | ||
865 | MODULE_ALIAS(PS3_MODULE_ALIAS_GPU_RAMDISK); | ||
diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c index 4940e4d70c2d..1f5b5d4c3c34 100644 --- a/drivers/hid/usbhid/hiddev.c +++ b/drivers/hid/usbhid/hiddev.c | |||
@@ -306,7 +306,7 @@ static int hiddev_open(struct inode *inode, struct file *file) | |||
306 | return 0; | 306 | return 0; |
307 | bail: | 307 | bail: |
308 | file->private_data = NULL; | 308 | file->private_data = NULL; |
309 | kfree(list->hiddev); | 309 | kfree(list); |
310 | return res; | 310 | return res; |
311 | } | 311 | } |
312 | 312 | ||
@@ -323,7 +323,7 @@ static ssize_t hiddev_write(struct file * file, const char __user * buffer, size | |||
323 | */ | 323 | */ |
324 | static ssize_t hiddev_read(struct file * file, char __user * buffer, size_t count, loff_t *ppos) | 324 | static ssize_t hiddev_read(struct file * file, char __user * buffer, size_t count, loff_t *ppos) |
325 | { | 325 | { |
326 | DECLARE_WAITQUEUE(wait, current); | 326 | DEFINE_WAIT(wait); |
327 | struct hiddev_list *list = file->private_data; | 327 | struct hiddev_list *list = file->private_data; |
328 | int event_size; | 328 | int event_size; |
329 | int retval; | 329 | int retval; |
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index 35bda49796fb..bfefd079a955 100644 --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c | |||
@@ -60,6 +60,7 @@ struct dm_crypt_io { | |||
60 | }; | 60 | }; |
61 | 61 | ||
62 | struct dm_crypt_request { | 62 | struct dm_crypt_request { |
63 | struct convert_context *ctx; | ||
63 | struct scatterlist sg_in; | 64 | struct scatterlist sg_in; |
64 | struct scatterlist sg_out; | 65 | struct scatterlist sg_out; |
65 | }; | 66 | }; |
@@ -335,6 +336,18 @@ static void crypt_convert_init(struct crypt_config *cc, | |||
335 | init_completion(&ctx->restart); | 336 | init_completion(&ctx->restart); |
336 | } | 337 | } |
337 | 338 | ||
339 | static struct dm_crypt_request *dmreq_of_req(struct crypt_config *cc, | ||
340 | struct ablkcipher_request *req) | ||
341 | { | ||
342 | return (struct dm_crypt_request *)((char *)req + cc->dmreq_start); | ||
343 | } | ||
344 | |||
345 | static struct ablkcipher_request *req_of_dmreq(struct crypt_config *cc, | ||
346 | struct dm_crypt_request *dmreq) | ||
347 | { | ||
348 | return (struct ablkcipher_request *)((char *)dmreq - cc->dmreq_start); | ||
349 | } | ||
350 | |||
338 | static int crypt_convert_block(struct crypt_config *cc, | 351 | static int crypt_convert_block(struct crypt_config *cc, |
339 | struct convert_context *ctx, | 352 | struct convert_context *ctx, |
340 | struct ablkcipher_request *req) | 353 | struct ablkcipher_request *req) |
@@ -345,10 +358,11 @@ static int crypt_convert_block(struct crypt_config *cc, | |||
345 | u8 *iv; | 358 | u8 *iv; |
346 | int r = 0; | 359 | int r = 0; |
347 | 360 | ||
348 | dmreq = (struct dm_crypt_request *)((char *)req + cc->dmreq_start); | 361 | dmreq = dmreq_of_req(cc, req); |
349 | iv = (u8 *)ALIGN((unsigned long)(dmreq + 1), | 362 | iv = (u8 *)ALIGN((unsigned long)(dmreq + 1), |
350 | crypto_ablkcipher_alignmask(cc->tfm) + 1); | 363 | crypto_ablkcipher_alignmask(cc->tfm) + 1); |
351 | 364 | ||
365 | dmreq->ctx = ctx; | ||
352 | sg_init_table(&dmreq->sg_in, 1); | 366 | sg_init_table(&dmreq->sg_in, 1); |
353 | sg_set_page(&dmreq->sg_in, bv_in->bv_page, 1 << SECTOR_SHIFT, | 367 | sg_set_page(&dmreq->sg_in, bv_in->bv_page, 1 << SECTOR_SHIFT, |
354 | bv_in->bv_offset + ctx->offset_in); | 368 | bv_in->bv_offset + ctx->offset_in); |
@@ -395,8 +409,9 @@ static void crypt_alloc_req(struct crypt_config *cc, | |||
395 | cc->req = mempool_alloc(cc->req_pool, GFP_NOIO); | 409 | cc->req = mempool_alloc(cc->req_pool, GFP_NOIO); |
396 | ablkcipher_request_set_tfm(cc->req, cc->tfm); | 410 | ablkcipher_request_set_tfm(cc->req, cc->tfm); |
397 | ablkcipher_request_set_callback(cc->req, CRYPTO_TFM_REQ_MAY_BACKLOG | | 411 | ablkcipher_request_set_callback(cc->req, CRYPTO_TFM_REQ_MAY_BACKLOG | |
398 | CRYPTO_TFM_REQ_MAY_SLEEP, | 412 | CRYPTO_TFM_REQ_MAY_SLEEP, |
399 | kcryptd_async_done, ctx); | 413 | kcryptd_async_done, |
414 | dmreq_of_req(cc, cc->req)); | ||
400 | } | 415 | } |
401 | 416 | ||
402 | /* | 417 | /* |
@@ -553,19 +568,22 @@ static void crypt_inc_pending(struct dm_crypt_io *io) | |||
553 | static void crypt_dec_pending(struct dm_crypt_io *io) | 568 | static void crypt_dec_pending(struct dm_crypt_io *io) |
554 | { | 569 | { |
555 | struct crypt_config *cc = io->target->private; | 570 | struct crypt_config *cc = io->target->private; |
571 | struct bio *base_bio = io->base_bio; | ||
572 | struct dm_crypt_io *base_io = io->base_io; | ||
573 | int error = io->error; | ||
556 | 574 | ||
557 | if (!atomic_dec_and_test(&io->pending)) | 575 | if (!atomic_dec_and_test(&io->pending)) |
558 | return; | 576 | return; |
559 | 577 | ||
560 | if (likely(!io->base_io)) | 578 | mempool_free(io, cc->io_pool); |
561 | bio_endio(io->base_bio, io->error); | 579 | |
580 | if (likely(!base_io)) | ||
581 | bio_endio(base_bio, error); | ||
562 | else { | 582 | else { |
563 | if (io->error && !io->base_io->error) | 583 | if (error && !base_io->error) |
564 | io->base_io->error = io->error; | 584 | base_io->error = error; |
565 | crypt_dec_pending(io->base_io); | 585 | crypt_dec_pending(base_io); |
566 | } | 586 | } |
567 | |||
568 | mempool_free(io, cc->io_pool); | ||
569 | } | 587 | } |
570 | 588 | ||
571 | /* | 589 | /* |
@@ -821,7 +839,8 @@ static void kcryptd_crypt_read_convert(struct dm_crypt_io *io) | |||
821 | static void kcryptd_async_done(struct crypto_async_request *async_req, | 839 | static void kcryptd_async_done(struct crypto_async_request *async_req, |
822 | int error) | 840 | int error) |
823 | { | 841 | { |
824 | struct convert_context *ctx = async_req->data; | 842 | struct dm_crypt_request *dmreq = async_req->data; |
843 | struct convert_context *ctx = dmreq->ctx; | ||
825 | struct dm_crypt_io *io = container_of(ctx, struct dm_crypt_io, ctx); | 844 | struct dm_crypt_io *io = container_of(ctx, struct dm_crypt_io, ctx); |
826 | struct crypt_config *cc = io->target->private; | 845 | struct crypt_config *cc = io->target->private; |
827 | 846 | ||
@@ -830,7 +849,7 @@ static void kcryptd_async_done(struct crypto_async_request *async_req, | |||
830 | return; | 849 | return; |
831 | } | 850 | } |
832 | 851 | ||
833 | mempool_free(ablkcipher_request_cast(async_req), cc->req_pool); | 852 | mempool_free(req_of_dmreq(cc, dmreq), cc->req_pool); |
834 | 853 | ||
835 | if (!atomic_dec_and_test(&ctx->pending)) | 854 | if (!atomic_dec_and_test(&ctx->pending)) |
836 | return; | 855 | return; |
diff --git a/drivers/md/dm-io.c b/drivers/md/dm-io.c index f14813be4eff..36e2b5e46a6b 100644 --- a/drivers/md/dm-io.c +++ b/drivers/md/dm-io.c | |||
@@ -292,6 +292,8 @@ static void do_region(int rw, unsigned region, struct dm_io_region *where, | |||
292 | (PAGE_SIZE >> SECTOR_SHIFT)); | 292 | (PAGE_SIZE >> SECTOR_SHIFT)); |
293 | num_bvecs = 1 + min_t(int, bio_get_nr_vecs(where->bdev), | 293 | num_bvecs = 1 + min_t(int, bio_get_nr_vecs(where->bdev), |
294 | num_bvecs); | 294 | num_bvecs); |
295 | if (unlikely(num_bvecs > BIO_MAX_PAGES)) | ||
296 | num_bvecs = BIO_MAX_PAGES; | ||
295 | bio = bio_alloc_bioset(GFP_NOIO, num_bvecs, io->client->bios); | 297 | bio = bio_alloc_bioset(GFP_NOIO, num_bvecs, io->client->bios); |
296 | bio->bi_sector = where->sector + (where->count - remaining); | 298 | bio->bi_sector = where->sector + (where->count - remaining); |
297 | bio->bi_bdev = where->bdev; | 299 | bio->bi_bdev = where->bdev; |
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index 54d0588fc1f6..f01096549a93 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c | |||
@@ -704,7 +704,8 @@ static int dev_rename(struct dm_ioctl *param, size_t param_size) | |||
704 | char *new_name = (char *) param + param->data_start; | 704 | char *new_name = (char *) param + param->data_start; |
705 | 705 | ||
706 | if (new_name < param->data || | 706 | if (new_name < param->data || |
707 | invalid_str(new_name, (void *) param + param_size)) { | 707 | invalid_str(new_name, (void *) param + param_size) || |
708 | strlen(new_name) > DM_NAME_LEN - 1) { | ||
708 | DMWARN("Invalid new logical volume name supplied."); | 709 | DMWARN("Invalid new logical volume name supplied."); |
709 | return -EINVAL; | 710 | return -EINVAL; |
710 | } | 711 | } |
@@ -1063,7 +1064,7 @@ static int table_load(struct dm_ioctl *param, size_t param_size) | |||
1063 | 1064 | ||
1064 | r = populate_table(t, param, param_size); | 1065 | r = populate_table(t, param, param_size); |
1065 | if (r) { | 1066 | if (r) { |
1066 | dm_table_put(t); | 1067 | dm_table_destroy(t); |
1067 | goto out; | 1068 | goto out; |
1068 | } | 1069 | } |
1069 | 1070 | ||
@@ -1071,7 +1072,7 @@ static int table_load(struct dm_ioctl *param, size_t param_size) | |||
1071 | hc = dm_get_mdptr(md); | 1072 | hc = dm_get_mdptr(md); |
1072 | if (!hc || hc->md != md) { | 1073 | if (!hc || hc->md != md) { |
1073 | DMWARN("device has been removed from the dev hash table."); | 1074 | DMWARN("device has been removed from the dev hash table."); |
1074 | dm_table_put(t); | 1075 | dm_table_destroy(t); |
1075 | up_write(&_hash_lock); | 1076 | up_write(&_hash_lock); |
1076 | r = -ENXIO; | 1077 | r = -ENXIO; |
1077 | goto out; | 1078 | goto out; |
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 51ba1db4b3e7..8d40f27cce89 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c | |||
@@ -525,9 +525,12 @@ static int __noflush_suspending(struct mapped_device *md) | |||
525 | static void dec_pending(struct dm_io *io, int error) | 525 | static void dec_pending(struct dm_io *io, int error) |
526 | { | 526 | { |
527 | unsigned long flags; | 527 | unsigned long flags; |
528 | int io_error; | ||
529 | struct bio *bio; | ||
530 | struct mapped_device *md = io->md; | ||
528 | 531 | ||
529 | /* Push-back supersedes any I/O errors */ | 532 | /* Push-back supersedes any I/O errors */ |
530 | if (error && !(io->error > 0 && __noflush_suspending(io->md))) | 533 | if (error && !(io->error > 0 && __noflush_suspending(md))) |
531 | io->error = error; | 534 | io->error = error; |
532 | 535 | ||
533 | if (atomic_dec_and_test(&io->io_count)) { | 536 | if (atomic_dec_and_test(&io->io_count)) { |
@@ -537,24 +540,27 @@ static void dec_pending(struct dm_io *io, int error) | |||
537 | * This must be handled before the sleeper on | 540 | * This must be handled before the sleeper on |
538 | * suspend queue merges the pushback list. | 541 | * suspend queue merges the pushback list. |
539 | */ | 542 | */ |
540 | spin_lock_irqsave(&io->md->pushback_lock, flags); | 543 | spin_lock_irqsave(&md->pushback_lock, flags); |
541 | if (__noflush_suspending(io->md)) | 544 | if (__noflush_suspending(md)) |
542 | bio_list_add(&io->md->pushback, io->bio); | 545 | bio_list_add(&md->pushback, io->bio); |
543 | else | 546 | else |
544 | /* noflush suspend was interrupted. */ | 547 | /* noflush suspend was interrupted. */ |
545 | io->error = -EIO; | 548 | io->error = -EIO; |
546 | spin_unlock_irqrestore(&io->md->pushback_lock, flags); | 549 | spin_unlock_irqrestore(&md->pushback_lock, flags); |
547 | } | 550 | } |
548 | 551 | ||
549 | end_io_acct(io); | 552 | end_io_acct(io); |
550 | 553 | ||
551 | if (io->error != DM_ENDIO_REQUEUE) { | 554 | io_error = io->error; |
552 | trace_block_bio_complete(io->md->queue, io->bio); | 555 | bio = io->bio; |
553 | 556 | ||
554 | bio_endio(io->bio, io->error); | 557 | free_io(md, io); |
555 | } | 558 | |
559 | if (io_error != DM_ENDIO_REQUEUE) { | ||
560 | trace_block_bio_complete(md->queue, bio); | ||
556 | 561 | ||
557 | free_io(io->md, io); | 562 | bio_endio(bio, io_error); |
563 | } | ||
558 | } | 564 | } |
559 | } | 565 | } |
560 | 566 | ||
@@ -562,6 +568,7 @@ static void clone_endio(struct bio *bio, int error) | |||
562 | { | 568 | { |
563 | int r = 0; | 569 | int r = 0; |
564 | struct dm_target_io *tio = bio->bi_private; | 570 | struct dm_target_io *tio = bio->bi_private; |
571 | struct dm_io *io = tio->io; | ||
565 | struct mapped_device *md = tio->io->md; | 572 | struct mapped_device *md = tio->io->md; |
566 | dm_endio_fn endio = tio->ti->type->end_io; | 573 | dm_endio_fn endio = tio->ti->type->end_io; |
567 | 574 | ||
@@ -585,15 +592,14 @@ static void clone_endio(struct bio *bio, int error) | |||
585 | } | 592 | } |
586 | } | 593 | } |
587 | 594 | ||
588 | dec_pending(tio->io, error); | ||
589 | |||
590 | /* | 595 | /* |
591 | * Store md for cleanup instead of tio which is about to get freed. | 596 | * Store md for cleanup instead of tio which is about to get freed. |
592 | */ | 597 | */ |
593 | bio->bi_private = md->bs; | 598 | bio->bi_private = md->bs; |
594 | 599 | ||
595 | bio_put(bio); | ||
596 | free_tio(md, tio); | 600 | free_tio(md, tio); |
601 | bio_put(bio); | ||
602 | dec_pending(io, error); | ||
597 | } | 603 | } |
598 | 604 | ||
599 | static sector_t max_io_len(struct mapped_device *md, | 605 | static sector_t max_io_len(struct mapped_device *md, |
diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig index bc33200535fc..6fde0a2e3567 100644 --- a/drivers/mtd/devices/Kconfig +++ b/drivers/mtd/devices/Kconfig | |||
@@ -120,13 +120,6 @@ config MTD_PHRAM | |||
120 | doesn't have access to, memory beyond the mem=xxx limit, nvram, | 120 | doesn't have access to, memory beyond the mem=xxx limit, nvram, |
121 | memory on the video card, etc... | 121 | memory on the video card, etc... |
122 | 122 | ||
123 | config MTD_PS3VRAM | ||
124 | tristate "PS3 video RAM" | ||
125 | depends on FB_PS3 | ||
126 | help | ||
127 | This driver allows you to use excess PS3 video RAM as volatile | ||
128 | storage or system swap. | ||
129 | |||
130 | config MTD_LART | 123 | config MTD_LART |
131 | tristate "28F160xx flash driver for LART" | 124 | tristate "28F160xx flash driver for LART" |
132 | depends on SA1100_LART | 125 | depends on SA1100_LART |
diff --git a/drivers/mtd/devices/Makefile b/drivers/mtd/devices/Makefile index e51521df4e40..0993d5cf3923 100644 --- a/drivers/mtd/devices/Makefile +++ b/drivers/mtd/devices/Makefile | |||
@@ -16,4 +16,3 @@ obj-$(CONFIG_MTD_LART) += lart.o | |||
16 | obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o | 16 | obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o |
17 | obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o | 17 | obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o |
18 | obj-$(CONFIG_MTD_M25P80) += m25p80.o | 18 | obj-$(CONFIG_MTD_M25P80) += m25p80.o |
19 | obj-$(CONFIG_MTD_PS3VRAM) += ps3vram.o | ||
diff --git a/drivers/mtd/devices/ps3vram.c b/drivers/mtd/devices/ps3vram.c deleted file mode 100644 index d21e9beb7ed2..000000000000 --- a/drivers/mtd/devices/ps3vram.c +++ /dev/null | |||
@@ -1,768 +0,0 @@ | |||
1 | /** | ||
2 | * ps3vram - Use extra PS3 video ram as MTD block device. | ||
3 | * | ||
4 | * Copyright (c) 2007-2008 Jim Paris <jim@jtan.com> | ||
5 | * Added support RSX DMA Vivien Chappelier <vivien.chappelier@free.fr> | ||
6 | */ | ||
7 | |||
8 | #include <linux/io.h> | ||
9 | #include <linux/mm.h> | ||
10 | #include <linux/init.h> | ||
11 | #include <linux/kernel.h> | ||
12 | #include <linux/list.h> | ||
13 | #include <linux/module.h> | ||
14 | #include <linux/moduleparam.h> | ||
15 | #include <linux/slab.h> | ||
16 | #include <linux/version.h> | ||
17 | #include <linux/gfp.h> | ||
18 | #include <linux/delay.h> | ||
19 | #include <linux/mtd/mtd.h> | ||
20 | |||
21 | #include <asm/lv1call.h> | ||
22 | #include <asm/ps3.h> | ||
23 | |||
24 | #define DEVICE_NAME "ps3vram" | ||
25 | |||
26 | #define XDR_BUF_SIZE (2 * 1024 * 1024) /* XDR buffer (must be 1MiB aligned) */ | ||
27 | #define XDR_IOIF 0x0c000000 | ||
28 | |||
29 | #define FIFO_BASE XDR_IOIF | ||
30 | #define FIFO_SIZE (64 * 1024) | ||
31 | |||
32 | #define DMA_PAGE_SIZE (4 * 1024) | ||
33 | |||
34 | #define CACHE_PAGE_SIZE (256 * 1024) | ||
35 | #define CACHE_PAGE_COUNT ((XDR_BUF_SIZE - FIFO_SIZE) / CACHE_PAGE_SIZE) | ||
36 | |||
37 | #define CACHE_OFFSET CACHE_PAGE_SIZE | ||
38 | #define FIFO_OFFSET 0 | ||
39 | |||
40 | #define CTRL_PUT 0x10 | ||
41 | #define CTRL_GET 0x11 | ||
42 | #define CTRL_TOP 0x15 | ||
43 | |||
44 | #define UPLOAD_SUBCH 1 | ||
45 | #define DOWNLOAD_SUBCH 2 | ||
46 | |||
47 | #define NV_MEMORY_TO_MEMORY_FORMAT_OFFSET_IN 0x0000030c | ||
48 | #define NV_MEMORY_TO_MEMORY_FORMAT_NOTIFY 0x00000104 | ||
49 | |||
50 | #define L1GPU_CONTEXT_ATTRIBUTE_FB_BLIT 0x601 | ||
51 | |||
52 | struct mtd_info ps3vram_mtd; | ||
53 | |||
54 | #define CACHE_PAGE_PRESENT 1 | ||
55 | #define CACHE_PAGE_DIRTY 2 | ||
56 | |||
57 | struct ps3vram_tag { | ||
58 | unsigned int address; | ||
59 | unsigned int flags; | ||
60 | }; | ||
61 | |||
62 | struct ps3vram_cache { | ||
63 | unsigned int page_count; | ||
64 | unsigned int page_size; | ||
65 | struct ps3vram_tag *tags; | ||
66 | }; | ||
67 | |||
68 | struct ps3vram_priv { | ||
69 | u64 memory_handle; | ||
70 | u64 context_handle; | ||
71 | u32 *ctrl; | ||
72 | u32 *reports; | ||
73 | u8 __iomem *ddr_base; | ||
74 | u8 *xdr_buf; | ||
75 | |||
76 | u32 *fifo_base; | ||
77 | u32 *fifo_ptr; | ||
78 | |||
79 | struct device *dev; | ||
80 | struct ps3vram_cache cache; | ||
81 | |||
82 | /* Used to serialize cache/DMA operations */ | ||
83 | struct mutex lock; | ||
84 | }; | ||
85 | |||
86 | #define DMA_NOTIFIER_HANDLE_BASE 0x66604200 /* first DMA notifier handle */ | ||
87 | #define DMA_NOTIFIER_OFFSET_BASE 0x1000 /* first DMA notifier offset */ | ||
88 | #define DMA_NOTIFIER_SIZE 0x40 | ||
89 | #define NOTIFIER 7 /* notifier used for completion report */ | ||
90 | |||
91 | /* A trailing '-' means to subtract off ps3fb_videomemory.size */ | ||
92 | char *size = "256M-"; | ||
93 | module_param(size, charp, 0); | ||
94 | MODULE_PARM_DESC(size, "memory size"); | ||
95 | |||
96 | static u32 *ps3vram_get_notifier(u32 *reports, int notifier) | ||
97 | { | ||
98 | return (void *) reports + | ||
99 | DMA_NOTIFIER_OFFSET_BASE + | ||
100 | DMA_NOTIFIER_SIZE * notifier; | ||
101 | } | ||
102 | |||
103 | static void ps3vram_notifier_reset(struct mtd_info *mtd) | ||
104 | { | ||
105 | int i; | ||
106 | |||
107 | struct ps3vram_priv *priv = mtd->priv; | ||
108 | u32 *notify = ps3vram_get_notifier(priv->reports, NOTIFIER); | ||
109 | for (i = 0; i < 4; i++) | ||
110 | notify[i] = 0xffffffff; | ||
111 | } | ||
112 | |||
113 | static int ps3vram_notifier_wait(struct mtd_info *mtd, unsigned int timeout_ms) | ||
114 | { | ||
115 | struct ps3vram_priv *priv = mtd->priv; | ||
116 | u32 *notify = ps3vram_get_notifier(priv->reports, NOTIFIER); | ||
117 | unsigned long timeout = jiffies + msecs_to_jiffies(timeout_ms); | ||
118 | |||
119 | do { | ||
120 | if (!notify[3]) | ||
121 | return 0; | ||
122 | msleep(1); | ||
123 | } while (time_before(jiffies, timeout)); | ||
124 | |||
125 | return -ETIMEDOUT; | ||
126 | } | ||
127 | |||
128 | static void ps3vram_init_ring(struct mtd_info *mtd) | ||
129 | { | ||
130 | struct ps3vram_priv *priv = mtd->priv; | ||
131 | |||
132 | priv->ctrl[CTRL_PUT] = FIFO_BASE + FIFO_OFFSET; | ||
133 | priv->ctrl[CTRL_GET] = FIFO_BASE + FIFO_OFFSET; | ||
134 | } | ||
135 | |||
136 | static int ps3vram_wait_ring(struct mtd_info *mtd, unsigned int timeout_ms) | ||
137 | { | ||
138 | struct ps3vram_priv *priv = mtd->priv; | ||
139 | unsigned long timeout = jiffies + msecs_to_jiffies(timeout_ms); | ||
140 | |||
141 | do { | ||
142 | if (priv->ctrl[CTRL_PUT] == priv->ctrl[CTRL_GET]) | ||
143 | return 0; | ||
144 | msleep(1); | ||
145 | } while (time_before(jiffies, timeout)); | ||
146 | |||
147 | dev_dbg(priv->dev, "%s:%d: FIFO timeout (%08x/%08x/%08x)\n", __func__, | ||
148 | __LINE__, priv->ctrl[CTRL_PUT], priv->ctrl[CTRL_GET], | ||
149 | priv->ctrl[CTRL_TOP]); | ||
150 | |||
151 | return -ETIMEDOUT; | ||
152 | } | ||
153 | |||
154 | static void ps3vram_out_ring(struct ps3vram_priv *priv, u32 data) | ||
155 | { | ||
156 | *(priv->fifo_ptr)++ = data; | ||
157 | } | ||
158 | |||
159 | static void ps3vram_begin_ring(struct ps3vram_priv *priv, u32 chan, | ||
160 | u32 tag, u32 size) | ||
161 | { | ||
162 | ps3vram_out_ring(priv, (size << 18) | (chan << 13) | tag); | ||
163 | } | ||
164 | |||
165 | static void ps3vram_rewind_ring(struct mtd_info *mtd) | ||
166 | { | ||
167 | struct ps3vram_priv *priv = mtd->priv; | ||
168 | u64 status; | ||
169 | |||
170 | ps3vram_out_ring(priv, 0x20000000 | (FIFO_BASE + FIFO_OFFSET)); | ||
171 | |||
172 | priv->ctrl[CTRL_PUT] = FIFO_BASE + FIFO_OFFSET; | ||
173 | |||
174 | /* asking the HV for a blit will kick the fifo */ | ||
175 | status = lv1_gpu_context_attribute(priv->context_handle, | ||
176 | L1GPU_CONTEXT_ATTRIBUTE_FB_BLIT, | ||
177 | 0, 0, 0, 0); | ||
178 | if (status) | ||
179 | dev_err(priv->dev, "%s:%d: lv1_gpu_context_attribute failed\n", | ||
180 | __func__, __LINE__); | ||
181 | |||
182 | priv->fifo_ptr = priv->fifo_base; | ||
183 | } | ||
184 | |||
185 | static void ps3vram_fire_ring(struct mtd_info *mtd) | ||
186 | { | ||
187 | struct ps3vram_priv *priv = mtd->priv; | ||
188 | u64 status; | ||
189 | |||
190 | mutex_lock(&ps3_gpu_mutex); | ||
191 | |||
192 | priv->ctrl[CTRL_PUT] = FIFO_BASE + FIFO_OFFSET + | ||
193 | (priv->fifo_ptr - priv->fifo_base) * sizeof(u32); | ||
194 | |||
195 | /* asking the HV for a blit will kick the fifo */ | ||
196 | status = lv1_gpu_context_attribute(priv->context_handle, | ||
197 | L1GPU_CONTEXT_ATTRIBUTE_FB_BLIT, | ||
198 | 0, 0, 0, 0); | ||
199 | if (status) | ||
200 | dev_err(priv->dev, "%s:%d: lv1_gpu_context_attribute failed\n", | ||
201 | __func__, __LINE__); | ||
202 | |||
203 | if ((priv->fifo_ptr - priv->fifo_base) * sizeof(u32) > | ||
204 | FIFO_SIZE - 1024) { | ||
205 | dev_dbg(priv->dev, "%s:%d: fifo full, rewinding\n", __func__, | ||
206 | __LINE__); | ||
207 | ps3vram_wait_ring(mtd, 200); | ||
208 | ps3vram_rewind_ring(mtd); | ||
209 | } | ||
210 | |||
211 | mutex_unlock(&ps3_gpu_mutex); | ||
212 | } | ||
213 | |||
214 | static void ps3vram_bind(struct mtd_info *mtd) | ||
215 | { | ||
216 | struct ps3vram_priv *priv = mtd->priv; | ||
217 | |||
218 | ps3vram_begin_ring(priv, UPLOAD_SUBCH, 0, 1); | ||
219 | ps3vram_out_ring(priv, 0x31337303); | ||
220 | ps3vram_begin_ring(priv, UPLOAD_SUBCH, 0x180, 3); | ||
221 | ps3vram_out_ring(priv, DMA_NOTIFIER_HANDLE_BASE + NOTIFIER); | ||
222 | ps3vram_out_ring(priv, 0xfeed0001); /* DMA system RAM instance */ | ||
223 | ps3vram_out_ring(priv, 0xfeed0000); /* DMA video RAM instance */ | ||
224 | |||
225 | ps3vram_begin_ring(priv, DOWNLOAD_SUBCH, 0, 1); | ||
226 | ps3vram_out_ring(priv, 0x3137c0de); | ||
227 | ps3vram_begin_ring(priv, DOWNLOAD_SUBCH, 0x180, 3); | ||
228 | ps3vram_out_ring(priv, DMA_NOTIFIER_HANDLE_BASE + NOTIFIER); | ||
229 | ps3vram_out_ring(priv, 0xfeed0000); /* DMA video RAM instance */ | ||
230 | ps3vram_out_ring(priv, 0xfeed0001); /* DMA system RAM instance */ | ||
231 | |||
232 | ps3vram_fire_ring(mtd); | ||
233 | } | ||
234 | |||
235 | static int ps3vram_upload(struct mtd_info *mtd, unsigned int src_offset, | ||
236 | unsigned int dst_offset, int len, int count) | ||
237 | { | ||
238 | struct ps3vram_priv *priv = mtd->priv; | ||
239 | |||
240 | ps3vram_begin_ring(priv, UPLOAD_SUBCH, | ||
241 | NV_MEMORY_TO_MEMORY_FORMAT_OFFSET_IN, 8); | ||
242 | ps3vram_out_ring(priv, XDR_IOIF + src_offset); | ||
243 | ps3vram_out_ring(priv, dst_offset); | ||
244 | ps3vram_out_ring(priv, len); | ||
245 | ps3vram_out_ring(priv, len); | ||
246 | ps3vram_out_ring(priv, len); | ||
247 | ps3vram_out_ring(priv, count); | ||
248 | ps3vram_out_ring(priv, (1 << 8) | 1); | ||
249 | ps3vram_out_ring(priv, 0); | ||
250 | |||
251 | ps3vram_notifier_reset(mtd); | ||
252 | ps3vram_begin_ring(priv, UPLOAD_SUBCH, | ||
253 | NV_MEMORY_TO_MEMORY_FORMAT_NOTIFY, 1); | ||
254 | ps3vram_out_ring(priv, 0); | ||
255 | ps3vram_begin_ring(priv, UPLOAD_SUBCH, 0x100, 1); | ||
256 | ps3vram_out_ring(priv, 0); | ||
257 | ps3vram_fire_ring(mtd); | ||
258 | if (ps3vram_notifier_wait(mtd, 200) < 0) { | ||
259 | dev_dbg(priv->dev, "%s:%d: notifier timeout\n", __func__, | ||
260 | __LINE__); | ||
261 | return -1; | ||
262 | } | ||
263 | |||
264 | return 0; | ||
265 | } | ||
266 | |||
267 | static int ps3vram_download(struct mtd_info *mtd, unsigned int src_offset, | ||
268 | unsigned int dst_offset, int len, int count) | ||
269 | { | ||
270 | struct ps3vram_priv *priv = mtd->priv; | ||
271 | |||
272 | ps3vram_begin_ring(priv, DOWNLOAD_SUBCH, | ||
273 | NV_MEMORY_TO_MEMORY_FORMAT_OFFSET_IN, 8); | ||
274 | ps3vram_out_ring(priv, src_offset); | ||
275 | ps3vram_out_ring(priv, XDR_IOIF + dst_offset); | ||
276 | ps3vram_out_ring(priv, len); | ||
277 | ps3vram_out_ring(priv, len); | ||
278 | ps3vram_out_ring(priv, len); | ||
279 | ps3vram_out_ring(priv, count); | ||
280 | ps3vram_out_ring(priv, (1 << 8) | 1); | ||
281 | ps3vram_out_ring(priv, 0); | ||
282 | |||
283 | ps3vram_notifier_reset(mtd); | ||
284 | ps3vram_begin_ring(priv, DOWNLOAD_SUBCH, | ||
285 | NV_MEMORY_TO_MEMORY_FORMAT_NOTIFY, 1); | ||
286 | ps3vram_out_ring(priv, 0); | ||
287 | ps3vram_begin_ring(priv, DOWNLOAD_SUBCH, 0x100, 1); | ||
288 | ps3vram_out_ring(priv, 0); | ||
289 | ps3vram_fire_ring(mtd); | ||
290 | if (ps3vram_notifier_wait(mtd, 200) < 0) { | ||
291 | dev_dbg(priv->dev, "%s:%d: notifier timeout\n", __func__, | ||
292 | __LINE__); | ||
293 | return -1; | ||
294 | } | ||
295 | |||
296 | return 0; | ||
297 | } | ||
298 | |||
299 | static void ps3vram_cache_evict(struct mtd_info *mtd, int entry) | ||
300 | { | ||
301 | struct ps3vram_priv *priv = mtd->priv; | ||
302 | struct ps3vram_cache *cache = &priv->cache; | ||
303 | |||
304 | if (cache->tags[entry].flags & CACHE_PAGE_DIRTY) { | ||
305 | dev_dbg(priv->dev, "%s:%d: flushing %d : 0x%08x\n", __func__, | ||
306 | __LINE__, entry, cache->tags[entry].address); | ||
307 | if (ps3vram_upload(mtd, | ||
308 | CACHE_OFFSET + entry * cache->page_size, | ||
309 | cache->tags[entry].address, | ||
310 | DMA_PAGE_SIZE, | ||
311 | cache->page_size / DMA_PAGE_SIZE) < 0) { | ||
312 | dev_dbg(priv->dev, "%s:%d: failed to upload from " | ||
313 | "0x%x to 0x%x size 0x%x\n", __func__, __LINE__, | ||
314 | entry * cache->page_size, | ||
315 | cache->tags[entry].address, cache->page_size); | ||
316 | } | ||
317 | cache->tags[entry].flags &= ~CACHE_PAGE_DIRTY; | ||
318 | } | ||
319 | } | ||
320 | |||
321 | static void ps3vram_cache_load(struct mtd_info *mtd, int entry, | ||
322 | unsigned int address) | ||
323 | { | ||
324 | struct ps3vram_priv *priv = mtd->priv; | ||
325 | struct ps3vram_cache *cache = &priv->cache; | ||
326 | |||
327 | dev_dbg(priv->dev, "%s:%d: fetching %d : 0x%08x\n", __func__, __LINE__, | ||
328 | entry, address); | ||
329 | if (ps3vram_download(mtd, | ||
330 | address, | ||
331 | CACHE_OFFSET + entry * cache->page_size, | ||
332 | DMA_PAGE_SIZE, | ||
333 | cache->page_size / DMA_PAGE_SIZE) < 0) { | ||
334 | dev_err(priv->dev, "%s:%d: failed to download from " | ||
335 | "0x%x to 0x%x size 0x%x\n", __func__, __LINE__, address, | ||
336 | entry * cache->page_size, cache->page_size); | ||
337 | } | ||
338 | |||
339 | cache->tags[entry].address = address; | ||
340 | cache->tags[entry].flags |= CACHE_PAGE_PRESENT; | ||
341 | } | ||
342 | |||
343 | |||
344 | static void ps3vram_cache_flush(struct mtd_info *mtd) | ||
345 | { | ||
346 | struct ps3vram_priv *priv = mtd->priv; | ||
347 | struct ps3vram_cache *cache = &priv->cache; | ||
348 | int i; | ||
349 | |||
350 | dev_dbg(priv->dev, "%s:%d: FLUSH\n", __func__, __LINE__); | ||
351 | for (i = 0; i < cache->page_count; i++) { | ||
352 | ps3vram_cache_evict(mtd, i); | ||
353 | cache->tags[i].flags = 0; | ||
354 | } | ||
355 | } | ||
356 | |||
357 | static unsigned int ps3vram_cache_match(struct mtd_info *mtd, loff_t address) | ||
358 | { | ||
359 | struct ps3vram_priv *priv = mtd->priv; | ||
360 | struct ps3vram_cache *cache = &priv->cache; | ||
361 | unsigned int base; | ||
362 | unsigned int offset; | ||
363 | int i; | ||
364 | static int counter; | ||
365 | |||
366 | offset = (unsigned int) (address & (cache->page_size - 1)); | ||
367 | base = (unsigned int) (address - offset); | ||
368 | |||
369 | /* fully associative check */ | ||
370 | for (i = 0; i < cache->page_count; i++) { | ||
371 | if ((cache->tags[i].flags & CACHE_PAGE_PRESENT) && | ||
372 | cache->tags[i].address == base) { | ||
373 | dev_dbg(priv->dev, "%s:%d: found entry %d : 0x%08x\n", | ||
374 | __func__, __LINE__, i, cache->tags[i].address); | ||
375 | return i; | ||
376 | } | ||
377 | } | ||
378 | |||
379 | /* choose a random entry */ | ||
380 | i = (jiffies + (counter++)) % cache->page_count; | ||
381 | dev_dbg(priv->dev, "%s:%d: using entry %d\n", __func__, __LINE__, i); | ||
382 | |||
383 | ps3vram_cache_evict(mtd, i); | ||
384 | ps3vram_cache_load(mtd, i, base); | ||
385 | |||
386 | return i; | ||
387 | } | ||
388 | |||
389 | static int ps3vram_cache_init(struct mtd_info *mtd) | ||
390 | { | ||
391 | struct ps3vram_priv *priv = mtd->priv; | ||
392 | |||
393 | priv->cache.page_count = CACHE_PAGE_COUNT; | ||
394 | priv->cache.page_size = CACHE_PAGE_SIZE; | ||
395 | priv->cache.tags = kzalloc(sizeof(struct ps3vram_tag) * | ||
396 | CACHE_PAGE_COUNT, GFP_KERNEL); | ||
397 | if (priv->cache.tags == NULL) { | ||
398 | dev_err(priv->dev, "%s:%d: could not allocate cache tags\n", | ||
399 | __func__, __LINE__); | ||
400 | return -ENOMEM; | ||
401 | } | ||
402 | |||
403 | dev_info(priv->dev, "created ram cache: %d entries, %d KiB each\n", | ||
404 | CACHE_PAGE_COUNT, CACHE_PAGE_SIZE / 1024); | ||
405 | |||
406 | return 0; | ||
407 | } | ||
408 | |||
409 | static void ps3vram_cache_cleanup(struct mtd_info *mtd) | ||
410 | { | ||
411 | struct ps3vram_priv *priv = mtd->priv; | ||
412 | |||
413 | ps3vram_cache_flush(mtd); | ||
414 | kfree(priv->cache.tags); | ||
415 | } | ||
416 | |||
417 | static int ps3vram_erase(struct mtd_info *mtd, struct erase_info *instr) | ||
418 | { | ||
419 | struct ps3vram_priv *priv = mtd->priv; | ||
420 | |||
421 | if (instr->addr + instr->len > mtd->size) | ||
422 | return -EINVAL; | ||
423 | |||
424 | mutex_lock(&priv->lock); | ||
425 | |||
426 | ps3vram_cache_flush(mtd); | ||
427 | |||
428 | /* Set bytes to 0xFF */ | ||
429 | memset_io(priv->ddr_base + instr->addr, 0xFF, instr->len); | ||
430 | |||
431 | mutex_unlock(&priv->lock); | ||
432 | |||
433 | instr->state = MTD_ERASE_DONE; | ||
434 | mtd_erase_callback(instr); | ||
435 | |||
436 | return 0; | ||
437 | } | ||
438 | |||
439 | static int ps3vram_read(struct mtd_info *mtd, loff_t from, size_t len, | ||
440 | size_t *retlen, u_char *buf) | ||
441 | { | ||
442 | struct ps3vram_priv *priv = mtd->priv; | ||
443 | unsigned int cached, count; | ||
444 | |||
445 | dev_dbg(priv->dev, "%s:%d: from=0x%08x len=0x%zx\n", __func__, __LINE__, | ||
446 | (unsigned int)from, len); | ||
447 | |||
448 | if (from >= mtd->size) | ||
449 | return -EINVAL; | ||
450 | |||
451 | if (len > mtd->size - from) | ||
452 | len = mtd->size - from; | ||
453 | |||
454 | /* Copy from vram to buf */ | ||
455 | count = len; | ||
456 | while (count) { | ||
457 | unsigned int offset, avail; | ||
458 | unsigned int entry; | ||
459 | |||
460 | offset = (unsigned int) (from & (priv->cache.page_size - 1)); | ||
461 | avail = priv->cache.page_size - offset; | ||
462 | |||
463 | mutex_lock(&priv->lock); | ||
464 | |||
465 | entry = ps3vram_cache_match(mtd, from); | ||
466 | cached = CACHE_OFFSET + entry * priv->cache.page_size + offset; | ||
467 | |||
468 | dev_dbg(priv->dev, "%s:%d: from=%08x cached=%08x offset=%08x " | ||
469 | "avail=%08x count=%08x\n", __func__, __LINE__, | ||
470 | (unsigned int)from, cached, offset, avail, count); | ||
471 | |||
472 | if (avail > count) | ||
473 | avail = count; | ||
474 | memcpy(buf, priv->xdr_buf + cached, avail); | ||
475 | |||
476 | mutex_unlock(&priv->lock); | ||
477 | |||
478 | buf += avail; | ||
479 | count -= avail; | ||
480 | from += avail; | ||
481 | } | ||
482 | |||
483 | *retlen = len; | ||
484 | return 0; | ||
485 | } | ||
486 | |||
487 | static int ps3vram_write(struct mtd_info *mtd, loff_t to, size_t len, | ||
488 | size_t *retlen, const u_char *buf) | ||
489 | { | ||
490 | struct ps3vram_priv *priv = mtd->priv; | ||
491 | unsigned int cached, count; | ||
492 | |||
493 | if (to >= mtd->size) | ||
494 | return -EINVAL; | ||
495 | |||
496 | if (len > mtd->size - to) | ||
497 | len = mtd->size - to; | ||
498 | |||
499 | /* Copy from buf to vram */ | ||
500 | count = len; | ||
501 | while (count) { | ||
502 | unsigned int offset, avail; | ||
503 | unsigned int entry; | ||
504 | |||
505 | offset = (unsigned int) (to & (priv->cache.page_size - 1)); | ||
506 | avail = priv->cache.page_size - offset; | ||
507 | |||
508 | mutex_lock(&priv->lock); | ||
509 | |||
510 | entry = ps3vram_cache_match(mtd, to); | ||
511 | cached = CACHE_OFFSET + entry * priv->cache.page_size + offset; | ||
512 | |||
513 | dev_dbg(priv->dev, "%s:%d: to=%08x cached=%08x offset=%08x " | ||
514 | "avail=%08x count=%08x\n", __func__, __LINE__, | ||
515 | (unsigned int)to, cached, offset, avail, count); | ||
516 | |||
517 | if (avail > count) | ||
518 | avail = count; | ||
519 | memcpy(priv->xdr_buf + cached, buf, avail); | ||
520 | |||
521 | priv->cache.tags[entry].flags |= CACHE_PAGE_DIRTY; | ||
522 | |||
523 | mutex_unlock(&priv->lock); | ||
524 | |||
525 | buf += avail; | ||
526 | count -= avail; | ||
527 | to += avail; | ||
528 | } | ||
529 | |||
530 | *retlen = len; | ||
531 | return 0; | ||
532 | } | ||
533 | |||
534 | static int __devinit ps3vram_probe(struct ps3_system_bus_device *dev) | ||
535 | { | ||
536 | struct ps3vram_priv *priv; | ||
537 | int status; | ||
538 | u64 ddr_lpar; | ||
539 | u64 ctrl_lpar; | ||
540 | u64 info_lpar; | ||
541 | u64 reports_lpar; | ||
542 | u64 ddr_size; | ||
543 | u64 reports_size; | ||
544 | int ret = -ENOMEM; | ||
545 | char *rest; | ||
546 | |||
547 | ret = -EIO; | ||
548 | ps3vram_mtd.priv = kzalloc(sizeof(struct ps3vram_priv), GFP_KERNEL); | ||
549 | if (!ps3vram_mtd.priv) | ||
550 | goto out; | ||
551 | priv = ps3vram_mtd.priv; | ||
552 | |||
553 | mutex_init(&priv->lock); | ||
554 | priv->dev = &dev->core; | ||
555 | |||
556 | /* Allocate XDR buffer (1MiB aligned) */ | ||
557 | priv->xdr_buf = (void *)__get_free_pages(GFP_KERNEL, | ||
558 | get_order(XDR_BUF_SIZE)); | ||
559 | if (priv->xdr_buf == NULL) { | ||
560 | dev_dbg(&dev->core, "%s:%d: could not allocate XDR buffer\n", | ||
561 | __func__, __LINE__); | ||
562 | ret = -ENOMEM; | ||
563 | goto out_free_priv; | ||
564 | } | ||
565 | |||
566 | /* Put FIFO at begginning of XDR buffer */ | ||
567 | priv->fifo_base = (u32 *) (priv->xdr_buf + FIFO_OFFSET); | ||
568 | priv->fifo_ptr = priv->fifo_base; | ||
569 | |||
570 | /* XXX: Need to open GPU, in case ps3fb or snd_ps3 aren't loaded */ | ||
571 | if (ps3_open_hv_device(dev)) { | ||
572 | dev_err(&dev->core, "%s:%d: ps3_open_hv_device failed\n", | ||
573 | __func__, __LINE__); | ||
574 | ret = -EAGAIN; | ||
575 | goto out_close_gpu; | ||
576 | } | ||
577 | |||
578 | /* Request memory */ | ||
579 | status = -1; | ||
580 | ddr_size = memparse(size, &rest); | ||
581 | if (*rest == '-') | ||
582 | ddr_size -= ps3fb_videomemory.size; | ||
583 | ddr_size = ALIGN(ddr_size, 1024*1024); | ||
584 | if (ddr_size <= 0) { | ||
585 | dev_err(&dev->core, "%s:%d: specified size is too small\n", | ||
586 | __func__, __LINE__); | ||
587 | ret = -EINVAL; | ||
588 | goto out_close_gpu; | ||
589 | } | ||
590 | |||
591 | while (ddr_size > 0) { | ||
592 | status = lv1_gpu_memory_allocate(ddr_size, 0, 0, 0, 0, | ||
593 | &priv->memory_handle, | ||
594 | &ddr_lpar); | ||
595 | if (!status) | ||
596 | break; | ||
597 | ddr_size -= 1024*1024; | ||
598 | } | ||
599 | if (status || ddr_size <= 0) { | ||
600 | dev_err(&dev->core, "%s:%d: lv1_gpu_memory_allocate failed\n", | ||
601 | __func__, __LINE__); | ||
602 | ret = -ENOMEM; | ||
603 | goto out_free_xdr_buf; | ||
604 | } | ||
605 | |||
606 | /* Request context */ | ||
607 | status = lv1_gpu_context_allocate(priv->memory_handle, | ||
608 | 0, | ||
609 | &priv->context_handle, | ||
610 | &ctrl_lpar, | ||
611 | &info_lpar, | ||
612 | &reports_lpar, | ||
613 | &reports_size); | ||
614 | if (status) { | ||
615 | dev_err(&dev->core, "%s:%d: lv1_gpu_context_allocate failed\n", | ||
616 | __func__, __LINE__); | ||
617 | ret = -ENOMEM; | ||
618 | goto out_free_memory; | ||
619 | } | ||
620 | |||
621 | /* Map XDR buffer to RSX */ | ||
622 | status = lv1_gpu_context_iomap(priv->context_handle, XDR_IOIF, | ||
623 | ps3_mm_phys_to_lpar(__pa(priv->xdr_buf)), | ||
624 | XDR_BUF_SIZE, 0); | ||
625 | if (status) { | ||
626 | dev_err(&dev->core, "%s:%d: lv1_gpu_context_iomap failed\n", | ||
627 | __func__, __LINE__); | ||
628 | ret = -ENOMEM; | ||
629 | goto out_free_context; | ||
630 | } | ||
631 | |||
632 | priv->ddr_base = ioremap_flags(ddr_lpar, ddr_size, _PAGE_NO_CACHE); | ||
633 | |||
634 | if (!priv->ddr_base) { | ||
635 | dev_err(&dev->core, "%s:%d: ioremap failed\n", __func__, | ||
636 | __LINE__); | ||
637 | ret = -ENOMEM; | ||
638 | goto out_free_context; | ||
639 | } | ||
640 | |||
641 | priv->ctrl = ioremap(ctrl_lpar, 64 * 1024); | ||
642 | if (!priv->ctrl) { | ||
643 | dev_err(&dev->core, "%s:%d: ioremap failed\n", __func__, | ||
644 | __LINE__); | ||
645 | ret = -ENOMEM; | ||
646 | goto out_unmap_vram; | ||
647 | } | ||
648 | |||
649 | priv->reports = ioremap(reports_lpar, reports_size); | ||
650 | if (!priv->reports) { | ||
651 | dev_err(&dev->core, "%s:%d: ioremap failed\n", __func__, | ||
652 | __LINE__); | ||
653 | ret = -ENOMEM; | ||
654 | goto out_unmap_ctrl; | ||
655 | } | ||
656 | |||
657 | mutex_lock(&ps3_gpu_mutex); | ||
658 | ps3vram_init_ring(&ps3vram_mtd); | ||
659 | mutex_unlock(&ps3_gpu_mutex); | ||
660 | |||
661 | ps3vram_mtd.name = "ps3vram"; | ||
662 | ps3vram_mtd.size = ddr_size; | ||
663 | ps3vram_mtd.flags = MTD_CAP_RAM; | ||
664 | ps3vram_mtd.erase = ps3vram_erase; | ||
665 | ps3vram_mtd.point = NULL; | ||
666 | ps3vram_mtd.unpoint = NULL; | ||
667 | ps3vram_mtd.read = ps3vram_read; | ||
668 | ps3vram_mtd.write = ps3vram_write; | ||
669 | ps3vram_mtd.owner = THIS_MODULE; | ||
670 | ps3vram_mtd.type = MTD_RAM; | ||
671 | ps3vram_mtd.erasesize = CACHE_PAGE_SIZE; | ||
672 | ps3vram_mtd.writesize = 1; | ||
673 | |||
674 | ps3vram_bind(&ps3vram_mtd); | ||
675 | |||
676 | mutex_lock(&ps3_gpu_mutex); | ||
677 | ret = ps3vram_wait_ring(&ps3vram_mtd, 100); | ||
678 | mutex_unlock(&ps3_gpu_mutex); | ||
679 | if (ret < 0) { | ||
680 | dev_err(&dev->core, "%s:%d: failed to initialize channels\n", | ||
681 | __func__, __LINE__); | ||
682 | ret = -ETIMEDOUT; | ||
683 | goto out_unmap_reports; | ||
684 | } | ||
685 | |||
686 | ps3vram_cache_init(&ps3vram_mtd); | ||
687 | |||
688 | if (add_mtd_device(&ps3vram_mtd)) { | ||
689 | dev_err(&dev->core, "%s:%d: add_mtd_device failed\n", | ||
690 | __func__, __LINE__); | ||
691 | ret = -EAGAIN; | ||
692 | goto out_cache_cleanup; | ||
693 | } | ||
694 | |||
695 | dev_info(&dev->core, "reserved %u MiB of gpu memory\n", | ||
696 | (unsigned int)(ddr_size / 1024 / 1024)); | ||
697 | |||
698 | return 0; | ||
699 | |||
700 | out_cache_cleanup: | ||
701 | ps3vram_cache_cleanup(&ps3vram_mtd); | ||
702 | out_unmap_reports: | ||
703 | iounmap(priv->reports); | ||
704 | out_unmap_ctrl: | ||
705 | iounmap(priv->ctrl); | ||
706 | out_unmap_vram: | ||
707 | iounmap(priv->ddr_base); | ||
708 | out_free_context: | ||
709 | lv1_gpu_context_free(priv->context_handle); | ||
710 | out_free_memory: | ||
711 | lv1_gpu_memory_free(priv->memory_handle); | ||
712 | out_close_gpu: | ||
713 | ps3_close_hv_device(dev); | ||
714 | out_free_xdr_buf: | ||
715 | free_pages((unsigned long) priv->xdr_buf, get_order(XDR_BUF_SIZE)); | ||
716 | out_free_priv: | ||
717 | kfree(ps3vram_mtd.priv); | ||
718 | ps3vram_mtd.priv = NULL; | ||
719 | out: | ||
720 | return ret; | ||
721 | } | ||
722 | |||
723 | static int ps3vram_shutdown(struct ps3_system_bus_device *dev) | ||
724 | { | ||
725 | struct ps3vram_priv *priv; | ||
726 | |||
727 | priv = ps3vram_mtd.priv; | ||
728 | |||
729 | del_mtd_device(&ps3vram_mtd); | ||
730 | ps3vram_cache_cleanup(&ps3vram_mtd); | ||
731 | iounmap(priv->reports); | ||
732 | iounmap(priv->ctrl); | ||
733 | iounmap(priv->ddr_base); | ||
734 | lv1_gpu_context_free(priv->context_handle); | ||
735 | lv1_gpu_memory_free(priv->memory_handle); | ||
736 | ps3_close_hv_device(dev); | ||
737 | free_pages((unsigned long) priv->xdr_buf, get_order(XDR_BUF_SIZE)); | ||
738 | kfree(priv); | ||
739 | return 0; | ||
740 | } | ||
741 | |||
742 | static struct ps3_system_bus_driver ps3vram_driver = { | ||
743 | .match_id = PS3_MATCH_ID_GPU, | ||
744 | .match_sub_id = PS3_MATCH_SUB_ID_GPU_RAMDISK, | ||
745 | .core.name = DEVICE_NAME, | ||
746 | .core.owner = THIS_MODULE, | ||
747 | .probe = ps3vram_probe, | ||
748 | .remove = ps3vram_shutdown, | ||
749 | .shutdown = ps3vram_shutdown, | ||
750 | }; | ||
751 | |||
752 | static int __init ps3vram_init(void) | ||
753 | { | ||
754 | return ps3_system_bus_driver_register(&ps3vram_driver); | ||
755 | } | ||
756 | |||
757 | static void __exit ps3vram_exit(void) | ||
758 | { | ||
759 | ps3_system_bus_driver_unregister(&ps3vram_driver); | ||
760 | } | ||
761 | |||
762 | module_init(ps3vram_init); | ||
763 | module_exit(ps3vram_exit); | ||
764 | |||
765 | MODULE_LICENSE("GPL"); | ||
766 | MODULE_AUTHOR("Jim Paris <jim@jtan.com>"); | ||
767 | MODULE_DESCRIPTION("MTD driver for PS3 video RAM"); | ||
768 | MODULE_ALIAS(PS3_MODULE_ALIAS_GPU_RAMDISK); | ||
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index a2f185fd7072..435e2e3a82c8 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -1040,6 +1040,17 @@ config NI65 | |||
1040 | To compile this driver as a module, choose M here. The module | 1040 | To compile this driver as a module, choose M here. The module |
1041 | will be called ni65. | 1041 | will be called ni65. |
1042 | 1042 | ||
1043 | config DNET | ||
1044 | tristate "Dave ethernet support (DNET)" | ||
1045 | depends on NET_ETHERNET | ||
1046 | select PHYLIB | ||
1047 | help | ||
1048 | The Dave ethernet interface (DNET) is found on Qong Board FPGA. | ||
1049 | Say Y to include support for the DNET chip. | ||
1050 | |||
1051 | To compile this driver as a module, choose M here: the module | ||
1052 | will be called dnet. | ||
1053 | |||
1043 | source "drivers/net/tulip/Kconfig" | 1054 | source "drivers/net/tulip/Kconfig" |
1044 | 1055 | ||
1045 | config AT1700 | 1056 | config AT1700 |
@@ -2619,6 +2630,8 @@ config QLGE | |||
2619 | 2630 | ||
2620 | source "drivers/net/sfc/Kconfig" | 2631 | source "drivers/net/sfc/Kconfig" |
2621 | 2632 | ||
2633 | source "drivers/net/benet/Kconfig" | ||
2634 | |||
2622 | endif # NETDEV_10000 | 2635 | endif # NETDEV_10000 |
2623 | 2636 | ||
2624 | source "drivers/net/tokenring/Kconfig" | 2637 | source "drivers/net/tokenring/Kconfig" |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index aca8492db654..471baaff229f 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -22,6 +22,7 @@ obj-$(CONFIG_GIANFAR) += gianfar_driver.o | |||
22 | obj-$(CONFIG_TEHUTI) += tehuti.o | 22 | obj-$(CONFIG_TEHUTI) += tehuti.o |
23 | obj-$(CONFIG_ENIC) += enic/ | 23 | obj-$(CONFIG_ENIC) += enic/ |
24 | obj-$(CONFIG_JME) += jme.o | 24 | obj-$(CONFIG_JME) += jme.o |
25 | obj-$(CONFIG_BE2NET) += benet/ | ||
25 | 26 | ||
26 | gianfar_driver-objs := gianfar.o \ | 27 | gianfar_driver-objs := gianfar.o \ |
27 | gianfar_ethtool.o \ | 28 | gianfar_ethtool.o \ |
@@ -231,6 +232,7 @@ obj-$(CONFIG_ENC28J60) += enc28j60.o | |||
231 | 232 | ||
232 | obj-$(CONFIG_XTENSA_XT2000_SONIC) += xtsonic.o | 233 | obj-$(CONFIG_XTENSA_XT2000_SONIC) += xtsonic.o |
233 | 234 | ||
235 | obj-$(CONFIG_DNET) += dnet.o | ||
234 | obj-$(CONFIG_MACB) += macb.o | 236 | obj-$(CONFIG_MACB) += macb.o |
235 | 237 | ||
236 | obj-$(CONFIG_ARM) += arm/ | 238 | obj-$(CONFIG_ARM) += arm/ |
diff --git a/drivers/net/benet/Kconfig b/drivers/net/benet/Kconfig new file mode 100644 index 000000000000..c6934f179c09 --- /dev/null +++ b/drivers/net/benet/Kconfig | |||
@@ -0,0 +1,7 @@ | |||
1 | config BE2NET | ||
2 | tristate "ServerEngines' 10Gbps NIC - BladeEngine 2" | ||
3 | depends on PCI && INET | ||
4 | select INET_LRO | ||
5 | help | ||
6 | This driver implements the NIC functionality for ServerEngines' | ||
7 | 10Gbps network adapter - BladeEngine 2. | ||
diff --git a/drivers/net/benet/Makefile b/drivers/net/benet/Makefile new file mode 100644 index 000000000000..a60cd8051135 --- /dev/null +++ b/drivers/net/benet/Makefile | |||
@@ -0,0 +1,7 @@ | |||
1 | # | ||
2 | # Makefile to build the network driver for ServerEngine's BladeEngine. | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_BE2NET) += be2net.o | ||
6 | |||
7 | be2net-y := be_main.o be_cmds.o be_ethtool.o | ||
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h new file mode 100644 index 000000000000..63d593d53153 --- /dev/null +++ b/drivers/net/benet/be.h | |||
@@ -0,0 +1,327 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2009 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | |||
18 | #ifndef BE_H | ||
19 | #define BE_H | ||
20 | |||
21 | #include <linux/pci.h> | ||
22 | #include <linux/etherdevice.h> | ||
23 | #include <linux/version.h> | ||
24 | #include <linux/delay.h> | ||
25 | #include <net/tcp.h> | ||
26 | #include <net/ip.h> | ||
27 | #include <net/ipv6.h> | ||
28 | #include <linux/if_vlan.h> | ||
29 | #include <linux/workqueue.h> | ||
30 | #include <linux/interrupt.h> | ||
31 | #include <linux/inet_lro.h> | ||
32 | |||
33 | #include "be_hw.h" | ||
34 | |||
35 | #define DRV_VER "2.0.348" | ||
36 | #define DRV_NAME "be2net" | ||
37 | #define BE_NAME "ServerEngines BladeEngine2 10Gbps NIC" | ||
38 | #define DRV_DESC BE_NAME "Driver" | ||
39 | |||
40 | /* Number of bytes of an RX frame that are copied to skb->data */ | ||
41 | #define BE_HDR_LEN 64 | ||
42 | #define BE_MAX_JUMBO_FRAME_SIZE 9018 | ||
43 | #define BE_MIN_MTU 256 | ||
44 | |||
45 | #define BE_NUM_VLANS_SUPPORTED 64 | ||
46 | #define BE_MAX_EQD 96 | ||
47 | #define BE_MAX_TX_FRAG_COUNT 30 | ||
48 | |||
49 | #define EVNT_Q_LEN 1024 | ||
50 | #define TX_Q_LEN 2048 | ||
51 | #define TX_CQ_LEN 1024 | ||
52 | #define RX_Q_LEN 1024 /* Does not support any other value */ | ||
53 | #define RX_CQ_LEN 1024 | ||
54 | #define MCC_Q_LEN 64 /* total size not to exceed 8 pages */ | ||
55 | #define MCC_CQ_LEN 256 | ||
56 | |||
57 | #define BE_NAPI_WEIGHT 64 | ||
58 | #define MAX_RX_POST BE_NAPI_WEIGHT /* Frags posted at a time */ | ||
59 | #define RX_FRAGS_REFILL_WM (RX_Q_LEN - MAX_RX_POST) | ||
60 | |||
61 | #define BE_MAX_LRO_DESCRIPTORS 16 | ||
62 | #define BE_MAX_FRAGS_PER_FRAME 16 | ||
63 | |||
64 | struct be_dma_mem { | ||
65 | void *va; | ||
66 | dma_addr_t dma; | ||
67 | u32 size; | ||
68 | }; | ||
69 | |||
70 | struct be_queue_info { | ||
71 | struct be_dma_mem dma_mem; | ||
72 | u16 len; | ||
73 | u16 entry_size; /* Size of an element in the queue */ | ||
74 | u16 id; | ||
75 | u16 tail, head; | ||
76 | bool created; | ||
77 | atomic_t used; /* Number of valid elements in the queue */ | ||
78 | }; | ||
79 | |||
80 | struct be_ctrl_info { | ||
81 | u8 __iomem *csr; | ||
82 | u8 __iomem *db; /* Door Bell */ | ||
83 | u8 __iomem *pcicfg; /* PCI config space */ | ||
84 | int pci_func; | ||
85 | |||
86 | /* Mbox used for cmd request/response */ | ||
87 | spinlock_t cmd_lock; /* For serializing cmds to BE card */ | ||
88 | struct be_dma_mem mbox_mem; | ||
89 | /* Mbox mem is adjusted to align to 16 bytes. The allocated addr | ||
90 | * is stored for freeing purpose */ | ||
91 | struct be_dma_mem mbox_mem_alloced; | ||
92 | }; | ||
93 | |||
94 | #include "be_cmds.h" | ||
95 | |||
96 | struct be_drvr_stats { | ||
97 | u32 be_tx_reqs; /* number of TX requests initiated */ | ||
98 | u32 be_tx_stops; /* number of times TX Q was stopped */ | ||
99 | u32 be_fwd_reqs; /* number of send reqs through forwarding i/f */ | ||
100 | u32 be_tx_wrbs; /* number of tx WRBs used */ | ||
101 | u32 be_tx_events; /* number of tx completion events */ | ||
102 | u32 be_tx_compl; /* number of tx completion entries processed */ | ||
103 | u64 be_tx_jiffies; | ||
104 | ulong be_tx_bytes; | ||
105 | ulong be_tx_bytes_prev; | ||
106 | u32 be_tx_rate; | ||
107 | |||
108 | u32 cache_barrier[16]; | ||
109 | |||
110 | u32 be_ethrx_post_fail;/* number of ethrx buffer alloc failures */ | ||
111 | u32 be_polls; /* number of times NAPI called poll function */ | ||
112 | u32 be_rx_events; /* number of ucast rx completion events */ | ||
113 | u32 be_rx_compl; /* number of rx completion entries processed */ | ||
114 | u32 be_lro_hgram_data[8]; /* histogram of LRO data packets */ | ||
115 | u32 be_lro_hgram_ack[8]; /* histogram of LRO ACKs */ | ||
116 | u64 be_rx_jiffies; | ||
117 | ulong be_rx_bytes; | ||
118 | ulong be_rx_bytes_prev; | ||
119 | u32 be_rx_rate; | ||
120 | /* number of non ether type II frames dropped where | ||
121 | * frame len > length field of Mac Hdr */ | ||
122 | u32 be_802_3_dropped_frames; | ||
123 | /* number of non ether type II frames malformed where | ||
124 | * in frame len < length field of Mac Hdr */ | ||
125 | u32 be_802_3_malformed_frames; | ||
126 | u32 be_rxcp_err; /* Num rx completion entries w/ err set. */ | ||
127 | ulong rx_fps_jiffies; /* jiffies at last FPS calc */ | ||
128 | u32 be_rx_frags; | ||
129 | u32 be_prev_rx_frags; | ||
130 | u32 be_rx_fps; /* Rx frags per second */ | ||
131 | }; | ||
132 | |||
133 | struct be_stats_obj { | ||
134 | struct be_drvr_stats drvr_stats; | ||
135 | struct net_device_stats net_stats; | ||
136 | struct be_dma_mem cmd; | ||
137 | }; | ||
138 | |||
139 | struct be_eq_obj { | ||
140 | struct be_queue_info q; | ||
141 | char desc[32]; | ||
142 | |||
143 | /* Adaptive interrupt coalescing (AIC) info */ | ||
144 | bool enable_aic; | ||
145 | u16 min_eqd; /* in usecs */ | ||
146 | u16 max_eqd; /* in usecs */ | ||
147 | u16 cur_eqd; /* in usecs */ | ||
148 | |||
149 | struct napi_struct napi; | ||
150 | }; | ||
151 | |||
152 | struct be_tx_obj { | ||
153 | struct be_queue_info q; | ||
154 | struct be_queue_info cq; | ||
155 | /* Remember the skbs that were transmitted */ | ||
156 | struct sk_buff *sent_skb_list[TX_Q_LEN]; | ||
157 | }; | ||
158 | |||
159 | /* Struct to remember the pages posted for rx frags */ | ||
160 | struct be_rx_page_info { | ||
161 | struct page *page; | ||
162 | dma_addr_t bus; | ||
163 | u16 page_offset; | ||
164 | bool last_page_user; | ||
165 | }; | ||
166 | |||
167 | struct be_rx_obj { | ||
168 | struct be_queue_info q; | ||
169 | struct be_queue_info cq; | ||
170 | struct be_rx_page_info page_info_tbl[RX_Q_LEN]; | ||
171 | struct net_lro_mgr lro_mgr; | ||
172 | struct net_lro_desc lro_desc[BE_MAX_LRO_DESCRIPTORS]; | ||
173 | }; | ||
174 | |||
175 | #define BE_NUM_MSIX_VECTORS 2 /* 1 each for Tx and Rx */ | ||
176 | struct be_adapter { | ||
177 | struct pci_dev *pdev; | ||
178 | struct net_device *netdev; | ||
179 | |||
180 | /* Mbox, pci config, csr address information */ | ||
181 | struct be_ctrl_info ctrl; | ||
182 | |||
183 | struct msix_entry msix_entries[BE_NUM_MSIX_VECTORS]; | ||
184 | bool msix_enabled; | ||
185 | bool isr_registered; | ||
186 | |||
187 | /* TX Rings */ | ||
188 | struct be_eq_obj tx_eq; | ||
189 | struct be_tx_obj tx_obj; | ||
190 | |||
191 | u32 cache_line_break[8]; | ||
192 | |||
193 | /* Rx rings */ | ||
194 | struct be_eq_obj rx_eq; | ||
195 | struct be_rx_obj rx_obj; | ||
196 | u32 big_page_size; /* Compounded page size shared by rx wrbs */ | ||
197 | |||
198 | struct vlan_group *vlan_grp; | ||
199 | u16 num_vlans; | ||
200 | u8 vlan_tag[VLAN_GROUP_ARRAY_LEN]; | ||
201 | |||
202 | struct be_stats_obj stats; | ||
203 | /* Work queue used to perform periodic tasks like getting statistics */ | ||
204 | struct delayed_work work; | ||
205 | |||
206 | /* Ethtool knobs and info */ | ||
207 | bool rx_csum; /* BE card must perform rx-checksumming */ | ||
208 | u32 max_rx_coal; | ||
209 | char fw_ver[FW_VER_LEN]; | ||
210 | u32 if_handle; /* Used to configure filtering */ | ||
211 | u32 pmac_id; /* MAC addr handle used by BE card */ | ||
212 | |||
213 | struct be_link_info link; | ||
214 | u32 port_num; | ||
215 | }; | ||
216 | |||
217 | extern struct ethtool_ops be_ethtool_ops; | ||
218 | |||
219 | #define drvr_stats(adapter) (&adapter->stats.drvr_stats) | ||
220 | |||
221 | #define BE_SET_NETDEV_OPS(netdev, ops) (netdev->netdev_ops = ops) | ||
222 | |||
223 | static inline u32 MODULO(u16 val, u16 limit) | ||
224 | { | ||
225 | BUG_ON(limit & (limit - 1)); | ||
226 | return val & (limit - 1); | ||
227 | } | ||
228 | |||
229 | static inline void index_adv(u16 *index, u16 val, u16 limit) | ||
230 | { | ||
231 | *index = MODULO((*index + val), limit); | ||
232 | } | ||
233 | |||
234 | static inline void index_inc(u16 *index, u16 limit) | ||
235 | { | ||
236 | *index = MODULO((*index + 1), limit); | ||
237 | } | ||
238 | |||
239 | #define PAGE_SHIFT_4K 12 | ||
240 | #define PAGE_SIZE_4K (1 << PAGE_SHIFT_4K) | ||
241 | |||
242 | /* Returns number of pages spanned by the data starting at the given addr */ | ||
243 | #define PAGES_4K_SPANNED(_address, size) \ | ||
244 | ((u32)((((size_t)(_address) & (PAGE_SIZE_4K - 1)) + \ | ||
245 | (size) + (PAGE_SIZE_4K - 1)) >> PAGE_SHIFT_4K)) | ||
246 | |||
247 | /* Byte offset into the page corresponding to given address */ | ||
248 | #define OFFSET_IN_PAGE(addr) \ | ||
249 | ((size_t)(addr) & (PAGE_SIZE_4K-1)) | ||
250 | |||
251 | /* Returns bit offset within a DWORD of a bitfield */ | ||
252 | #define AMAP_BIT_OFFSET(_struct, field) \ | ||
253 | (((size_t)&(((_struct *)0)->field))%32) | ||
254 | |||
255 | /* Returns the bit mask of the field that is NOT shifted into location. */ | ||
256 | static inline u32 amap_mask(u32 bitsize) | ||
257 | { | ||
258 | return (bitsize == 32 ? 0xFFFFFFFF : (1 << bitsize) - 1); | ||
259 | } | ||
260 | |||
261 | static inline void | ||
262 | amap_set(void *ptr, u32 dw_offset, u32 mask, u32 offset, u32 value) | ||
263 | { | ||
264 | u32 *dw = (u32 *) ptr + dw_offset; | ||
265 | *dw &= ~(mask << offset); | ||
266 | *dw |= (mask & value) << offset; | ||
267 | } | ||
268 | |||
269 | #define AMAP_SET_BITS(_struct, field, ptr, val) \ | ||
270 | amap_set(ptr, \ | ||
271 | offsetof(_struct, field)/32, \ | ||
272 | amap_mask(sizeof(((_struct *)0)->field)), \ | ||
273 | AMAP_BIT_OFFSET(_struct, field), \ | ||
274 | val) | ||
275 | |||
276 | static inline u32 amap_get(void *ptr, u32 dw_offset, u32 mask, u32 offset) | ||
277 | { | ||
278 | u32 *dw = (u32 *) ptr; | ||
279 | return mask & (*(dw + dw_offset) >> offset); | ||
280 | } | ||
281 | |||
282 | #define AMAP_GET_BITS(_struct, field, ptr) \ | ||
283 | amap_get(ptr, \ | ||
284 | offsetof(_struct, field)/32, \ | ||
285 | amap_mask(sizeof(((_struct *)0)->field)), \ | ||
286 | AMAP_BIT_OFFSET(_struct, field)) | ||
287 | |||
288 | #define be_dws_cpu_to_le(wrb, len) swap_dws(wrb, len) | ||
289 | #define be_dws_le_to_cpu(wrb, len) swap_dws(wrb, len) | ||
290 | static inline void swap_dws(void *wrb, int len) | ||
291 | { | ||
292 | #ifdef __BIG_ENDIAN | ||
293 | u32 *dw = wrb; | ||
294 | BUG_ON(len % 4); | ||
295 | do { | ||
296 | *dw = cpu_to_le32(*dw); | ||
297 | dw++; | ||
298 | len -= 4; | ||
299 | } while (len); | ||
300 | #endif /* __BIG_ENDIAN */ | ||
301 | } | ||
302 | |||
303 | static inline u8 is_tcp_pkt(struct sk_buff *skb) | ||
304 | { | ||
305 | u8 val = 0; | ||
306 | |||
307 | if (ip_hdr(skb)->version == 4) | ||
308 | val = (ip_hdr(skb)->protocol == IPPROTO_TCP); | ||
309 | else if (ip_hdr(skb)->version == 6) | ||
310 | val = (ipv6_hdr(skb)->nexthdr == NEXTHDR_TCP); | ||
311 | |||
312 | return val; | ||
313 | } | ||
314 | |||
315 | static inline u8 is_udp_pkt(struct sk_buff *skb) | ||
316 | { | ||
317 | u8 val = 0; | ||
318 | |||
319 | if (ip_hdr(skb)->version == 4) | ||
320 | val = (ip_hdr(skb)->protocol == IPPROTO_UDP); | ||
321 | else if (ip_hdr(skb)->version == 6) | ||
322 | val = (ipv6_hdr(skb)->nexthdr == NEXTHDR_UDP); | ||
323 | |||
324 | return val; | ||
325 | } | ||
326 | |||
327 | #endif /* BE_H */ | ||
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c new file mode 100644 index 000000000000..d444aed962bc --- /dev/null +++ b/drivers/net/benet/be_cmds.c | |||
@@ -0,0 +1,861 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2009 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | |||
18 | #include "be.h" | ||
19 | |||
20 | static int be_mbox_db_ready_wait(void __iomem *db) | ||
21 | { | ||
22 | int cnt = 0, wait = 5; | ||
23 | u32 ready; | ||
24 | |||
25 | do { | ||
26 | ready = ioread32(db) & MPU_MAILBOX_DB_RDY_MASK; | ||
27 | if (ready) | ||
28 | break; | ||
29 | |||
30 | if (cnt > 200000) { | ||
31 | printk(KERN_WARNING DRV_NAME | ||
32 | ": mbox_db poll timed out\n"); | ||
33 | return -1; | ||
34 | } | ||
35 | |||
36 | if (cnt > 50) | ||
37 | wait = 200; | ||
38 | cnt += wait; | ||
39 | udelay(wait); | ||
40 | } while (true); | ||
41 | |||
42 | return 0; | ||
43 | } | ||
44 | |||
45 | /* | ||
46 | * Insert the mailbox address into the doorbell in two steps | ||
47 | */ | ||
48 | static int be_mbox_db_ring(struct be_ctrl_info *ctrl) | ||
49 | { | ||
50 | int status; | ||
51 | u16 compl_status, extd_status; | ||
52 | u32 val = 0; | ||
53 | void __iomem *db = ctrl->db + MPU_MAILBOX_DB_OFFSET; | ||
54 | struct be_dma_mem *mbox_mem = &ctrl->mbox_mem; | ||
55 | struct be_mcc_mailbox *mbox = mbox_mem->va; | ||
56 | struct be_mcc_cq_entry *cqe = &mbox->cqe; | ||
57 | |||
58 | memset(cqe, 0, sizeof(*cqe)); | ||
59 | |||
60 | val &= ~MPU_MAILBOX_DB_RDY_MASK; | ||
61 | val |= MPU_MAILBOX_DB_HI_MASK; | ||
62 | /* at bits 2 - 31 place mbox dma addr msb bits 34 - 63 */ | ||
63 | val |= (upper_32_bits(mbox_mem->dma) >> 2) << 2; | ||
64 | iowrite32(val, db); | ||
65 | |||
66 | /* wait for ready to be set */ | ||
67 | status = be_mbox_db_ready_wait(db); | ||
68 | if (status != 0) | ||
69 | return status; | ||
70 | |||
71 | val = 0; | ||
72 | val &= ~MPU_MAILBOX_DB_RDY_MASK; | ||
73 | val &= ~MPU_MAILBOX_DB_HI_MASK; | ||
74 | /* at bits 2 - 31 place mbox dma addr lsb bits 4 - 33 */ | ||
75 | val |= (u32)(mbox_mem->dma >> 4) << 2; | ||
76 | iowrite32(val, db); | ||
77 | |||
78 | status = be_mbox_db_ready_wait(db); | ||
79 | if (status != 0) | ||
80 | return status; | ||
81 | |||
82 | /* compl entry has been made now */ | ||
83 | be_dws_le_to_cpu(cqe, sizeof(*cqe)); | ||
84 | if (!(cqe->flags & CQE_FLAGS_VALID_MASK)) { | ||
85 | printk(KERN_WARNING DRV_NAME ": ERROR invalid mbox compl\n"); | ||
86 | return -1; | ||
87 | } | ||
88 | |||
89 | compl_status = (cqe->status >> CQE_STATUS_COMPL_SHIFT) & | ||
90 | CQE_STATUS_COMPL_MASK; | ||
91 | if (compl_status != MCC_STATUS_SUCCESS) { | ||
92 | extd_status = (cqe->status >> CQE_STATUS_EXTD_SHIFT) & | ||
93 | CQE_STATUS_EXTD_MASK; | ||
94 | printk(KERN_WARNING DRV_NAME | ||
95 | ": ERROR in cmd compl. status(compl/extd)=%d/%d\n", | ||
96 | compl_status, extd_status); | ||
97 | } | ||
98 | |||
99 | return compl_status; | ||
100 | } | ||
101 | |||
102 | static int be_POST_stage_get(struct be_ctrl_info *ctrl, u16 *stage) | ||
103 | { | ||
104 | u32 sem = ioread32(ctrl->csr + MPU_EP_SEMAPHORE_OFFSET); | ||
105 | |||
106 | *stage = sem & EP_SEMAPHORE_POST_STAGE_MASK; | ||
107 | if ((sem >> EP_SEMAPHORE_POST_ERR_SHIFT) & EP_SEMAPHORE_POST_ERR_MASK) | ||
108 | return -1; | ||
109 | else | ||
110 | return 0; | ||
111 | } | ||
112 | |||
113 | static int be_POST_stage_poll(struct be_ctrl_info *ctrl, u16 poll_stage) | ||
114 | { | ||
115 | u16 stage, cnt, error; | ||
116 | for (cnt = 0; cnt < 5000; cnt++) { | ||
117 | error = be_POST_stage_get(ctrl, &stage); | ||
118 | if (error) | ||
119 | return -1; | ||
120 | |||
121 | if (stage == poll_stage) | ||
122 | break; | ||
123 | udelay(1000); | ||
124 | } | ||
125 | if (stage != poll_stage) | ||
126 | return -1; | ||
127 | return 0; | ||
128 | } | ||
129 | |||
130 | |||
131 | int be_cmd_POST(struct be_ctrl_info *ctrl) | ||
132 | { | ||
133 | u16 stage, error; | ||
134 | |||
135 | error = be_POST_stage_get(ctrl, &stage); | ||
136 | if (error) | ||
137 | goto err; | ||
138 | |||
139 | if (stage == POST_STAGE_ARMFW_RDY) | ||
140 | return 0; | ||
141 | |||
142 | if (stage != POST_STAGE_AWAITING_HOST_RDY) | ||
143 | goto err; | ||
144 | |||
145 | /* On awaiting host rdy, reset and again poll on awaiting host rdy */ | ||
146 | iowrite32(POST_STAGE_BE_RESET, ctrl->csr + MPU_EP_SEMAPHORE_OFFSET); | ||
147 | error = be_POST_stage_poll(ctrl, POST_STAGE_AWAITING_HOST_RDY); | ||
148 | if (error) | ||
149 | goto err; | ||
150 | |||
151 | /* Now kickoff POST and poll on armfw ready */ | ||
152 | iowrite32(POST_STAGE_HOST_RDY, ctrl->csr + MPU_EP_SEMAPHORE_OFFSET); | ||
153 | error = be_POST_stage_poll(ctrl, POST_STAGE_ARMFW_RDY); | ||
154 | if (error) | ||
155 | goto err; | ||
156 | |||
157 | return 0; | ||
158 | err: | ||
159 | printk(KERN_WARNING DRV_NAME ": ERROR, stage=%d\n", stage); | ||
160 | return -1; | ||
161 | } | ||
162 | |||
163 | static inline void *embedded_payload(struct be_mcc_wrb *wrb) | ||
164 | { | ||
165 | return wrb->payload.embedded_payload; | ||
166 | } | ||
167 | |||
168 | static inline struct be_sge *nonembedded_sgl(struct be_mcc_wrb *wrb) | ||
169 | { | ||
170 | return &wrb->payload.sgl[0]; | ||
171 | } | ||
172 | |||
173 | /* Don't touch the hdr after it's prepared */ | ||
174 | static void be_wrb_hdr_prepare(struct be_mcc_wrb *wrb, int payload_len, | ||
175 | bool embedded, u8 sge_cnt) | ||
176 | { | ||
177 | if (embedded) | ||
178 | wrb->embedded |= MCC_WRB_EMBEDDED_MASK; | ||
179 | else | ||
180 | wrb->embedded |= (sge_cnt & MCC_WRB_SGE_CNT_MASK) << | ||
181 | MCC_WRB_SGE_CNT_SHIFT; | ||
182 | wrb->payload_length = payload_len; | ||
183 | be_dws_cpu_to_le(wrb, 20); | ||
184 | } | ||
185 | |||
186 | /* Don't touch the hdr after it's prepared */ | ||
187 | static void be_cmd_hdr_prepare(struct be_cmd_req_hdr *req_hdr, | ||
188 | u8 subsystem, u8 opcode, int cmd_len) | ||
189 | { | ||
190 | req_hdr->opcode = opcode; | ||
191 | req_hdr->subsystem = subsystem; | ||
192 | req_hdr->request_length = cpu_to_le32(cmd_len - sizeof(*req_hdr)); | ||
193 | } | ||
194 | |||
195 | static void be_cmd_page_addrs_prepare(struct phys_addr *pages, u32 max_pages, | ||
196 | struct be_dma_mem *mem) | ||
197 | { | ||
198 | int i, buf_pages = min(PAGES_4K_SPANNED(mem->va, mem->size), max_pages); | ||
199 | u64 dma = (u64)mem->dma; | ||
200 | |||
201 | for (i = 0; i < buf_pages; i++) { | ||
202 | pages[i].lo = cpu_to_le32(dma & 0xFFFFFFFF); | ||
203 | pages[i].hi = cpu_to_le32(upper_32_bits(dma)); | ||
204 | dma += PAGE_SIZE_4K; | ||
205 | } | ||
206 | } | ||
207 | |||
208 | /* Converts interrupt delay in microseconds to multiplier value */ | ||
209 | static u32 eq_delay_to_mult(u32 usec_delay) | ||
210 | { | ||
211 | #define MAX_INTR_RATE 651042 | ||
212 | const u32 round = 10; | ||
213 | u32 multiplier; | ||
214 | |||
215 | if (usec_delay == 0) | ||
216 | multiplier = 0; | ||
217 | else { | ||
218 | u32 interrupt_rate = 1000000 / usec_delay; | ||
219 | /* Max delay, corresponding to the lowest interrupt rate */ | ||
220 | if (interrupt_rate == 0) | ||
221 | multiplier = 1023; | ||
222 | else { | ||
223 | multiplier = (MAX_INTR_RATE - interrupt_rate) * round; | ||
224 | multiplier /= interrupt_rate; | ||
225 | /* Round the multiplier to the closest value.*/ | ||
226 | multiplier = (multiplier + round/2) / round; | ||
227 | multiplier = min(multiplier, (u32)1023); | ||
228 | } | ||
229 | } | ||
230 | return multiplier; | ||
231 | } | ||
232 | |||
233 | static inline struct be_mcc_wrb *wrb_from_mbox(struct be_dma_mem *mbox_mem) | ||
234 | { | ||
235 | return &((struct be_mcc_mailbox *)(mbox_mem->va))->wrb; | ||
236 | } | ||
237 | |||
238 | int be_cmd_eq_create(struct be_ctrl_info *ctrl, | ||
239 | struct be_queue_info *eq, int eq_delay) | ||
240 | { | ||
241 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
242 | struct be_cmd_req_eq_create *req = embedded_payload(wrb); | ||
243 | struct be_cmd_resp_eq_create *resp = embedded_payload(wrb); | ||
244 | struct be_dma_mem *q_mem = &eq->dma_mem; | ||
245 | int status; | ||
246 | |||
247 | spin_lock(&ctrl->cmd_lock); | ||
248 | memset(wrb, 0, sizeof(*wrb)); | ||
249 | |||
250 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
251 | |||
252 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
253 | OPCODE_COMMON_EQ_CREATE, sizeof(*req)); | ||
254 | |||
255 | req->num_pages = cpu_to_le16(PAGES_4K_SPANNED(q_mem->va, q_mem->size)); | ||
256 | |||
257 | AMAP_SET_BITS(struct amap_eq_context, func, req->context, | ||
258 | ctrl->pci_func); | ||
259 | AMAP_SET_BITS(struct amap_eq_context, valid, req->context, 1); | ||
260 | /* 4byte eqe*/ | ||
261 | AMAP_SET_BITS(struct amap_eq_context, size, req->context, 0); | ||
262 | AMAP_SET_BITS(struct amap_eq_context, count, req->context, | ||
263 | __ilog2_u32(eq->len/256)); | ||
264 | AMAP_SET_BITS(struct amap_eq_context, delaymult, req->context, | ||
265 | eq_delay_to_mult(eq_delay)); | ||
266 | be_dws_cpu_to_le(req->context, sizeof(req->context)); | ||
267 | |||
268 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ||
269 | |||
270 | status = be_mbox_db_ring(ctrl); | ||
271 | if (!status) { | ||
272 | eq->id = le16_to_cpu(resp->eq_id); | ||
273 | eq->created = true; | ||
274 | } | ||
275 | spin_unlock(&ctrl->cmd_lock); | ||
276 | return status; | ||
277 | } | ||
278 | |||
279 | int be_cmd_mac_addr_query(struct be_ctrl_info *ctrl, u8 *mac_addr, | ||
280 | u8 type, bool permanent, u32 if_handle) | ||
281 | { | ||
282 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
283 | struct be_cmd_req_mac_query *req = embedded_payload(wrb); | ||
284 | struct be_cmd_resp_mac_query *resp = embedded_payload(wrb); | ||
285 | int status; | ||
286 | |||
287 | spin_lock(&ctrl->cmd_lock); | ||
288 | memset(wrb, 0, sizeof(*wrb)); | ||
289 | |||
290 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
291 | |||
292 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
293 | OPCODE_COMMON_NTWK_MAC_QUERY, sizeof(*req)); | ||
294 | |||
295 | req->type = type; | ||
296 | if (permanent) { | ||
297 | req->permanent = 1; | ||
298 | } else { | ||
299 | req->if_id = cpu_to_le16((u16)if_handle); | ||
300 | req->permanent = 0; | ||
301 | } | ||
302 | |||
303 | status = be_mbox_db_ring(ctrl); | ||
304 | if (!status) | ||
305 | memcpy(mac_addr, resp->mac.addr, ETH_ALEN); | ||
306 | |||
307 | spin_unlock(&ctrl->cmd_lock); | ||
308 | return status; | ||
309 | } | ||
310 | |||
311 | int be_cmd_pmac_add(struct be_ctrl_info *ctrl, u8 *mac_addr, | ||
312 | u32 if_id, u32 *pmac_id) | ||
313 | { | ||
314 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
315 | struct be_cmd_req_pmac_add *req = embedded_payload(wrb); | ||
316 | int status; | ||
317 | |||
318 | spin_lock(&ctrl->cmd_lock); | ||
319 | memset(wrb, 0, sizeof(*wrb)); | ||
320 | |||
321 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
322 | |||
323 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
324 | OPCODE_COMMON_NTWK_PMAC_ADD, sizeof(*req)); | ||
325 | |||
326 | req->if_id = cpu_to_le32(if_id); | ||
327 | memcpy(req->mac_address, mac_addr, ETH_ALEN); | ||
328 | |||
329 | status = be_mbox_db_ring(ctrl); | ||
330 | if (!status) { | ||
331 | struct be_cmd_resp_pmac_add *resp = embedded_payload(wrb); | ||
332 | *pmac_id = le32_to_cpu(resp->pmac_id); | ||
333 | } | ||
334 | |||
335 | spin_unlock(&ctrl->cmd_lock); | ||
336 | return status; | ||
337 | } | ||
338 | |||
339 | int be_cmd_pmac_del(struct be_ctrl_info *ctrl, u32 if_id, u32 pmac_id) | ||
340 | { | ||
341 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
342 | struct be_cmd_req_pmac_del *req = embedded_payload(wrb); | ||
343 | int status; | ||
344 | |||
345 | spin_lock(&ctrl->cmd_lock); | ||
346 | memset(wrb, 0, sizeof(*wrb)); | ||
347 | |||
348 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
349 | |||
350 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
351 | OPCODE_COMMON_NTWK_PMAC_DEL, sizeof(*req)); | ||
352 | |||
353 | req->if_id = cpu_to_le32(if_id); | ||
354 | req->pmac_id = cpu_to_le32(pmac_id); | ||
355 | |||
356 | status = be_mbox_db_ring(ctrl); | ||
357 | spin_unlock(&ctrl->cmd_lock); | ||
358 | |||
359 | return status; | ||
360 | } | ||
361 | |||
362 | int be_cmd_cq_create(struct be_ctrl_info *ctrl, | ||
363 | struct be_queue_info *cq, struct be_queue_info *eq, | ||
364 | bool sol_evts, bool no_delay, int coalesce_wm) | ||
365 | { | ||
366 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
367 | struct be_cmd_req_cq_create *req = embedded_payload(wrb); | ||
368 | struct be_cmd_resp_cq_create *resp = embedded_payload(wrb); | ||
369 | struct be_dma_mem *q_mem = &cq->dma_mem; | ||
370 | void *ctxt = &req->context; | ||
371 | int status; | ||
372 | |||
373 | spin_lock(&ctrl->cmd_lock); | ||
374 | memset(wrb, 0, sizeof(*wrb)); | ||
375 | |||
376 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
377 | |||
378 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
379 | OPCODE_COMMON_CQ_CREATE, sizeof(*req)); | ||
380 | |||
381 | req->num_pages = cpu_to_le16(PAGES_4K_SPANNED(q_mem->va, q_mem->size)); | ||
382 | |||
383 | AMAP_SET_BITS(struct amap_cq_context, coalescwm, ctxt, coalesce_wm); | ||
384 | AMAP_SET_BITS(struct amap_cq_context, nodelay, ctxt, no_delay); | ||
385 | AMAP_SET_BITS(struct amap_cq_context, count, ctxt, | ||
386 | __ilog2_u32(cq->len/256)); | ||
387 | AMAP_SET_BITS(struct amap_cq_context, valid, ctxt, 1); | ||
388 | AMAP_SET_BITS(struct amap_cq_context, solevent, ctxt, sol_evts); | ||
389 | AMAP_SET_BITS(struct amap_cq_context, eventable, ctxt, 1); | ||
390 | AMAP_SET_BITS(struct amap_cq_context, eqid, ctxt, eq->id); | ||
391 | AMAP_SET_BITS(struct amap_cq_context, armed, ctxt, 0); | ||
392 | AMAP_SET_BITS(struct amap_cq_context, func, ctxt, ctrl->pci_func); | ||
393 | be_dws_cpu_to_le(ctxt, sizeof(req->context)); | ||
394 | |||
395 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ||
396 | |||
397 | status = be_mbox_db_ring(ctrl); | ||
398 | if (!status) { | ||
399 | cq->id = le16_to_cpu(resp->cq_id); | ||
400 | cq->created = true; | ||
401 | } | ||
402 | spin_unlock(&ctrl->cmd_lock); | ||
403 | |||
404 | return status; | ||
405 | } | ||
406 | |||
407 | int be_cmd_txq_create(struct be_ctrl_info *ctrl, | ||
408 | struct be_queue_info *txq, | ||
409 | struct be_queue_info *cq) | ||
410 | { | ||
411 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
412 | struct be_cmd_req_eth_tx_create *req = embedded_payload(wrb); | ||
413 | struct be_dma_mem *q_mem = &txq->dma_mem; | ||
414 | void *ctxt = &req->context; | ||
415 | int status; | ||
416 | u32 len_encoded; | ||
417 | |||
418 | spin_lock(&ctrl->cmd_lock); | ||
419 | memset(wrb, 0, sizeof(*wrb)); | ||
420 | |||
421 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
422 | |||
423 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ETH, OPCODE_ETH_TX_CREATE, | ||
424 | sizeof(*req)); | ||
425 | |||
426 | req->num_pages = PAGES_4K_SPANNED(q_mem->va, q_mem->size); | ||
427 | req->ulp_num = BE_ULP1_NUM; | ||
428 | req->type = BE_ETH_TX_RING_TYPE_STANDARD; | ||
429 | |||
430 | len_encoded = fls(txq->len); /* log2(len) + 1 */ | ||
431 | if (len_encoded == 16) | ||
432 | len_encoded = 0; | ||
433 | AMAP_SET_BITS(struct amap_tx_context, tx_ring_size, ctxt, len_encoded); | ||
434 | AMAP_SET_BITS(struct amap_tx_context, pci_func_id, ctxt, | ||
435 | ctrl->pci_func); | ||
436 | AMAP_SET_BITS(struct amap_tx_context, ctx_valid, ctxt, 1); | ||
437 | AMAP_SET_BITS(struct amap_tx_context, cq_id_send, ctxt, cq->id); | ||
438 | |||
439 | be_dws_cpu_to_le(ctxt, sizeof(req->context)); | ||
440 | |||
441 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ||
442 | |||
443 | status = be_mbox_db_ring(ctrl); | ||
444 | if (!status) { | ||
445 | struct be_cmd_resp_eth_tx_create *resp = embedded_payload(wrb); | ||
446 | txq->id = le16_to_cpu(resp->cid); | ||
447 | txq->created = true; | ||
448 | } | ||
449 | spin_unlock(&ctrl->cmd_lock); | ||
450 | |||
451 | return status; | ||
452 | } | ||
453 | |||
454 | int be_cmd_rxq_create(struct be_ctrl_info *ctrl, | ||
455 | struct be_queue_info *rxq, u16 cq_id, u16 frag_size, | ||
456 | u16 max_frame_size, u32 if_id, u32 rss) | ||
457 | { | ||
458 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
459 | struct be_cmd_req_eth_rx_create *req = embedded_payload(wrb); | ||
460 | struct be_dma_mem *q_mem = &rxq->dma_mem; | ||
461 | int status; | ||
462 | |||
463 | spin_lock(&ctrl->cmd_lock); | ||
464 | memset(wrb, 0, sizeof(*wrb)); | ||
465 | |||
466 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
467 | |||
468 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ETH, OPCODE_ETH_RX_CREATE, | ||
469 | sizeof(*req)); | ||
470 | |||
471 | req->cq_id = cpu_to_le16(cq_id); | ||
472 | req->frag_size = fls(frag_size) - 1; | ||
473 | req->num_pages = 2; | ||
474 | be_cmd_page_addrs_prepare(req->pages, ARRAY_SIZE(req->pages), q_mem); | ||
475 | req->interface_id = cpu_to_le32(if_id); | ||
476 | req->max_frame_size = cpu_to_le16(max_frame_size); | ||
477 | req->rss_queue = cpu_to_le32(rss); | ||
478 | |||
479 | status = be_mbox_db_ring(ctrl); | ||
480 | if (!status) { | ||
481 | struct be_cmd_resp_eth_rx_create *resp = embedded_payload(wrb); | ||
482 | rxq->id = le16_to_cpu(resp->id); | ||
483 | rxq->created = true; | ||
484 | } | ||
485 | spin_unlock(&ctrl->cmd_lock); | ||
486 | |||
487 | return status; | ||
488 | } | ||
489 | |||
490 | /* Generic destroyer function for all types of queues */ | ||
491 | int be_cmd_q_destroy(struct be_ctrl_info *ctrl, struct be_queue_info *q, | ||
492 | int queue_type) | ||
493 | { | ||
494 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
495 | struct be_cmd_req_q_destroy *req = embedded_payload(wrb); | ||
496 | u8 subsys = 0, opcode = 0; | ||
497 | int status; | ||
498 | |||
499 | spin_lock(&ctrl->cmd_lock); | ||
500 | |||
501 | memset(wrb, 0, sizeof(*wrb)); | ||
502 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
503 | |||
504 | switch (queue_type) { | ||
505 | case QTYPE_EQ: | ||
506 | subsys = CMD_SUBSYSTEM_COMMON; | ||
507 | opcode = OPCODE_COMMON_EQ_DESTROY; | ||
508 | break; | ||
509 | case QTYPE_CQ: | ||
510 | subsys = CMD_SUBSYSTEM_COMMON; | ||
511 | opcode = OPCODE_COMMON_CQ_DESTROY; | ||
512 | break; | ||
513 | case QTYPE_TXQ: | ||
514 | subsys = CMD_SUBSYSTEM_ETH; | ||
515 | opcode = OPCODE_ETH_TX_DESTROY; | ||
516 | break; | ||
517 | case QTYPE_RXQ: | ||
518 | subsys = CMD_SUBSYSTEM_ETH; | ||
519 | opcode = OPCODE_ETH_RX_DESTROY; | ||
520 | break; | ||
521 | default: | ||
522 | printk(KERN_WARNING DRV_NAME ":bad Q type in Q destroy cmd\n"); | ||
523 | status = -1; | ||
524 | goto err; | ||
525 | } | ||
526 | be_cmd_hdr_prepare(&req->hdr, subsys, opcode, sizeof(*req)); | ||
527 | req->id = cpu_to_le16(q->id); | ||
528 | |||
529 | status = be_mbox_db_ring(ctrl); | ||
530 | err: | ||
531 | spin_unlock(&ctrl->cmd_lock); | ||
532 | |||
533 | return status; | ||
534 | } | ||
535 | |||
536 | /* Create an rx filtering policy configuration on an i/f */ | ||
537 | int be_cmd_if_create(struct be_ctrl_info *ctrl, u32 flags, u8 *mac, | ||
538 | bool pmac_invalid, u32 *if_handle, u32 *pmac_id) | ||
539 | { | ||
540 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
541 | struct be_cmd_req_if_create *req = embedded_payload(wrb); | ||
542 | int status; | ||
543 | |||
544 | spin_lock(&ctrl->cmd_lock); | ||
545 | memset(wrb, 0, sizeof(*wrb)); | ||
546 | |||
547 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
548 | |||
549 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
550 | OPCODE_COMMON_NTWK_INTERFACE_CREATE, sizeof(*req)); | ||
551 | |||
552 | req->capability_flags = cpu_to_le32(flags); | ||
553 | req->enable_flags = cpu_to_le32(flags); | ||
554 | if (!pmac_invalid) | ||
555 | memcpy(req->mac_addr, mac, ETH_ALEN); | ||
556 | |||
557 | status = be_mbox_db_ring(ctrl); | ||
558 | if (!status) { | ||
559 | struct be_cmd_resp_if_create *resp = embedded_payload(wrb); | ||
560 | *if_handle = le32_to_cpu(resp->interface_id); | ||
561 | if (!pmac_invalid) | ||
562 | *pmac_id = le32_to_cpu(resp->pmac_id); | ||
563 | } | ||
564 | |||
565 | spin_unlock(&ctrl->cmd_lock); | ||
566 | return status; | ||
567 | } | ||
568 | |||
569 | int be_cmd_if_destroy(struct be_ctrl_info *ctrl, u32 interface_id) | ||
570 | { | ||
571 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
572 | struct be_cmd_req_if_destroy *req = embedded_payload(wrb); | ||
573 | int status; | ||
574 | |||
575 | spin_lock(&ctrl->cmd_lock); | ||
576 | memset(wrb, 0, sizeof(*wrb)); | ||
577 | |||
578 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
579 | |||
580 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
581 | OPCODE_COMMON_NTWK_INTERFACE_DESTROY, sizeof(*req)); | ||
582 | |||
583 | req->interface_id = cpu_to_le32(interface_id); | ||
584 | status = be_mbox_db_ring(ctrl); | ||
585 | |||
586 | spin_unlock(&ctrl->cmd_lock); | ||
587 | |||
588 | return status; | ||
589 | } | ||
590 | |||
591 | /* Get stats is a non embedded command: the request is not embedded inside | ||
592 | * WRB but is a separate dma memory block | ||
593 | */ | ||
594 | int be_cmd_get_stats(struct be_ctrl_info *ctrl, struct be_dma_mem *nonemb_cmd) | ||
595 | { | ||
596 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
597 | struct be_cmd_req_get_stats *req = nonemb_cmd->va; | ||
598 | struct be_sge *sge = nonembedded_sgl(wrb); | ||
599 | int status; | ||
600 | |||
601 | spin_lock(&ctrl->cmd_lock); | ||
602 | memset(wrb, 0, sizeof(*wrb)); | ||
603 | |||
604 | memset(req, 0, sizeof(*req)); | ||
605 | |||
606 | be_wrb_hdr_prepare(wrb, sizeof(*req), false, 1); | ||
607 | |||
608 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ETH, | ||
609 | OPCODE_ETH_GET_STATISTICS, sizeof(*req)); | ||
610 | sge->pa_hi = cpu_to_le32(upper_32_bits(nonemb_cmd->dma)); | ||
611 | sge->pa_lo = cpu_to_le32(nonemb_cmd->dma & 0xFFFFFFFF); | ||
612 | sge->len = cpu_to_le32(nonemb_cmd->size); | ||
613 | |||
614 | status = be_mbox_db_ring(ctrl); | ||
615 | if (!status) { | ||
616 | struct be_cmd_resp_get_stats *resp = nonemb_cmd->va; | ||
617 | be_dws_le_to_cpu(&resp->hw_stats, sizeof(resp->hw_stats)); | ||
618 | } | ||
619 | |||
620 | spin_unlock(&ctrl->cmd_lock); | ||
621 | return status; | ||
622 | } | ||
623 | |||
624 | int be_cmd_link_status_query(struct be_ctrl_info *ctrl, | ||
625 | struct be_link_info *link) | ||
626 | { | ||
627 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
628 | struct be_cmd_req_link_status *req = embedded_payload(wrb); | ||
629 | int status; | ||
630 | |||
631 | spin_lock(&ctrl->cmd_lock); | ||
632 | memset(wrb, 0, sizeof(*wrb)); | ||
633 | |||
634 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
635 | |||
636 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
637 | OPCODE_COMMON_NTWK_LINK_STATUS_QUERY, sizeof(*req)); | ||
638 | |||
639 | status = be_mbox_db_ring(ctrl); | ||
640 | if (!status) { | ||
641 | struct be_cmd_resp_link_status *resp = embedded_payload(wrb); | ||
642 | link->speed = resp->mac_speed; | ||
643 | link->duplex = resp->mac_duplex; | ||
644 | link->fault = resp->mac_fault; | ||
645 | } else { | ||
646 | link->speed = PHY_LINK_SPEED_ZERO; | ||
647 | } | ||
648 | |||
649 | spin_unlock(&ctrl->cmd_lock); | ||
650 | return status; | ||
651 | } | ||
652 | |||
653 | int be_cmd_get_fw_ver(struct be_ctrl_info *ctrl, char *fw_ver) | ||
654 | { | ||
655 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
656 | struct be_cmd_req_get_fw_version *req = embedded_payload(wrb); | ||
657 | int status; | ||
658 | |||
659 | spin_lock(&ctrl->cmd_lock); | ||
660 | memset(wrb, 0, sizeof(*wrb)); | ||
661 | |||
662 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
663 | |||
664 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
665 | OPCODE_COMMON_GET_FW_VERSION, sizeof(*req)); | ||
666 | |||
667 | status = be_mbox_db_ring(ctrl); | ||
668 | if (!status) { | ||
669 | struct be_cmd_resp_get_fw_version *resp = embedded_payload(wrb); | ||
670 | strncpy(fw_ver, resp->firmware_version_string, FW_VER_LEN); | ||
671 | } | ||
672 | |||
673 | spin_unlock(&ctrl->cmd_lock); | ||
674 | return status; | ||
675 | } | ||
676 | |||
677 | /* set the EQ delay interval of an EQ to specified value */ | ||
678 | int be_cmd_modify_eqd(struct be_ctrl_info *ctrl, u32 eq_id, u32 eqd) | ||
679 | { | ||
680 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
681 | struct be_cmd_req_modify_eq_delay *req = embedded_payload(wrb); | ||
682 | int status; | ||
683 | |||
684 | spin_lock(&ctrl->cmd_lock); | ||
685 | memset(wrb, 0, sizeof(*wrb)); | ||
686 | |||
687 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
688 | |||
689 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
690 | OPCODE_COMMON_MODIFY_EQ_DELAY, sizeof(*req)); | ||
691 | |||
692 | req->num_eq = cpu_to_le32(1); | ||
693 | req->delay[0].eq_id = cpu_to_le32(eq_id); | ||
694 | req->delay[0].phase = 0; | ||
695 | req->delay[0].delay_multiplier = cpu_to_le32(eqd); | ||
696 | |||
697 | status = be_mbox_db_ring(ctrl); | ||
698 | |||
699 | spin_unlock(&ctrl->cmd_lock); | ||
700 | return status; | ||
701 | } | ||
702 | |||
703 | int be_cmd_vlan_config(struct be_ctrl_info *ctrl, u32 if_id, u16 *vtag_array, | ||
704 | u32 num, bool untagged, bool promiscuous) | ||
705 | { | ||
706 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
707 | struct be_cmd_req_vlan_config *req = embedded_payload(wrb); | ||
708 | int status; | ||
709 | |||
710 | spin_lock(&ctrl->cmd_lock); | ||
711 | memset(wrb, 0, sizeof(*wrb)); | ||
712 | |||
713 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
714 | |||
715 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
716 | OPCODE_COMMON_NTWK_VLAN_CONFIG, sizeof(*req)); | ||
717 | |||
718 | req->interface_id = if_id; | ||
719 | req->promiscuous = promiscuous; | ||
720 | req->untagged = untagged; | ||
721 | req->num_vlan = num; | ||
722 | if (!promiscuous) { | ||
723 | memcpy(req->normal_vlan, vtag_array, | ||
724 | req->num_vlan * sizeof(vtag_array[0])); | ||
725 | } | ||
726 | |||
727 | status = be_mbox_db_ring(ctrl); | ||
728 | |||
729 | spin_unlock(&ctrl->cmd_lock); | ||
730 | return status; | ||
731 | } | ||
732 | |||
733 | int be_cmd_promiscuous_config(struct be_ctrl_info *ctrl, u8 port_num, bool en) | ||
734 | { | ||
735 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
736 | struct be_cmd_req_promiscuous_config *req = embedded_payload(wrb); | ||
737 | int status; | ||
738 | |||
739 | spin_lock(&ctrl->cmd_lock); | ||
740 | memset(wrb, 0, sizeof(*wrb)); | ||
741 | |||
742 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
743 | |||
744 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ETH, | ||
745 | OPCODE_ETH_PROMISCUOUS, sizeof(*req)); | ||
746 | |||
747 | if (port_num) | ||
748 | req->port1_promiscuous = en; | ||
749 | else | ||
750 | req->port0_promiscuous = en; | ||
751 | |||
752 | status = be_mbox_db_ring(ctrl); | ||
753 | |||
754 | spin_unlock(&ctrl->cmd_lock); | ||
755 | return status; | ||
756 | } | ||
757 | |||
758 | int be_cmd_mcast_mac_set(struct be_ctrl_info *ctrl, u32 if_id, u8 *mac_table, | ||
759 | u32 num, bool promiscuous) | ||
760 | { | ||
761 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
762 | struct be_cmd_req_mcast_mac_config *req = embedded_payload(wrb); | ||
763 | int status; | ||
764 | |||
765 | spin_lock(&ctrl->cmd_lock); | ||
766 | memset(wrb, 0, sizeof(*wrb)); | ||
767 | |||
768 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
769 | |||
770 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
771 | OPCODE_COMMON_NTWK_MULTICAST_SET, sizeof(*req)); | ||
772 | |||
773 | req->interface_id = if_id; | ||
774 | req->promiscuous = promiscuous; | ||
775 | if (!promiscuous) { | ||
776 | req->num_mac = cpu_to_le16(num); | ||
777 | if (num) | ||
778 | memcpy(req->mac, mac_table, ETH_ALEN * num); | ||
779 | } | ||
780 | |||
781 | status = be_mbox_db_ring(ctrl); | ||
782 | |||
783 | spin_unlock(&ctrl->cmd_lock); | ||
784 | return status; | ||
785 | } | ||
786 | |||
787 | int be_cmd_set_flow_control(struct be_ctrl_info *ctrl, u32 tx_fc, u32 rx_fc) | ||
788 | { | ||
789 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
790 | struct be_cmd_req_set_flow_control *req = embedded_payload(wrb); | ||
791 | int status; | ||
792 | |||
793 | spin_lock(&ctrl->cmd_lock); | ||
794 | |||
795 | memset(wrb, 0, sizeof(*wrb)); | ||
796 | |||
797 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
798 | |||
799 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
800 | OPCODE_COMMON_SET_FLOW_CONTROL, sizeof(*req)); | ||
801 | |||
802 | req->tx_flow_control = cpu_to_le16((u16)tx_fc); | ||
803 | req->rx_flow_control = cpu_to_le16((u16)rx_fc); | ||
804 | |||
805 | status = be_mbox_db_ring(ctrl); | ||
806 | |||
807 | spin_unlock(&ctrl->cmd_lock); | ||
808 | return status; | ||
809 | } | ||
810 | |||
811 | int be_cmd_get_flow_control(struct be_ctrl_info *ctrl, u32 *tx_fc, u32 *rx_fc) | ||
812 | { | ||
813 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
814 | struct be_cmd_req_get_flow_control *req = embedded_payload(wrb); | ||
815 | int status; | ||
816 | |||
817 | spin_lock(&ctrl->cmd_lock); | ||
818 | |||
819 | memset(wrb, 0, sizeof(*wrb)); | ||
820 | |||
821 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
822 | |||
823 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
824 | OPCODE_COMMON_GET_FLOW_CONTROL, sizeof(*req)); | ||
825 | |||
826 | status = be_mbox_db_ring(ctrl); | ||
827 | if (!status) { | ||
828 | struct be_cmd_resp_get_flow_control *resp = | ||
829 | embedded_payload(wrb); | ||
830 | *tx_fc = le16_to_cpu(resp->tx_flow_control); | ||
831 | *rx_fc = le16_to_cpu(resp->rx_flow_control); | ||
832 | } | ||
833 | |||
834 | spin_unlock(&ctrl->cmd_lock); | ||
835 | return status; | ||
836 | } | ||
837 | |||
838 | int be_cmd_query_fw_cfg(struct be_ctrl_info *ctrl, u32 *port_num) | ||
839 | { | ||
840 | struct be_mcc_wrb *wrb = wrb_from_mbox(&ctrl->mbox_mem); | ||
841 | struct be_cmd_req_query_fw_cfg *req = embedded_payload(wrb); | ||
842 | int status; | ||
843 | |||
844 | spin_lock(&ctrl->cmd_lock); | ||
845 | |||
846 | memset(wrb, 0, sizeof(*wrb)); | ||
847 | |||
848 | be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); | ||
849 | |||
850 | be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_COMMON, | ||
851 | OPCODE_COMMON_QUERY_FIRMWARE_CONFIG, sizeof(*req)); | ||
852 | |||
853 | status = be_mbox_db_ring(ctrl); | ||
854 | if (!status) { | ||
855 | struct be_cmd_resp_query_fw_cfg *resp = embedded_payload(wrb); | ||
856 | *port_num = le32_to_cpu(resp->phys_port); | ||
857 | } | ||
858 | |||
859 | spin_unlock(&ctrl->cmd_lock); | ||
860 | return status; | ||
861 | } | ||
diff --git a/drivers/net/benet/be_cmds.h b/drivers/net/benet/be_cmds.h new file mode 100644 index 000000000000..e499e2d5b8c3 --- /dev/null +++ b/drivers/net/benet/be_cmds.h | |||
@@ -0,0 +1,688 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2009 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | |||
18 | /* | ||
19 | * The driver sends configuration and managements command requests to the | ||
20 | * firmware in the BE. These requests are communicated to the processor | ||
21 | * using Work Request Blocks (WRBs) submitted to the MCC-WRB ring or via one | ||
22 | * WRB inside a MAILBOX. | ||
23 | * The commands are serviced by the ARM processor in the BladeEngine's MPU. | ||
24 | */ | ||
25 | |||
26 | struct be_sge { | ||
27 | u32 pa_lo; | ||
28 | u32 pa_hi; | ||
29 | u32 len; | ||
30 | }; | ||
31 | |||
32 | #define MCC_WRB_EMBEDDED_MASK 1 /* bit 0 of dword 0*/ | ||
33 | #define MCC_WRB_SGE_CNT_SHIFT 3 /* bits 3 - 7 of dword 0 */ | ||
34 | #define MCC_WRB_SGE_CNT_MASK 0x1F /* bits 3 - 7 of dword 0 */ | ||
35 | struct be_mcc_wrb { | ||
36 | u32 embedded; /* dword 0 */ | ||
37 | u32 payload_length; /* dword 1 */ | ||
38 | u32 tag0; /* dword 2 */ | ||
39 | u32 tag1; /* dword 3 */ | ||
40 | u32 rsvd; /* dword 4 */ | ||
41 | union { | ||
42 | u8 embedded_payload[236]; /* used by embedded cmds */ | ||
43 | struct be_sge sgl[19]; /* used by non-embedded cmds */ | ||
44 | } payload; | ||
45 | }; | ||
46 | |||
47 | #define CQE_FLAGS_VALID_MASK (1 << 31) | ||
48 | #define CQE_FLAGS_ASYNC_MASK (1 << 30) | ||
49 | #define CQE_FLAGS_COMPLETED_MASK (1 << 28) | ||
50 | #define CQE_FLAGS_CONSUMED_MASK (1 << 27) | ||
51 | |||
52 | /* Completion Status */ | ||
53 | enum { | ||
54 | MCC_STATUS_SUCCESS = 0x0, | ||
55 | /* The client does not have sufficient privileges to execute the command */ | ||
56 | MCC_STATUS_INSUFFICIENT_PRIVILEGES = 0x1, | ||
57 | /* A parameter in the command was invalid. */ | ||
58 | MCC_STATUS_INVALID_PARAMETER = 0x2, | ||
59 | /* There are insufficient chip resources to execute the command */ | ||
60 | MCC_STATUS_INSUFFICIENT_RESOURCES = 0x3, | ||
61 | /* The command is completing because the queue was getting flushed */ | ||
62 | MCC_STATUS_QUEUE_FLUSHING = 0x4, | ||
63 | /* The command is completing with a DMA error */ | ||
64 | MCC_STATUS_DMA_FAILED = 0x5 | ||
65 | }; | ||
66 | |||
67 | #define CQE_STATUS_COMPL_MASK 0xFFFF | ||
68 | #define CQE_STATUS_COMPL_SHIFT 0 /* bits 0 - 15 */ | ||
69 | #define CQE_STATUS_EXTD_MASK 0xFFFF | ||
70 | #define CQE_STATUS_EXTD_SHIFT 0 /* bits 0 - 15 */ | ||
71 | |||
72 | struct be_mcc_cq_entry { | ||
73 | u32 status; /* dword 0 */ | ||
74 | u32 tag0; /* dword 1 */ | ||
75 | u32 tag1; /* dword 2 */ | ||
76 | u32 flags; /* dword 3 */ | ||
77 | }; | ||
78 | |||
79 | struct be_mcc_mailbox { | ||
80 | struct be_mcc_wrb wrb; | ||
81 | struct be_mcc_cq_entry cqe; | ||
82 | }; | ||
83 | |||
84 | #define CMD_SUBSYSTEM_COMMON 0x1 | ||
85 | #define CMD_SUBSYSTEM_ETH 0x3 | ||
86 | |||
87 | #define OPCODE_COMMON_NTWK_MAC_QUERY 1 | ||
88 | #define OPCODE_COMMON_NTWK_MAC_SET 2 | ||
89 | #define OPCODE_COMMON_NTWK_MULTICAST_SET 3 | ||
90 | #define OPCODE_COMMON_NTWK_VLAN_CONFIG 4 | ||
91 | #define OPCODE_COMMON_NTWK_LINK_STATUS_QUERY 5 | ||
92 | #define OPCODE_COMMON_CQ_CREATE 12 | ||
93 | #define OPCODE_COMMON_EQ_CREATE 13 | ||
94 | #define OPCODE_COMMON_MCC_CREATE 21 | ||
95 | #define OPCODE_COMMON_NTWK_RX_FILTER 34 | ||
96 | #define OPCODE_COMMON_GET_FW_VERSION 35 | ||
97 | #define OPCODE_COMMON_SET_FLOW_CONTROL 36 | ||
98 | #define OPCODE_COMMON_GET_FLOW_CONTROL 37 | ||
99 | #define OPCODE_COMMON_SET_FRAME_SIZE 39 | ||
100 | #define OPCODE_COMMON_MODIFY_EQ_DELAY 41 | ||
101 | #define OPCODE_COMMON_FIRMWARE_CONFIG 42 | ||
102 | #define OPCODE_COMMON_NTWK_INTERFACE_CREATE 50 | ||
103 | #define OPCODE_COMMON_NTWK_INTERFACE_DESTROY 51 | ||
104 | #define OPCODE_COMMON_CQ_DESTROY 54 | ||
105 | #define OPCODE_COMMON_EQ_DESTROY 55 | ||
106 | #define OPCODE_COMMON_QUERY_FIRMWARE_CONFIG 58 | ||
107 | #define OPCODE_COMMON_NTWK_PMAC_ADD 59 | ||
108 | #define OPCODE_COMMON_NTWK_PMAC_DEL 60 | ||
109 | |||
110 | #define OPCODE_ETH_ACPI_CONFIG 2 | ||
111 | #define OPCODE_ETH_PROMISCUOUS 3 | ||
112 | #define OPCODE_ETH_GET_STATISTICS 4 | ||
113 | #define OPCODE_ETH_TX_CREATE 7 | ||
114 | #define OPCODE_ETH_RX_CREATE 8 | ||
115 | #define OPCODE_ETH_TX_DESTROY 9 | ||
116 | #define OPCODE_ETH_RX_DESTROY 10 | ||
117 | |||
118 | struct be_cmd_req_hdr { | ||
119 | u8 opcode; /* dword 0 */ | ||
120 | u8 subsystem; /* dword 0 */ | ||
121 | u8 port_number; /* dword 0 */ | ||
122 | u8 domain; /* dword 0 */ | ||
123 | u32 timeout; /* dword 1 */ | ||
124 | u32 request_length; /* dword 2 */ | ||
125 | u32 rsvd; /* dword 3 */ | ||
126 | }; | ||
127 | |||
128 | #define RESP_HDR_INFO_OPCODE_SHIFT 0 /* bits 0 - 7 */ | ||
129 | #define RESP_HDR_INFO_SUBSYS_SHIFT 8 /* bits 8 - 15 */ | ||
130 | struct be_cmd_resp_hdr { | ||
131 | u32 info; /* dword 0 */ | ||
132 | u32 status; /* dword 1 */ | ||
133 | u32 response_length; /* dword 2 */ | ||
134 | u32 actual_resp_len; /* dword 3 */ | ||
135 | }; | ||
136 | |||
137 | struct phys_addr { | ||
138 | u32 lo; | ||
139 | u32 hi; | ||
140 | }; | ||
141 | |||
142 | /************************** | ||
143 | * BE Command definitions * | ||
144 | **************************/ | ||
145 | |||
146 | /* Pseudo amap definition in which each bit of the actual structure is defined | ||
147 | * as a byte: used to calculate offset/shift/mask of each field */ | ||
148 | struct amap_eq_context { | ||
149 | u8 cidx[13]; /* dword 0*/ | ||
150 | u8 rsvd0[3]; /* dword 0*/ | ||
151 | u8 epidx[13]; /* dword 0*/ | ||
152 | u8 valid; /* dword 0*/ | ||
153 | u8 rsvd1; /* dword 0*/ | ||
154 | u8 size; /* dword 0*/ | ||
155 | u8 pidx[13]; /* dword 1*/ | ||
156 | u8 rsvd2[3]; /* dword 1*/ | ||
157 | u8 pd[10]; /* dword 1*/ | ||
158 | u8 count[3]; /* dword 1*/ | ||
159 | u8 solevent; /* dword 1*/ | ||
160 | u8 stalled; /* dword 1*/ | ||
161 | u8 armed; /* dword 1*/ | ||
162 | u8 rsvd3[4]; /* dword 2*/ | ||
163 | u8 func[8]; /* dword 2*/ | ||
164 | u8 rsvd4; /* dword 2*/ | ||
165 | u8 delaymult[10]; /* dword 2*/ | ||
166 | u8 rsvd5[2]; /* dword 2*/ | ||
167 | u8 phase[2]; /* dword 2*/ | ||
168 | u8 nodelay; /* dword 2*/ | ||
169 | u8 rsvd6[4]; /* dword 2*/ | ||
170 | u8 rsvd7[32]; /* dword 3*/ | ||
171 | } __packed; | ||
172 | |||
173 | struct be_cmd_req_eq_create { | ||
174 | struct be_cmd_req_hdr hdr; | ||
175 | u16 num_pages; /* sword */ | ||
176 | u16 rsvd0; /* sword */ | ||
177 | u8 context[sizeof(struct amap_eq_context) / 8]; | ||
178 | struct phys_addr pages[8]; | ||
179 | } __packed; | ||
180 | |||
181 | struct be_cmd_resp_eq_create { | ||
182 | struct be_cmd_resp_hdr resp_hdr; | ||
183 | u16 eq_id; /* sword */ | ||
184 | u16 rsvd0; /* sword */ | ||
185 | } __packed; | ||
186 | |||
187 | /******************** Mac query ***************************/ | ||
188 | enum { | ||
189 | MAC_ADDRESS_TYPE_STORAGE = 0x0, | ||
190 | MAC_ADDRESS_TYPE_NETWORK = 0x1, | ||
191 | MAC_ADDRESS_TYPE_PD = 0x2, | ||
192 | MAC_ADDRESS_TYPE_MANAGEMENT = 0x3 | ||
193 | }; | ||
194 | |||
195 | struct mac_addr { | ||
196 | u16 size_of_struct; | ||
197 | u8 addr[ETH_ALEN]; | ||
198 | } __packed; | ||
199 | |||
200 | struct be_cmd_req_mac_query { | ||
201 | struct be_cmd_req_hdr hdr; | ||
202 | u8 type; | ||
203 | u8 permanent; | ||
204 | u16 if_id; | ||
205 | } __packed; | ||
206 | |||
207 | struct be_cmd_resp_mac_query { | ||
208 | struct be_cmd_resp_hdr hdr; | ||
209 | struct mac_addr mac; | ||
210 | }; | ||
211 | |||
212 | /******************** PMac Add ***************************/ | ||
213 | struct be_cmd_req_pmac_add { | ||
214 | struct be_cmd_req_hdr hdr; | ||
215 | u32 if_id; | ||
216 | u8 mac_address[ETH_ALEN]; | ||
217 | u8 rsvd0[2]; | ||
218 | } __packed; | ||
219 | |||
220 | struct be_cmd_resp_pmac_add { | ||
221 | struct be_cmd_resp_hdr hdr; | ||
222 | u32 pmac_id; | ||
223 | }; | ||
224 | |||
225 | /******************** PMac Del ***************************/ | ||
226 | struct be_cmd_req_pmac_del { | ||
227 | struct be_cmd_req_hdr hdr; | ||
228 | u32 if_id; | ||
229 | u32 pmac_id; | ||
230 | }; | ||
231 | |||
232 | /******************** Create CQ ***************************/ | ||
233 | /* Pseudo amap definition in which each bit of the actual structure is defined | ||
234 | * as a byte: used to calculate offset/shift/mask of each field */ | ||
235 | struct amap_cq_context { | ||
236 | u8 cidx[11]; /* dword 0*/ | ||
237 | u8 rsvd0; /* dword 0*/ | ||
238 | u8 coalescwm[2]; /* dword 0*/ | ||
239 | u8 nodelay; /* dword 0*/ | ||
240 | u8 epidx[11]; /* dword 0*/ | ||
241 | u8 rsvd1; /* dword 0*/ | ||
242 | u8 count[2]; /* dword 0*/ | ||
243 | u8 valid; /* dword 0*/ | ||
244 | u8 solevent; /* dword 0*/ | ||
245 | u8 eventable; /* dword 0*/ | ||
246 | u8 pidx[11]; /* dword 1*/ | ||
247 | u8 rsvd2; /* dword 1*/ | ||
248 | u8 pd[10]; /* dword 1*/ | ||
249 | u8 eqid[8]; /* dword 1*/ | ||
250 | u8 stalled; /* dword 1*/ | ||
251 | u8 armed; /* dword 1*/ | ||
252 | u8 rsvd3[4]; /* dword 2*/ | ||
253 | u8 func[8]; /* dword 2*/ | ||
254 | u8 rsvd4[20]; /* dword 2*/ | ||
255 | u8 rsvd5[32]; /* dword 3*/ | ||
256 | } __packed; | ||
257 | |||
258 | struct be_cmd_req_cq_create { | ||
259 | struct be_cmd_req_hdr hdr; | ||
260 | u16 num_pages; | ||
261 | u16 rsvd0; | ||
262 | u8 context[sizeof(struct amap_cq_context) / 8]; | ||
263 | struct phys_addr pages[8]; | ||
264 | } __packed; | ||
265 | |||
266 | struct be_cmd_resp_cq_create { | ||
267 | struct be_cmd_resp_hdr hdr; | ||
268 | u16 cq_id; | ||
269 | u16 rsvd0; | ||
270 | } __packed; | ||
271 | |||
272 | /******************** Create TxQ ***************************/ | ||
273 | #define BE_ETH_TX_RING_TYPE_STANDARD 2 | ||
274 | #define BE_ULP1_NUM 1 | ||
275 | |||
276 | /* Pseudo amap definition in which each bit of the actual structure is defined | ||
277 | * as a byte: used to calculate offset/shift/mask of each field */ | ||
278 | struct amap_tx_context { | ||
279 | u8 rsvd0[16]; /* dword 0 */ | ||
280 | u8 tx_ring_size[4]; /* dword 0 */ | ||
281 | u8 rsvd1[26]; /* dword 0 */ | ||
282 | u8 pci_func_id[8]; /* dword 1 */ | ||
283 | u8 rsvd2[9]; /* dword 1 */ | ||
284 | u8 ctx_valid; /* dword 1 */ | ||
285 | u8 cq_id_send[16]; /* dword 2 */ | ||
286 | u8 rsvd3[16]; /* dword 2 */ | ||
287 | u8 rsvd4[32]; /* dword 3 */ | ||
288 | u8 rsvd5[32]; /* dword 4 */ | ||
289 | u8 rsvd6[32]; /* dword 5 */ | ||
290 | u8 rsvd7[32]; /* dword 6 */ | ||
291 | u8 rsvd8[32]; /* dword 7 */ | ||
292 | u8 rsvd9[32]; /* dword 8 */ | ||
293 | u8 rsvd10[32]; /* dword 9 */ | ||
294 | u8 rsvd11[32]; /* dword 10 */ | ||
295 | u8 rsvd12[32]; /* dword 11 */ | ||
296 | u8 rsvd13[32]; /* dword 12 */ | ||
297 | u8 rsvd14[32]; /* dword 13 */ | ||
298 | u8 rsvd15[32]; /* dword 14 */ | ||
299 | u8 rsvd16[32]; /* dword 15 */ | ||
300 | } __packed; | ||
301 | |||
302 | struct be_cmd_req_eth_tx_create { | ||
303 | struct be_cmd_req_hdr hdr; | ||
304 | u8 num_pages; | ||
305 | u8 ulp_num; | ||
306 | u8 type; | ||
307 | u8 bound_port; | ||
308 | u8 context[sizeof(struct amap_tx_context) / 8]; | ||
309 | struct phys_addr pages[8]; | ||
310 | } __packed; | ||
311 | |||
312 | struct be_cmd_resp_eth_tx_create { | ||
313 | struct be_cmd_resp_hdr hdr; | ||
314 | u16 cid; | ||
315 | u16 rsvd0; | ||
316 | } __packed; | ||
317 | |||
318 | /******************** Create RxQ ***************************/ | ||
319 | struct be_cmd_req_eth_rx_create { | ||
320 | struct be_cmd_req_hdr hdr; | ||
321 | u16 cq_id; | ||
322 | u8 frag_size; | ||
323 | u8 num_pages; | ||
324 | struct phys_addr pages[2]; | ||
325 | u32 interface_id; | ||
326 | u16 max_frame_size; | ||
327 | u16 rsvd0; | ||
328 | u32 rss_queue; | ||
329 | } __packed; | ||
330 | |||
331 | struct be_cmd_resp_eth_rx_create { | ||
332 | struct be_cmd_resp_hdr hdr; | ||
333 | u16 id; | ||
334 | u8 cpu_id; | ||
335 | u8 rsvd0; | ||
336 | } __packed; | ||
337 | |||
338 | /******************** Q Destroy ***************************/ | ||
339 | /* Type of Queue to be destroyed */ | ||
340 | enum { | ||
341 | QTYPE_EQ = 1, | ||
342 | QTYPE_CQ, | ||
343 | QTYPE_TXQ, | ||
344 | QTYPE_RXQ | ||
345 | }; | ||
346 | |||
347 | struct be_cmd_req_q_destroy { | ||
348 | struct be_cmd_req_hdr hdr; | ||
349 | u16 id; | ||
350 | u16 bypass_flush; /* valid only for rx q destroy */ | ||
351 | } __packed; | ||
352 | |||
353 | /************ I/f Create (it's actually I/f Config Create)**********/ | ||
354 | |||
355 | /* Capability flags for the i/f */ | ||
356 | enum be_if_flags { | ||
357 | BE_IF_FLAGS_RSS = 0x4, | ||
358 | BE_IF_FLAGS_PROMISCUOUS = 0x8, | ||
359 | BE_IF_FLAGS_BROADCAST = 0x10, | ||
360 | BE_IF_FLAGS_UNTAGGED = 0x20, | ||
361 | BE_IF_FLAGS_ULP = 0x40, | ||
362 | BE_IF_FLAGS_VLAN_PROMISCUOUS = 0x80, | ||
363 | BE_IF_FLAGS_VLAN = 0x100, | ||
364 | BE_IF_FLAGS_MCAST_PROMISCUOUS = 0x200, | ||
365 | BE_IF_FLAGS_PASS_L2_ERRORS = 0x400, | ||
366 | BE_IF_FLAGS_PASS_L3L4_ERRORS = 0x800 | ||
367 | }; | ||
368 | |||
369 | /* An RX interface is an object with one or more MAC addresses and | ||
370 | * filtering capabilities. */ | ||
371 | struct be_cmd_req_if_create { | ||
372 | struct be_cmd_req_hdr hdr; | ||
373 | u32 version; /* ignore currntly */ | ||
374 | u32 capability_flags; | ||
375 | u32 enable_flags; | ||
376 | u8 mac_addr[ETH_ALEN]; | ||
377 | u8 rsvd0; | ||
378 | u8 pmac_invalid; /* if set, don't attach the mac addr to the i/f */ | ||
379 | u32 vlan_tag; /* not used currently */ | ||
380 | } __packed; | ||
381 | |||
382 | struct be_cmd_resp_if_create { | ||
383 | struct be_cmd_resp_hdr hdr; | ||
384 | u32 interface_id; | ||
385 | u32 pmac_id; | ||
386 | }; | ||
387 | |||
388 | /****** I/f Destroy(it's actually I/f Config Destroy )**********/ | ||
389 | struct be_cmd_req_if_destroy { | ||
390 | struct be_cmd_req_hdr hdr; | ||
391 | u32 interface_id; | ||
392 | }; | ||
393 | |||
394 | /*************** HW Stats Get **********************************/ | ||
395 | struct be_port_rxf_stats { | ||
396 | u32 rx_bytes_lsd; /* dword 0*/ | ||
397 | u32 rx_bytes_msd; /* dword 1*/ | ||
398 | u32 rx_total_frames; /* dword 2*/ | ||
399 | u32 rx_unicast_frames; /* dword 3*/ | ||
400 | u32 rx_multicast_frames; /* dword 4*/ | ||
401 | u32 rx_broadcast_frames; /* dword 5*/ | ||
402 | u32 rx_crc_errors; /* dword 6*/ | ||
403 | u32 rx_alignment_symbol_errors; /* dword 7*/ | ||
404 | u32 rx_pause_frames; /* dword 8*/ | ||
405 | u32 rx_control_frames; /* dword 9*/ | ||
406 | u32 rx_in_range_errors; /* dword 10*/ | ||
407 | u32 rx_out_range_errors; /* dword 11*/ | ||
408 | u32 rx_frame_too_long; /* dword 12*/ | ||
409 | u32 rx_address_match_errors; /* dword 13*/ | ||
410 | u32 rx_vlan_mismatch; /* dword 14*/ | ||
411 | u32 rx_dropped_too_small; /* dword 15*/ | ||
412 | u32 rx_dropped_too_short; /* dword 16*/ | ||
413 | u32 rx_dropped_header_too_small; /* dword 17*/ | ||
414 | u32 rx_dropped_tcp_length; /* dword 18*/ | ||
415 | u32 rx_dropped_runt; /* dword 19*/ | ||
416 | u32 rx_64_byte_packets; /* dword 20*/ | ||
417 | u32 rx_65_127_byte_packets; /* dword 21*/ | ||
418 | u32 rx_128_256_byte_packets; /* dword 22*/ | ||
419 | u32 rx_256_511_byte_packets; /* dword 23*/ | ||
420 | u32 rx_512_1023_byte_packets; /* dword 24*/ | ||
421 | u32 rx_1024_1518_byte_packets; /* dword 25*/ | ||
422 | u32 rx_1519_2047_byte_packets; /* dword 26*/ | ||
423 | u32 rx_2048_4095_byte_packets; /* dword 27*/ | ||
424 | u32 rx_4096_8191_byte_packets; /* dword 28*/ | ||
425 | u32 rx_8192_9216_byte_packets; /* dword 29*/ | ||
426 | u32 rx_ip_checksum_errs; /* dword 30*/ | ||
427 | u32 rx_tcp_checksum_errs; /* dword 31*/ | ||
428 | u32 rx_udp_checksum_errs; /* dword 32*/ | ||
429 | u32 rx_non_rss_packets; /* dword 33*/ | ||
430 | u32 rx_ipv4_packets; /* dword 34*/ | ||
431 | u32 rx_ipv6_packets; /* dword 35*/ | ||
432 | u32 rx_ipv4_bytes_lsd; /* dword 36*/ | ||
433 | u32 rx_ipv4_bytes_msd; /* dword 37*/ | ||
434 | u32 rx_ipv6_bytes_lsd; /* dword 38*/ | ||
435 | u32 rx_ipv6_bytes_msd; /* dword 39*/ | ||
436 | u32 rx_chute1_packets; /* dword 40*/ | ||
437 | u32 rx_chute2_packets; /* dword 41*/ | ||
438 | u32 rx_chute3_packets; /* dword 42*/ | ||
439 | u32 rx_management_packets; /* dword 43*/ | ||
440 | u32 rx_switched_unicast_packets; /* dword 44*/ | ||
441 | u32 rx_switched_multicast_packets; /* dword 45*/ | ||
442 | u32 rx_switched_broadcast_packets; /* dword 46*/ | ||
443 | u32 tx_bytes_lsd; /* dword 47*/ | ||
444 | u32 tx_bytes_msd; /* dword 48*/ | ||
445 | u32 tx_unicastframes; /* dword 49*/ | ||
446 | u32 tx_multicastframes; /* dword 50*/ | ||
447 | u32 tx_broadcastframes; /* dword 51*/ | ||
448 | u32 tx_pauseframes; /* dword 52*/ | ||
449 | u32 tx_controlframes; /* dword 53*/ | ||
450 | u32 tx_64_byte_packets; /* dword 54*/ | ||
451 | u32 tx_65_127_byte_packets; /* dword 55*/ | ||
452 | u32 tx_128_256_byte_packets; /* dword 56*/ | ||
453 | u32 tx_256_511_byte_packets; /* dword 57*/ | ||
454 | u32 tx_512_1023_byte_packets; /* dword 58*/ | ||
455 | u32 tx_1024_1518_byte_packets; /* dword 59*/ | ||
456 | u32 tx_1519_2047_byte_packets; /* dword 60*/ | ||
457 | u32 tx_2048_4095_byte_packets; /* dword 61*/ | ||
458 | u32 tx_4096_8191_byte_packets; /* dword 62*/ | ||
459 | u32 tx_8192_9216_byte_packets; /* dword 63*/ | ||
460 | u32 rx_fifo_overflow; /* dword 64*/ | ||
461 | u32 rx_input_fifo_overflow; /* dword 65*/ | ||
462 | }; | ||
463 | |||
464 | struct be_rxf_stats { | ||
465 | struct be_port_rxf_stats port[2]; | ||
466 | u32 rx_drops_no_pbuf; /* dword 132*/ | ||
467 | u32 rx_drops_no_txpb; /* dword 133*/ | ||
468 | u32 rx_drops_no_erx_descr; /* dword 134*/ | ||
469 | u32 rx_drops_no_tpre_descr; /* dword 135*/ | ||
470 | u32 management_rx_port_packets; /* dword 136*/ | ||
471 | u32 management_rx_port_bytes; /* dword 137*/ | ||
472 | u32 management_rx_port_pause_frames; /* dword 138*/ | ||
473 | u32 management_rx_port_errors; /* dword 139*/ | ||
474 | u32 management_tx_port_packets; /* dword 140*/ | ||
475 | u32 management_tx_port_bytes; /* dword 141*/ | ||
476 | u32 management_tx_port_pause; /* dword 142*/ | ||
477 | u32 management_rx_port_rxfifo_overflow; /* dword 143*/ | ||
478 | u32 rx_drops_too_many_frags; /* dword 144*/ | ||
479 | u32 rx_drops_invalid_ring; /* dword 145*/ | ||
480 | u32 forwarded_packets; /* dword 146*/ | ||
481 | u32 rx_drops_mtu; /* dword 147*/ | ||
482 | u32 rsvd0[15]; | ||
483 | }; | ||
484 | |||
485 | struct be_erx_stats { | ||
486 | u32 rx_drops_no_fragments[44]; /* dwordS 0 to 43*/ | ||
487 | u32 debug_wdma_sent_hold; /* dword 44*/ | ||
488 | u32 debug_wdma_pbfree_sent_hold; /* dword 45*/ | ||
489 | u32 debug_wdma_zerobyte_pbfree_sent_hold; /* dword 46*/ | ||
490 | u32 debug_pmem_pbuf_dealloc; /* dword 47*/ | ||
491 | }; | ||
492 | |||
493 | struct be_hw_stats { | ||
494 | struct be_rxf_stats rxf; | ||
495 | u32 rsvd[48]; | ||
496 | struct be_erx_stats erx; | ||
497 | }; | ||
498 | |||
499 | struct be_cmd_req_get_stats { | ||
500 | struct be_cmd_req_hdr hdr; | ||
501 | u8 rsvd[sizeof(struct be_hw_stats)]; | ||
502 | }; | ||
503 | |||
504 | struct be_cmd_resp_get_stats { | ||
505 | struct be_cmd_resp_hdr hdr; | ||
506 | struct be_hw_stats hw_stats; | ||
507 | }; | ||
508 | |||
509 | struct be_cmd_req_vlan_config { | ||
510 | struct be_cmd_req_hdr hdr; | ||
511 | u8 interface_id; | ||
512 | u8 promiscuous; | ||
513 | u8 untagged; | ||
514 | u8 num_vlan; | ||
515 | u16 normal_vlan[64]; | ||
516 | } __packed; | ||
517 | |||
518 | struct be_cmd_req_promiscuous_config { | ||
519 | struct be_cmd_req_hdr hdr; | ||
520 | u8 port0_promiscuous; | ||
521 | u8 port1_promiscuous; | ||
522 | u16 rsvd0; | ||
523 | } __packed; | ||
524 | |||
525 | struct macaddr { | ||
526 | u8 byte[ETH_ALEN]; | ||
527 | }; | ||
528 | |||
529 | struct be_cmd_req_mcast_mac_config { | ||
530 | struct be_cmd_req_hdr hdr; | ||
531 | u16 num_mac; | ||
532 | u8 promiscuous; | ||
533 | u8 interface_id; | ||
534 | struct macaddr mac[32]; | ||
535 | } __packed; | ||
536 | |||
537 | static inline struct be_hw_stats * | ||
538 | hw_stats_from_cmd(struct be_cmd_resp_get_stats *cmd) | ||
539 | { | ||
540 | return &cmd->hw_stats; | ||
541 | } | ||
542 | |||
543 | /******************** Link Status Query *******************/ | ||
544 | struct be_cmd_req_link_status { | ||
545 | struct be_cmd_req_hdr hdr; | ||
546 | u32 rsvd; | ||
547 | }; | ||
548 | |||
549 | struct be_link_info { | ||
550 | u8 duplex; | ||
551 | u8 speed; | ||
552 | u8 fault; | ||
553 | }; | ||
554 | |||
555 | enum { | ||
556 | PHY_LINK_DUPLEX_NONE = 0x0, | ||
557 | PHY_LINK_DUPLEX_HALF = 0x1, | ||
558 | PHY_LINK_DUPLEX_FULL = 0x2 | ||
559 | }; | ||
560 | |||
561 | enum { | ||
562 | PHY_LINK_SPEED_ZERO = 0x0, /* => No link */ | ||
563 | PHY_LINK_SPEED_10MBPS = 0x1, | ||
564 | PHY_LINK_SPEED_100MBPS = 0x2, | ||
565 | PHY_LINK_SPEED_1GBPS = 0x3, | ||
566 | PHY_LINK_SPEED_10GBPS = 0x4 | ||
567 | }; | ||
568 | |||
569 | struct be_cmd_resp_link_status { | ||
570 | struct be_cmd_resp_hdr hdr; | ||
571 | u8 physical_port; | ||
572 | u8 mac_duplex; | ||
573 | u8 mac_speed; | ||
574 | u8 mac_fault; | ||
575 | u8 mgmt_mac_duplex; | ||
576 | u8 mgmt_mac_speed; | ||
577 | u16 rsvd0; | ||
578 | } __packed; | ||
579 | |||
580 | /******************** Get FW Version *******************/ | ||
581 | #define FW_VER_LEN 32 | ||
582 | struct be_cmd_req_get_fw_version { | ||
583 | struct be_cmd_req_hdr hdr; | ||
584 | u8 rsvd0[FW_VER_LEN]; | ||
585 | u8 rsvd1[FW_VER_LEN]; | ||
586 | } __packed; | ||
587 | |||
588 | struct be_cmd_resp_get_fw_version { | ||
589 | struct be_cmd_resp_hdr hdr; | ||
590 | u8 firmware_version_string[FW_VER_LEN]; | ||
591 | u8 fw_on_flash_version_string[FW_VER_LEN]; | ||
592 | } __packed; | ||
593 | |||
594 | /******************** Set Flow Contrl *******************/ | ||
595 | struct be_cmd_req_set_flow_control { | ||
596 | struct be_cmd_req_hdr hdr; | ||
597 | u16 tx_flow_control; | ||
598 | u16 rx_flow_control; | ||
599 | } __packed; | ||
600 | |||
601 | /******************** Get Flow Contrl *******************/ | ||
602 | struct be_cmd_req_get_flow_control { | ||
603 | struct be_cmd_req_hdr hdr; | ||
604 | u32 rsvd; | ||
605 | }; | ||
606 | |||
607 | struct be_cmd_resp_get_flow_control { | ||
608 | struct be_cmd_resp_hdr hdr; | ||
609 | u16 tx_flow_control; | ||
610 | u16 rx_flow_control; | ||
611 | } __packed; | ||
612 | |||
613 | /******************** Modify EQ Delay *******************/ | ||
614 | struct be_cmd_req_modify_eq_delay { | ||
615 | struct be_cmd_req_hdr hdr; | ||
616 | u32 num_eq; | ||
617 | struct { | ||
618 | u32 eq_id; | ||
619 | u32 phase; | ||
620 | u32 delay_multiplier; | ||
621 | } delay[8]; | ||
622 | } __packed; | ||
623 | |||
624 | struct be_cmd_resp_modify_eq_delay { | ||
625 | struct be_cmd_resp_hdr hdr; | ||
626 | u32 rsvd0; | ||
627 | } __packed; | ||
628 | |||
629 | /******************** Get FW Config *******************/ | ||
630 | struct be_cmd_req_query_fw_cfg { | ||
631 | struct be_cmd_req_hdr hdr; | ||
632 | u32 rsvd[30]; | ||
633 | }; | ||
634 | |||
635 | struct be_cmd_resp_query_fw_cfg { | ||
636 | struct be_cmd_resp_hdr hdr; | ||
637 | u32 be_config_number; | ||
638 | u32 asic_revision; | ||
639 | u32 phys_port; | ||
640 | u32 function_mode; | ||
641 | u32 rsvd[26]; | ||
642 | }; | ||
643 | |||
644 | extern int be_pci_fnum_get(struct be_ctrl_info *ctrl); | ||
645 | extern int be_cmd_POST(struct be_ctrl_info *ctrl); | ||
646 | extern int be_cmd_mac_addr_query(struct be_ctrl_info *ctrl, u8 *mac_addr, | ||
647 | u8 type, bool permanent, u32 if_handle); | ||
648 | extern int be_cmd_pmac_add(struct be_ctrl_info *ctrl, u8 *mac_addr, | ||
649 | u32 if_id, u32 *pmac_id); | ||
650 | extern int be_cmd_pmac_del(struct be_ctrl_info *ctrl, u32 if_id, u32 pmac_id); | ||
651 | extern int be_cmd_if_create(struct be_ctrl_info *ctrl, u32 if_flags, u8 *mac, | ||
652 | bool pmac_invalid, u32 *if_handle, u32 *pmac_id); | ||
653 | extern int be_cmd_if_destroy(struct be_ctrl_info *ctrl, u32 if_handle); | ||
654 | extern int be_cmd_eq_create(struct be_ctrl_info *ctrl, | ||
655 | struct be_queue_info *eq, int eq_delay); | ||
656 | extern int be_cmd_cq_create(struct be_ctrl_info *ctrl, | ||
657 | struct be_queue_info *cq, struct be_queue_info *eq, | ||
658 | bool sol_evts, bool no_delay, | ||
659 | int num_cqe_dma_coalesce); | ||
660 | extern int be_cmd_txq_create(struct be_ctrl_info *ctrl, | ||
661 | struct be_queue_info *txq, | ||
662 | struct be_queue_info *cq); | ||
663 | extern int be_cmd_rxq_create(struct be_ctrl_info *ctrl, | ||
664 | struct be_queue_info *rxq, u16 cq_id, | ||
665 | u16 frag_size, u16 max_frame_size, u32 if_id, | ||
666 | u32 rss); | ||
667 | extern int be_cmd_q_destroy(struct be_ctrl_info *ctrl, struct be_queue_info *q, | ||
668 | int type); | ||
669 | extern int be_cmd_link_status_query(struct be_ctrl_info *ctrl, | ||
670 | struct be_link_info *link); | ||
671 | extern int be_cmd_reset(struct be_ctrl_info *ctrl); | ||
672 | extern int be_cmd_get_stats(struct be_ctrl_info *ctrl, | ||
673 | struct be_dma_mem *nonemb_cmd); | ||
674 | extern int be_cmd_get_fw_ver(struct be_ctrl_info *ctrl, char *fw_ver); | ||
675 | |||
676 | extern int be_cmd_modify_eqd(struct be_ctrl_info *ctrl, u32 eq_id, u32 eqd); | ||
677 | extern int be_cmd_vlan_config(struct be_ctrl_info *ctrl, u32 if_id, | ||
678 | u16 *vtag_array, u32 num, bool untagged, | ||
679 | bool promiscuous); | ||
680 | extern int be_cmd_promiscuous_config(struct be_ctrl_info *ctrl, | ||
681 | u8 port_num, bool en); | ||
682 | extern int be_cmd_mcast_mac_set(struct be_ctrl_info *ctrl, u32 if_id, | ||
683 | u8 *mac_table, u32 num, bool promiscuous); | ||
684 | extern int be_cmd_set_flow_control(struct be_ctrl_info *ctrl, | ||
685 | u32 tx_fc, u32 rx_fc); | ||
686 | extern int be_cmd_get_flow_control(struct be_ctrl_info *ctrl, | ||
687 | u32 *tx_fc, u32 *rx_fc); | ||
688 | extern int be_cmd_query_fw_cfg(struct be_ctrl_info *ctrl, u32 *port_num); | ||
diff --git a/drivers/net/benet/be_ethtool.c b/drivers/net/benet/be_ethtool.c new file mode 100644 index 000000000000..04f4b73fa8d8 --- /dev/null +++ b/drivers/net/benet/be_ethtool.c | |||
@@ -0,0 +1,362 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2009 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | |||
18 | #include "be.h" | ||
19 | #include <linux/ethtool.h> | ||
20 | |||
21 | struct be_ethtool_stat { | ||
22 | char desc[ETH_GSTRING_LEN]; | ||
23 | int type; | ||
24 | int size; | ||
25 | int offset; | ||
26 | }; | ||
27 | |||
28 | enum {NETSTAT, PORTSTAT, MISCSTAT, DRVSTAT, ERXSTAT}; | ||
29 | #define FIELDINFO(_struct, field) FIELD_SIZEOF(_struct, field), \ | ||
30 | offsetof(_struct, field) | ||
31 | #define NETSTAT_INFO(field) #field, NETSTAT,\ | ||
32 | FIELDINFO(struct net_device_stats,\ | ||
33 | field) | ||
34 | #define DRVSTAT_INFO(field) #field, DRVSTAT,\ | ||
35 | FIELDINFO(struct be_drvr_stats, field) | ||
36 | #define MISCSTAT_INFO(field) #field, MISCSTAT,\ | ||
37 | FIELDINFO(struct be_rxf_stats, field) | ||
38 | #define PORTSTAT_INFO(field) #field, PORTSTAT,\ | ||
39 | FIELDINFO(struct be_port_rxf_stats, \ | ||
40 | field) | ||
41 | #define ERXSTAT_INFO(field) #field, ERXSTAT,\ | ||
42 | FIELDINFO(struct be_erx_stats, field) | ||
43 | |||
44 | static const struct be_ethtool_stat et_stats[] = { | ||
45 | {NETSTAT_INFO(rx_packets)}, | ||
46 | {NETSTAT_INFO(tx_packets)}, | ||
47 | {NETSTAT_INFO(rx_bytes)}, | ||
48 | {NETSTAT_INFO(tx_bytes)}, | ||
49 | {NETSTAT_INFO(rx_errors)}, | ||
50 | {NETSTAT_INFO(tx_errors)}, | ||
51 | {NETSTAT_INFO(rx_dropped)}, | ||
52 | {NETSTAT_INFO(tx_dropped)}, | ||
53 | {DRVSTAT_INFO(be_tx_reqs)}, | ||
54 | {DRVSTAT_INFO(be_tx_stops)}, | ||
55 | {DRVSTAT_INFO(be_fwd_reqs)}, | ||
56 | {DRVSTAT_INFO(be_tx_wrbs)}, | ||
57 | {DRVSTAT_INFO(be_polls)}, | ||
58 | {DRVSTAT_INFO(be_tx_events)}, | ||
59 | {DRVSTAT_INFO(be_rx_events)}, | ||
60 | {DRVSTAT_INFO(be_tx_compl)}, | ||
61 | {DRVSTAT_INFO(be_rx_compl)}, | ||
62 | {DRVSTAT_INFO(be_ethrx_post_fail)}, | ||
63 | {DRVSTAT_INFO(be_802_3_dropped_frames)}, | ||
64 | {DRVSTAT_INFO(be_802_3_malformed_frames)}, | ||
65 | {DRVSTAT_INFO(be_tx_rate)}, | ||
66 | {DRVSTAT_INFO(be_rx_rate)}, | ||
67 | {PORTSTAT_INFO(rx_unicast_frames)}, | ||
68 | {PORTSTAT_INFO(rx_multicast_frames)}, | ||
69 | {PORTSTAT_INFO(rx_broadcast_frames)}, | ||
70 | {PORTSTAT_INFO(rx_crc_errors)}, | ||
71 | {PORTSTAT_INFO(rx_alignment_symbol_errors)}, | ||
72 | {PORTSTAT_INFO(rx_pause_frames)}, | ||
73 | {PORTSTAT_INFO(rx_control_frames)}, | ||
74 | {PORTSTAT_INFO(rx_in_range_errors)}, | ||
75 | {PORTSTAT_INFO(rx_out_range_errors)}, | ||
76 | {PORTSTAT_INFO(rx_frame_too_long)}, | ||
77 | {PORTSTAT_INFO(rx_address_match_errors)}, | ||
78 | {PORTSTAT_INFO(rx_vlan_mismatch)}, | ||
79 | {PORTSTAT_INFO(rx_dropped_too_small)}, | ||
80 | {PORTSTAT_INFO(rx_dropped_too_short)}, | ||
81 | {PORTSTAT_INFO(rx_dropped_header_too_small)}, | ||
82 | {PORTSTAT_INFO(rx_dropped_tcp_length)}, | ||
83 | {PORTSTAT_INFO(rx_dropped_runt)}, | ||
84 | {PORTSTAT_INFO(rx_fifo_overflow)}, | ||
85 | {PORTSTAT_INFO(rx_input_fifo_overflow)}, | ||
86 | {PORTSTAT_INFO(rx_ip_checksum_errs)}, | ||
87 | {PORTSTAT_INFO(rx_tcp_checksum_errs)}, | ||
88 | {PORTSTAT_INFO(rx_udp_checksum_errs)}, | ||
89 | {PORTSTAT_INFO(rx_non_rss_packets)}, | ||
90 | {PORTSTAT_INFO(rx_ipv4_packets)}, | ||
91 | {PORTSTAT_INFO(rx_ipv6_packets)}, | ||
92 | {PORTSTAT_INFO(tx_unicastframes)}, | ||
93 | {PORTSTAT_INFO(tx_multicastframes)}, | ||
94 | {PORTSTAT_INFO(tx_broadcastframes)}, | ||
95 | {PORTSTAT_INFO(tx_pauseframes)}, | ||
96 | {PORTSTAT_INFO(tx_controlframes)}, | ||
97 | {MISCSTAT_INFO(rx_drops_no_pbuf)}, | ||
98 | {MISCSTAT_INFO(rx_drops_no_txpb)}, | ||
99 | {MISCSTAT_INFO(rx_drops_no_erx_descr)}, | ||
100 | {MISCSTAT_INFO(rx_drops_no_tpre_descr)}, | ||
101 | {MISCSTAT_INFO(rx_drops_too_many_frags)}, | ||
102 | {MISCSTAT_INFO(rx_drops_invalid_ring)}, | ||
103 | {MISCSTAT_INFO(forwarded_packets)}, | ||
104 | {MISCSTAT_INFO(rx_drops_mtu)}, | ||
105 | {ERXSTAT_INFO(rx_drops_no_fragments)}, | ||
106 | }; | ||
107 | #define ETHTOOL_STATS_NUM ARRAY_SIZE(et_stats) | ||
108 | |||
109 | static void | ||
110 | be_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) | ||
111 | { | ||
112 | struct be_adapter *adapter = netdev_priv(netdev); | ||
113 | |||
114 | strcpy(drvinfo->driver, DRV_NAME); | ||
115 | strcpy(drvinfo->version, DRV_VER); | ||
116 | strncpy(drvinfo->fw_version, adapter->fw_ver, FW_VER_LEN); | ||
117 | strcpy(drvinfo->bus_info, pci_name(adapter->pdev)); | ||
118 | drvinfo->testinfo_len = 0; | ||
119 | drvinfo->regdump_len = 0; | ||
120 | drvinfo->eedump_len = 0; | ||
121 | } | ||
122 | |||
123 | static int | ||
124 | be_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) | ||
125 | { | ||
126 | struct be_adapter *adapter = netdev_priv(netdev); | ||
127 | struct be_eq_obj *rx_eq = &adapter->rx_eq; | ||
128 | struct be_eq_obj *tx_eq = &adapter->tx_eq; | ||
129 | |||
130 | coalesce->rx_max_coalesced_frames = adapter->max_rx_coal; | ||
131 | |||
132 | coalesce->rx_coalesce_usecs = rx_eq->cur_eqd; | ||
133 | coalesce->rx_coalesce_usecs_high = rx_eq->max_eqd; | ||
134 | coalesce->rx_coalesce_usecs_low = rx_eq->min_eqd; | ||
135 | |||
136 | coalesce->tx_coalesce_usecs = tx_eq->cur_eqd; | ||
137 | coalesce->tx_coalesce_usecs_high = tx_eq->max_eqd; | ||
138 | coalesce->tx_coalesce_usecs_low = tx_eq->min_eqd; | ||
139 | |||
140 | coalesce->use_adaptive_rx_coalesce = rx_eq->enable_aic; | ||
141 | coalesce->use_adaptive_tx_coalesce = tx_eq->enable_aic; | ||
142 | |||
143 | return 0; | ||
144 | } | ||
145 | |||
146 | /* | ||
147 | * This routine is used to set interrup coalescing delay *as well as* | ||
148 | * the number of pkts to coalesce for LRO. | ||
149 | */ | ||
150 | static int | ||
151 | be_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) | ||
152 | { | ||
153 | struct be_adapter *adapter = netdev_priv(netdev); | ||
154 | struct be_ctrl_info *ctrl = &adapter->ctrl; | ||
155 | struct be_eq_obj *rx_eq = &adapter->rx_eq; | ||
156 | struct be_eq_obj *tx_eq = &adapter->tx_eq; | ||
157 | u32 tx_max, tx_min, tx_cur; | ||
158 | u32 rx_max, rx_min, rx_cur; | ||
159 | int status = 0; | ||
160 | |||
161 | if (coalesce->use_adaptive_tx_coalesce == 1) | ||
162 | return -EINVAL; | ||
163 | |||
164 | adapter->max_rx_coal = coalesce->rx_max_coalesced_frames; | ||
165 | if (adapter->max_rx_coal > MAX_SKB_FRAGS) | ||
166 | adapter->max_rx_coal = MAX_SKB_FRAGS - 1; | ||
167 | |||
168 | /* if AIC is being turned on now, start with an EQD of 0 */ | ||
169 | if (rx_eq->enable_aic == 0 && | ||
170 | coalesce->use_adaptive_rx_coalesce == 1) { | ||
171 | rx_eq->cur_eqd = 0; | ||
172 | } | ||
173 | rx_eq->enable_aic = coalesce->use_adaptive_rx_coalesce; | ||
174 | |||
175 | rx_max = coalesce->rx_coalesce_usecs_high; | ||
176 | rx_min = coalesce->rx_coalesce_usecs_low; | ||
177 | rx_cur = coalesce->rx_coalesce_usecs; | ||
178 | |||
179 | tx_max = coalesce->tx_coalesce_usecs_high; | ||
180 | tx_min = coalesce->tx_coalesce_usecs_low; | ||
181 | tx_cur = coalesce->tx_coalesce_usecs; | ||
182 | |||
183 | if (tx_cur > BE_MAX_EQD) | ||
184 | tx_cur = BE_MAX_EQD; | ||
185 | if (tx_eq->cur_eqd != tx_cur) { | ||
186 | status = be_cmd_modify_eqd(ctrl, tx_eq->q.id, tx_cur); | ||
187 | if (!status) | ||
188 | tx_eq->cur_eqd = tx_cur; | ||
189 | } | ||
190 | |||
191 | if (rx_eq->enable_aic) { | ||
192 | if (rx_max > BE_MAX_EQD) | ||
193 | rx_max = BE_MAX_EQD; | ||
194 | if (rx_min > rx_max) | ||
195 | rx_min = rx_max; | ||
196 | rx_eq->max_eqd = rx_max; | ||
197 | rx_eq->min_eqd = rx_min; | ||
198 | if (rx_eq->cur_eqd > rx_max) | ||
199 | rx_eq->cur_eqd = rx_max; | ||
200 | if (rx_eq->cur_eqd < rx_min) | ||
201 | rx_eq->cur_eqd = rx_min; | ||
202 | } else { | ||
203 | if (rx_cur > BE_MAX_EQD) | ||
204 | rx_cur = BE_MAX_EQD; | ||
205 | if (rx_eq->cur_eqd != rx_cur) { | ||
206 | status = be_cmd_modify_eqd(ctrl, rx_eq->q.id, rx_cur); | ||
207 | if (!status) | ||
208 | rx_eq->cur_eqd = rx_cur; | ||
209 | } | ||
210 | } | ||
211 | return 0; | ||
212 | } | ||
213 | |||
214 | static u32 be_get_rx_csum(struct net_device *netdev) | ||
215 | { | ||
216 | struct be_adapter *adapter = netdev_priv(netdev); | ||
217 | |||
218 | return adapter->rx_csum; | ||
219 | } | ||
220 | |||
221 | static int be_set_rx_csum(struct net_device *netdev, uint32_t data) | ||
222 | { | ||
223 | struct be_adapter *adapter = netdev_priv(netdev); | ||
224 | |||
225 | if (data) | ||
226 | adapter->rx_csum = true; | ||
227 | else | ||
228 | adapter->rx_csum = false; | ||
229 | |||
230 | return 0; | ||
231 | } | ||
232 | |||
233 | static void | ||
234 | be_get_ethtool_stats(struct net_device *netdev, | ||
235 | struct ethtool_stats *stats, uint64_t *data) | ||
236 | { | ||
237 | struct be_adapter *adapter = netdev_priv(netdev); | ||
238 | struct be_drvr_stats *drvr_stats = &adapter->stats.drvr_stats; | ||
239 | struct be_hw_stats *hw_stats = hw_stats_from_cmd(adapter->stats.cmd.va); | ||
240 | struct be_rxf_stats *rxf_stats = &hw_stats->rxf; | ||
241 | struct be_port_rxf_stats *port_stats = | ||
242 | &rxf_stats->port[adapter->port_num]; | ||
243 | struct net_device_stats *net_stats = &adapter->stats.net_stats; | ||
244 | struct be_erx_stats *erx_stats = &hw_stats->erx; | ||
245 | void *p = NULL; | ||
246 | int i; | ||
247 | |||
248 | for (i = 0; i < ETHTOOL_STATS_NUM; i++) { | ||
249 | switch (et_stats[i].type) { | ||
250 | case NETSTAT: | ||
251 | p = net_stats; | ||
252 | break; | ||
253 | case DRVSTAT: | ||
254 | p = drvr_stats; | ||
255 | break; | ||
256 | case PORTSTAT: | ||
257 | p = port_stats; | ||
258 | break; | ||
259 | case MISCSTAT: | ||
260 | p = rxf_stats; | ||
261 | break; | ||
262 | case ERXSTAT: /* Currently only one ERX stat is provided */ | ||
263 | p = (u32 *)erx_stats + adapter->rx_obj.q.id; | ||
264 | break; | ||
265 | } | ||
266 | |||
267 | p = (u8 *)p + et_stats[i].offset; | ||
268 | data[i] = (et_stats[i].size == sizeof(u64)) ? | ||
269 | *(u64 *)p: *(u32 *)p; | ||
270 | } | ||
271 | |||
272 | return; | ||
273 | } | ||
274 | |||
275 | static void | ||
276 | be_get_stat_strings(struct net_device *netdev, uint32_t stringset, | ||
277 | uint8_t *data) | ||
278 | { | ||
279 | int i; | ||
280 | switch (stringset) { | ||
281 | case ETH_SS_STATS: | ||
282 | for (i = 0; i < ETHTOOL_STATS_NUM; i++) { | ||
283 | memcpy(data, et_stats[i].desc, ETH_GSTRING_LEN); | ||
284 | data += ETH_GSTRING_LEN; | ||
285 | } | ||
286 | break; | ||
287 | } | ||
288 | } | ||
289 | |||
290 | static int be_get_stats_count(struct net_device *netdev) | ||
291 | { | ||
292 | return ETHTOOL_STATS_NUM; | ||
293 | } | ||
294 | |||
295 | static int be_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) | ||
296 | { | ||
297 | ecmd->speed = SPEED_10000; | ||
298 | ecmd->duplex = DUPLEX_FULL; | ||
299 | ecmd->autoneg = AUTONEG_DISABLE; | ||
300 | return 0; | ||
301 | } | ||
302 | |||
303 | static void | ||
304 | be_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) | ||
305 | { | ||
306 | struct be_adapter *adapter = netdev_priv(netdev); | ||
307 | |||
308 | ring->rx_max_pending = adapter->rx_obj.q.len; | ||
309 | ring->tx_max_pending = adapter->tx_obj.q.len; | ||
310 | |||
311 | ring->rx_pending = atomic_read(&adapter->rx_obj.q.used); | ||
312 | ring->tx_pending = atomic_read(&adapter->tx_obj.q.used); | ||
313 | } | ||
314 | |||
315 | static void | ||
316 | be_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *ecmd) | ||
317 | { | ||
318 | struct be_adapter *adapter = netdev_priv(netdev); | ||
319 | |||
320 | be_cmd_get_flow_control(&adapter->ctrl, &ecmd->tx_pause, | ||
321 | &ecmd->rx_pause); | ||
322 | ecmd->autoneg = AUTONEG_ENABLE; | ||
323 | } | ||
324 | |||
325 | static int | ||
326 | be_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *ecmd) | ||
327 | { | ||
328 | struct be_adapter *adapter = netdev_priv(netdev); | ||
329 | int status; | ||
330 | |||
331 | if (ecmd->autoneg != AUTONEG_ENABLE) | ||
332 | return -EINVAL; | ||
333 | |||
334 | status = be_cmd_set_flow_control(&adapter->ctrl, ecmd->tx_pause, | ||
335 | ecmd->rx_pause); | ||
336 | if (!status) | ||
337 | dev_warn(&adapter->pdev->dev, "Pause param set failed.\n"); | ||
338 | |||
339 | return status; | ||
340 | } | ||
341 | |||
342 | struct ethtool_ops be_ethtool_ops = { | ||
343 | .get_settings = be_get_settings, | ||
344 | .get_drvinfo = be_get_drvinfo, | ||
345 | .get_link = ethtool_op_get_link, | ||
346 | .get_coalesce = be_get_coalesce, | ||
347 | .set_coalesce = be_set_coalesce, | ||
348 | .get_ringparam = be_get_ringparam, | ||
349 | .get_pauseparam = be_get_pauseparam, | ||
350 | .set_pauseparam = be_set_pauseparam, | ||
351 | .get_rx_csum = be_get_rx_csum, | ||
352 | .set_rx_csum = be_set_rx_csum, | ||
353 | .get_tx_csum = ethtool_op_get_tx_csum, | ||
354 | .set_tx_csum = ethtool_op_set_tx_csum, | ||
355 | .get_sg = ethtool_op_get_sg, | ||
356 | .set_sg = ethtool_op_set_sg, | ||
357 | .get_tso = ethtool_op_get_tso, | ||
358 | .set_tso = ethtool_op_set_tso, | ||
359 | .get_strings = be_get_stat_strings, | ||
360 | .get_stats_count = be_get_stats_count, | ||
361 | .get_ethtool_stats = be_get_ethtool_stats, | ||
362 | }; | ||
diff --git a/drivers/net/benet/be_hw.h b/drivers/net/benet/be_hw.h new file mode 100644 index 000000000000..b132aa4893ca --- /dev/null +++ b/drivers/net/benet/be_hw.h | |||
@@ -0,0 +1,211 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2009 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | |||
18 | /********* Mailbox door bell *************/ | ||
19 | /* Used for driver communication with the FW. | ||
20 | * The software must write this register twice to post any command. First, | ||
21 | * it writes the register with hi=1 and the upper bits of the physical address | ||
22 | * for the MAILBOX structure. Software must poll the ready bit until this | ||
23 | * is acknowledged. Then, sotware writes the register with hi=0 with the lower | ||
24 | * bits in the address. It must poll the ready bit until the command is | ||
25 | * complete. Upon completion, the MAILBOX will contain a valid completion | ||
26 | * queue entry. | ||
27 | */ | ||
28 | #define MPU_MAILBOX_DB_OFFSET 0x160 | ||
29 | #define MPU_MAILBOX_DB_RDY_MASK 0x1 /* bit 0 */ | ||
30 | #define MPU_MAILBOX_DB_HI_MASK 0x2 /* bit 1 */ | ||
31 | |||
32 | #define MPU_EP_CONTROL 0 | ||
33 | |||
34 | /********** MPU semphore ******************/ | ||
35 | #define MPU_EP_SEMAPHORE_OFFSET 0xac | ||
36 | #define EP_SEMAPHORE_POST_STAGE_MASK 0x0000FFFF | ||
37 | #define EP_SEMAPHORE_POST_ERR_MASK 0x1 | ||
38 | #define EP_SEMAPHORE_POST_ERR_SHIFT 31 | ||
39 | /* MPU semphore POST stage values */ | ||
40 | #define POST_STAGE_AWAITING_HOST_RDY 0x1 /* FW awaiting goahead from host */ | ||
41 | #define POST_STAGE_HOST_RDY 0x2 /* Host has given go-ahed to FW */ | ||
42 | #define POST_STAGE_BE_RESET 0x3 /* Host wants to reset chip */ | ||
43 | #define POST_STAGE_ARMFW_RDY 0xc000 /* FW is done with POST */ | ||
44 | |||
45 | /********* Memory BAR register ************/ | ||
46 | #define PCICFG_MEMBAR_CTRL_INT_CTRL_OFFSET 0xfc | ||
47 | /* Host Interrupt Enable, if set interrupts are enabled although "PCI Interrupt | ||
48 | * Disable" may still globally block interrupts in addition to individual | ||
49 | * interrupt masks; a mechanism for the device driver to block all interrupts | ||
50 | * atomically without having to arbitrate for the PCI Interrupt Disable bit | ||
51 | * with the OS. | ||
52 | */ | ||
53 | #define MEMBAR_CTRL_INT_CTRL_HOSTINTR_MASK (1 << 29) /* bit 29 */ | ||
54 | /* PCI physical function number */ | ||
55 | #define MEMBAR_CTRL_INT_CTRL_PFUNC_MASK 0x7 /* bits 26 - 28 */ | ||
56 | #define MEMBAR_CTRL_INT_CTRL_PFUNC_SHIFT 26 | ||
57 | |||
58 | /********* Event Q door bell *************/ | ||
59 | #define DB_EQ_OFFSET DB_CQ_OFFSET | ||
60 | #define DB_EQ_RING_ID_MASK 0x1FF /* bits 0 - 8 */ | ||
61 | /* Clear the interrupt for this eq */ | ||
62 | #define DB_EQ_CLR_SHIFT (9) /* bit 9 */ | ||
63 | /* Must be 1 */ | ||
64 | #define DB_EQ_EVNT_SHIFT (10) /* bit 10 */ | ||
65 | /* Number of event entries processed */ | ||
66 | #define DB_EQ_NUM_POPPED_SHIFT (16) /* bits 16 - 28 */ | ||
67 | /* Rearm bit */ | ||
68 | #define DB_EQ_REARM_SHIFT (29) /* bit 29 */ | ||
69 | |||
70 | /********* Compl Q door bell *************/ | ||
71 | #define DB_CQ_OFFSET 0x120 | ||
72 | #define DB_CQ_RING_ID_MASK 0x3FF /* bits 0 - 9 */ | ||
73 | /* Number of event entries processed */ | ||
74 | #define DB_CQ_NUM_POPPED_SHIFT (16) /* bits 16 - 28 */ | ||
75 | /* Rearm bit */ | ||
76 | #define DB_CQ_REARM_SHIFT (29) /* bit 29 */ | ||
77 | |||
78 | /********** TX ULP door bell *************/ | ||
79 | #define DB_TXULP1_OFFSET 0x60 | ||
80 | #define DB_TXULP_RING_ID_MASK 0x7FF /* bits 0 - 10 */ | ||
81 | /* Number of tx entries posted */ | ||
82 | #define DB_TXULP_NUM_POSTED_SHIFT (16) /* bits 16 - 29 */ | ||
83 | #define DB_TXULP_NUM_POSTED_MASK 0x3FFF /* bits 16 - 29 */ | ||
84 | |||
85 | /********** RQ(erx) door bell ************/ | ||
86 | #define DB_RQ_OFFSET 0x100 | ||
87 | #define DB_RQ_RING_ID_MASK 0x3FF /* bits 0 - 9 */ | ||
88 | /* Number of rx frags posted */ | ||
89 | #define DB_RQ_NUM_POSTED_SHIFT (24) /* bits 24 - 31 */ | ||
90 | |||
91 | /* | ||
92 | * BE descriptors: host memory data structures whose formats | ||
93 | * are hardwired in BE silicon. | ||
94 | */ | ||
95 | /* Event Queue Descriptor */ | ||
96 | #define EQ_ENTRY_VALID_MASK 0x1 /* bit 0 */ | ||
97 | #define EQ_ENTRY_RES_ID_MASK 0xFFFF /* bits 16 - 31 */ | ||
98 | #define EQ_ENTRY_RES_ID_SHIFT 16 | ||
99 | struct be_eq_entry { | ||
100 | u32 evt; | ||
101 | }; | ||
102 | |||
103 | /* TX Queue Descriptor */ | ||
104 | #define ETH_WRB_FRAG_LEN_MASK 0xFFFF | ||
105 | struct be_eth_wrb { | ||
106 | u32 frag_pa_hi; /* dword 0 */ | ||
107 | u32 frag_pa_lo; /* dword 1 */ | ||
108 | u32 rsvd0; /* dword 2 */ | ||
109 | u32 frag_len; /* dword 3: bits 0 - 15 */ | ||
110 | } __packed; | ||
111 | |||
112 | /* Pseudo amap definition for eth_hdr_wrb in which each bit of the | ||
113 | * actual structure is defined as a byte : used to calculate | ||
114 | * offset/shift/mask of each field */ | ||
115 | struct amap_eth_hdr_wrb { | ||
116 | u8 rsvd0[32]; /* dword 0 */ | ||
117 | u8 rsvd1[32]; /* dword 1 */ | ||
118 | u8 complete; /* dword 2 */ | ||
119 | u8 event; | ||
120 | u8 crc; | ||
121 | u8 forward; | ||
122 | u8 ipsec; | ||
123 | u8 mgmt; | ||
124 | u8 ipcs; | ||
125 | u8 udpcs; | ||
126 | u8 tcpcs; | ||
127 | u8 lso; | ||
128 | u8 vlan; | ||
129 | u8 gso[2]; | ||
130 | u8 num_wrb[5]; | ||
131 | u8 lso_mss[14]; | ||
132 | u8 len[16]; /* dword 3 */ | ||
133 | u8 vlan_tag[16]; | ||
134 | } __packed; | ||
135 | |||
136 | struct be_eth_hdr_wrb { | ||
137 | u32 dw[4]; | ||
138 | }; | ||
139 | |||
140 | /* TX Compl Queue Descriptor */ | ||
141 | |||
142 | /* Pseudo amap definition for eth_tx_compl in which each bit of the | ||
143 | * actual structure is defined as a byte: used to calculate | ||
144 | * offset/shift/mask of each field */ | ||
145 | struct amap_eth_tx_compl { | ||
146 | u8 wrb_index[16]; /* dword 0 */ | ||
147 | u8 ct[2]; /* dword 0 */ | ||
148 | u8 port[2]; /* dword 0 */ | ||
149 | u8 rsvd0[8]; /* dword 0 */ | ||
150 | u8 status[4]; /* dword 0 */ | ||
151 | u8 user_bytes[16]; /* dword 1 */ | ||
152 | u8 nwh_bytes[8]; /* dword 1 */ | ||
153 | u8 lso; /* dword 1 */ | ||
154 | u8 cast_enc[2]; /* dword 1 */ | ||
155 | u8 rsvd1[5]; /* dword 1 */ | ||
156 | u8 rsvd2[32]; /* dword 2 */ | ||
157 | u8 pkts[16]; /* dword 3 */ | ||
158 | u8 ringid[11]; /* dword 3 */ | ||
159 | u8 hash_val[4]; /* dword 3 */ | ||
160 | u8 valid; /* dword 3 */ | ||
161 | } __packed; | ||
162 | |||
163 | struct be_eth_tx_compl { | ||
164 | u32 dw[4]; | ||
165 | }; | ||
166 | |||
167 | /* RX Queue Descriptor */ | ||
168 | struct be_eth_rx_d { | ||
169 | u32 fragpa_hi; | ||
170 | u32 fragpa_lo; | ||
171 | }; | ||
172 | |||
173 | /* RX Compl Queue Descriptor */ | ||
174 | |||
175 | /* Pseudo amap definition for eth_rx_compl in which each bit of the | ||
176 | * actual structure is defined as a byte: used to calculate | ||
177 | * offset/shift/mask of each field */ | ||
178 | struct amap_eth_rx_compl { | ||
179 | u8 vlan_tag[16]; /* dword 0 */ | ||
180 | u8 pktsize[14]; /* dword 0 */ | ||
181 | u8 port; /* dword 0 */ | ||
182 | u8 ip_opt; /* dword 0 */ | ||
183 | u8 err; /* dword 1 */ | ||
184 | u8 rsshp; /* dword 1 */ | ||
185 | u8 ipf; /* dword 1 */ | ||
186 | u8 tcpf; /* dword 1 */ | ||
187 | u8 udpf; /* dword 1 */ | ||
188 | u8 ipcksm; /* dword 1 */ | ||
189 | u8 l4_cksm; /* dword 1 */ | ||
190 | u8 ip_version; /* dword 1 */ | ||
191 | u8 macdst[6]; /* dword 1 */ | ||
192 | u8 vtp; /* dword 1 */ | ||
193 | u8 rsvd0; /* dword 1 */ | ||
194 | u8 fragndx[10]; /* dword 1 */ | ||
195 | u8 ct[2]; /* dword 1 */ | ||
196 | u8 sw; /* dword 1 */ | ||
197 | u8 numfrags[3]; /* dword 1 */ | ||
198 | u8 rss_flush; /* dword 2 */ | ||
199 | u8 cast_enc[2]; /* dword 2 */ | ||
200 | u8 qnq; /* dword 2 */ | ||
201 | u8 rss_bank; /* dword 2 */ | ||
202 | u8 rsvd1[23]; /* dword 2 */ | ||
203 | u8 lro_pkt; /* dword 2 */ | ||
204 | u8 rsvd2[2]; /* dword 2 */ | ||
205 | u8 valid; /* dword 2 */ | ||
206 | u8 rsshash[32]; /* dword 3 */ | ||
207 | } __packed; | ||
208 | |||
209 | struct be_eth_rx_compl { | ||
210 | u32 dw[4]; | ||
211 | }; | ||
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c new file mode 100644 index 000000000000..897a63de5bdb --- /dev/null +++ b/drivers/net/benet/be_main.c | |||
@@ -0,0 +1,1903 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2009 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | |||
18 | #include "be.h" | ||
19 | |||
20 | MODULE_VERSION(DRV_VER); | ||
21 | MODULE_DEVICE_TABLE(pci, be_dev_ids); | ||
22 | MODULE_DESCRIPTION(DRV_DESC " " DRV_VER); | ||
23 | MODULE_AUTHOR("ServerEngines Corporation"); | ||
24 | MODULE_LICENSE("GPL"); | ||
25 | |||
26 | static unsigned int rx_frag_size = 2048; | ||
27 | module_param(rx_frag_size, uint, S_IRUGO); | ||
28 | MODULE_PARM_DESC(rx_frag_size, "Size of a fragment that holds rcvd data."); | ||
29 | |||
30 | #define BE_VENDOR_ID 0x19a2 | ||
31 | #define BE2_DEVICE_ID_1 0x0211 | ||
32 | static DEFINE_PCI_DEVICE_TABLE(be_dev_ids) = { | ||
33 | { PCI_DEVICE(BE_VENDOR_ID, BE2_DEVICE_ID_1) }, | ||
34 | { 0 } | ||
35 | }; | ||
36 | MODULE_DEVICE_TABLE(pci, be_dev_ids); | ||
37 | |||
38 | static void be_queue_free(struct be_adapter *adapter, struct be_queue_info *q) | ||
39 | { | ||
40 | struct be_dma_mem *mem = &q->dma_mem; | ||
41 | if (mem->va) | ||
42 | pci_free_consistent(adapter->pdev, mem->size, | ||
43 | mem->va, mem->dma); | ||
44 | } | ||
45 | |||
46 | static int be_queue_alloc(struct be_adapter *adapter, struct be_queue_info *q, | ||
47 | u16 len, u16 entry_size) | ||
48 | { | ||
49 | struct be_dma_mem *mem = &q->dma_mem; | ||
50 | |||
51 | memset(q, 0, sizeof(*q)); | ||
52 | q->len = len; | ||
53 | q->entry_size = entry_size; | ||
54 | mem->size = len * entry_size; | ||
55 | mem->va = pci_alloc_consistent(adapter->pdev, mem->size, &mem->dma); | ||
56 | if (!mem->va) | ||
57 | return -1; | ||
58 | memset(mem->va, 0, mem->size); | ||
59 | return 0; | ||
60 | } | ||
61 | |||
62 | static inline void *queue_head_node(struct be_queue_info *q) | ||
63 | { | ||
64 | return q->dma_mem.va + q->head * q->entry_size; | ||
65 | } | ||
66 | |||
67 | static inline void *queue_tail_node(struct be_queue_info *q) | ||
68 | { | ||
69 | return q->dma_mem.va + q->tail * q->entry_size; | ||
70 | } | ||
71 | |||
72 | static inline void queue_head_inc(struct be_queue_info *q) | ||
73 | { | ||
74 | index_inc(&q->head, q->len); | ||
75 | } | ||
76 | |||
77 | static inline void queue_tail_inc(struct be_queue_info *q) | ||
78 | { | ||
79 | index_inc(&q->tail, q->len); | ||
80 | } | ||
81 | |||
82 | static void be_intr_set(struct be_ctrl_info *ctrl, bool enable) | ||
83 | { | ||
84 | u8 __iomem *addr = ctrl->pcicfg + PCICFG_MEMBAR_CTRL_INT_CTRL_OFFSET; | ||
85 | u32 reg = ioread32(addr); | ||
86 | u32 enabled = reg & MEMBAR_CTRL_INT_CTRL_HOSTINTR_MASK; | ||
87 | if (!enabled && enable) { | ||
88 | reg |= MEMBAR_CTRL_INT_CTRL_HOSTINTR_MASK; | ||
89 | } else if (enabled && !enable) { | ||
90 | reg &= ~MEMBAR_CTRL_INT_CTRL_HOSTINTR_MASK; | ||
91 | } else { | ||
92 | printk(KERN_WARNING DRV_NAME | ||
93 | ": bad value in membar_int_ctrl reg=0x%x\n", reg); | ||
94 | return; | ||
95 | } | ||
96 | iowrite32(reg, addr); | ||
97 | } | ||
98 | |||
99 | static void be_rxq_notify(struct be_ctrl_info *ctrl, u16 qid, u16 posted) | ||
100 | { | ||
101 | u32 val = 0; | ||
102 | val |= qid & DB_RQ_RING_ID_MASK; | ||
103 | val |= posted << DB_RQ_NUM_POSTED_SHIFT; | ||
104 | iowrite32(val, ctrl->db + DB_RQ_OFFSET); | ||
105 | } | ||
106 | |||
107 | static void be_txq_notify(struct be_ctrl_info *ctrl, u16 qid, u16 posted) | ||
108 | { | ||
109 | u32 val = 0; | ||
110 | val |= qid & DB_TXULP_RING_ID_MASK; | ||
111 | val |= (posted & DB_TXULP_NUM_POSTED_MASK) << DB_TXULP_NUM_POSTED_SHIFT; | ||
112 | iowrite32(val, ctrl->db + DB_TXULP1_OFFSET); | ||
113 | } | ||
114 | |||
115 | static void be_eq_notify(struct be_ctrl_info *ctrl, u16 qid, | ||
116 | bool arm, bool clear_int, u16 num_popped) | ||
117 | { | ||
118 | u32 val = 0; | ||
119 | val |= qid & DB_EQ_RING_ID_MASK; | ||
120 | if (arm) | ||
121 | val |= 1 << DB_EQ_REARM_SHIFT; | ||
122 | if (clear_int) | ||
123 | val |= 1 << DB_EQ_CLR_SHIFT; | ||
124 | val |= 1 << DB_EQ_EVNT_SHIFT; | ||
125 | val |= num_popped << DB_EQ_NUM_POPPED_SHIFT; | ||
126 | iowrite32(val, ctrl->db + DB_EQ_OFFSET); | ||
127 | } | ||
128 | |||
129 | static void be_cq_notify(struct be_ctrl_info *ctrl, u16 qid, | ||
130 | bool arm, u16 num_popped) | ||
131 | { | ||
132 | u32 val = 0; | ||
133 | val |= qid & DB_CQ_RING_ID_MASK; | ||
134 | if (arm) | ||
135 | val |= 1 << DB_CQ_REARM_SHIFT; | ||
136 | val |= num_popped << DB_CQ_NUM_POPPED_SHIFT; | ||
137 | iowrite32(val, ctrl->db + DB_CQ_OFFSET); | ||
138 | } | ||
139 | |||
140 | |||
141 | static int be_mac_addr_set(struct net_device *netdev, void *p) | ||
142 | { | ||
143 | struct be_adapter *adapter = netdev_priv(netdev); | ||
144 | struct sockaddr *addr = p; | ||
145 | int status = 0; | ||
146 | |||
147 | if (netif_running(netdev)) { | ||
148 | status = be_cmd_pmac_del(&adapter->ctrl, adapter->if_handle, | ||
149 | adapter->pmac_id); | ||
150 | if (status) | ||
151 | return status; | ||
152 | |||
153 | status = be_cmd_pmac_add(&adapter->ctrl, (u8 *)addr->sa_data, | ||
154 | adapter->if_handle, &adapter->pmac_id); | ||
155 | } | ||
156 | |||
157 | if (!status) | ||
158 | memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); | ||
159 | |||
160 | return status; | ||
161 | } | ||
162 | |||
163 | static void netdev_stats_update(struct be_adapter *adapter) | ||
164 | { | ||
165 | struct be_hw_stats *hw_stats = hw_stats_from_cmd(adapter->stats.cmd.va); | ||
166 | struct be_rxf_stats *rxf_stats = &hw_stats->rxf; | ||
167 | struct be_port_rxf_stats *port_stats = | ||
168 | &rxf_stats->port[adapter->port_num]; | ||
169 | struct net_device_stats *dev_stats = &adapter->stats.net_stats; | ||
170 | |||
171 | dev_stats->rx_packets = port_stats->rx_total_frames; | ||
172 | dev_stats->tx_packets = port_stats->tx_unicastframes + | ||
173 | port_stats->tx_multicastframes + port_stats->tx_broadcastframes; | ||
174 | dev_stats->rx_bytes = (u64) port_stats->rx_bytes_msd << 32 | | ||
175 | (u64) port_stats->rx_bytes_lsd; | ||
176 | dev_stats->tx_bytes = (u64) port_stats->tx_bytes_msd << 32 | | ||
177 | (u64) port_stats->tx_bytes_lsd; | ||
178 | |||
179 | /* bad pkts received */ | ||
180 | dev_stats->rx_errors = port_stats->rx_crc_errors + | ||
181 | port_stats->rx_alignment_symbol_errors + | ||
182 | port_stats->rx_in_range_errors + | ||
183 | port_stats->rx_out_range_errors + port_stats->rx_frame_too_long; | ||
184 | |||
185 | /* packet transmit problems */ | ||
186 | dev_stats->tx_errors = 0; | ||
187 | |||
188 | /* no space in linux buffers */ | ||
189 | dev_stats->rx_dropped = 0; | ||
190 | |||
191 | /* no space available in linux */ | ||
192 | dev_stats->tx_dropped = 0; | ||
193 | |||
194 | dev_stats->multicast = port_stats->tx_multicastframes; | ||
195 | dev_stats->collisions = 0; | ||
196 | |||
197 | /* detailed rx errors */ | ||
198 | dev_stats->rx_length_errors = port_stats->rx_in_range_errors + | ||
199 | port_stats->rx_out_range_errors + port_stats->rx_frame_too_long; | ||
200 | /* receive ring buffer overflow */ | ||
201 | dev_stats->rx_over_errors = 0; | ||
202 | dev_stats->rx_crc_errors = port_stats->rx_crc_errors; | ||
203 | |||
204 | /* frame alignment errors */ | ||
205 | dev_stats->rx_frame_errors = port_stats->rx_alignment_symbol_errors; | ||
206 | /* receiver fifo overrun */ | ||
207 | /* drops_no_pbuf is no per i/f, it's per BE card */ | ||
208 | dev_stats->rx_fifo_errors = port_stats->rx_fifo_overflow + | ||
209 | port_stats->rx_input_fifo_overflow + | ||
210 | rxf_stats->rx_drops_no_pbuf; | ||
211 | /* receiver missed packetd */ | ||
212 | dev_stats->rx_missed_errors = 0; | ||
213 | /* detailed tx_errors */ | ||
214 | dev_stats->tx_aborted_errors = 0; | ||
215 | dev_stats->tx_carrier_errors = 0; | ||
216 | dev_stats->tx_fifo_errors = 0; | ||
217 | dev_stats->tx_heartbeat_errors = 0; | ||
218 | dev_stats->tx_window_errors = 0; | ||
219 | } | ||
220 | |||
221 | static void be_link_status_update(struct be_adapter *adapter) | ||
222 | { | ||
223 | struct be_link_info *prev = &adapter->link; | ||
224 | struct be_link_info now = { 0 }; | ||
225 | struct net_device *netdev = adapter->netdev; | ||
226 | |||
227 | be_cmd_link_status_query(&adapter->ctrl, &now); | ||
228 | |||
229 | /* If link came up or went down */ | ||
230 | if (now.speed != prev->speed && (now.speed == PHY_LINK_SPEED_ZERO || | ||
231 | prev->speed == PHY_LINK_SPEED_ZERO)) { | ||
232 | if (now.speed == PHY_LINK_SPEED_ZERO) { | ||
233 | netif_stop_queue(netdev); | ||
234 | netif_carrier_off(netdev); | ||
235 | printk(KERN_INFO "%s: Link down\n", netdev->name); | ||
236 | } else { | ||
237 | netif_start_queue(netdev); | ||
238 | netif_carrier_on(netdev); | ||
239 | printk(KERN_INFO "%s: Link up\n", netdev->name); | ||
240 | } | ||
241 | } | ||
242 | *prev = now; | ||
243 | } | ||
244 | |||
245 | /* Update the EQ delay n BE based on the RX frags consumed / sec */ | ||
246 | static void be_rx_eqd_update(struct be_adapter *adapter) | ||
247 | { | ||
248 | u32 eqd; | ||
249 | struct be_ctrl_info *ctrl = &adapter->ctrl; | ||
250 | struct be_eq_obj *rx_eq = &adapter->rx_eq; | ||
251 | struct be_drvr_stats *stats = &adapter->stats.drvr_stats; | ||
252 | |||
253 | /* Update once a second */ | ||
254 | if (((jiffies - stats->rx_fps_jiffies) < HZ) || rx_eq->enable_aic == 0) | ||
255 | return; | ||
256 | |||
257 | stats->be_rx_fps = (stats->be_rx_frags - stats->be_prev_rx_frags) / | ||
258 | ((jiffies - stats->rx_fps_jiffies) / HZ); | ||
259 | |||
260 | stats->rx_fps_jiffies = jiffies; | ||
261 | stats->be_prev_rx_frags = stats->be_rx_frags; | ||
262 | eqd = stats->be_rx_fps / 110000; | ||
263 | eqd = eqd << 3; | ||
264 | if (eqd > rx_eq->max_eqd) | ||
265 | eqd = rx_eq->max_eqd; | ||
266 | if (eqd < rx_eq->min_eqd) | ||
267 | eqd = rx_eq->min_eqd; | ||
268 | if (eqd < 10) | ||
269 | eqd = 0; | ||
270 | if (eqd != rx_eq->cur_eqd) | ||
271 | be_cmd_modify_eqd(ctrl, rx_eq->q.id, eqd); | ||
272 | |||
273 | rx_eq->cur_eqd = eqd; | ||
274 | } | ||
275 | |||
276 | static void be_worker(struct work_struct *work) | ||
277 | { | ||
278 | struct be_adapter *adapter = | ||
279 | container_of(work, struct be_adapter, work.work); | ||
280 | int status; | ||
281 | |||
282 | /* Check link */ | ||
283 | be_link_status_update(adapter); | ||
284 | |||
285 | /* Get Stats */ | ||
286 | status = be_cmd_get_stats(&adapter->ctrl, &adapter->stats.cmd); | ||
287 | if (!status) | ||
288 | netdev_stats_update(adapter); | ||
289 | |||
290 | /* Set EQ delay */ | ||
291 | be_rx_eqd_update(adapter); | ||
292 | |||
293 | schedule_delayed_work(&adapter->work, msecs_to_jiffies(1000)); | ||
294 | } | ||
295 | |||
296 | static struct net_device_stats *be_get_stats(struct net_device *dev) | ||
297 | { | ||
298 | struct be_adapter *adapter = netdev_priv(dev); | ||
299 | |||
300 | return &adapter->stats.net_stats; | ||
301 | } | ||
302 | |||
303 | static void be_tx_stats_update(struct be_adapter *adapter, | ||
304 | u32 wrb_cnt, u32 copied, bool stopped) | ||
305 | { | ||
306 | struct be_drvr_stats *stats = &adapter->stats.drvr_stats; | ||
307 | stats->be_tx_reqs++; | ||
308 | stats->be_tx_wrbs += wrb_cnt; | ||
309 | stats->be_tx_bytes += copied; | ||
310 | if (stopped) | ||
311 | stats->be_tx_stops++; | ||
312 | |||
313 | /* Update tx rate once in two seconds */ | ||
314 | if ((jiffies - stats->be_tx_jiffies) > 2 * HZ) { | ||
315 | u32 r; | ||
316 | r = (stats->be_tx_bytes - stats->be_tx_bytes_prev) / | ||
317 | ((u32) (jiffies - stats->be_tx_jiffies) / HZ); | ||
318 | r = (r / 1000000); /* M bytes/s */ | ||
319 | stats->be_tx_rate = (r * 8); /* M bits/s */ | ||
320 | stats->be_tx_jiffies = jiffies; | ||
321 | stats->be_tx_bytes_prev = stats->be_tx_bytes; | ||
322 | } | ||
323 | } | ||
324 | |||
325 | /* Determine number of WRB entries needed to xmit data in an skb */ | ||
326 | static u32 wrb_cnt_for_skb(struct sk_buff *skb, bool *dummy) | ||
327 | { | ||
328 | int cnt = 0; | ||
329 | while (skb) { | ||
330 | if (skb->len > skb->data_len) | ||
331 | cnt++; | ||
332 | cnt += skb_shinfo(skb)->nr_frags; | ||
333 | skb = skb_shinfo(skb)->frag_list; | ||
334 | } | ||
335 | /* to account for hdr wrb */ | ||
336 | cnt++; | ||
337 | if (cnt & 1) { | ||
338 | /* add a dummy to make it an even num */ | ||
339 | cnt++; | ||
340 | *dummy = true; | ||
341 | } else | ||
342 | *dummy = false; | ||
343 | BUG_ON(cnt > BE_MAX_TX_FRAG_COUNT); | ||
344 | return cnt; | ||
345 | } | ||
346 | |||
347 | static inline void wrb_fill(struct be_eth_wrb *wrb, u64 addr, int len) | ||
348 | { | ||
349 | wrb->frag_pa_hi = upper_32_bits(addr); | ||
350 | wrb->frag_pa_lo = addr & 0xFFFFFFFF; | ||
351 | wrb->frag_len = len & ETH_WRB_FRAG_LEN_MASK; | ||
352 | } | ||
353 | |||
354 | static void wrb_fill_hdr(struct be_eth_hdr_wrb *hdr, struct sk_buff *skb, | ||
355 | bool vlan, u32 wrb_cnt, u32 len) | ||
356 | { | ||
357 | memset(hdr, 0, sizeof(*hdr)); | ||
358 | |||
359 | AMAP_SET_BITS(struct amap_eth_hdr_wrb, crc, hdr, 1); | ||
360 | |||
361 | if (skb_shinfo(skb)->gso_segs > 1 && skb_shinfo(skb)->gso_size) { | ||
362 | AMAP_SET_BITS(struct amap_eth_hdr_wrb, lso, hdr, 1); | ||
363 | AMAP_SET_BITS(struct amap_eth_hdr_wrb, lso_mss, | ||
364 | hdr, skb_shinfo(skb)->gso_size); | ||
365 | } else if (skb->ip_summed == CHECKSUM_PARTIAL) { | ||
366 | if (is_tcp_pkt(skb)) | ||
367 | AMAP_SET_BITS(struct amap_eth_hdr_wrb, tcpcs, hdr, 1); | ||
368 | else if (is_udp_pkt(skb)) | ||
369 | AMAP_SET_BITS(struct amap_eth_hdr_wrb, udpcs, hdr, 1); | ||
370 | } | ||
371 | |||
372 | if (vlan && vlan_tx_tag_present(skb)) { | ||
373 | AMAP_SET_BITS(struct amap_eth_hdr_wrb, vlan, hdr, 1); | ||
374 | AMAP_SET_BITS(struct amap_eth_hdr_wrb, vlan_tag, | ||
375 | hdr, vlan_tx_tag_get(skb)); | ||
376 | } | ||
377 | |||
378 | AMAP_SET_BITS(struct amap_eth_hdr_wrb, event, hdr, 1); | ||
379 | AMAP_SET_BITS(struct amap_eth_hdr_wrb, complete, hdr, 1); | ||
380 | AMAP_SET_BITS(struct amap_eth_hdr_wrb, num_wrb, hdr, wrb_cnt); | ||
381 | AMAP_SET_BITS(struct amap_eth_hdr_wrb, len, hdr, len); | ||
382 | } | ||
383 | |||
384 | |||
385 | static int make_tx_wrbs(struct be_adapter *adapter, | ||
386 | struct sk_buff *skb, u32 wrb_cnt, bool dummy_wrb) | ||
387 | { | ||
388 | u64 busaddr; | ||
389 | u32 i, copied = 0; | ||
390 | struct pci_dev *pdev = adapter->pdev; | ||
391 | struct sk_buff *first_skb = skb; | ||
392 | struct be_queue_info *txq = &adapter->tx_obj.q; | ||
393 | struct be_eth_wrb *wrb; | ||
394 | struct be_eth_hdr_wrb *hdr; | ||
395 | |||
396 | atomic_add(wrb_cnt, &txq->used); | ||
397 | hdr = queue_head_node(txq); | ||
398 | queue_head_inc(txq); | ||
399 | |||
400 | while (skb) { | ||
401 | if (skb->len > skb->data_len) { | ||
402 | int len = skb->len - skb->data_len; | ||
403 | busaddr = pci_map_single(pdev, skb->data, len, | ||
404 | PCI_DMA_TODEVICE); | ||
405 | wrb = queue_head_node(txq); | ||
406 | wrb_fill(wrb, busaddr, len); | ||
407 | be_dws_cpu_to_le(wrb, sizeof(*wrb)); | ||
408 | queue_head_inc(txq); | ||
409 | copied += len; | ||
410 | } | ||
411 | |||
412 | for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) { | ||
413 | struct skb_frag_struct *frag = | ||
414 | &skb_shinfo(skb)->frags[i]; | ||
415 | busaddr = pci_map_page(pdev, frag->page, | ||
416 | frag->page_offset, | ||
417 | frag->size, PCI_DMA_TODEVICE); | ||
418 | wrb = queue_head_node(txq); | ||
419 | wrb_fill(wrb, busaddr, frag->size); | ||
420 | be_dws_cpu_to_le(wrb, sizeof(*wrb)); | ||
421 | queue_head_inc(txq); | ||
422 | copied += frag->size; | ||
423 | } | ||
424 | skb = skb_shinfo(skb)->frag_list; | ||
425 | } | ||
426 | |||
427 | if (dummy_wrb) { | ||
428 | wrb = queue_head_node(txq); | ||
429 | wrb_fill(wrb, 0, 0); | ||
430 | be_dws_cpu_to_le(wrb, sizeof(*wrb)); | ||
431 | queue_head_inc(txq); | ||
432 | } | ||
433 | |||
434 | wrb_fill_hdr(hdr, first_skb, adapter->vlan_grp ? true : false, | ||
435 | wrb_cnt, copied); | ||
436 | be_dws_cpu_to_le(hdr, sizeof(*hdr)); | ||
437 | |||
438 | return copied; | ||
439 | } | ||
440 | |||
441 | static int be_xmit(struct sk_buff *skb, struct net_device *netdev) | ||
442 | { | ||
443 | struct be_adapter *adapter = netdev_priv(netdev); | ||
444 | struct be_tx_obj *tx_obj = &adapter->tx_obj; | ||
445 | struct be_queue_info *txq = &tx_obj->q; | ||
446 | u32 wrb_cnt = 0, copied = 0; | ||
447 | u32 start = txq->head; | ||
448 | bool dummy_wrb, stopped = false; | ||
449 | |||
450 | wrb_cnt = wrb_cnt_for_skb(skb, &dummy_wrb); | ||
451 | |||
452 | copied = make_tx_wrbs(adapter, skb, wrb_cnt, dummy_wrb); | ||
453 | |||
454 | /* record the sent skb in the sent_skb table */ | ||
455 | BUG_ON(tx_obj->sent_skb_list[start]); | ||
456 | tx_obj->sent_skb_list[start] = skb; | ||
457 | |||
458 | /* Ensure that txq has space for the next skb; Else stop the queue | ||
459 | * *BEFORE* ringing the tx doorbell, so that we serialze the | ||
460 | * tx compls of the current transmit which'll wake up the queue | ||
461 | */ | ||
462 | if ((BE_MAX_TX_FRAG_COUNT + atomic_read(&txq->used)) >= txq->len) { | ||
463 | netif_stop_queue(netdev); | ||
464 | stopped = true; | ||
465 | } | ||
466 | |||
467 | be_txq_notify(&adapter->ctrl, txq->id, wrb_cnt); | ||
468 | |||
469 | netdev->trans_start = jiffies; | ||
470 | |||
471 | be_tx_stats_update(adapter, wrb_cnt, copied, stopped); | ||
472 | return NETDEV_TX_OK; | ||
473 | } | ||
474 | |||
475 | static int be_change_mtu(struct net_device *netdev, int new_mtu) | ||
476 | { | ||
477 | struct be_adapter *adapter = netdev_priv(netdev); | ||
478 | if (new_mtu < BE_MIN_MTU || | ||
479 | new_mtu > BE_MAX_JUMBO_FRAME_SIZE) { | ||
480 | dev_info(&adapter->pdev->dev, | ||
481 | "MTU must be between %d and %d bytes\n", | ||
482 | BE_MIN_MTU, BE_MAX_JUMBO_FRAME_SIZE); | ||
483 | return -EINVAL; | ||
484 | } | ||
485 | dev_info(&adapter->pdev->dev, "MTU changed from %d to %d bytes\n", | ||
486 | netdev->mtu, new_mtu); | ||
487 | netdev->mtu = new_mtu; | ||
488 | return 0; | ||
489 | } | ||
490 | |||
491 | /* | ||
492 | * if there are BE_NUM_VLANS_SUPPORTED or lesser number of VLANS configured, | ||
493 | * program them in BE. If more than BE_NUM_VLANS_SUPPORTED are configured, | ||
494 | * set the BE in promiscuous VLAN mode. | ||
495 | */ | ||
496 | static void be_vids_config(struct net_device *netdev) | ||
497 | { | ||
498 | struct be_adapter *adapter = netdev_priv(netdev); | ||
499 | u16 vtag[BE_NUM_VLANS_SUPPORTED]; | ||
500 | u16 ntags = 0, i; | ||
501 | |||
502 | if (adapter->num_vlans <= BE_NUM_VLANS_SUPPORTED) { | ||
503 | /* Construct VLAN Table to give to HW */ | ||
504 | for (i = 0; i < VLAN_GROUP_ARRAY_LEN; i++) { | ||
505 | if (adapter->vlan_tag[i]) { | ||
506 | vtag[ntags] = cpu_to_le16(i); | ||
507 | ntags++; | ||
508 | } | ||
509 | } | ||
510 | be_cmd_vlan_config(&adapter->ctrl, adapter->if_handle, | ||
511 | vtag, ntags, 1, 0); | ||
512 | } else { | ||
513 | be_cmd_vlan_config(&adapter->ctrl, adapter->if_handle, | ||
514 | NULL, 0, 1, 1); | ||
515 | } | ||
516 | } | ||
517 | |||
518 | static void be_vlan_register(struct net_device *netdev, struct vlan_group *grp) | ||
519 | { | ||
520 | struct be_adapter *adapter = netdev_priv(netdev); | ||
521 | struct be_eq_obj *rx_eq = &adapter->rx_eq; | ||
522 | struct be_eq_obj *tx_eq = &adapter->tx_eq; | ||
523 | struct be_ctrl_info *ctrl = &adapter->ctrl; | ||
524 | |||
525 | be_eq_notify(ctrl, rx_eq->q.id, false, false, 0); | ||
526 | be_eq_notify(ctrl, tx_eq->q.id, false, false, 0); | ||
527 | adapter->vlan_grp = grp; | ||
528 | be_eq_notify(ctrl, rx_eq->q.id, true, false, 0); | ||
529 | be_eq_notify(ctrl, tx_eq->q.id, true, false, 0); | ||
530 | } | ||
531 | |||
532 | static void be_vlan_add_vid(struct net_device *netdev, u16 vid) | ||
533 | { | ||
534 | struct be_adapter *adapter = netdev_priv(netdev); | ||
535 | |||
536 | adapter->num_vlans++; | ||
537 | adapter->vlan_tag[vid] = 1; | ||
538 | |||
539 | be_vids_config(netdev); | ||
540 | } | ||
541 | |||
542 | static void be_vlan_rem_vid(struct net_device *netdev, u16 vid) | ||
543 | { | ||
544 | struct be_adapter *adapter = netdev_priv(netdev); | ||
545 | |||
546 | adapter->num_vlans--; | ||
547 | adapter->vlan_tag[vid] = 0; | ||
548 | |||
549 | vlan_group_set_device(adapter->vlan_grp, vid, NULL); | ||
550 | be_vids_config(netdev); | ||
551 | } | ||
552 | |||
553 | static void be_set_multicast_filter(struct net_device *netdev) | ||
554 | { | ||
555 | struct be_adapter *adapter = netdev_priv(netdev); | ||
556 | struct dev_mc_list *mc_ptr; | ||
557 | u8 mac_addr[32][ETH_ALEN]; | ||
558 | int i = 0; | ||
559 | |||
560 | if (netdev->flags & IFF_ALLMULTI) { | ||
561 | /* set BE in Multicast promiscuous */ | ||
562 | be_cmd_mcast_mac_set(&adapter->ctrl, | ||
563 | adapter->if_handle, NULL, 0, true); | ||
564 | return; | ||
565 | } | ||
566 | |||
567 | for (mc_ptr = netdev->mc_list; mc_ptr; mc_ptr = mc_ptr->next) { | ||
568 | memcpy(&mac_addr[i][0], mc_ptr->dmi_addr, ETH_ALEN); | ||
569 | if (++i >= 32) { | ||
570 | be_cmd_mcast_mac_set(&adapter->ctrl, | ||
571 | adapter->if_handle, &mac_addr[0][0], i, false); | ||
572 | i = 0; | ||
573 | } | ||
574 | |||
575 | } | ||
576 | |||
577 | if (i) { | ||
578 | /* reset the promiscuous mode also. */ | ||
579 | be_cmd_mcast_mac_set(&adapter->ctrl, | ||
580 | adapter->if_handle, &mac_addr[0][0], i, false); | ||
581 | } | ||
582 | } | ||
583 | |||
584 | static void be_set_multicast_list(struct net_device *netdev) | ||
585 | { | ||
586 | struct be_adapter *adapter = netdev_priv(netdev); | ||
587 | |||
588 | if (netdev->flags & IFF_PROMISC) { | ||
589 | be_cmd_promiscuous_config(&adapter->ctrl, adapter->port_num, 1); | ||
590 | } else { | ||
591 | be_cmd_promiscuous_config(&adapter->ctrl, adapter->port_num, 0); | ||
592 | be_set_multicast_filter(netdev); | ||
593 | } | ||
594 | } | ||
595 | |||
596 | static void be_rx_rate_update(struct be_adapter *adapter, u32 pktsize, | ||
597 | u16 numfrags) | ||
598 | { | ||
599 | struct be_drvr_stats *stats = &adapter->stats.drvr_stats; | ||
600 | u32 rate; | ||
601 | |||
602 | stats->be_rx_compl++; | ||
603 | stats->be_rx_frags += numfrags; | ||
604 | stats->be_rx_bytes += pktsize; | ||
605 | |||
606 | /* Update the rate once in two seconds */ | ||
607 | if ((jiffies - stats->be_rx_jiffies) < 2 * HZ) | ||
608 | return; | ||
609 | |||
610 | rate = (stats->be_rx_bytes - stats->be_rx_bytes_prev) / | ||
611 | ((u32) (jiffies - stats->be_rx_jiffies) / HZ); | ||
612 | rate = (rate / 1000000); /* MB/Sec */ | ||
613 | stats->be_rx_rate = (rate * 8); /* Mega Bits/Sec */ | ||
614 | stats->be_rx_jiffies = jiffies; | ||
615 | stats->be_rx_bytes_prev = stats->be_rx_bytes; | ||
616 | } | ||
617 | |||
618 | static struct be_rx_page_info * | ||
619 | get_rx_page_info(struct be_adapter *adapter, u16 frag_idx) | ||
620 | { | ||
621 | struct be_rx_page_info *rx_page_info; | ||
622 | struct be_queue_info *rxq = &adapter->rx_obj.q; | ||
623 | |||
624 | rx_page_info = &adapter->rx_obj.page_info_tbl[frag_idx]; | ||
625 | BUG_ON(!rx_page_info->page); | ||
626 | |||
627 | if (rx_page_info->last_page_user) | ||
628 | pci_unmap_page(adapter->pdev, pci_unmap_addr(rx_page_info, bus), | ||
629 | adapter->big_page_size, PCI_DMA_FROMDEVICE); | ||
630 | |||
631 | atomic_dec(&rxq->used); | ||
632 | return rx_page_info; | ||
633 | } | ||
634 | |||
635 | /* Throwaway the data in the Rx completion */ | ||
636 | static void be_rx_compl_discard(struct be_adapter *adapter, | ||
637 | struct be_eth_rx_compl *rxcp) | ||
638 | { | ||
639 | struct be_queue_info *rxq = &adapter->rx_obj.q; | ||
640 | struct be_rx_page_info *page_info; | ||
641 | u16 rxq_idx, i, num_rcvd; | ||
642 | |||
643 | rxq_idx = AMAP_GET_BITS(struct amap_eth_rx_compl, fragndx, rxcp); | ||
644 | num_rcvd = AMAP_GET_BITS(struct amap_eth_rx_compl, numfrags, rxcp); | ||
645 | |||
646 | for (i = 0; i < num_rcvd; i++) { | ||
647 | page_info = get_rx_page_info(adapter, rxq_idx); | ||
648 | put_page(page_info->page); | ||
649 | memset(page_info, 0, sizeof(*page_info)); | ||
650 | index_inc(&rxq_idx, rxq->len); | ||
651 | } | ||
652 | } | ||
653 | |||
654 | /* | ||
655 | * skb_fill_rx_data forms a complete skb for an ether frame | ||
656 | * indicated by rxcp. | ||
657 | */ | ||
658 | static void skb_fill_rx_data(struct be_adapter *adapter, | ||
659 | struct sk_buff *skb, struct be_eth_rx_compl *rxcp) | ||
660 | { | ||
661 | struct be_queue_info *rxq = &adapter->rx_obj.q; | ||
662 | struct be_rx_page_info *page_info; | ||
663 | u16 rxq_idx, i, num_rcvd; | ||
664 | u32 pktsize, hdr_len, curr_frag_len; | ||
665 | u8 *start; | ||
666 | |||
667 | rxq_idx = AMAP_GET_BITS(struct amap_eth_rx_compl, fragndx, rxcp); | ||
668 | pktsize = AMAP_GET_BITS(struct amap_eth_rx_compl, pktsize, rxcp); | ||
669 | num_rcvd = AMAP_GET_BITS(struct amap_eth_rx_compl, numfrags, rxcp); | ||
670 | |||
671 | page_info = get_rx_page_info(adapter, rxq_idx); | ||
672 | |||
673 | start = page_address(page_info->page) + page_info->page_offset; | ||
674 | prefetch(start); | ||
675 | |||
676 | /* Copy data in the first descriptor of this completion */ | ||
677 | curr_frag_len = min(pktsize, rx_frag_size); | ||
678 | |||
679 | /* Copy the header portion into skb_data */ | ||
680 | hdr_len = min((u32)BE_HDR_LEN, curr_frag_len); | ||
681 | memcpy(skb->data, start, hdr_len); | ||
682 | skb->len = curr_frag_len; | ||
683 | if (curr_frag_len <= BE_HDR_LEN) { /* tiny packet */ | ||
684 | /* Complete packet has now been moved to data */ | ||
685 | put_page(page_info->page); | ||
686 | skb->data_len = 0; | ||
687 | skb->tail += curr_frag_len; | ||
688 | } else { | ||
689 | skb_shinfo(skb)->nr_frags = 1; | ||
690 | skb_shinfo(skb)->frags[0].page = page_info->page; | ||
691 | skb_shinfo(skb)->frags[0].page_offset = | ||
692 | page_info->page_offset + hdr_len; | ||
693 | skb_shinfo(skb)->frags[0].size = curr_frag_len - hdr_len; | ||
694 | skb->data_len = curr_frag_len - hdr_len; | ||
695 | skb->tail += hdr_len; | ||
696 | } | ||
697 | memset(page_info, 0, sizeof(*page_info)); | ||
698 | |||
699 | if (pktsize <= rx_frag_size) { | ||
700 | BUG_ON(num_rcvd != 1); | ||
701 | return; | ||
702 | } | ||
703 | |||
704 | /* More frags present for this completion */ | ||
705 | pktsize -= curr_frag_len; /* account for above copied frag */ | ||
706 | for (i = 1; i < num_rcvd; i++) { | ||
707 | index_inc(&rxq_idx, rxq->len); | ||
708 | page_info = get_rx_page_info(adapter, rxq_idx); | ||
709 | |||
710 | curr_frag_len = min(pktsize, rx_frag_size); | ||
711 | |||
712 | skb_shinfo(skb)->frags[i].page = page_info->page; | ||
713 | skb_shinfo(skb)->frags[i].page_offset = page_info->page_offset; | ||
714 | skb_shinfo(skb)->frags[i].size = curr_frag_len; | ||
715 | skb->len += curr_frag_len; | ||
716 | skb->data_len += curr_frag_len; | ||
717 | skb_shinfo(skb)->nr_frags++; | ||
718 | pktsize -= curr_frag_len; | ||
719 | |||
720 | memset(page_info, 0, sizeof(*page_info)); | ||
721 | } | ||
722 | |||
723 | be_rx_rate_update(adapter, pktsize, num_rcvd); | ||
724 | return; | ||
725 | } | ||
726 | |||
727 | /* Process the RX completion indicated by rxcp when LRO is disabled */ | ||
728 | static void be_rx_compl_process(struct be_adapter *adapter, | ||
729 | struct be_eth_rx_compl *rxcp) | ||
730 | { | ||
731 | struct sk_buff *skb; | ||
732 | u32 vtp, vid; | ||
733 | int l4_cksm; | ||
734 | |||
735 | l4_cksm = AMAP_GET_BITS(struct amap_eth_rx_compl, l4_cksm, rxcp); | ||
736 | vtp = AMAP_GET_BITS(struct amap_eth_rx_compl, vtp, rxcp); | ||
737 | |||
738 | skb = netdev_alloc_skb(adapter->netdev, BE_HDR_LEN + NET_IP_ALIGN); | ||
739 | if (!skb) { | ||
740 | if (net_ratelimit()) | ||
741 | dev_warn(&adapter->pdev->dev, "skb alloc failed\n"); | ||
742 | be_rx_compl_discard(adapter, rxcp); | ||
743 | return; | ||
744 | } | ||
745 | |||
746 | skb_reserve(skb, NET_IP_ALIGN); | ||
747 | |||
748 | skb_fill_rx_data(adapter, skb, rxcp); | ||
749 | |||
750 | if (l4_cksm && adapter->rx_csum) | ||
751 | skb->ip_summed = CHECKSUM_UNNECESSARY; | ||
752 | else | ||
753 | skb->ip_summed = CHECKSUM_NONE; | ||
754 | |||
755 | skb->truesize = skb->len + sizeof(struct sk_buff); | ||
756 | skb->protocol = eth_type_trans(skb, adapter->netdev); | ||
757 | skb->dev = adapter->netdev; | ||
758 | |||
759 | if (vtp) { | ||
760 | if (!adapter->vlan_grp || adapter->num_vlans == 0) { | ||
761 | kfree_skb(skb); | ||
762 | return; | ||
763 | } | ||
764 | vid = AMAP_GET_BITS(struct amap_eth_rx_compl, vlan_tag, rxcp); | ||
765 | vid = be16_to_cpu(vid); | ||
766 | vlan_hwaccel_receive_skb(skb, adapter->vlan_grp, vid); | ||
767 | } else { | ||
768 | netif_receive_skb(skb); | ||
769 | } | ||
770 | |||
771 | adapter->netdev->last_rx = jiffies; | ||
772 | |||
773 | return; | ||
774 | } | ||
775 | |||
776 | /* Process the RX completion indicated by rxcp when LRO is enabled */ | ||
777 | static void be_rx_compl_process_lro(struct be_adapter *adapter, | ||
778 | struct be_eth_rx_compl *rxcp) | ||
779 | { | ||
780 | struct be_rx_page_info *page_info; | ||
781 | struct skb_frag_struct rx_frags[BE_MAX_FRAGS_PER_FRAME]; | ||
782 | struct be_queue_info *rxq = &adapter->rx_obj.q; | ||
783 | u32 num_rcvd, pkt_size, remaining, vlanf, curr_frag_len; | ||
784 | u16 i, rxq_idx = 0, vid; | ||
785 | |||
786 | num_rcvd = AMAP_GET_BITS(struct amap_eth_rx_compl, numfrags, rxcp); | ||
787 | pkt_size = AMAP_GET_BITS(struct amap_eth_rx_compl, pktsize, rxcp); | ||
788 | vlanf = AMAP_GET_BITS(struct amap_eth_rx_compl, vtp, rxcp); | ||
789 | rxq_idx = AMAP_GET_BITS(struct amap_eth_rx_compl, fragndx, rxcp); | ||
790 | |||
791 | remaining = pkt_size; | ||
792 | for (i = 0; i < num_rcvd; i++) { | ||
793 | page_info = get_rx_page_info(adapter, rxq_idx); | ||
794 | |||
795 | curr_frag_len = min(remaining, rx_frag_size); | ||
796 | |||
797 | rx_frags[i].page = page_info->page; | ||
798 | rx_frags[i].page_offset = page_info->page_offset; | ||
799 | rx_frags[i].size = curr_frag_len; | ||
800 | remaining -= curr_frag_len; | ||
801 | |||
802 | index_inc(&rxq_idx, rxq->len); | ||
803 | |||
804 | memset(page_info, 0, sizeof(*page_info)); | ||
805 | } | ||
806 | |||
807 | if (likely(!vlanf)) { | ||
808 | lro_receive_frags(&adapter->rx_obj.lro_mgr, rx_frags, pkt_size, | ||
809 | pkt_size, NULL, 0); | ||
810 | } else { | ||
811 | vid = AMAP_GET_BITS(struct amap_eth_rx_compl, vlan_tag, rxcp); | ||
812 | vid = be16_to_cpu(vid); | ||
813 | |||
814 | if (!adapter->vlan_grp || adapter->num_vlans == 0) | ||
815 | return; | ||
816 | |||
817 | lro_vlan_hwaccel_receive_frags(&adapter->rx_obj.lro_mgr, | ||
818 | rx_frags, pkt_size, pkt_size, adapter->vlan_grp, | ||
819 | vid, NULL, 0); | ||
820 | } | ||
821 | |||
822 | be_rx_rate_update(adapter, pkt_size, num_rcvd); | ||
823 | return; | ||
824 | } | ||
825 | |||
826 | static struct be_eth_rx_compl *be_rx_compl_get(struct be_adapter *adapter) | ||
827 | { | ||
828 | struct be_eth_rx_compl *rxcp = queue_tail_node(&adapter->rx_obj.cq); | ||
829 | |||
830 | if (rxcp->dw[offsetof(struct amap_eth_rx_compl, valid) / 32] == 0) | ||
831 | return NULL; | ||
832 | |||
833 | be_dws_le_to_cpu(rxcp, sizeof(*rxcp)); | ||
834 | |||
835 | rxcp->dw[offsetof(struct amap_eth_rx_compl, valid) / 32] = 0; | ||
836 | |||
837 | queue_tail_inc(&adapter->rx_obj.cq); | ||
838 | return rxcp; | ||
839 | } | ||
840 | |||
841 | static inline struct page *be_alloc_pages(u32 size) | ||
842 | { | ||
843 | gfp_t alloc_flags = GFP_ATOMIC; | ||
844 | u32 order = get_order(size); | ||
845 | if (order > 0) | ||
846 | alloc_flags |= __GFP_COMP; | ||
847 | return alloc_pages(alloc_flags, order); | ||
848 | } | ||
849 | |||
850 | /* | ||
851 | * Allocate a page, split it to fragments of size rx_frag_size and post as | ||
852 | * receive buffers to BE | ||
853 | */ | ||
854 | static void be_post_rx_frags(struct be_adapter *adapter) | ||
855 | { | ||
856 | struct be_rx_page_info *page_info_tbl = adapter->rx_obj.page_info_tbl; | ||
857 | struct be_rx_page_info *page_info = NULL; | ||
858 | struct be_queue_info *rxq = &adapter->rx_obj.q; | ||
859 | struct page *pagep = NULL; | ||
860 | struct be_eth_rx_d *rxd; | ||
861 | u64 page_dmaaddr = 0, frag_dmaaddr; | ||
862 | u32 posted, page_offset = 0; | ||
863 | |||
864 | |||
865 | page_info = &page_info_tbl[rxq->head]; | ||
866 | for (posted = 0; posted < MAX_RX_POST && !page_info->page; posted++) { | ||
867 | if (!pagep) { | ||
868 | pagep = be_alloc_pages(adapter->big_page_size); | ||
869 | if (unlikely(!pagep)) { | ||
870 | drvr_stats(adapter)->be_ethrx_post_fail++; | ||
871 | break; | ||
872 | } | ||
873 | page_dmaaddr = pci_map_page(adapter->pdev, pagep, 0, | ||
874 | adapter->big_page_size, | ||
875 | PCI_DMA_FROMDEVICE); | ||
876 | page_info->page_offset = 0; | ||
877 | } else { | ||
878 | get_page(pagep); | ||
879 | page_info->page_offset = page_offset + rx_frag_size; | ||
880 | } | ||
881 | page_offset = page_info->page_offset; | ||
882 | page_info->page = pagep; | ||
883 | pci_unmap_addr_set(page_info, bus, page_dmaaddr); | ||
884 | frag_dmaaddr = page_dmaaddr + page_info->page_offset; | ||
885 | |||
886 | rxd = queue_head_node(rxq); | ||
887 | rxd->fragpa_lo = cpu_to_le32(frag_dmaaddr & 0xFFFFFFFF); | ||
888 | rxd->fragpa_hi = cpu_to_le32(upper_32_bits(frag_dmaaddr)); | ||
889 | queue_head_inc(rxq); | ||
890 | |||
891 | /* Any space left in the current big page for another frag? */ | ||
892 | if ((page_offset + rx_frag_size + rx_frag_size) > | ||
893 | adapter->big_page_size) { | ||
894 | pagep = NULL; | ||
895 | page_info->last_page_user = true; | ||
896 | } | ||
897 | page_info = &page_info_tbl[rxq->head]; | ||
898 | } | ||
899 | if (pagep) | ||
900 | page_info->last_page_user = true; | ||
901 | |||
902 | if (posted) { | ||
903 | be_rxq_notify(&adapter->ctrl, rxq->id, posted); | ||
904 | atomic_add(posted, &rxq->used); | ||
905 | } | ||
906 | |||
907 | return; | ||
908 | } | ||
909 | |||
910 | static struct be_eth_tx_compl * | ||
911 | be_tx_compl_get(struct be_adapter *adapter) | ||
912 | { | ||
913 | struct be_queue_info *tx_cq = &adapter->tx_obj.cq; | ||
914 | struct be_eth_tx_compl *txcp = queue_tail_node(tx_cq); | ||
915 | |||
916 | if (txcp->dw[offsetof(struct amap_eth_tx_compl, valid) / 32] == 0) | ||
917 | return NULL; | ||
918 | |||
919 | be_dws_le_to_cpu(txcp, sizeof(*txcp)); | ||
920 | |||
921 | txcp->dw[offsetof(struct amap_eth_tx_compl, valid) / 32] = 0; | ||
922 | |||
923 | queue_tail_inc(tx_cq); | ||
924 | return txcp; | ||
925 | } | ||
926 | |||
927 | static void be_tx_compl_process(struct be_adapter *adapter, u16 last_index) | ||
928 | { | ||
929 | struct be_queue_info *txq = &adapter->tx_obj.q; | ||
930 | struct be_eth_wrb *wrb; | ||
931 | struct sk_buff **sent_skbs = adapter->tx_obj.sent_skb_list; | ||
932 | struct sk_buff *sent_skb; | ||
933 | u64 busaddr; | ||
934 | u16 cur_index, num_wrbs = 0; | ||
935 | |||
936 | cur_index = txq->tail; | ||
937 | sent_skb = sent_skbs[cur_index]; | ||
938 | BUG_ON(!sent_skb); | ||
939 | sent_skbs[cur_index] = NULL; | ||
940 | |||
941 | do { | ||
942 | cur_index = txq->tail; | ||
943 | wrb = queue_tail_node(txq); | ||
944 | be_dws_le_to_cpu(wrb, sizeof(*wrb)); | ||
945 | busaddr = ((u64)wrb->frag_pa_hi << 32) | (u64)wrb->frag_pa_lo; | ||
946 | if (busaddr != 0) { | ||
947 | pci_unmap_single(adapter->pdev, busaddr, | ||
948 | wrb->frag_len, PCI_DMA_TODEVICE); | ||
949 | } | ||
950 | num_wrbs++; | ||
951 | queue_tail_inc(txq); | ||
952 | } while (cur_index != last_index); | ||
953 | |||
954 | atomic_sub(num_wrbs, &txq->used); | ||
955 | |||
956 | kfree_skb(sent_skb); | ||
957 | } | ||
958 | |||
959 | static void be_rx_q_clean(struct be_adapter *adapter) | ||
960 | { | ||
961 | struct be_rx_page_info *page_info; | ||
962 | struct be_queue_info *rxq = &adapter->rx_obj.q; | ||
963 | struct be_queue_info *rx_cq = &adapter->rx_obj.cq; | ||
964 | struct be_eth_rx_compl *rxcp; | ||
965 | u16 tail; | ||
966 | |||
967 | /* First cleanup pending rx completions */ | ||
968 | while ((rxcp = be_rx_compl_get(adapter)) != NULL) { | ||
969 | be_rx_compl_discard(adapter, rxcp); | ||
970 | be_cq_notify(&adapter->ctrl, rx_cq->id, true, 1); | ||
971 | } | ||
972 | |||
973 | /* Then free posted rx buffer that were not used */ | ||
974 | tail = (rxq->head + rxq->len - atomic_read(&rxq->used)) % rxq->len; | ||
975 | for (; tail != rxq->head; index_inc(&tail, rxq->len)) { | ||
976 | page_info = get_rx_page_info(adapter, tail); | ||
977 | put_page(page_info->page); | ||
978 | memset(page_info, 0, sizeof(*page_info)); | ||
979 | } | ||
980 | BUG_ON(atomic_read(&rxq->used)); | ||
981 | } | ||
982 | |||
983 | static void be_tx_q_clean(struct be_adapter *adapter) | ||
984 | { | ||
985 | struct sk_buff **sent_skbs = adapter->tx_obj.sent_skb_list; | ||
986 | struct sk_buff *sent_skb; | ||
987 | struct be_queue_info *txq = &adapter->tx_obj.q; | ||
988 | u16 last_index; | ||
989 | bool dummy_wrb; | ||
990 | |||
991 | while (atomic_read(&txq->used)) { | ||
992 | sent_skb = sent_skbs[txq->tail]; | ||
993 | last_index = txq->tail; | ||
994 | index_adv(&last_index, | ||
995 | wrb_cnt_for_skb(sent_skb, &dummy_wrb) - 1, txq->len); | ||
996 | be_tx_compl_process(adapter, last_index); | ||
997 | } | ||
998 | } | ||
999 | |||
1000 | static void be_tx_queues_destroy(struct be_adapter *adapter) | ||
1001 | { | ||
1002 | struct be_queue_info *q; | ||
1003 | |||
1004 | q = &adapter->tx_obj.q; | ||
1005 | if (q->created) | ||
1006 | be_cmd_q_destroy(&adapter->ctrl, q, QTYPE_TXQ); | ||
1007 | be_queue_free(adapter, q); | ||
1008 | |||
1009 | q = &adapter->tx_obj.cq; | ||
1010 | if (q->created) | ||
1011 | be_cmd_q_destroy(&adapter->ctrl, q, QTYPE_CQ); | ||
1012 | be_queue_free(adapter, q); | ||
1013 | |||
1014 | /* No more tx completions can be rcvd now; clean up if there are | ||
1015 | * any pending completions or pending tx requests */ | ||
1016 | be_tx_q_clean(adapter); | ||
1017 | |||
1018 | q = &adapter->tx_eq.q; | ||
1019 | if (q->created) | ||
1020 | be_cmd_q_destroy(&adapter->ctrl, q, QTYPE_EQ); | ||
1021 | be_queue_free(adapter, q); | ||
1022 | } | ||
1023 | |||
1024 | static int be_tx_queues_create(struct be_adapter *adapter) | ||
1025 | { | ||
1026 | struct be_queue_info *eq, *q, *cq; | ||
1027 | |||
1028 | adapter->tx_eq.max_eqd = 0; | ||
1029 | adapter->tx_eq.min_eqd = 0; | ||
1030 | adapter->tx_eq.cur_eqd = 96; | ||
1031 | adapter->tx_eq.enable_aic = false; | ||
1032 | /* Alloc Tx Event queue */ | ||
1033 | eq = &adapter->tx_eq.q; | ||
1034 | if (be_queue_alloc(adapter, eq, EVNT_Q_LEN, sizeof(struct be_eq_entry))) | ||
1035 | return -1; | ||
1036 | |||
1037 | /* Ask BE to create Tx Event queue */ | ||
1038 | if (be_cmd_eq_create(&adapter->ctrl, eq, adapter->tx_eq.cur_eqd)) | ||
1039 | goto tx_eq_free; | ||
1040 | /* Alloc TX eth compl queue */ | ||
1041 | cq = &adapter->tx_obj.cq; | ||
1042 | if (be_queue_alloc(adapter, cq, TX_CQ_LEN, | ||
1043 | sizeof(struct be_eth_tx_compl))) | ||
1044 | goto tx_eq_destroy; | ||
1045 | |||
1046 | /* Ask BE to create Tx eth compl queue */ | ||
1047 | if (be_cmd_cq_create(&adapter->ctrl, cq, eq, false, false, 3)) | ||
1048 | goto tx_cq_free; | ||
1049 | |||
1050 | /* Alloc TX eth queue */ | ||
1051 | q = &adapter->tx_obj.q; | ||
1052 | if (be_queue_alloc(adapter, q, TX_Q_LEN, sizeof(struct be_eth_wrb))) | ||
1053 | goto tx_cq_destroy; | ||
1054 | |||
1055 | /* Ask BE to create Tx eth queue */ | ||
1056 | if (be_cmd_txq_create(&adapter->ctrl, q, cq)) | ||
1057 | goto tx_q_free; | ||
1058 | return 0; | ||
1059 | |||
1060 | tx_q_free: | ||
1061 | be_queue_free(adapter, q); | ||
1062 | tx_cq_destroy: | ||
1063 | be_cmd_q_destroy(&adapter->ctrl, cq, QTYPE_CQ); | ||
1064 | tx_cq_free: | ||
1065 | be_queue_free(adapter, cq); | ||
1066 | tx_eq_destroy: | ||
1067 | be_cmd_q_destroy(&adapter->ctrl, eq, QTYPE_EQ); | ||
1068 | tx_eq_free: | ||
1069 | be_queue_free(adapter, eq); | ||
1070 | return -1; | ||
1071 | } | ||
1072 | |||
1073 | static void be_rx_queues_destroy(struct be_adapter *adapter) | ||
1074 | { | ||
1075 | struct be_queue_info *q; | ||
1076 | |||
1077 | q = &adapter->rx_obj.q; | ||
1078 | if (q->created) { | ||
1079 | be_cmd_q_destroy(&adapter->ctrl, q, QTYPE_RXQ); | ||
1080 | be_rx_q_clean(adapter); | ||
1081 | } | ||
1082 | be_queue_free(adapter, q); | ||
1083 | |||
1084 | q = &adapter->rx_obj.cq; | ||
1085 | if (q->created) | ||
1086 | be_cmd_q_destroy(&adapter->ctrl, q, QTYPE_CQ); | ||
1087 | be_queue_free(adapter, q); | ||
1088 | |||
1089 | q = &adapter->rx_eq.q; | ||
1090 | if (q->created) | ||
1091 | be_cmd_q_destroy(&adapter->ctrl, q, QTYPE_EQ); | ||
1092 | be_queue_free(adapter, q); | ||
1093 | } | ||
1094 | |||
1095 | static int be_rx_queues_create(struct be_adapter *adapter) | ||
1096 | { | ||
1097 | struct be_queue_info *eq, *q, *cq; | ||
1098 | int rc; | ||
1099 | |||
1100 | adapter->max_rx_coal = BE_MAX_FRAGS_PER_FRAME; | ||
1101 | adapter->big_page_size = (1 << get_order(rx_frag_size)) * PAGE_SIZE; | ||
1102 | adapter->rx_eq.max_eqd = BE_MAX_EQD; | ||
1103 | adapter->rx_eq.min_eqd = 0; | ||
1104 | adapter->rx_eq.cur_eqd = 0; | ||
1105 | adapter->rx_eq.enable_aic = true; | ||
1106 | |||
1107 | /* Alloc Rx Event queue */ | ||
1108 | eq = &adapter->rx_eq.q; | ||
1109 | rc = be_queue_alloc(adapter, eq, EVNT_Q_LEN, | ||
1110 | sizeof(struct be_eq_entry)); | ||
1111 | if (rc) | ||
1112 | return rc; | ||
1113 | |||
1114 | /* Ask BE to create Rx Event queue */ | ||
1115 | rc = be_cmd_eq_create(&adapter->ctrl, eq, adapter->rx_eq.cur_eqd); | ||
1116 | if (rc) | ||
1117 | goto rx_eq_free; | ||
1118 | |||
1119 | /* Alloc RX eth compl queue */ | ||
1120 | cq = &adapter->rx_obj.cq; | ||
1121 | rc = be_queue_alloc(adapter, cq, RX_CQ_LEN, | ||
1122 | sizeof(struct be_eth_rx_compl)); | ||
1123 | if (rc) | ||
1124 | goto rx_eq_destroy; | ||
1125 | |||
1126 | /* Ask BE to create Rx eth compl queue */ | ||
1127 | rc = be_cmd_cq_create(&adapter->ctrl, cq, eq, false, false, 3); | ||
1128 | if (rc) | ||
1129 | goto rx_cq_free; | ||
1130 | |||
1131 | /* Alloc RX eth queue */ | ||
1132 | q = &adapter->rx_obj.q; | ||
1133 | rc = be_queue_alloc(adapter, q, RX_Q_LEN, sizeof(struct be_eth_rx_d)); | ||
1134 | if (rc) | ||
1135 | goto rx_cq_destroy; | ||
1136 | |||
1137 | /* Ask BE to create Rx eth queue */ | ||
1138 | rc = be_cmd_rxq_create(&adapter->ctrl, q, cq->id, rx_frag_size, | ||
1139 | BE_MAX_JUMBO_FRAME_SIZE, adapter->if_handle, false); | ||
1140 | if (rc) | ||
1141 | goto rx_q_free; | ||
1142 | |||
1143 | return 0; | ||
1144 | rx_q_free: | ||
1145 | be_queue_free(adapter, q); | ||
1146 | rx_cq_destroy: | ||
1147 | be_cmd_q_destroy(&adapter->ctrl, cq, QTYPE_CQ); | ||
1148 | rx_cq_free: | ||
1149 | be_queue_free(adapter, cq); | ||
1150 | rx_eq_destroy: | ||
1151 | be_cmd_q_destroy(&adapter->ctrl, eq, QTYPE_EQ); | ||
1152 | rx_eq_free: | ||
1153 | be_queue_free(adapter, eq); | ||
1154 | return rc; | ||
1155 | } | ||
1156 | static bool event_get(struct be_eq_obj *eq_obj, u16 *rid) | ||
1157 | { | ||
1158 | struct be_eq_entry *entry = queue_tail_node(&eq_obj->q); | ||
1159 | u32 evt = entry->evt; | ||
1160 | |||
1161 | if (!evt) | ||
1162 | return false; | ||
1163 | |||
1164 | evt = le32_to_cpu(evt); | ||
1165 | *rid = (evt >> EQ_ENTRY_RES_ID_SHIFT) & EQ_ENTRY_RES_ID_MASK; | ||
1166 | entry->evt = 0; | ||
1167 | queue_tail_inc(&eq_obj->q); | ||
1168 | return true; | ||
1169 | } | ||
1170 | |||
1171 | static int event_handle(struct be_ctrl_info *ctrl, | ||
1172 | struct be_eq_obj *eq_obj) | ||
1173 | { | ||
1174 | u16 rid = 0, num = 0; | ||
1175 | |||
1176 | while (event_get(eq_obj, &rid)) | ||
1177 | num++; | ||
1178 | |||
1179 | /* We can see an interrupt and no event */ | ||
1180 | be_eq_notify(ctrl, eq_obj->q.id, true, true, num); | ||
1181 | if (num) | ||
1182 | napi_schedule(&eq_obj->napi); | ||
1183 | |||
1184 | return num; | ||
1185 | } | ||
1186 | |||
1187 | static irqreturn_t be_intx(int irq, void *dev) | ||
1188 | { | ||
1189 | struct be_adapter *adapter = dev; | ||
1190 | struct be_ctrl_info *ctrl = &adapter->ctrl; | ||
1191 | int rx, tx; | ||
1192 | |||
1193 | tx = event_handle(ctrl, &adapter->tx_eq); | ||
1194 | rx = event_handle(ctrl, &adapter->rx_eq); | ||
1195 | |||
1196 | if (rx || tx) | ||
1197 | return IRQ_HANDLED; | ||
1198 | else | ||
1199 | return IRQ_NONE; | ||
1200 | } | ||
1201 | |||
1202 | static irqreturn_t be_msix_rx(int irq, void *dev) | ||
1203 | { | ||
1204 | struct be_adapter *adapter = dev; | ||
1205 | |||
1206 | event_handle(&adapter->ctrl, &adapter->rx_eq); | ||
1207 | |||
1208 | return IRQ_HANDLED; | ||
1209 | } | ||
1210 | |||
1211 | static irqreturn_t be_msix_tx(int irq, void *dev) | ||
1212 | { | ||
1213 | struct be_adapter *adapter = dev; | ||
1214 | |||
1215 | event_handle(&adapter->ctrl, &adapter->tx_eq); | ||
1216 | |||
1217 | return IRQ_HANDLED; | ||
1218 | } | ||
1219 | |||
1220 | static inline bool do_lro(struct be_adapter *adapter, | ||
1221 | struct be_eth_rx_compl *rxcp) | ||
1222 | { | ||
1223 | int err = AMAP_GET_BITS(struct amap_eth_rx_compl, err, rxcp); | ||
1224 | int tcp_frame = AMAP_GET_BITS(struct amap_eth_rx_compl, tcpf, rxcp); | ||
1225 | |||
1226 | if (err) | ||
1227 | drvr_stats(adapter)->be_rxcp_err++; | ||
1228 | |||
1229 | return (!tcp_frame || err || (adapter->max_rx_coal <= 1)) ? | ||
1230 | false : true; | ||
1231 | } | ||
1232 | |||
1233 | int be_poll_rx(struct napi_struct *napi, int budget) | ||
1234 | { | ||
1235 | struct be_eq_obj *rx_eq = container_of(napi, struct be_eq_obj, napi); | ||
1236 | struct be_adapter *adapter = | ||
1237 | container_of(rx_eq, struct be_adapter, rx_eq); | ||
1238 | struct be_queue_info *rx_cq = &adapter->rx_obj.cq; | ||
1239 | struct be_eth_rx_compl *rxcp; | ||
1240 | u32 work_done; | ||
1241 | |||
1242 | for (work_done = 0; work_done < budget; work_done++) { | ||
1243 | rxcp = be_rx_compl_get(adapter); | ||
1244 | if (!rxcp) | ||
1245 | break; | ||
1246 | |||
1247 | if (do_lro(adapter, rxcp)) | ||
1248 | be_rx_compl_process_lro(adapter, rxcp); | ||
1249 | else | ||
1250 | be_rx_compl_process(adapter, rxcp); | ||
1251 | } | ||
1252 | |||
1253 | lro_flush_all(&adapter->rx_obj.lro_mgr); | ||
1254 | |||
1255 | /* Refill the queue */ | ||
1256 | if (atomic_read(&adapter->rx_obj.q.used) < RX_FRAGS_REFILL_WM) | ||
1257 | be_post_rx_frags(adapter); | ||
1258 | |||
1259 | /* All consumed */ | ||
1260 | if (work_done < budget) { | ||
1261 | napi_complete(napi); | ||
1262 | be_cq_notify(&adapter->ctrl, rx_cq->id, true, work_done); | ||
1263 | } else { | ||
1264 | /* More to be consumed; continue with interrupts disabled */ | ||
1265 | be_cq_notify(&adapter->ctrl, rx_cq->id, false, work_done); | ||
1266 | } | ||
1267 | return work_done; | ||
1268 | } | ||
1269 | |||
1270 | /* For TX we don't honour budget; consume everything */ | ||
1271 | int be_poll_tx(struct napi_struct *napi, int budget) | ||
1272 | { | ||
1273 | struct be_eq_obj *tx_eq = container_of(napi, struct be_eq_obj, napi); | ||
1274 | struct be_adapter *adapter = | ||
1275 | container_of(tx_eq, struct be_adapter, tx_eq); | ||
1276 | struct be_tx_obj *tx_obj = &adapter->tx_obj; | ||
1277 | struct be_queue_info *tx_cq = &tx_obj->cq; | ||
1278 | struct be_queue_info *txq = &tx_obj->q; | ||
1279 | struct be_eth_tx_compl *txcp; | ||
1280 | u32 num_cmpl = 0; | ||
1281 | u16 end_idx; | ||
1282 | |||
1283 | while ((txcp = be_tx_compl_get(adapter))) { | ||
1284 | end_idx = AMAP_GET_BITS(struct amap_eth_tx_compl, | ||
1285 | wrb_index, txcp); | ||
1286 | be_tx_compl_process(adapter, end_idx); | ||
1287 | num_cmpl++; | ||
1288 | } | ||
1289 | |||
1290 | /* As Tx wrbs have been freed up, wake up netdev queue if | ||
1291 | * it was stopped due to lack of tx wrbs. | ||
1292 | */ | ||
1293 | if (netif_queue_stopped(adapter->netdev) && | ||
1294 | atomic_read(&txq->used) < txq->len / 2) { | ||
1295 | netif_wake_queue(adapter->netdev); | ||
1296 | } | ||
1297 | |||
1298 | napi_complete(napi); | ||
1299 | |||
1300 | be_cq_notify(&adapter->ctrl, tx_cq->id, true, num_cmpl); | ||
1301 | |||
1302 | drvr_stats(adapter)->be_tx_events++; | ||
1303 | drvr_stats(adapter)->be_tx_compl += num_cmpl; | ||
1304 | |||
1305 | return 1; | ||
1306 | } | ||
1307 | |||
1308 | static void be_msix_enable(struct be_adapter *adapter) | ||
1309 | { | ||
1310 | int i, status; | ||
1311 | |||
1312 | for (i = 0; i < BE_NUM_MSIX_VECTORS; i++) | ||
1313 | adapter->msix_entries[i].entry = i; | ||
1314 | |||
1315 | status = pci_enable_msix(adapter->pdev, adapter->msix_entries, | ||
1316 | BE_NUM_MSIX_VECTORS); | ||
1317 | if (status == 0) | ||
1318 | adapter->msix_enabled = true; | ||
1319 | return; | ||
1320 | } | ||
1321 | |||
1322 | static inline int be_msix_vec_get(struct be_adapter *adapter, u32 eq_id) | ||
1323 | { | ||
1324 | return adapter->msix_entries[eq_id - | ||
1325 | 8 * adapter->ctrl.pci_func].vector; | ||
1326 | } | ||
1327 | |||
1328 | static int be_msix_register(struct be_adapter *adapter) | ||
1329 | { | ||
1330 | struct net_device *netdev = adapter->netdev; | ||
1331 | struct be_eq_obj *tx_eq = &adapter->tx_eq; | ||
1332 | struct be_eq_obj *rx_eq = &adapter->rx_eq; | ||
1333 | int status, vec; | ||
1334 | |||
1335 | sprintf(tx_eq->desc, "%s-tx", netdev->name); | ||
1336 | vec = be_msix_vec_get(adapter, tx_eq->q.id); | ||
1337 | status = request_irq(vec, be_msix_tx, 0, tx_eq->desc, adapter); | ||
1338 | if (status) | ||
1339 | goto err; | ||
1340 | |||
1341 | sprintf(rx_eq->desc, "%s-rx", netdev->name); | ||
1342 | vec = be_msix_vec_get(adapter, rx_eq->q.id); | ||
1343 | status = request_irq(vec, be_msix_rx, 0, rx_eq->desc, adapter); | ||
1344 | if (status) { /* Free TX IRQ */ | ||
1345 | vec = be_msix_vec_get(adapter, tx_eq->q.id); | ||
1346 | free_irq(vec, adapter); | ||
1347 | goto err; | ||
1348 | } | ||
1349 | return 0; | ||
1350 | err: | ||
1351 | dev_warn(&adapter->pdev->dev, | ||
1352 | "MSIX Request IRQ failed - err %d\n", status); | ||
1353 | pci_disable_msix(adapter->pdev); | ||
1354 | adapter->msix_enabled = false; | ||
1355 | return status; | ||
1356 | } | ||
1357 | |||
1358 | static int be_irq_register(struct be_adapter *adapter) | ||
1359 | { | ||
1360 | struct net_device *netdev = adapter->netdev; | ||
1361 | int status; | ||
1362 | |||
1363 | if (adapter->msix_enabled) { | ||
1364 | status = be_msix_register(adapter); | ||
1365 | if (status == 0) | ||
1366 | goto done; | ||
1367 | } | ||
1368 | |||
1369 | /* INTx */ | ||
1370 | netdev->irq = adapter->pdev->irq; | ||
1371 | status = request_irq(netdev->irq, be_intx, IRQF_SHARED, netdev->name, | ||
1372 | adapter); | ||
1373 | if (status) { | ||
1374 | dev_err(&adapter->pdev->dev, | ||
1375 | "INTx request IRQ failed - err %d\n", status); | ||
1376 | return status; | ||
1377 | } | ||
1378 | done: | ||
1379 | adapter->isr_registered = true; | ||
1380 | return 0; | ||
1381 | } | ||
1382 | |||
1383 | static void be_irq_unregister(struct be_adapter *adapter) | ||
1384 | { | ||
1385 | struct net_device *netdev = adapter->netdev; | ||
1386 | int vec; | ||
1387 | |||
1388 | if (!adapter->isr_registered) | ||
1389 | return; | ||
1390 | |||
1391 | /* INTx */ | ||
1392 | if (!adapter->msix_enabled) { | ||
1393 | free_irq(netdev->irq, adapter); | ||
1394 | goto done; | ||
1395 | } | ||
1396 | |||
1397 | /* MSIx */ | ||
1398 | vec = be_msix_vec_get(adapter, adapter->tx_eq.q.id); | ||
1399 | free_irq(vec, adapter); | ||
1400 | vec = be_msix_vec_get(adapter, adapter->rx_eq.q.id); | ||
1401 | free_irq(vec, adapter); | ||
1402 | done: | ||
1403 | adapter->isr_registered = false; | ||
1404 | return; | ||
1405 | } | ||
1406 | |||
1407 | static int be_open(struct net_device *netdev) | ||
1408 | { | ||
1409 | struct be_adapter *adapter = netdev_priv(netdev); | ||
1410 | struct be_ctrl_info *ctrl = &adapter->ctrl; | ||
1411 | struct be_eq_obj *rx_eq = &adapter->rx_eq; | ||
1412 | struct be_eq_obj *tx_eq = &adapter->tx_eq; | ||
1413 | u32 if_flags; | ||
1414 | int status; | ||
1415 | |||
1416 | if_flags = BE_IF_FLAGS_BROADCAST | BE_IF_FLAGS_PROMISCUOUS | | ||
1417 | BE_IF_FLAGS_MCAST_PROMISCUOUS | BE_IF_FLAGS_UNTAGGED | | ||
1418 | BE_IF_FLAGS_PASS_L3L4_ERRORS; | ||
1419 | status = be_cmd_if_create(ctrl, if_flags, netdev->dev_addr, | ||
1420 | false/* pmac_invalid */, &adapter->if_handle, | ||
1421 | &adapter->pmac_id); | ||
1422 | if (status != 0) | ||
1423 | goto do_none; | ||
1424 | |||
1425 | status = be_cmd_set_flow_control(ctrl, true, true); | ||
1426 | if (status != 0) | ||
1427 | goto if_destroy; | ||
1428 | |||
1429 | status = be_tx_queues_create(adapter); | ||
1430 | if (status != 0) | ||
1431 | goto if_destroy; | ||
1432 | |||
1433 | status = be_rx_queues_create(adapter); | ||
1434 | if (status != 0) | ||
1435 | goto tx_qs_destroy; | ||
1436 | |||
1437 | /* First time posting */ | ||
1438 | be_post_rx_frags(adapter); | ||
1439 | |||
1440 | napi_enable(&rx_eq->napi); | ||
1441 | napi_enable(&tx_eq->napi); | ||
1442 | |||
1443 | be_irq_register(adapter); | ||
1444 | |||
1445 | be_intr_set(ctrl, true); | ||
1446 | |||
1447 | /* The evt queues are created in the unarmed state; arm them */ | ||
1448 | be_eq_notify(ctrl, rx_eq->q.id, true, false, 0); | ||
1449 | be_eq_notify(ctrl, tx_eq->q.id, true, false, 0); | ||
1450 | |||
1451 | /* The compl queues are created in the unarmed state; arm them */ | ||
1452 | be_cq_notify(ctrl, adapter->rx_obj.cq.id, true, 0); | ||
1453 | be_cq_notify(ctrl, adapter->tx_obj.cq.id, true, 0); | ||
1454 | |||
1455 | be_link_status_update(adapter); | ||
1456 | |||
1457 | schedule_delayed_work(&adapter->work, msecs_to_jiffies(100)); | ||
1458 | return 0; | ||
1459 | |||
1460 | tx_qs_destroy: | ||
1461 | be_tx_queues_destroy(adapter); | ||
1462 | if_destroy: | ||
1463 | be_cmd_if_destroy(ctrl, adapter->if_handle); | ||
1464 | do_none: | ||
1465 | return status; | ||
1466 | } | ||
1467 | |||
1468 | static int be_close(struct net_device *netdev) | ||
1469 | { | ||
1470 | struct be_adapter *adapter = netdev_priv(netdev); | ||
1471 | struct be_ctrl_info *ctrl = &adapter->ctrl; | ||
1472 | struct be_eq_obj *rx_eq = &adapter->rx_eq; | ||
1473 | struct be_eq_obj *tx_eq = &adapter->tx_eq; | ||
1474 | int vec; | ||
1475 | |||
1476 | cancel_delayed_work(&adapter->work); | ||
1477 | |||
1478 | netif_stop_queue(netdev); | ||
1479 | netif_carrier_off(netdev); | ||
1480 | adapter->link.speed = PHY_LINK_SPEED_ZERO; | ||
1481 | |||
1482 | be_intr_set(ctrl, false); | ||
1483 | |||
1484 | if (adapter->msix_enabled) { | ||
1485 | vec = be_msix_vec_get(adapter, tx_eq->q.id); | ||
1486 | synchronize_irq(vec); | ||
1487 | vec = be_msix_vec_get(adapter, rx_eq->q.id); | ||
1488 | synchronize_irq(vec); | ||
1489 | } else { | ||
1490 | synchronize_irq(netdev->irq); | ||
1491 | } | ||
1492 | be_irq_unregister(adapter); | ||
1493 | |||
1494 | napi_disable(&rx_eq->napi); | ||
1495 | napi_disable(&tx_eq->napi); | ||
1496 | |||
1497 | be_rx_queues_destroy(adapter); | ||
1498 | be_tx_queues_destroy(adapter); | ||
1499 | |||
1500 | be_cmd_if_destroy(ctrl, adapter->if_handle); | ||
1501 | return 0; | ||
1502 | } | ||
1503 | |||
1504 | static int be_get_frag_header(struct skb_frag_struct *frag, void **mac_hdr, | ||
1505 | void **ip_hdr, void **tcpudp_hdr, | ||
1506 | u64 *hdr_flags, void *priv) | ||
1507 | { | ||
1508 | struct ethhdr *eh; | ||
1509 | struct vlan_ethhdr *veh; | ||
1510 | struct iphdr *iph; | ||
1511 | u8 *va = page_address(frag->page) + frag->page_offset; | ||
1512 | unsigned long ll_hlen; | ||
1513 | |||
1514 | prefetch(va); | ||
1515 | eh = (struct ethhdr *)va; | ||
1516 | *mac_hdr = eh; | ||
1517 | ll_hlen = ETH_HLEN; | ||
1518 | if (eh->h_proto != htons(ETH_P_IP)) { | ||
1519 | if (eh->h_proto == htons(ETH_P_8021Q)) { | ||
1520 | veh = (struct vlan_ethhdr *)va; | ||
1521 | if (veh->h_vlan_encapsulated_proto != htons(ETH_P_IP)) | ||
1522 | return -1; | ||
1523 | |||
1524 | ll_hlen += VLAN_HLEN; | ||
1525 | } else { | ||
1526 | return -1; | ||
1527 | } | ||
1528 | } | ||
1529 | *hdr_flags = LRO_IPV4; | ||
1530 | iph = (struct iphdr *)(va + ll_hlen); | ||
1531 | *ip_hdr = iph; | ||
1532 | if (iph->protocol != IPPROTO_TCP) | ||
1533 | return -1; | ||
1534 | *hdr_flags |= LRO_TCP; | ||
1535 | *tcpudp_hdr = (u8 *) (*ip_hdr) + (iph->ihl << 2); | ||
1536 | |||
1537 | return 0; | ||
1538 | } | ||
1539 | |||
1540 | static void be_lro_init(struct be_adapter *adapter, struct net_device *netdev) | ||
1541 | { | ||
1542 | struct net_lro_mgr *lro_mgr; | ||
1543 | |||
1544 | lro_mgr = &adapter->rx_obj.lro_mgr; | ||
1545 | lro_mgr->dev = netdev; | ||
1546 | lro_mgr->features = LRO_F_NAPI; | ||
1547 | lro_mgr->ip_summed = CHECKSUM_UNNECESSARY; | ||
1548 | lro_mgr->ip_summed_aggr = CHECKSUM_UNNECESSARY; | ||
1549 | lro_mgr->max_desc = BE_MAX_LRO_DESCRIPTORS; | ||
1550 | lro_mgr->lro_arr = adapter->rx_obj.lro_desc; | ||
1551 | lro_mgr->get_frag_header = be_get_frag_header; | ||
1552 | lro_mgr->max_aggr = BE_MAX_FRAGS_PER_FRAME; | ||
1553 | } | ||
1554 | |||
1555 | static struct net_device_ops be_netdev_ops = { | ||
1556 | .ndo_open = be_open, | ||
1557 | .ndo_stop = be_close, | ||
1558 | .ndo_start_xmit = be_xmit, | ||
1559 | .ndo_get_stats = be_get_stats, | ||
1560 | .ndo_set_rx_mode = be_set_multicast_list, | ||
1561 | .ndo_set_mac_address = be_mac_addr_set, | ||
1562 | .ndo_change_mtu = be_change_mtu, | ||
1563 | .ndo_validate_addr = eth_validate_addr, | ||
1564 | .ndo_vlan_rx_register = be_vlan_register, | ||
1565 | .ndo_vlan_rx_add_vid = be_vlan_add_vid, | ||
1566 | .ndo_vlan_rx_kill_vid = be_vlan_rem_vid, | ||
1567 | }; | ||
1568 | |||
1569 | static void be_netdev_init(struct net_device *netdev) | ||
1570 | { | ||
1571 | struct be_adapter *adapter = netdev_priv(netdev); | ||
1572 | |||
1573 | netdev->features |= NETIF_F_SG | NETIF_F_HW_VLAN_RX | NETIF_F_TSO | | ||
1574 | NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_FILTER | NETIF_F_IP_CSUM | | ||
1575 | NETIF_F_IPV6_CSUM | NETIF_F_TSO6; | ||
1576 | |||
1577 | netdev->flags |= IFF_MULTICAST; | ||
1578 | |||
1579 | BE_SET_NETDEV_OPS(netdev, &be_netdev_ops); | ||
1580 | |||
1581 | SET_ETHTOOL_OPS(netdev, &be_ethtool_ops); | ||
1582 | |||
1583 | be_lro_init(adapter, netdev); | ||
1584 | |||
1585 | netif_napi_add(netdev, &adapter->rx_eq.napi, be_poll_rx, | ||
1586 | BE_NAPI_WEIGHT); | ||
1587 | netif_napi_add(netdev, &adapter->tx_eq.napi, be_poll_tx, | ||
1588 | BE_NAPI_WEIGHT); | ||
1589 | |||
1590 | netif_carrier_off(netdev); | ||
1591 | netif_stop_queue(netdev); | ||
1592 | } | ||
1593 | |||
1594 | static void be_unmap_pci_bars(struct be_adapter *adapter) | ||
1595 | { | ||
1596 | struct be_ctrl_info *ctrl = &adapter->ctrl; | ||
1597 | if (ctrl->csr) | ||
1598 | iounmap(ctrl->csr); | ||
1599 | if (ctrl->db) | ||
1600 | iounmap(ctrl->db); | ||
1601 | if (ctrl->pcicfg) | ||
1602 | iounmap(ctrl->pcicfg); | ||
1603 | } | ||
1604 | |||
1605 | static int be_map_pci_bars(struct be_adapter *adapter) | ||
1606 | { | ||
1607 | u8 __iomem *addr; | ||
1608 | |||
1609 | addr = ioremap_nocache(pci_resource_start(adapter->pdev, 2), | ||
1610 | pci_resource_len(adapter->pdev, 2)); | ||
1611 | if (addr == NULL) | ||
1612 | return -ENOMEM; | ||
1613 | adapter->ctrl.csr = addr; | ||
1614 | |||
1615 | addr = ioremap_nocache(pci_resource_start(adapter->pdev, 4), | ||
1616 | 128 * 1024); | ||
1617 | if (addr == NULL) | ||
1618 | goto pci_map_err; | ||
1619 | adapter->ctrl.db = addr; | ||
1620 | |||
1621 | addr = ioremap_nocache(pci_resource_start(adapter->pdev, 1), | ||
1622 | pci_resource_len(adapter->pdev, 1)); | ||
1623 | if (addr == NULL) | ||
1624 | goto pci_map_err; | ||
1625 | adapter->ctrl.pcicfg = addr; | ||
1626 | |||
1627 | return 0; | ||
1628 | pci_map_err: | ||
1629 | be_unmap_pci_bars(adapter); | ||
1630 | return -ENOMEM; | ||
1631 | } | ||
1632 | |||
1633 | |||
1634 | static void be_ctrl_cleanup(struct be_adapter *adapter) | ||
1635 | { | ||
1636 | struct be_dma_mem *mem = &adapter->ctrl.mbox_mem_alloced; | ||
1637 | |||
1638 | be_unmap_pci_bars(adapter); | ||
1639 | |||
1640 | if (mem->va) | ||
1641 | pci_free_consistent(adapter->pdev, mem->size, | ||
1642 | mem->va, mem->dma); | ||
1643 | } | ||
1644 | |||
1645 | /* Initialize the mbox required to send cmds to BE */ | ||
1646 | static int be_ctrl_init(struct be_adapter *adapter) | ||
1647 | { | ||
1648 | struct be_ctrl_info *ctrl = &adapter->ctrl; | ||
1649 | struct be_dma_mem *mbox_mem_alloc = &ctrl->mbox_mem_alloced; | ||
1650 | struct be_dma_mem *mbox_mem_align = &ctrl->mbox_mem; | ||
1651 | int status; | ||
1652 | u32 val; | ||
1653 | |||
1654 | status = be_map_pci_bars(adapter); | ||
1655 | if (status) | ||
1656 | return status; | ||
1657 | |||
1658 | mbox_mem_alloc->size = sizeof(struct be_mcc_mailbox) + 16; | ||
1659 | mbox_mem_alloc->va = pci_alloc_consistent(adapter->pdev, | ||
1660 | mbox_mem_alloc->size, &mbox_mem_alloc->dma); | ||
1661 | if (!mbox_mem_alloc->va) { | ||
1662 | be_unmap_pci_bars(adapter); | ||
1663 | return -1; | ||
1664 | } | ||
1665 | mbox_mem_align->size = sizeof(struct be_mcc_mailbox); | ||
1666 | mbox_mem_align->va = PTR_ALIGN(mbox_mem_alloc->va, 16); | ||
1667 | mbox_mem_align->dma = PTR_ALIGN(mbox_mem_alloc->dma, 16); | ||
1668 | memset(mbox_mem_align->va, 0, sizeof(struct be_mcc_mailbox)); | ||
1669 | spin_lock_init(&ctrl->cmd_lock); | ||
1670 | |||
1671 | val = ioread32(ctrl->pcicfg + PCICFG_MEMBAR_CTRL_INT_CTRL_OFFSET); | ||
1672 | ctrl->pci_func = (val >> MEMBAR_CTRL_INT_CTRL_PFUNC_SHIFT) & | ||
1673 | MEMBAR_CTRL_INT_CTRL_PFUNC_MASK; | ||
1674 | return 0; | ||
1675 | } | ||
1676 | |||
1677 | static void be_stats_cleanup(struct be_adapter *adapter) | ||
1678 | { | ||
1679 | struct be_stats_obj *stats = &adapter->stats; | ||
1680 | struct be_dma_mem *cmd = &stats->cmd; | ||
1681 | |||
1682 | if (cmd->va) | ||
1683 | pci_free_consistent(adapter->pdev, cmd->size, | ||
1684 | cmd->va, cmd->dma); | ||
1685 | } | ||
1686 | |||
1687 | static int be_stats_init(struct be_adapter *adapter) | ||
1688 | { | ||
1689 | struct be_stats_obj *stats = &adapter->stats; | ||
1690 | struct be_dma_mem *cmd = &stats->cmd; | ||
1691 | |||
1692 | cmd->size = sizeof(struct be_cmd_req_get_stats); | ||
1693 | cmd->va = pci_alloc_consistent(adapter->pdev, cmd->size, &cmd->dma); | ||
1694 | if (cmd->va == NULL) | ||
1695 | return -1; | ||
1696 | return 0; | ||
1697 | } | ||
1698 | |||
1699 | static void __devexit be_remove(struct pci_dev *pdev) | ||
1700 | { | ||
1701 | struct be_adapter *adapter = pci_get_drvdata(pdev); | ||
1702 | if (!adapter) | ||
1703 | return; | ||
1704 | |||
1705 | unregister_netdev(adapter->netdev); | ||
1706 | |||
1707 | be_stats_cleanup(adapter); | ||
1708 | |||
1709 | be_ctrl_cleanup(adapter); | ||
1710 | |||
1711 | if (adapter->msix_enabled) { | ||
1712 | pci_disable_msix(adapter->pdev); | ||
1713 | adapter->msix_enabled = false; | ||
1714 | } | ||
1715 | |||
1716 | pci_set_drvdata(pdev, NULL); | ||
1717 | pci_release_regions(pdev); | ||
1718 | pci_disable_device(pdev); | ||
1719 | |||
1720 | free_netdev(adapter->netdev); | ||
1721 | } | ||
1722 | |||
1723 | static int be_hw_up(struct be_adapter *adapter) | ||
1724 | { | ||
1725 | struct be_ctrl_info *ctrl = &adapter->ctrl; | ||
1726 | int status; | ||
1727 | |||
1728 | status = be_cmd_POST(ctrl); | ||
1729 | if (status) | ||
1730 | return status; | ||
1731 | |||
1732 | status = be_cmd_get_fw_ver(ctrl, adapter->fw_ver); | ||
1733 | if (status) | ||
1734 | return status; | ||
1735 | |||
1736 | status = be_cmd_query_fw_cfg(ctrl, &adapter->port_num); | ||
1737 | return status; | ||
1738 | } | ||
1739 | |||
1740 | static int __devinit be_probe(struct pci_dev *pdev, | ||
1741 | const struct pci_device_id *pdev_id) | ||
1742 | { | ||
1743 | int status = 0; | ||
1744 | struct be_adapter *adapter; | ||
1745 | struct net_device *netdev; | ||
1746 | struct be_ctrl_info *ctrl; | ||
1747 | u8 mac[ETH_ALEN]; | ||
1748 | |||
1749 | status = pci_enable_device(pdev); | ||
1750 | if (status) | ||
1751 | goto do_none; | ||
1752 | |||
1753 | status = pci_request_regions(pdev, DRV_NAME); | ||
1754 | if (status) | ||
1755 | goto disable_dev; | ||
1756 | pci_set_master(pdev); | ||
1757 | |||
1758 | netdev = alloc_etherdev(sizeof(struct be_adapter)); | ||
1759 | if (netdev == NULL) { | ||
1760 | status = -ENOMEM; | ||
1761 | goto rel_reg; | ||
1762 | } | ||
1763 | adapter = netdev_priv(netdev); | ||
1764 | adapter->pdev = pdev; | ||
1765 | pci_set_drvdata(pdev, adapter); | ||
1766 | adapter->netdev = netdev; | ||
1767 | |||
1768 | be_msix_enable(adapter); | ||
1769 | |||
1770 | status = pci_set_dma_mask(pdev, DMA_64BIT_MASK); | ||
1771 | if (!status) { | ||
1772 | netdev->features |= NETIF_F_HIGHDMA; | ||
1773 | } else { | ||
1774 | status = pci_set_dma_mask(pdev, DMA_32BIT_MASK); | ||
1775 | if (status) { | ||
1776 | dev_err(&pdev->dev, "Could not set PCI DMA Mask\n"); | ||
1777 | goto free_netdev; | ||
1778 | } | ||
1779 | } | ||
1780 | |||
1781 | ctrl = &adapter->ctrl; | ||
1782 | status = be_ctrl_init(adapter); | ||
1783 | if (status) | ||
1784 | goto free_netdev; | ||
1785 | |||
1786 | status = be_stats_init(adapter); | ||
1787 | if (status) | ||
1788 | goto ctrl_clean; | ||
1789 | |||
1790 | status = be_hw_up(adapter); | ||
1791 | if (status) | ||
1792 | goto stats_clean; | ||
1793 | |||
1794 | status = be_cmd_mac_addr_query(ctrl, mac, MAC_ADDRESS_TYPE_NETWORK, | ||
1795 | true /* permanent */, 0); | ||
1796 | if (status) | ||
1797 | goto stats_clean; | ||
1798 | memcpy(netdev->dev_addr, mac, ETH_ALEN); | ||
1799 | |||
1800 | INIT_DELAYED_WORK(&adapter->work, be_worker); | ||
1801 | be_netdev_init(netdev); | ||
1802 | SET_NETDEV_DEV(netdev, &adapter->pdev->dev); | ||
1803 | |||
1804 | status = register_netdev(netdev); | ||
1805 | if (status != 0) | ||
1806 | goto stats_clean; | ||
1807 | |||
1808 | dev_info(&pdev->dev, BE_NAME " port %d\n", adapter->port_num); | ||
1809 | return 0; | ||
1810 | |||
1811 | stats_clean: | ||
1812 | be_stats_cleanup(adapter); | ||
1813 | ctrl_clean: | ||
1814 | be_ctrl_cleanup(adapter); | ||
1815 | free_netdev: | ||
1816 | free_netdev(adapter->netdev); | ||
1817 | rel_reg: | ||
1818 | pci_release_regions(pdev); | ||
1819 | disable_dev: | ||
1820 | pci_disable_device(pdev); | ||
1821 | do_none: | ||
1822 | dev_warn(&pdev->dev, BE_NAME " initialization failed\n"); | ||
1823 | return status; | ||
1824 | } | ||
1825 | |||
1826 | static int be_suspend(struct pci_dev *pdev, pm_message_t state) | ||
1827 | { | ||
1828 | struct be_adapter *adapter = pci_get_drvdata(pdev); | ||
1829 | struct net_device *netdev = adapter->netdev; | ||
1830 | |||
1831 | netif_device_detach(netdev); | ||
1832 | if (netif_running(netdev)) { | ||
1833 | rtnl_lock(); | ||
1834 | be_close(netdev); | ||
1835 | rtnl_unlock(); | ||
1836 | } | ||
1837 | |||
1838 | pci_save_state(pdev); | ||
1839 | pci_disable_device(pdev); | ||
1840 | pci_set_power_state(pdev, pci_choose_state(pdev, state)); | ||
1841 | return 0; | ||
1842 | } | ||
1843 | |||
1844 | static int be_resume(struct pci_dev *pdev) | ||
1845 | { | ||
1846 | int status = 0; | ||
1847 | struct be_adapter *adapter = pci_get_drvdata(pdev); | ||
1848 | struct net_device *netdev = adapter->netdev; | ||
1849 | |||
1850 | netif_device_detach(netdev); | ||
1851 | |||
1852 | status = pci_enable_device(pdev); | ||
1853 | if (status) | ||
1854 | return status; | ||
1855 | |||
1856 | pci_set_power_state(pdev, 0); | ||
1857 | pci_restore_state(pdev); | ||
1858 | |||
1859 | be_vids_config(netdev); | ||
1860 | |||
1861 | if (netif_running(netdev)) { | ||
1862 | rtnl_lock(); | ||
1863 | be_open(netdev); | ||
1864 | rtnl_unlock(); | ||
1865 | } | ||
1866 | netif_device_attach(netdev); | ||
1867 | return 0; | ||
1868 | } | ||
1869 | |||
1870 | static struct pci_driver be_driver = { | ||
1871 | .name = DRV_NAME, | ||
1872 | .id_table = be_dev_ids, | ||
1873 | .probe = be_probe, | ||
1874 | .remove = be_remove, | ||
1875 | .suspend = be_suspend, | ||
1876 | .resume = be_resume | ||
1877 | }; | ||
1878 | |||
1879 | static int __init be_init_module(void) | ||
1880 | { | ||
1881 | if (rx_frag_size != 8192 && rx_frag_size != 4096 | ||
1882 | && rx_frag_size != 2048) { | ||
1883 | printk(KERN_WARNING DRV_NAME | ||
1884 | " : Module param rx_frag_size must be 2048/4096/8192." | ||
1885 | " Using 2048\n"); | ||
1886 | rx_frag_size = 2048; | ||
1887 | } | ||
1888 | /* Ensure rx_frag_size is aligned to chache line */ | ||
1889 | if (SKB_DATA_ALIGN(rx_frag_size) != rx_frag_size) { | ||
1890 | printk(KERN_WARNING DRV_NAME | ||
1891 | " : Bad module param rx_frag_size. Using 2048\n"); | ||
1892 | rx_frag_size = 2048; | ||
1893 | } | ||
1894 | |||
1895 | return pci_register_driver(&be_driver); | ||
1896 | } | ||
1897 | module_init(be_init_module); | ||
1898 | |||
1899 | static void __exit be_exit_module(void) | ||
1900 | { | ||
1901 | pci_unregister_driver(&be_driver); | ||
1902 | } | ||
1903 | module_exit(be_exit_module); | ||
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index 15a5cf0f676b..3cf2b92eef3b 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h | |||
@@ -152,7 +152,7 @@ struct sw_rx_page { | |||
152 | #define PAGES_PER_SGE (1 << PAGES_PER_SGE_SHIFT) | 152 | #define PAGES_PER_SGE (1 << PAGES_PER_SGE_SHIFT) |
153 | #define SGE_PAGE_SIZE PAGE_SIZE | 153 | #define SGE_PAGE_SIZE PAGE_SIZE |
154 | #define SGE_PAGE_SHIFT PAGE_SHIFT | 154 | #define SGE_PAGE_SHIFT PAGE_SHIFT |
155 | #define SGE_PAGE_ALIGN(addr) PAGE_ALIGN(addr) | 155 | #define SGE_PAGE_ALIGN(addr) PAGE_ALIGN((typeof(PAGE_SIZE))addr) |
156 | 156 | ||
157 | #define BCM_RX_ETH_PAYLOAD_ALIGN 64 | 157 | #define BCM_RX_ETH_PAYLOAD_ALIGN 64 |
158 | 158 | ||
diff --git a/drivers/net/bnx2x_init.h b/drivers/net/bnx2x_init.h index a6c0b3abba29..3b0c2499ef17 100644 --- a/drivers/net/bnx2x_init.h +++ b/drivers/net/bnx2x_init.h | |||
@@ -150,7 +150,6 @@ static void bnx2x_init_ind_wr(struct bnx2x *bp, u32 addr, const u32 *data, | |||
150 | 150 | ||
151 | static void bnx2x_write_big_buf(struct bnx2x *bp, u32 addr, u32 len) | 151 | static void bnx2x_write_big_buf(struct bnx2x *bp, u32 addr, u32 len) |
152 | { | 152 | { |
153 | #ifdef USE_DMAE | ||
154 | int offset = 0; | 153 | int offset = 0; |
155 | 154 | ||
156 | if (bp->dmae_ready) { | 155 | if (bp->dmae_ready) { |
@@ -164,9 +163,6 @@ static void bnx2x_write_big_buf(struct bnx2x *bp, u32 addr, u32 len) | |||
164 | addr + offset, len); | 163 | addr + offset, len); |
165 | } else | 164 | } else |
166 | bnx2x_init_str_wr(bp, addr, bp->gunzip_buf, len); | 165 | bnx2x_init_str_wr(bp, addr, bp->gunzip_buf, len); |
167 | #else | ||
168 | bnx2x_init_str_wr(bp, addr, bp->gunzip_buf, len); | ||
169 | #endif | ||
170 | } | 166 | } |
171 | 167 | ||
172 | static void bnx2x_init_fill(struct bnx2x *bp, u32 addr, int fill, u32 len) | 168 | static void bnx2x_init_fill(struct bnx2x *bp, u32 addr, int fill, u32 len) |
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index d3e7775a9ccf..2e346a5e98cf 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c | |||
@@ -57,7 +57,7 @@ | |||
57 | #include "bnx2x.h" | 57 | #include "bnx2x.h" |
58 | #include "bnx2x_init.h" | 58 | #include "bnx2x_init.h" |
59 | 59 | ||
60 | #define DRV_MODULE_VERSION "1.45.26" | 60 | #define DRV_MODULE_VERSION "1.45.27" |
61 | #define DRV_MODULE_RELDATE "2009/01/26" | 61 | #define DRV_MODULE_RELDATE "2009/01/26" |
62 | #define BNX2X_BC_VER 0x040200 | 62 | #define BNX2X_BC_VER 0x040200 |
63 | 63 | ||
@@ -4035,10 +4035,10 @@ static void bnx2x_zero_sb(struct bnx2x *bp, int sb_id) | |||
4035 | { | 4035 | { |
4036 | int port = BP_PORT(bp); | 4036 | int port = BP_PORT(bp); |
4037 | 4037 | ||
4038 | bnx2x_init_fill(bp, BAR_USTRORM_INTMEM + | 4038 | bnx2x_init_fill(bp, USTORM_INTMEM_ADDR + |
4039 | USTORM_SB_HOST_STATUS_BLOCK_OFFSET(port, sb_id), 0, | 4039 | USTORM_SB_HOST_STATUS_BLOCK_OFFSET(port, sb_id), 0, |
4040 | sizeof(struct ustorm_status_block)/4); | 4040 | sizeof(struct ustorm_status_block)/4); |
4041 | bnx2x_init_fill(bp, BAR_CSTRORM_INTMEM + | 4041 | bnx2x_init_fill(bp, CSTORM_INTMEM_ADDR + |
4042 | CSTORM_SB_HOST_STATUS_BLOCK_OFFSET(port, sb_id), 0, | 4042 | CSTORM_SB_HOST_STATUS_BLOCK_OFFSET(port, sb_id), 0, |
4043 | sizeof(struct cstorm_status_block)/4); | 4043 | sizeof(struct cstorm_status_block)/4); |
4044 | } | 4044 | } |
@@ -4092,18 +4092,18 @@ static void bnx2x_zero_def_sb(struct bnx2x *bp) | |||
4092 | { | 4092 | { |
4093 | int func = BP_FUNC(bp); | 4093 | int func = BP_FUNC(bp); |
4094 | 4094 | ||
4095 | bnx2x_init_fill(bp, BAR_USTRORM_INTMEM + | 4095 | bnx2x_init_fill(bp, TSTORM_INTMEM_ADDR + |
4096 | TSTORM_DEF_SB_HOST_STATUS_BLOCK_OFFSET(func), 0, | ||
4097 | sizeof(struct tstorm_def_status_block)/4); | ||
4098 | bnx2x_init_fill(bp, USTORM_INTMEM_ADDR + | ||
4096 | USTORM_DEF_SB_HOST_STATUS_BLOCK_OFFSET(func), 0, | 4099 | USTORM_DEF_SB_HOST_STATUS_BLOCK_OFFSET(func), 0, |
4097 | sizeof(struct ustorm_def_status_block)/4); | 4100 | sizeof(struct ustorm_def_status_block)/4); |
4098 | bnx2x_init_fill(bp, BAR_CSTRORM_INTMEM + | 4101 | bnx2x_init_fill(bp, CSTORM_INTMEM_ADDR + |
4099 | CSTORM_DEF_SB_HOST_STATUS_BLOCK_OFFSET(func), 0, | 4102 | CSTORM_DEF_SB_HOST_STATUS_BLOCK_OFFSET(func), 0, |
4100 | sizeof(struct cstorm_def_status_block)/4); | 4103 | sizeof(struct cstorm_def_status_block)/4); |
4101 | bnx2x_init_fill(bp, BAR_XSTRORM_INTMEM + | 4104 | bnx2x_init_fill(bp, XSTORM_INTMEM_ADDR + |
4102 | XSTORM_DEF_SB_HOST_STATUS_BLOCK_OFFSET(func), 0, | 4105 | XSTORM_DEF_SB_HOST_STATUS_BLOCK_OFFSET(func), 0, |
4103 | sizeof(struct xstorm_def_status_block)/4); | 4106 | sizeof(struct xstorm_def_status_block)/4); |
4104 | bnx2x_init_fill(bp, BAR_TSTRORM_INTMEM + | ||
4105 | TSTORM_DEF_SB_HOST_STATUS_BLOCK_OFFSET(func), 0, | ||
4106 | sizeof(struct tstorm_def_status_block)/4); | ||
4107 | } | 4107 | } |
4108 | 4108 | ||
4109 | static void bnx2x_init_def_sb(struct bnx2x *bp, | 4109 | static void bnx2x_init_def_sb(struct bnx2x *bp, |
@@ -4518,7 +4518,8 @@ static void bnx2x_init_context(struct bnx2x *bp) | |||
4518 | (USTORM_ETH_ST_CONTEXT_CONFIG_ENABLE_TPA | | 4518 | (USTORM_ETH_ST_CONTEXT_CONFIG_ENABLE_TPA | |
4519 | USTORM_ETH_ST_CONTEXT_CONFIG_ENABLE_SGE_RING); | 4519 | USTORM_ETH_ST_CONTEXT_CONFIG_ENABLE_SGE_RING); |
4520 | context->ustorm_st_context.common.sge_buff_size = | 4520 | context->ustorm_st_context.common.sge_buff_size = |
4521 | (u16)(BCM_PAGE_SIZE*PAGES_PER_SGE); | 4521 | (u16)min((u32)SGE_PAGE_SIZE*PAGES_PER_SGE, |
4522 | (u32)0xffff); | ||
4522 | context->ustorm_st_context.common.sge_page_base_hi = | 4523 | context->ustorm_st_context.common.sge_page_base_hi = |
4523 | U64_HI(fp->rx_sge_mapping); | 4524 | U64_HI(fp->rx_sge_mapping); |
4524 | context->ustorm_st_context.common.sge_page_base_lo = | 4525 | context->ustorm_st_context.common.sge_page_base_lo = |
diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c new file mode 100644 index 000000000000..5c347f70cb67 --- /dev/null +++ b/drivers/net/dnet.c | |||
@@ -0,0 +1,994 @@ | |||
1 | /* | ||
2 | * Dave DNET Ethernet Controller driver | ||
3 | * | ||
4 | * Copyright (C) 2008 Dave S.r.l. <www.dave.eu> | ||
5 | * Copyright (C) 2009 Ilya Yanok, Emcraft Systems Ltd, <yanok@emcraft.com> | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | ||
11 | #include <linux/version.h> | ||
12 | #include <linux/module.h> | ||
13 | #include <linux/moduleparam.h> | ||
14 | #include <linux/kernel.h> | ||
15 | #include <linux/types.h> | ||
16 | #include <linux/slab.h> | ||
17 | #include <linux/delay.h> | ||
18 | #include <linux/init.h> | ||
19 | #include <linux/netdevice.h> | ||
20 | #include <linux/etherdevice.h> | ||
21 | #include <linux/dma-mapping.h> | ||
22 | #include <linux/platform_device.h> | ||
23 | #include <linux/phy.h> | ||
24 | #include <linux/platform_device.h> | ||
25 | |||
26 | #include "dnet.h" | ||
27 | |||
28 | #undef DEBUG | ||
29 | |||
30 | /* function for reading internal MAC register */ | ||
31 | u16 dnet_readw_mac(struct dnet *bp, u16 reg) | ||
32 | { | ||
33 | u16 data_read; | ||
34 | |||
35 | /* issue a read */ | ||
36 | dnet_writel(bp, reg, MACREG_ADDR); | ||
37 | |||
38 | /* since a read/write op to the MAC is very slow, | ||
39 | * we must wait before reading the data */ | ||
40 | ndelay(500); | ||
41 | |||
42 | /* read data read from the MAC register */ | ||
43 | data_read = dnet_readl(bp, MACREG_DATA); | ||
44 | |||
45 | /* all done */ | ||
46 | return data_read; | ||
47 | } | ||
48 | |||
49 | /* function for writing internal MAC register */ | ||
50 | void dnet_writew_mac(struct dnet *bp, u16 reg, u16 val) | ||
51 | { | ||
52 | /* load data to write */ | ||
53 | dnet_writel(bp, val, MACREG_DATA); | ||
54 | |||
55 | /* issue a write */ | ||
56 | dnet_writel(bp, reg | DNET_INTERNAL_WRITE, MACREG_ADDR); | ||
57 | |||
58 | /* since a read/write op to the MAC is very slow, | ||
59 | * we must wait before exiting */ | ||
60 | ndelay(500); | ||
61 | } | ||
62 | |||
63 | static void __dnet_set_hwaddr(struct dnet *bp) | ||
64 | { | ||
65 | u16 tmp; | ||
66 | |||
67 | tmp = cpu_to_be16(*((u16 *) bp->dev->dev_addr)); | ||
68 | dnet_writew_mac(bp, DNET_INTERNAL_MAC_ADDR_0_REG, tmp); | ||
69 | tmp = cpu_to_be16(*((u16 *) (bp->dev->dev_addr + 2))); | ||
70 | dnet_writew_mac(bp, DNET_INTERNAL_MAC_ADDR_1_REG, tmp); | ||
71 | tmp = cpu_to_be16(*((u16 *) (bp->dev->dev_addr + 4))); | ||
72 | dnet_writew_mac(bp, DNET_INTERNAL_MAC_ADDR_2_REG, tmp); | ||
73 | } | ||
74 | |||
75 | static void __devinit dnet_get_hwaddr(struct dnet *bp) | ||
76 | { | ||
77 | u16 tmp; | ||
78 | u8 addr[6]; | ||
79 | |||
80 | /* | ||
81 | * from MAC docs: | ||
82 | * "Note that the MAC address is stored in the registers in Hexadecimal | ||
83 | * form. For example, to set the MAC Address to: AC-DE-48-00-00-80 | ||
84 | * would require writing 0xAC (octet 0) to address 0x0B (high byte of | ||
85 | * Mac_addr[15:0]), 0xDE (octet 1) to address 0x0A (Low byte of | ||
86 | * Mac_addr[15:0]), 0x48 (octet 2) to address 0x0D (high byte of | ||
87 | * Mac_addr[15:0]), 0x00 (octet 3) to address 0x0C (Low byte of | ||
88 | * Mac_addr[15:0]), 0x00 (octet 4) to address 0x0F (high byte of | ||
89 | * Mac_addr[15:0]), and 0x80 (octet 5) to address * 0x0E (Low byte of | ||
90 | * Mac_addr[15:0]). | ||
91 | */ | ||
92 | tmp = dnet_readw_mac(bp, DNET_INTERNAL_MAC_ADDR_0_REG); | ||
93 | *((u16 *) addr) = be16_to_cpu(tmp); | ||
94 | tmp = dnet_readw_mac(bp, DNET_INTERNAL_MAC_ADDR_1_REG); | ||
95 | *((u16 *) (addr + 2)) = be16_to_cpu(tmp); | ||
96 | tmp = dnet_readw_mac(bp, DNET_INTERNAL_MAC_ADDR_2_REG); | ||
97 | *((u16 *) (addr + 4)) = be16_to_cpu(tmp); | ||
98 | |||
99 | if (is_valid_ether_addr(addr)) | ||
100 | memcpy(bp->dev->dev_addr, addr, sizeof(addr)); | ||
101 | } | ||
102 | |||
103 | static int dnet_mdio_read(struct mii_bus *bus, int mii_id, int regnum) | ||
104 | { | ||
105 | struct dnet *bp = bus->priv; | ||
106 | u16 value; | ||
107 | |||
108 | while (!(dnet_readw_mac(bp, DNET_INTERNAL_GMII_MNG_CTL_REG) | ||
109 | & DNET_INTERNAL_GMII_MNG_CMD_FIN)) | ||
110 | cpu_relax(); | ||
111 | |||
112 | /* only 5 bits allowed for phy-addr and reg_offset */ | ||
113 | mii_id &= 0x1f; | ||
114 | regnum &= 0x1f; | ||
115 | |||
116 | /* prepare reg_value for a read */ | ||
117 | value = (mii_id << 8); | ||
118 | value |= regnum; | ||
119 | |||
120 | /* write control word */ | ||
121 | dnet_writew_mac(bp, DNET_INTERNAL_GMII_MNG_CTL_REG, value); | ||
122 | |||
123 | /* wait for end of transfer */ | ||
124 | while (!(dnet_readw_mac(bp, DNET_INTERNAL_GMII_MNG_CTL_REG) | ||
125 | & DNET_INTERNAL_GMII_MNG_CMD_FIN)) | ||
126 | cpu_relax(); | ||
127 | |||
128 | value = dnet_readw_mac(bp, DNET_INTERNAL_GMII_MNG_DAT_REG); | ||
129 | |||
130 | pr_debug("mdio_read %02x:%02x <- %04x\n", mii_id, regnum, value); | ||
131 | |||
132 | return value; | ||
133 | } | ||
134 | |||
135 | static int dnet_mdio_write(struct mii_bus *bus, int mii_id, int regnum, | ||
136 | u16 value) | ||
137 | { | ||
138 | struct dnet *bp = bus->priv; | ||
139 | u16 tmp; | ||
140 | |||
141 | pr_debug("mdio_write %02x:%02x <- %04x\n", mii_id, regnum, value); | ||
142 | |||
143 | while (!(dnet_readw_mac(bp, DNET_INTERNAL_GMII_MNG_CTL_REG) | ||
144 | & DNET_INTERNAL_GMII_MNG_CMD_FIN)) | ||
145 | cpu_relax(); | ||
146 | |||
147 | /* prepare for a write operation */ | ||
148 | tmp = (1 << 13); | ||
149 | |||
150 | /* only 5 bits allowed for phy-addr and reg_offset */ | ||
151 | mii_id &= 0x1f; | ||
152 | regnum &= 0x1f; | ||
153 | |||
154 | /* only 16 bits on data */ | ||
155 | value &= 0xffff; | ||
156 | |||
157 | /* prepare reg_value for a write */ | ||
158 | tmp |= (mii_id << 8); | ||
159 | tmp |= regnum; | ||
160 | |||
161 | /* write data to write first */ | ||
162 | dnet_writew_mac(bp, DNET_INTERNAL_GMII_MNG_DAT_REG, value); | ||
163 | |||
164 | /* write control word */ | ||
165 | dnet_writew_mac(bp, DNET_INTERNAL_GMII_MNG_CTL_REG, tmp); | ||
166 | |||
167 | while (!(dnet_readw_mac(bp, DNET_INTERNAL_GMII_MNG_CTL_REG) | ||
168 | & DNET_INTERNAL_GMII_MNG_CMD_FIN)) | ||
169 | cpu_relax(); | ||
170 | |||
171 | return 0; | ||
172 | } | ||
173 | |||
174 | static int dnet_mdio_reset(struct mii_bus *bus) | ||
175 | { | ||
176 | return 0; | ||
177 | } | ||
178 | |||
179 | static void dnet_handle_link_change(struct net_device *dev) | ||
180 | { | ||
181 | struct dnet *bp = netdev_priv(dev); | ||
182 | struct phy_device *phydev = bp->phy_dev; | ||
183 | unsigned long flags; | ||
184 | u32 mode_reg, ctl_reg; | ||
185 | |||
186 | int status_change = 0; | ||
187 | |||
188 | spin_lock_irqsave(&bp->lock, flags); | ||
189 | |||
190 | mode_reg = dnet_readw_mac(bp, DNET_INTERNAL_MODE_REG); | ||
191 | ctl_reg = dnet_readw_mac(bp, DNET_INTERNAL_RXTX_CONTROL_REG); | ||
192 | |||
193 | if (phydev->link) { | ||
194 | if (bp->duplex != phydev->duplex) { | ||
195 | if (phydev->duplex) | ||
196 | ctl_reg &= | ||
197 | ~(DNET_INTERNAL_RXTX_CONTROL_ENABLEHALFDUP); | ||
198 | else | ||
199 | ctl_reg |= | ||
200 | DNET_INTERNAL_RXTX_CONTROL_ENABLEHALFDUP; | ||
201 | |||
202 | bp->duplex = phydev->duplex; | ||
203 | status_change = 1; | ||
204 | } | ||
205 | |||
206 | if (bp->speed != phydev->speed) { | ||
207 | status_change = 1; | ||
208 | switch (phydev->speed) { | ||
209 | case 1000: | ||
210 | mode_reg |= DNET_INTERNAL_MODE_GBITEN; | ||
211 | break; | ||
212 | case 100: | ||
213 | case 10: | ||
214 | mode_reg &= ~DNET_INTERNAL_MODE_GBITEN; | ||
215 | break; | ||
216 | default: | ||
217 | printk(KERN_WARNING | ||
218 | "%s: Ack! Speed (%d) is not " | ||
219 | "10/100/1000!\n", dev->name, | ||
220 | phydev->speed); | ||
221 | break; | ||
222 | } | ||
223 | bp->speed = phydev->speed; | ||
224 | } | ||
225 | } | ||
226 | |||
227 | if (phydev->link != bp->link) { | ||
228 | if (phydev->link) { | ||
229 | mode_reg |= | ||
230 | (DNET_INTERNAL_MODE_RXEN | DNET_INTERNAL_MODE_TXEN); | ||
231 | } else { | ||
232 | mode_reg &= | ||
233 | ~(DNET_INTERNAL_MODE_RXEN | | ||
234 | DNET_INTERNAL_MODE_TXEN); | ||
235 | bp->speed = 0; | ||
236 | bp->duplex = -1; | ||
237 | } | ||
238 | bp->link = phydev->link; | ||
239 | |||
240 | status_change = 1; | ||
241 | } | ||
242 | |||
243 | if (status_change) { | ||
244 | dnet_writew_mac(bp, DNET_INTERNAL_RXTX_CONTROL_REG, ctl_reg); | ||
245 | dnet_writew_mac(bp, DNET_INTERNAL_MODE_REG, mode_reg); | ||
246 | } | ||
247 | |||
248 | spin_unlock_irqrestore(&bp->lock, flags); | ||
249 | |||
250 | if (status_change) { | ||
251 | if (phydev->link) | ||
252 | printk(KERN_INFO "%s: link up (%d/%s)\n", | ||
253 | dev->name, phydev->speed, | ||
254 | DUPLEX_FULL == phydev->duplex ? "Full" : "Half"); | ||
255 | else | ||
256 | printk(KERN_INFO "%s: link down\n", dev->name); | ||
257 | } | ||
258 | } | ||
259 | |||
260 | static int dnet_mii_probe(struct net_device *dev) | ||
261 | { | ||
262 | struct dnet *bp = netdev_priv(dev); | ||
263 | struct phy_device *phydev = NULL; | ||
264 | int phy_addr; | ||
265 | |||
266 | /* find the first phy */ | ||
267 | for (phy_addr = 0; phy_addr < PHY_MAX_ADDR; phy_addr++) { | ||
268 | if (bp->mii_bus->phy_map[phy_addr]) { | ||
269 | phydev = bp->mii_bus->phy_map[phy_addr]; | ||
270 | break; | ||
271 | } | ||
272 | } | ||
273 | |||
274 | if (!phydev) { | ||
275 | printk(KERN_ERR "%s: no PHY found\n", dev->name); | ||
276 | return -ENODEV; | ||
277 | } | ||
278 | |||
279 | /* TODO : add pin_irq */ | ||
280 | |||
281 | /* attach the mac to the phy */ | ||
282 | if (bp->capabilities & DNET_HAS_RMII) { | ||
283 | phydev = phy_connect(dev, phydev->dev.bus_id, | ||
284 | &dnet_handle_link_change, 0, | ||
285 | PHY_INTERFACE_MODE_RMII); | ||
286 | } else { | ||
287 | phydev = phy_connect(dev, phydev->dev.bus_id, | ||
288 | &dnet_handle_link_change, 0, | ||
289 | PHY_INTERFACE_MODE_MII); | ||
290 | } | ||
291 | |||
292 | if (IS_ERR(phydev)) { | ||
293 | printk(KERN_ERR "%s: Could not attach to PHY\n", dev->name); | ||
294 | return PTR_ERR(phydev); | ||
295 | } | ||
296 | |||
297 | /* mask with MAC supported features */ | ||
298 | if (bp->capabilities & DNET_HAS_GIGABIT) | ||
299 | phydev->supported &= PHY_GBIT_FEATURES; | ||
300 | else | ||
301 | phydev->supported &= PHY_BASIC_FEATURES; | ||
302 | |||
303 | phydev->supported |= SUPPORTED_Asym_Pause | SUPPORTED_Pause; | ||
304 | |||
305 | phydev->advertising = phydev->supported; | ||
306 | |||
307 | bp->link = 0; | ||
308 | bp->speed = 0; | ||
309 | bp->duplex = -1; | ||
310 | bp->phy_dev = phydev; | ||
311 | |||
312 | return 0; | ||
313 | } | ||
314 | |||
315 | static int dnet_mii_init(struct dnet *bp) | ||
316 | { | ||
317 | int err, i; | ||
318 | |||
319 | bp->mii_bus = mdiobus_alloc(); | ||
320 | if (bp->mii_bus == NULL) | ||
321 | return -ENOMEM; | ||
322 | |||
323 | bp->mii_bus->name = "dnet_mii_bus"; | ||
324 | bp->mii_bus->read = &dnet_mdio_read; | ||
325 | bp->mii_bus->write = &dnet_mdio_write; | ||
326 | bp->mii_bus->reset = &dnet_mdio_reset; | ||
327 | |||
328 | snprintf(bp->mii_bus->id, MII_BUS_ID_SIZE, "%x", 0); | ||
329 | |||
330 | bp->mii_bus->priv = bp; | ||
331 | |||
332 | bp->mii_bus->irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); | ||
333 | if (!bp->mii_bus->irq) { | ||
334 | err = -ENOMEM; | ||
335 | goto err_out; | ||
336 | } | ||
337 | |||
338 | for (i = 0; i < PHY_MAX_ADDR; i++) | ||
339 | bp->mii_bus->irq[i] = PHY_POLL; | ||
340 | |||
341 | platform_set_drvdata(bp->dev, bp->mii_bus); | ||
342 | |||
343 | if (mdiobus_register(bp->mii_bus)) { | ||
344 | err = -ENXIO; | ||
345 | goto err_out_free_mdio_irq; | ||
346 | } | ||
347 | |||
348 | if (dnet_mii_probe(bp->dev) != 0) { | ||
349 | err = -ENXIO; | ||
350 | goto err_out_unregister_bus; | ||
351 | } | ||
352 | |||
353 | return 0; | ||
354 | |||
355 | err_out_unregister_bus: | ||
356 | mdiobus_unregister(bp->mii_bus); | ||
357 | err_out_free_mdio_irq: | ||
358 | kfree(bp->mii_bus->irq); | ||
359 | err_out: | ||
360 | mdiobus_free(bp->mii_bus); | ||
361 | return err; | ||
362 | } | ||
363 | |||
364 | /* For Neptune board: LINK1000 as Link LED and TX as activity LED */ | ||
365 | int dnet_phy_marvell_fixup(struct phy_device *phydev) | ||
366 | { | ||
367 | return phy_write(phydev, 0x18, 0x4148); | ||
368 | } | ||
369 | |||
370 | static void dnet_update_stats(struct dnet *bp) | ||
371 | { | ||
372 | u32 __iomem *reg = bp->regs + DNET_RX_PKT_IGNR_CNT; | ||
373 | u32 *p = &bp->hw_stats.rx_pkt_ignr; | ||
374 | u32 *end = &bp->hw_stats.rx_byte + 1; | ||
375 | |||
376 | WARN_ON((unsigned long)(end - p - 1) != | ||
377 | (DNET_RX_BYTE_CNT - DNET_RX_PKT_IGNR_CNT) / 4); | ||
378 | |||
379 | for (; p < end; p++, reg++) | ||
380 | *p += readl(reg); | ||
381 | |||
382 | reg = bp->regs + DNET_TX_UNICAST_CNT; | ||
383 | p = &bp->hw_stats.tx_unicast; | ||
384 | end = &bp->hw_stats.tx_byte + 1; | ||
385 | |||
386 | WARN_ON((unsigned long)(end - p - 1) != | ||
387 | (DNET_TX_BYTE_CNT - DNET_TX_UNICAST_CNT) / 4); | ||
388 | |||
389 | for (; p < end; p++, reg++) | ||
390 | *p += readl(reg); | ||
391 | } | ||
392 | |||
393 | static int dnet_poll(struct napi_struct *napi, int budget) | ||
394 | { | ||
395 | struct dnet *bp = container_of(napi, struct dnet, napi); | ||
396 | struct net_device *dev = bp->dev; | ||
397 | int npackets = 0; | ||
398 | unsigned int pkt_len; | ||
399 | struct sk_buff *skb; | ||
400 | unsigned int *data_ptr; | ||
401 | u32 int_enable; | ||
402 | u32 cmd_word; | ||
403 | int i; | ||
404 | |||
405 | while (npackets < budget) { | ||
406 | /* | ||
407 | * break out of while loop if there are no more | ||
408 | * packets waiting | ||
409 | */ | ||
410 | if (!(dnet_readl(bp, RX_FIFO_WCNT) >> 16)) { | ||
411 | napi_complete(napi); | ||
412 | int_enable = dnet_readl(bp, INTR_ENB); | ||
413 | int_enable |= DNET_INTR_SRC_RX_CMDFIFOAF; | ||
414 | dnet_writel(bp, int_enable, INTR_ENB); | ||
415 | return 0; | ||
416 | } | ||
417 | |||
418 | cmd_word = dnet_readl(bp, RX_LEN_FIFO); | ||
419 | pkt_len = cmd_word & 0xFFFF; | ||
420 | |||
421 | if (cmd_word & 0xDF180000) | ||
422 | printk(KERN_ERR "%s packet receive error %x\n", | ||
423 | __func__, cmd_word); | ||
424 | |||
425 | skb = dev_alloc_skb(pkt_len + 5); | ||
426 | if (skb != NULL) { | ||
427 | /* Align IP on 16 byte boundaries */ | ||
428 | skb_reserve(skb, 2); | ||
429 | /* | ||
430 | * 'skb_put()' points to the start of sk_buff | ||
431 | * data area. | ||
432 | */ | ||
433 | data_ptr = (unsigned int *)skb_put(skb, pkt_len); | ||
434 | for (i = 0; i < (pkt_len + 3) >> 2; i++) | ||
435 | *data_ptr++ = dnet_readl(bp, RX_DATA_FIFO); | ||
436 | skb->protocol = eth_type_trans(skb, dev); | ||
437 | netif_receive_skb(skb); | ||
438 | npackets++; | ||
439 | } else | ||
440 | printk(KERN_NOTICE | ||
441 | "%s: No memory to allocate a sk_buff of " | ||
442 | "size %u.\n", dev->name, pkt_len); | ||
443 | } | ||
444 | |||
445 | budget -= npackets; | ||
446 | |||
447 | if (npackets < budget) { | ||
448 | /* We processed all packets available. Tell NAPI it can | ||
449 | * stop polling then re-enable rx interrupts */ | ||
450 | napi_complete(napi); | ||
451 | int_enable = dnet_readl(bp, INTR_ENB); | ||
452 | int_enable |= DNET_INTR_SRC_RX_CMDFIFOAF; | ||
453 | dnet_writel(bp, int_enable, INTR_ENB); | ||
454 | return 0; | ||
455 | } | ||
456 | |||
457 | /* There are still packets waiting */ | ||
458 | return 1; | ||
459 | } | ||
460 | |||
461 | static irqreturn_t dnet_interrupt(int irq, void *dev_id) | ||
462 | { | ||
463 | struct net_device *dev = dev_id; | ||
464 | struct dnet *bp = netdev_priv(dev); | ||
465 | u32 int_src, int_enable, int_current; | ||
466 | unsigned long flags; | ||
467 | unsigned int handled = 0; | ||
468 | |||
469 | spin_lock_irqsave(&bp->lock, flags); | ||
470 | |||
471 | /* read and clear the DNET irq (clear on read) */ | ||
472 | int_src = dnet_readl(bp, INTR_SRC); | ||
473 | int_enable = dnet_readl(bp, INTR_ENB); | ||
474 | int_current = int_src & int_enable; | ||
475 | |||
476 | /* restart the queue if we had stopped it for TX fifo almost full */ | ||
477 | if (int_current & DNET_INTR_SRC_TX_FIFOAE) { | ||
478 | int_enable = dnet_readl(bp, INTR_ENB); | ||
479 | int_enable &= ~DNET_INTR_ENB_TX_FIFOAE; | ||
480 | dnet_writel(bp, int_enable, INTR_ENB); | ||
481 | netif_wake_queue(dev); | ||
482 | handled = 1; | ||
483 | } | ||
484 | |||
485 | /* RX FIFO error checking */ | ||
486 | if (int_current & | ||
487 | (DNET_INTR_SRC_RX_CMDFIFOFF | DNET_INTR_SRC_RX_DATAFIFOFF)) { | ||
488 | printk(KERN_ERR "%s: RX fifo error %x, irq %x\n", __func__, | ||
489 | dnet_readl(bp, RX_STATUS), int_current); | ||
490 | /* we can only flush the RX FIFOs */ | ||
491 | dnet_writel(bp, DNET_SYS_CTL_RXFIFOFLUSH, SYS_CTL); | ||
492 | ndelay(500); | ||
493 | dnet_writel(bp, 0, SYS_CTL); | ||
494 | handled = 1; | ||
495 | } | ||
496 | |||
497 | /* TX FIFO error checking */ | ||
498 | if (int_current & | ||
499 | (DNET_INTR_SRC_TX_FIFOFULL | DNET_INTR_SRC_TX_DISCFRM)) { | ||
500 | printk(KERN_ERR "%s: TX fifo error %x, irq %x\n", __func__, | ||
501 | dnet_readl(bp, TX_STATUS), int_current); | ||
502 | /* we can only flush the TX FIFOs */ | ||
503 | dnet_writel(bp, DNET_SYS_CTL_TXFIFOFLUSH, SYS_CTL); | ||
504 | ndelay(500); | ||
505 | dnet_writel(bp, 0, SYS_CTL); | ||
506 | handled = 1; | ||
507 | } | ||
508 | |||
509 | if (int_current & DNET_INTR_SRC_RX_CMDFIFOAF) { | ||
510 | if (napi_schedule_prep(&bp->napi)) { | ||
511 | /* | ||
512 | * There's no point taking any more interrupts | ||
513 | * until we have processed the buffers | ||
514 | */ | ||
515 | /* Disable Rx interrupts and schedule NAPI poll */ | ||
516 | int_enable = dnet_readl(bp, INTR_ENB); | ||
517 | int_enable &= ~DNET_INTR_SRC_RX_CMDFIFOAF; | ||
518 | dnet_writel(bp, int_enable, INTR_ENB); | ||
519 | __napi_schedule(&bp->napi); | ||
520 | } | ||
521 | handled = 1; | ||
522 | } | ||
523 | |||
524 | if (!handled) | ||
525 | pr_debug("%s: irq %x remains\n", __func__, int_current); | ||
526 | |||
527 | spin_unlock_irqrestore(&bp->lock, flags); | ||
528 | |||
529 | return IRQ_RETVAL(handled); | ||
530 | } | ||
531 | |||
532 | #ifdef DEBUG | ||
533 | static inline void dnet_print_skb(struct sk_buff *skb) | ||
534 | { | ||
535 | int k; | ||
536 | printk(KERN_DEBUG PFX "data:"); | ||
537 | for (k = 0; k < skb->len; k++) | ||
538 | printk(" %02x", (unsigned int)skb->data[k]); | ||
539 | printk("\n"); | ||
540 | } | ||
541 | #else | ||
542 | #define dnet_print_skb(skb) do {} while (0) | ||
543 | #endif | ||
544 | |||
545 | static int dnet_start_xmit(struct sk_buff *skb, struct net_device *dev) | ||
546 | { | ||
547 | |||
548 | struct dnet *bp = netdev_priv(dev); | ||
549 | u32 tx_status, irq_enable; | ||
550 | unsigned int len, i, tx_cmd, wrsz; | ||
551 | unsigned long flags; | ||
552 | unsigned int *bufp; | ||
553 | |||
554 | tx_status = dnet_readl(bp, TX_STATUS); | ||
555 | |||
556 | pr_debug("start_xmit: len %u head %p data %p\n", | ||
557 | skb->len, skb->head, skb->data); | ||
558 | dnet_print_skb(skb); | ||
559 | |||
560 | /* frame size (words) */ | ||
561 | len = (skb->len + 3) >> 2; | ||
562 | |||
563 | spin_lock_irqsave(&bp->lock, flags); | ||
564 | |||
565 | tx_status = dnet_readl(bp, TX_STATUS); | ||
566 | |||
567 | bufp = (unsigned int *)(((unsigned long) skb->data) & ~0x3UL); | ||
568 | wrsz = (u32) skb->len + 3; | ||
569 | wrsz += ((unsigned long) skb->data) & 0x3; | ||
570 | wrsz >>= 2; | ||
571 | tx_cmd = ((((unsigned long)(skb->data)) & 0x03) << 16) | (u32) skb->len; | ||
572 | |||
573 | /* check if there is enough room for the current frame */ | ||
574 | if (wrsz < (DNET_FIFO_SIZE - dnet_readl(bp, TX_FIFO_WCNT))) { | ||
575 | for (i = 0; i < wrsz; i++) | ||
576 | dnet_writel(bp, *bufp++, TX_DATA_FIFO); | ||
577 | |||
578 | /* | ||
579 | * inform MAC that a packet's written and ready to be | ||
580 | * shipped out | ||
581 | */ | ||
582 | dnet_writel(bp, tx_cmd, TX_LEN_FIFO); | ||
583 | } | ||
584 | |||
585 | if (dnet_readl(bp, TX_FIFO_WCNT) > DNET_FIFO_TX_DATA_AF_TH) { | ||
586 | netif_stop_queue(dev); | ||
587 | tx_status = dnet_readl(bp, INTR_SRC); | ||
588 | irq_enable = dnet_readl(bp, INTR_ENB); | ||
589 | irq_enable |= DNET_INTR_ENB_TX_FIFOAE; | ||
590 | dnet_writel(bp, irq_enable, INTR_ENB); | ||
591 | } | ||
592 | |||
593 | /* free the buffer */ | ||
594 | dev_kfree_skb(skb); | ||
595 | |||
596 | spin_unlock_irqrestore(&bp->lock, flags); | ||
597 | |||
598 | dev->trans_start = jiffies; | ||
599 | |||
600 | return 0; | ||
601 | } | ||
602 | |||
603 | static void dnet_reset_hw(struct dnet *bp) | ||
604 | { | ||
605 | /* put ts_mac in IDLE state i.e. disable rx/tx */ | ||
606 | dnet_writew_mac(bp, DNET_INTERNAL_MODE_REG, DNET_INTERNAL_MODE_FCEN); | ||
607 | |||
608 | /* | ||
609 | * RX FIFO almost full threshold: only cmd FIFO almost full is | ||
610 | * implemented for RX side | ||
611 | */ | ||
612 | dnet_writel(bp, DNET_FIFO_RX_CMD_AF_TH, RX_FIFO_TH); | ||
613 | /* | ||
614 | * TX FIFO almost empty threshold: only data FIFO almost empty | ||
615 | * is implemented for TX side | ||
616 | */ | ||
617 | dnet_writel(bp, DNET_FIFO_TX_DATA_AE_TH, TX_FIFO_TH); | ||
618 | |||
619 | /* flush rx/tx fifos */ | ||
620 | dnet_writel(bp, DNET_SYS_CTL_RXFIFOFLUSH | DNET_SYS_CTL_TXFIFOFLUSH, | ||
621 | SYS_CTL); | ||
622 | msleep(1); | ||
623 | dnet_writel(bp, 0, SYS_CTL); | ||
624 | } | ||
625 | |||
626 | static void dnet_init_hw(struct dnet *bp) | ||
627 | { | ||
628 | u32 config; | ||
629 | |||
630 | dnet_reset_hw(bp); | ||
631 | __dnet_set_hwaddr(bp); | ||
632 | |||
633 | config = dnet_readw_mac(bp, DNET_INTERNAL_RXTX_CONTROL_REG); | ||
634 | |||
635 | if (bp->dev->flags & IFF_PROMISC) | ||
636 | /* Copy All Frames */ | ||
637 | config |= DNET_INTERNAL_RXTX_CONTROL_ENPROMISC; | ||
638 | if (!(bp->dev->flags & IFF_BROADCAST)) | ||
639 | /* No BroadCast */ | ||
640 | config |= DNET_INTERNAL_RXTX_CONTROL_RXMULTICAST; | ||
641 | |||
642 | config |= DNET_INTERNAL_RXTX_CONTROL_RXPAUSE | | ||
643 | DNET_INTERNAL_RXTX_CONTROL_RXBROADCAST | | ||
644 | DNET_INTERNAL_RXTX_CONTROL_DROPCONTROL | | ||
645 | DNET_INTERNAL_RXTX_CONTROL_DISCFXFCS; | ||
646 | |||
647 | dnet_writew_mac(bp, DNET_INTERNAL_RXTX_CONTROL_REG, config); | ||
648 | |||
649 | /* clear irq before enabling them */ | ||
650 | config = dnet_readl(bp, INTR_SRC); | ||
651 | |||
652 | /* enable RX/TX interrupt, recv packet ready interrupt */ | ||
653 | dnet_writel(bp, DNET_INTR_ENB_GLOBAL_ENABLE | DNET_INTR_ENB_RX_SUMMARY | | ||
654 | DNET_INTR_ENB_TX_SUMMARY | DNET_INTR_ENB_RX_FIFOERR | | ||
655 | DNET_INTR_ENB_RX_ERROR | DNET_INTR_ENB_RX_FIFOFULL | | ||
656 | DNET_INTR_ENB_TX_FIFOFULL | DNET_INTR_ENB_TX_DISCFRM | | ||
657 | DNET_INTR_ENB_RX_PKTRDY, INTR_ENB); | ||
658 | } | ||
659 | |||
660 | static int dnet_open(struct net_device *dev) | ||
661 | { | ||
662 | struct dnet *bp = netdev_priv(dev); | ||
663 | |||
664 | /* if the phy is not yet register, retry later */ | ||
665 | if (!bp->phy_dev) | ||
666 | return -EAGAIN; | ||
667 | |||
668 | if (!is_valid_ether_addr(dev->dev_addr)) | ||
669 | return -EADDRNOTAVAIL; | ||
670 | |||
671 | napi_enable(&bp->napi); | ||
672 | dnet_init_hw(bp); | ||
673 | |||
674 | phy_start_aneg(bp->phy_dev); | ||
675 | |||
676 | /* schedule a link state check */ | ||
677 | phy_start(bp->phy_dev); | ||
678 | |||
679 | netif_start_queue(dev); | ||
680 | |||
681 | return 0; | ||
682 | } | ||
683 | |||
684 | static int dnet_close(struct net_device *dev) | ||
685 | { | ||
686 | struct dnet *bp = netdev_priv(dev); | ||
687 | |||
688 | netif_stop_queue(dev); | ||
689 | napi_disable(&bp->napi); | ||
690 | |||
691 | if (bp->phy_dev) | ||
692 | phy_stop(bp->phy_dev); | ||
693 | |||
694 | dnet_reset_hw(bp); | ||
695 | netif_carrier_off(dev); | ||
696 | |||
697 | return 0; | ||
698 | } | ||
699 | |||
700 | static inline void dnet_print_pretty_hwstats(struct dnet_stats *hwstat) | ||
701 | { | ||
702 | pr_debug("%s\n", __func__); | ||
703 | pr_debug("----------------------------- RX statistics " | ||
704 | "-------------------------------\n"); | ||
705 | pr_debug("RX_PKT_IGNR_CNT %-8x\n", hwstat->rx_pkt_ignr); | ||
706 | pr_debug("RX_LEN_CHK_ERR_CNT %-8x\n", hwstat->rx_len_chk_err); | ||
707 | pr_debug("RX_LNG_FRM_CNT %-8x\n", hwstat->rx_lng_frm); | ||
708 | pr_debug("RX_SHRT_FRM_CNT %-8x\n", hwstat->rx_shrt_frm); | ||
709 | pr_debug("RX_IPG_VIOL_CNT %-8x\n", hwstat->rx_ipg_viol); | ||
710 | pr_debug("RX_CRC_ERR_CNT %-8x\n", hwstat->rx_crc_err); | ||
711 | pr_debug("RX_OK_PKT_CNT %-8x\n", hwstat->rx_ok_pkt); | ||
712 | pr_debug("RX_CTL_FRM_CNT %-8x\n", hwstat->rx_ctl_frm); | ||
713 | pr_debug("RX_PAUSE_FRM_CNT %-8x\n", hwstat->rx_pause_frm); | ||
714 | pr_debug("RX_MULTICAST_CNT %-8x\n", hwstat->rx_multicast); | ||
715 | pr_debug("RX_BROADCAST_CNT %-8x\n", hwstat->rx_broadcast); | ||
716 | pr_debug("RX_VLAN_TAG_CNT %-8x\n", hwstat->rx_vlan_tag); | ||
717 | pr_debug("RX_PRE_SHRINK_CNT %-8x\n", hwstat->rx_pre_shrink); | ||
718 | pr_debug("RX_DRIB_NIB_CNT %-8x\n", hwstat->rx_drib_nib); | ||
719 | pr_debug("RX_UNSUP_OPCD_CNT %-8x\n", hwstat->rx_unsup_opcd); | ||
720 | pr_debug("RX_BYTE_CNT %-8x\n", hwstat->rx_byte); | ||
721 | pr_debug("----------------------------- TX statistics " | ||
722 | "-------------------------------\n"); | ||
723 | pr_debug("TX_UNICAST_CNT %-8x\n", hwstat->tx_unicast); | ||
724 | pr_debug("TX_PAUSE_FRM_CNT %-8x\n", hwstat->tx_pause_frm); | ||
725 | pr_debug("TX_MULTICAST_CNT %-8x\n", hwstat->tx_multicast); | ||
726 | pr_debug("TX_BRDCAST_CNT %-8x\n", hwstat->tx_brdcast); | ||
727 | pr_debug("TX_VLAN_TAG_CNT %-8x\n", hwstat->tx_vlan_tag); | ||
728 | pr_debug("TX_BAD_FCS_CNT %-8x\n", hwstat->tx_bad_fcs); | ||
729 | pr_debug("TX_JUMBO_CNT %-8x\n", hwstat->tx_jumbo); | ||
730 | pr_debug("TX_BYTE_CNT %-8x\n", hwstat->tx_byte); | ||
731 | } | ||
732 | |||
733 | static struct net_device_stats *dnet_get_stats(struct net_device *dev) | ||
734 | { | ||
735 | |||
736 | struct dnet *bp = netdev_priv(dev); | ||
737 | struct net_device_stats *nstat = &dev->stats; | ||
738 | struct dnet_stats *hwstat = &bp->hw_stats; | ||
739 | |||
740 | /* read stats from hardware */ | ||
741 | dnet_update_stats(bp); | ||
742 | |||
743 | /* Convert HW stats into netdevice stats */ | ||
744 | nstat->rx_errors = (hwstat->rx_len_chk_err + | ||
745 | hwstat->rx_lng_frm + hwstat->rx_shrt_frm + | ||
746 | /* ignore IGP violation error | ||
747 | hwstat->rx_ipg_viol + */ | ||
748 | hwstat->rx_crc_err + | ||
749 | hwstat->rx_pre_shrink + | ||
750 | hwstat->rx_drib_nib + hwstat->rx_unsup_opcd); | ||
751 | nstat->tx_errors = hwstat->tx_bad_fcs; | ||
752 | nstat->rx_length_errors = (hwstat->rx_len_chk_err + | ||
753 | hwstat->rx_lng_frm + | ||
754 | hwstat->rx_shrt_frm + hwstat->rx_pre_shrink); | ||
755 | nstat->rx_crc_errors = hwstat->rx_crc_err; | ||
756 | nstat->rx_frame_errors = hwstat->rx_pre_shrink + hwstat->rx_drib_nib; | ||
757 | nstat->rx_packets = hwstat->rx_ok_pkt; | ||
758 | nstat->tx_packets = (hwstat->tx_unicast + | ||
759 | hwstat->tx_multicast + hwstat->tx_brdcast); | ||
760 | nstat->rx_bytes = hwstat->rx_byte; | ||
761 | nstat->tx_bytes = hwstat->tx_byte; | ||
762 | nstat->multicast = hwstat->rx_multicast; | ||
763 | nstat->rx_missed_errors = hwstat->rx_pkt_ignr; | ||
764 | |||
765 | dnet_print_pretty_hwstats(hwstat); | ||
766 | |||
767 | return nstat; | ||
768 | } | ||
769 | |||
770 | static int dnet_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) | ||
771 | { | ||
772 | struct dnet *bp = netdev_priv(dev); | ||
773 | struct phy_device *phydev = bp->phy_dev; | ||
774 | |||
775 | if (!phydev) | ||
776 | return -ENODEV; | ||
777 | |||
778 | return phy_ethtool_gset(phydev, cmd); | ||
779 | } | ||
780 | |||
781 | static int dnet_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) | ||
782 | { | ||
783 | struct dnet *bp = netdev_priv(dev); | ||
784 | struct phy_device *phydev = bp->phy_dev; | ||
785 | |||
786 | if (!phydev) | ||
787 | return -ENODEV; | ||
788 | |||
789 | return phy_ethtool_sset(phydev, cmd); | ||
790 | } | ||
791 | |||
792 | static int dnet_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) | ||
793 | { | ||
794 | struct dnet *bp = netdev_priv(dev); | ||
795 | struct phy_device *phydev = bp->phy_dev; | ||
796 | |||
797 | if (!netif_running(dev)) | ||
798 | return -EINVAL; | ||
799 | |||
800 | if (!phydev) | ||
801 | return -ENODEV; | ||
802 | |||
803 | return phy_mii_ioctl(phydev, if_mii(rq), cmd); | ||
804 | } | ||
805 | |||
806 | static void dnet_get_drvinfo(struct net_device *dev, | ||
807 | struct ethtool_drvinfo *info) | ||
808 | { | ||
809 | strcpy(info->driver, DRV_NAME); | ||
810 | strcpy(info->version, DRV_VERSION); | ||
811 | strcpy(info->bus_info, "0"); | ||
812 | } | ||
813 | |||
814 | static const struct ethtool_ops dnet_ethtool_ops = { | ||
815 | .get_settings = dnet_get_settings, | ||
816 | .set_settings = dnet_set_settings, | ||
817 | .get_drvinfo = dnet_get_drvinfo, | ||
818 | .get_link = ethtool_op_get_link, | ||
819 | }; | ||
820 | |||
821 | static const struct net_device_ops dnet_netdev_ops = { | ||
822 | .ndo_open = dnet_open, | ||
823 | .ndo_stop = dnet_close, | ||
824 | .ndo_get_stats = dnet_get_stats, | ||
825 | .ndo_start_xmit = dnet_start_xmit, | ||
826 | .ndo_do_ioctl = dnet_ioctl, | ||
827 | .ndo_set_mac_address = eth_mac_addr, | ||
828 | .ndo_validate_addr = eth_validate_addr, | ||
829 | .ndo_change_mtu = eth_change_mtu, | ||
830 | }; | ||
831 | |||
832 | static int __devinit dnet_probe(struct platform_device *pdev) | ||
833 | { | ||
834 | struct resource *res; | ||
835 | struct net_device *dev; | ||
836 | struct dnet *bp; | ||
837 | struct phy_device *phydev; | ||
838 | int err = -ENXIO; | ||
839 | unsigned int mem_base, mem_size, irq; | ||
840 | |||
841 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | ||
842 | if (!res) { | ||
843 | dev_err(&pdev->dev, "no mmio resource defined\n"); | ||
844 | goto err_out; | ||
845 | } | ||
846 | mem_base = res->start; | ||
847 | mem_size = resource_size(res); | ||
848 | irq = platform_get_irq(pdev, 0); | ||
849 | |||
850 | if (!request_mem_region(mem_base, mem_size, DRV_NAME)) { | ||
851 | dev_err(&pdev->dev, "no memory region available\n"); | ||
852 | err = -EBUSY; | ||
853 | goto err_out; | ||
854 | } | ||
855 | |||
856 | err = -ENOMEM; | ||
857 | dev = alloc_etherdev(sizeof(*bp)); | ||
858 | if (!dev) { | ||
859 | dev_err(&pdev->dev, "etherdev alloc failed, aborting.\n"); | ||
860 | goto err_out; | ||
861 | } | ||
862 | |||
863 | /* TODO: Actually, we have some interesting features... */ | ||
864 | dev->features |= 0; | ||
865 | |||
866 | bp = netdev_priv(dev); | ||
867 | bp->dev = dev; | ||
868 | |||
869 | SET_NETDEV_DEV(dev, &pdev->dev); | ||
870 | |||
871 | spin_lock_init(&bp->lock); | ||
872 | |||
873 | bp->regs = ioremap(mem_base, mem_size); | ||
874 | if (!bp->regs) { | ||
875 | dev_err(&pdev->dev, "failed to map registers, aborting.\n"); | ||
876 | err = -ENOMEM; | ||
877 | goto err_out_free_dev; | ||
878 | } | ||
879 | |||
880 | dev->irq = irq; | ||
881 | err = request_irq(dev->irq, dnet_interrupt, 0, DRV_NAME, dev); | ||
882 | if (err) { | ||
883 | dev_err(&pdev->dev, "Unable to request IRQ %d (error %d)\n", | ||
884 | irq, err); | ||
885 | goto err_out_iounmap; | ||
886 | } | ||
887 | |||
888 | dev->netdev_ops = &dnet_netdev_ops; | ||
889 | netif_napi_add(dev, &bp->napi, dnet_poll, 64); | ||
890 | dev->ethtool_ops = &dnet_ethtool_ops; | ||
891 | |||
892 | dev->base_addr = (unsigned long)bp->regs; | ||
893 | |||
894 | bp->capabilities = dnet_readl(bp, VERCAPS) & DNET_CAPS_MASK; | ||
895 | |||
896 | dnet_get_hwaddr(bp); | ||
897 | |||
898 | if (!is_valid_ether_addr(dev->dev_addr)) { | ||
899 | /* choose a random ethernet address */ | ||
900 | random_ether_addr(dev->dev_addr); | ||
901 | __dnet_set_hwaddr(bp); | ||
902 | } | ||
903 | |||
904 | err = register_netdev(dev); | ||
905 | if (err) { | ||
906 | dev_err(&pdev->dev, "Cannot register net device, aborting.\n"); | ||
907 | goto err_out_free_irq; | ||
908 | } | ||
909 | |||
910 | /* register the PHY board fixup (for Marvell 88E1111) */ | ||
911 | err = phy_register_fixup_for_uid(0x01410cc0, 0xfffffff0, | ||
912 | dnet_phy_marvell_fixup); | ||
913 | /* we can live without it, so just issue a warning */ | ||
914 | if (err) | ||
915 | dev_warn(&pdev->dev, "Cannot register PHY board fixup.\n"); | ||
916 | |||
917 | if (dnet_mii_init(bp) != 0) | ||
918 | goto err_out_unregister_netdev; | ||
919 | |||
920 | dev_info(&pdev->dev, "Dave DNET at 0x%p (0x%08x) irq %d %pM\n", | ||
921 | bp->regs, mem_base, dev->irq, dev->dev_addr); | ||
922 | dev_info(&pdev->dev, "has %smdio, %sirq, %sgigabit, %sdma \n", | ||
923 | (bp->capabilities & DNET_HAS_MDIO) ? "" : "no ", | ||
924 | (bp->capabilities & DNET_HAS_IRQ) ? "" : "no ", | ||
925 | (bp->capabilities & DNET_HAS_GIGABIT) ? "" : "no ", | ||
926 | (bp->capabilities & DNET_HAS_DMA) ? "" : "no "); | ||
927 | phydev = bp->phy_dev; | ||
928 | dev_info(&pdev->dev, "attached PHY driver [%s] " | ||
929 | "(mii_bus:phy_addr=%s, irq=%d)\n", | ||
930 | phydev->drv->name, phydev->dev.bus_id, phydev->irq); | ||
931 | |||
932 | return 0; | ||
933 | |||
934 | err_out_unregister_netdev: | ||
935 | unregister_netdev(dev); | ||
936 | err_out_free_irq: | ||
937 | free_irq(dev->irq, dev); | ||
938 | err_out_iounmap: | ||
939 | iounmap(bp->regs); | ||
940 | err_out_free_dev: | ||
941 | free_netdev(dev); | ||
942 | err_out: | ||
943 | return err; | ||
944 | } | ||
945 | |||
946 | static int __devexit dnet_remove(struct platform_device *pdev) | ||
947 | { | ||
948 | |||
949 | struct net_device *dev; | ||
950 | struct dnet *bp; | ||
951 | |||
952 | dev = platform_get_drvdata(pdev); | ||
953 | |||
954 | if (dev) { | ||
955 | bp = netdev_priv(dev); | ||
956 | if (bp->phy_dev) | ||
957 | phy_disconnect(bp->phy_dev); | ||
958 | mdiobus_unregister(bp->mii_bus); | ||
959 | kfree(bp->mii_bus->irq); | ||
960 | mdiobus_free(bp->mii_bus); | ||
961 | unregister_netdev(dev); | ||
962 | free_irq(dev->irq, dev); | ||
963 | iounmap(bp->regs); | ||
964 | free_netdev(dev); | ||
965 | } | ||
966 | |||
967 | return 0; | ||
968 | } | ||
969 | |||
970 | static struct platform_driver dnet_driver = { | ||
971 | .probe = dnet_probe, | ||
972 | .remove = __devexit_p(dnet_remove), | ||
973 | .driver = { | ||
974 | .name = "dnet", | ||
975 | }, | ||
976 | }; | ||
977 | |||
978 | static int __init dnet_init(void) | ||
979 | { | ||
980 | return platform_driver_register(&dnet_driver); | ||
981 | } | ||
982 | |||
983 | static void __exit dnet_exit(void) | ||
984 | { | ||
985 | platform_driver_unregister(&dnet_driver); | ||
986 | } | ||
987 | |||
988 | module_init(dnet_init); | ||
989 | module_exit(dnet_exit); | ||
990 | |||
991 | MODULE_LICENSE("GPL"); | ||
992 | MODULE_DESCRIPTION("Dave DNET Ethernet driver"); | ||
993 | MODULE_AUTHOR("Ilya Yanok <yanok@emcraft.com>, " | ||
994 | "Matteo Vit <matteo.vit@dave.eu>"); | ||
diff --git a/drivers/net/dnet.h b/drivers/net/dnet.h new file mode 100644 index 000000000000..37f5b30fa78b --- /dev/null +++ b/drivers/net/dnet.h | |||
@@ -0,0 +1,225 @@ | |||
1 | /* | ||
2 | * Dave DNET Ethernet Controller driver | ||
3 | * | ||
4 | * Copyright (C) 2008 Dave S.r.l. <www.dave.eu> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | #ifndef _DNET_H | ||
11 | #define _DNET_H | ||
12 | |||
13 | #define DRV_NAME "dnet" | ||
14 | #define DRV_VERSION "0.9.1" | ||
15 | #define PFX DRV_NAME ": " | ||
16 | |||
17 | /* Register access macros */ | ||
18 | #define dnet_writel(port, value, reg) \ | ||
19 | writel((value), (port)->regs + DNET_##reg) | ||
20 | #define dnet_readl(port, reg) readl((port)->regs + DNET_##reg) | ||
21 | |||
22 | /* ALL DNET FIFO REGISTERS */ | ||
23 | #define DNET_RX_LEN_FIFO 0x000 /* RX_LEN_FIFO */ | ||
24 | #define DNET_RX_DATA_FIFO 0x004 /* RX_DATA_FIFO */ | ||
25 | #define DNET_TX_LEN_FIFO 0x008 /* TX_LEN_FIFO */ | ||
26 | #define DNET_TX_DATA_FIFO 0x00C /* TX_DATA_FIFO */ | ||
27 | |||
28 | /* ALL DNET CONTROL/STATUS REGISTERS OFFSETS */ | ||
29 | #define DNET_VERCAPS 0x100 /* VERCAPS */ | ||
30 | #define DNET_INTR_SRC 0x104 /* INTR_SRC */ | ||
31 | #define DNET_INTR_ENB 0x108 /* INTR_ENB */ | ||
32 | #define DNET_RX_STATUS 0x10C /* RX_STATUS */ | ||
33 | #define DNET_TX_STATUS 0x110 /* TX_STATUS */ | ||
34 | #define DNET_RX_FRAMES_CNT 0x114 /* RX_FRAMES_CNT */ | ||
35 | #define DNET_TX_FRAMES_CNT 0x118 /* TX_FRAMES_CNT */ | ||
36 | #define DNET_RX_FIFO_TH 0x11C /* RX_FIFO_TH */ | ||
37 | #define DNET_TX_FIFO_TH 0x120 /* TX_FIFO_TH */ | ||
38 | #define DNET_SYS_CTL 0x124 /* SYS_CTL */ | ||
39 | #define DNET_PAUSE_TMR 0x128 /* PAUSE_TMR */ | ||
40 | #define DNET_RX_FIFO_WCNT 0x12C /* RX_FIFO_WCNT */ | ||
41 | #define DNET_TX_FIFO_WCNT 0x130 /* TX_FIFO_WCNT */ | ||
42 | |||
43 | /* ALL DNET MAC REGISTERS */ | ||
44 | #define DNET_MACREG_DATA 0x200 /* Mac-Reg Data */ | ||
45 | #define DNET_MACREG_ADDR 0x204 /* Mac-Reg Addr */ | ||
46 | |||
47 | /* ALL DNET RX STATISTICS COUNTERS */ | ||
48 | #define DNET_RX_PKT_IGNR_CNT 0x300 | ||
49 | #define DNET_RX_LEN_CHK_ERR_CNT 0x304 | ||
50 | #define DNET_RX_LNG_FRM_CNT 0x308 | ||
51 | #define DNET_RX_SHRT_FRM_CNT 0x30C | ||
52 | #define DNET_RX_IPG_VIOL_CNT 0x310 | ||
53 | #define DNET_RX_CRC_ERR_CNT 0x314 | ||
54 | #define DNET_RX_OK_PKT_CNT 0x318 | ||
55 | #define DNET_RX_CTL_FRM_CNT 0x31C | ||
56 | #define DNET_RX_PAUSE_FRM_CNT 0x320 | ||
57 | #define DNET_RX_MULTICAST_CNT 0x324 | ||
58 | #define DNET_RX_BROADCAST_CNT 0x328 | ||
59 | #define DNET_RX_VLAN_TAG_CNT 0x32C | ||
60 | #define DNET_RX_PRE_SHRINK_CNT 0x330 | ||
61 | #define DNET_RX_DRIB_NIB_CNT 0x334 | ||
62 | #define DNET_RX_UNSUP_OPCD_CNT 0x338 | ||
63 | #define DNET_RX_BYTE_CNT 0x33C | ||
64 | |||
65 | /* DNET TX STATISTICS COUNTERS */ | ||
66 | #define DNET_TX_UNICAST_CNT 0x400 | ||
67 | #define DNET_TX_PAUSE_FRM_CNT 0x404 | ||
68 | #define DNET_TX_MULTICAST_CNT 0x408 | ||
69 | #define DNET_TX_BRDCAST_CNT 0x40C | ||
70 | #define DNET_TX_VLAN_TAG_CNT 0x410 | ||
71 | #define DNET_TX_BAD_FCS_CNT 0x414 | ||
72 | #define DNET_TX_JUMBO_CNT 0x418 | ||
73 | #define DNET_TX_BYTE_CNT 0x41C | ||
74 | |||
75 | /* SOME INTERNAL MAC-CORE REGISTER */ | ||
76 | #define DNET_INTERNAL_MODE_REG 0x0 | ||
77 | #define DNET_INTERNAL_RXTX_CONTROL_REG 0x2 | ||
78 | #define DNET_INTERNAL_MAX_PKT_SIZE_REG 0x4 | ||
79 | #define DNET_INTERNAL_IGP_REG 0x8 | ||
80 | #define DNET_INTERNAL_MAC_ADDR_0_REG 0xa | ||
81 | #define DNET_INTERNAL_MAC_ADDR_1_REG 0xc | ||
82 | #define DNET_INTERNAL_MAC_ADDR_2_REG 0xe | ||
83 | #define DNET_INTERNAL_TX_RX_STS_REG 0x12 | ||
84 | #define DNET_INTERNAL_GMII_MNG_CTL_REG 0x14 | ||
85 | #define DNET_INTERNAL_GMII_MNG_DAT_REG 0x16 | ||
86 | |||
87 | #define DNET_INTERNAL_GMII_MNG_CMD_FIN (1 << 14) | ||
88 | |||
89 | #define DNET_INTERNAL_WRITE (1 << 31) | ||
90 | |||
91 | /* MAC-CORE REGISTER FIELDS */ | ||
92 | |||
93 | /* MAC-CORE MODE REGISTER FIELDS */ | ||
94 | #define DNET_INTERNAL_MODE_GBITEN (1 << 0) | ||
95 | #define DNET_INTERNAL_MODE_FCEN (1 << 1) | ||
96 | #define DNET_INTERNAL_MODE_RXEN (1 << 2) | ||
97 | #define DNET_INTERNAL_MODE_TXEN (1 << 3) | ||
98 | |||
99 | /* MAC-CORE RXTX CONTROL REGISTER FIELDS */ | ||
100 | #define DNET_INTERNAL_RXTX_CONTROL_RXSHORTFRAME (1 << 8) | ||
101 | #define DNET_INTERNAL_RXTX_CONTROL_RXBROADCAST (1 << 7) | ||
102 | #define DNET_INTERNAL_RXTX_CONTROL_RXMULTICAST (1 << 4) | ||
103 | #define DNET_INTERNAL_RXTX_CONTROL_RXPAUSE (1 << 3) | ||
104 | #define DNET_INTERNAL_RXTX_CONTROL_DISTXFCS (1 << 2) | ||
105 | #define DNET_INTERNAL_RXTX_CONTROL_DISCFXFCS (1 << 1) | ||
106 | #define DNET_INTERNAL_RXTX_CONTROL_ENPROMISC (1 << 0) | ||
107 | #define DNET_INTERNAL_RXTX_CONTROL_DROPCONTROL (1 << 6) | ||
108 | #define DNET_INTERNAL_RXTX_CONTROL_ENABLEHALFDUP (1 << 5) | ||
109 | |||
110 | /* SYSTEM CONTROL REGISTER FIELDS */ | ||
111 | #define DNET_SYS_CTL_IGNORENEXTPKT (1 << 0) | ||
112 | #define DNET_SYS_CTL_SENDPAUSE (1 << 2) | ||
113 | #define DNET_SYS_CTL_RXFIFOFLUSH (1 << 3) | ||
114 | #define DNET_SYS_CTL_TXFIFOFLUSH (1 << 4) | ||
115 | |||
116 | /* TX STATUS REGISTER FIELDS */ | ||
117 | #define DNET_TX_STATUS_FIFO_ALMOST_EMPTY (1 << 2) | ||
118 | #define DNET_TX_STATUS_FIFO_ALMOST_FULL (1 << 1) | ||
119 | |||
120 | /* INTERRUPT SOURCE REGISTER FIELDS */ | ||
121 | #define DNET_INTR_SRC_TX_PKTSENT (1 << 0) | ||
122 | #define DNET_INTR_SRC_TX_FIFOAF (1 << 1) | ||
123 | #define DNET_INTR_SRC_TX_FIFOAE (1 << 2) | ||
124 | #define DNET_INTR_SRC_TX_DISCFRM (1 << 3) | ||
125 | #define DNET_INTR_SRC_TX_FIFOFULL (1 << 4) | ||
126 | #define DNET_INTR_SRC_RX_CMDFIFOAF (1 << 8) | ||
127 | #define DNET_INTR_SRC_RX_CMDFIFOFF (1 << 9) | ||
128 | #define DNET_INTR_SRC_RX_DATAFIFOFF (1 << 10) | ||
129 | #define DNET_INTR_SRC_TX_SUMMARY (1 << 16) | ||
130 | #define DNET_INTR_SRC_RX_SUMMARY (1 << 17) | ||
131 | #define DNET_INTR_SRC_PHY (1 << 19) | ||
132 | |||
133 | /* INTERRUPT ENABLE REGISTER FIELDS */ | ||
134 | #define DNET_INTR_ENB_TX_PKTSENT (1 << 0) | ||
135 | #define DNET_INTR_ENB_TX_FIFOAF (1 << 1) | ||
136 | #define DNET_INTR_ENB_TX_FIFOAE (1 << 2) | ||
137 | #define DNET_INTR_ENB_TX_DISCFRM (1 << 3) | ||
138 | #define DNET_INTR_ENB_TX_FIFOFULL (1 << 4) | ||
139 | #define DNET_INTR_ENB_RX_PKTRDY (1 << 8) | ||
140 | #define DNET_INTR_ENB_RX_FIFOAF (1 << 9) | ||
141 | #define DNET_INTR_ENB_RX_FIFOERR (1 << 10) | ||
142 | #define DNET_INTR_ENB_RX_ERROR (1 << 11) | ||
143 | #define DNET_INTR_ENB_RX_FIFOFULL (1 << 12) | ||
144 | #define DNET_INTR_ENB_RX_FIFOAE (1 << 13) | ||
145 | #define DNET_INTR_ENB_TX_SUMMARY (1 << 16) | ||
146 | #define DNET_INTR_ENB_RX_SUMMARY (1 << 17) | ||
147 | #define DNET_INTR_ENB_GLOBAL_ENABLE (1 << 18) | ||
148 | |||
149 | /* default values: | ||
150 | * almost empty = less than one full sized ethernet frame (no jumbo) inside | ||
151 | * the fifo almost full = can write less than one full sized ethernet frame | ||
152 | * (no jumbo) inside the fifo | ||
153 | */ | ||
154 | #define DNET_CFG_TX_FIFO_FULL_THRES 25 | ||
155 | #define DNET_CFG_RX_FIFO_FULL_THRES 20 | ||
156 | |||
157 | /* | ||
158 | * Capabilities. Used by the driver to know the capabilities that the ethernet | ||
159 | * controller inside the FPGA have. | ||
160 | */ | ||
161 | |||
162 | #define DNET_HAS_MDIO (1 << 0) | ||
163 | #define DNET_HAS_IRQ (1 << 1) | ||
164 | #define DNET_HAS_GIGABIT (1 << 2) | ||
165 | #define DNET_HAS_DMA (1 << 3) | ||
166 | |||
167 | #define DNET_HAS_MII (1 << 4) /* or GMII */ | ||
168 | #define DNET_HAS_RMII (1 << 5) /* or RGMII */ | ||
169 | |||
170 | #define DNET_CAPS_MASK 0xFFFF | ||
171 | |||
172 | #define DNET_FIFO_SIZE 1024 /* 1K x 32 bit */ | ||
173 | #define DNET_FIFO_TX_DATA_AF_TH (DNET_FIFO_SIZE - 384) /* 384 = 1536 / 4 */ | ||
174 | #define DNET_FIFO_TX_DATA_AE_TH 384 | ||
175 | |||
176 | #define DNET_FIFO_RX_CMD_AF_TH (1 << 16) /* just one frame inside the FIFO */ | ||
177 | |||
178 | /* | ||
179 | * Hardware-collected statistics. | ||
180 | */ | ||
181 | struct dnet_stats { | ||
182 | u32 rx_pkt_ignr; | ||
183 | u32 rx_len_chk_err; | ||
184 | u32 rx_lng_frm; | ||
185 | u32 rx_shrt_frm; | ||
186 | u32 rx_ipg_viol; | ||
187 | u32 rx_crc_err; | ||
188 | u32 rx_ok_pkt; | ||
189 | u32 rx_ctl_frm; | ||
190 | u32 rx_pause_frm; | ||
191 | u32 rx_multicast; | ||
192 | u32 rx_broadcast; | ||
193 | u32 rx_vlan_tag; | ||
194 | u32 rx_pre_shrink; | ||
195 | u32 rx_drib_nib; | ||
196 | u32 rx_unsup_opcd; | ||
197 | u32 rx_byte; | ||
198 | u32 tx_unicast; | ||
199 | u32 tx_pause_frm; | ||
200 | u32 tx_multicast; | ||
201 | u32 tx_brdcast; | ||
202 | u32 tx_vlan_tag; | ||
203 | u32 tx_bad_fcs; | ||
204 | u32 tx_jumbo; | ||
205 | u32 tx_byte; | ||
206 | }; | ||
207 | |||
208 | struct dnet { | ||
209 | void __iomem *regs; | ||
210 | spinlock_t lock; | ||
211 | struct platform_device *pdev; | ||
212 | struct net_device *dev; | ||
213 | struct dnet_stats hw_stats; | ||
214 | unsigned int capabilities; /* read from FPGA */ | ||
215 | struct napi_struct napi; | ||
216 | |||
217 | /* PHY stuff */ | ||
218 | struct mii_bus *mii_bus; | ||
219 | struct phy_device *phy_dev; | ||
220 | unsigned int link; | ||
221 | unsigned int speed; | ||
222 | unsigned int duplex; | ||
223 | }; | ||
224 | |||
225 | #endif /* _DNET_H */ | ||
diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c index 87a706694fb3..6fd7aa61736e 100644 --- a/drivers/net/ibm_newemac/core.c +++ b/drivers/net/ibm_newemac/core.c | |||
@@ -2594,6 +2594,9 @@ static int __devinit emac_init_config(struct emac_instance *dev) | |||
2594 | if (of_device_is_compatible(np, "ibm,emac-460ex") || | 2594 | if (of_device_is_compatible(np, "ibm,emac-460ex") || |
2595 | of_device_is_compatible(np, "ibm,emac-460gt")) | 2595 | of_device_is_compatible(np, "ibm,emac-460gt")) |
2596 | dev->features |= EMAC_FTR_460EX_PHY_CLK_FIX; | 2596 | dev->features |= EMAC_FTR_460EX_PHY_CLK_FIX; |
2597 | if (of_device_is_compatible(np, "ibm,emac-405ex") || | ||
2598 | of_device_is_compatible(np, "ibm,emac-405exr")) | ||
2599 | dev->features |= EMAC_FTR_440EP_PHY_CLK_FIX; | ||
2597 | } else if (of_device_is_compatible(np, "ibm,emac4")) { | 2600 | } else if (of_device_is_compatible(np, "ibm,emac4")) { |
2598 | dev->features |= EMAC_FTR_EMAC4; | 2601 | dev->features |= EMAC_FTR_EMAC4; |
2599 | if (of_device_is_compatible(np, "ibm,emac-440gx")) | 2602 | if (of_device_is_compatible(np, "ibm,emac-440gx")) |
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index a50db5398fa5..9dd13ad12ce4 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -1023,11 +1023,10 @@ static int __devinit igb_probe(struct pci_dev *pdev, | |||
1023 | struct net_device *netdev; | 1023 | struct net_device *netdev; |
1024 | struct igb_adapter *adapter; | 1024 | struct igb_adapter *adapter; |
1025 | struct e1000_hw *hw; | 1025 | struct e1000_hw *hw; |
1026 | struct pci_dev *us_dev; | ||
1027 | const struct e1000_info *ei = igb_info_tbl[ent->driver_data]; | 1026 | const struct e1000_info *ei = igb_info_tbl[ent->driver_data]; |
1028 | unsigned long mmio_start, mmio_len; | 1027 | unsigned long mmio_start, mmio_len; |
1029 | int i, err, pci_using_dac, pos; | 1028 | int i, err, pci_using_dac; |
1030 | u16 eeprom_data = 0, state = 0; | 1029 | u16 eeprom_data = 0; |
1031 | u16 eeprom_apme_mask = IGB_EEPROM_APME; | 1030 | u16 eeprom_apme_mask = IGB_EEPROM_APME; |
1032 | u32 part_num; | 1031 | u32 part_num; |
1033 | int bars, need_ioport; | 1032 | int bars, need_ioport; |
@@ -1062,27 +1061,6 @@ static int __devinit igb_probe(struct pci_dev *pdev, | |||
1062 | } | 1061 | } |
1063 | } | 1062 | } |
1064 | 1063 | ||
1065 | /* 82575 requires that the pci-e link partner disable the L0s state */ | ||
1066 | switch (pdev->device) { | ||
1067 | case E1000_DEV_ID_82575EB_COPPER: | ||
1068 | case E1000_DEV_ID_82575EB_FIBER_SERDES: | ||
1069 | case E1000_DEV_ID_82575GB_QUAD_COPPER: | ||
1070 | us_dev = pdev->bus->self; | ||
1071 | pos = pci_find_capability(us_dev, PCI_CAP_ID_EXP); | ||
1072 | if (pos) { | ||
1073 | pci_read_config_word(us_dev, pos + PCI_EXP_LNKCTL, | ||
1074 | &state); | ||
1075 | state &= ~PCIE_LINK_STATE_L0S; | ||
1076 | pci_write_config_word(us_dev, pos + PCI_EXP_LNKCTL, | ||
1077 | state); | ||
1078 | dev_info(&pdev->dev, | ||
1079 | "Disabling ASPM L0s upstream switch port %s\n", | ||
1080 | pci_name(us_dev)); | ||
1081 | } | ||
1082 | default: | ||
1083 | break; | ||
1084 | } | ||
1085 | |||
1086 | err = pci_request_selected_regions(pdev, bars, igb_driver_name); | 1064 | err = pci_request_selected_regions(pdev, bars, igb_driver_name); |
1087 | if (err) | 1065 | if (err) |
1088 | goto err_pci_reg; | 1066 | goto err_pci_reg; |
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index d2f4d5f508b7..5d364a96e35d 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c | |||
@@ -3973,6 +3973,7 @@ static const struct net_device_ops ixgbe_netdev_ops = { | |||
3973 | .ndo_stop = ixgbe_close, | 3973 | .ndo_stop = ixgbe_close, |
3974 | .ndo_start_xmit = ixgbe_xmit_frame, | 3974 | .ndo_start_xmit = ixgbe_xmit_frame, |
3975 | .ndo_get_stats = ixgbe_get_stats, | 3975 | .ndo_get_stats = ixgbe_get_stats, |
3976 | .ndo_set_rx_mode = ixgbe_set_rx_mode, | ||
3976 | .ndo_set_multicast_list = ixgbe_set_rx_mode, | 3977 | .ndo_set_multicast_list = ixgbe_set_rx_mode, |
3977 | .ndo_validate_addr = eth_validate_addr, | 3978 | .ndo_validate_addr = eth_validate_addr, |
3978 | .ndo_set_mac_address = ixgbe_set_mac, | 3979 | .ndo_set_mac_address = ixgbe_set_mac, |
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 13f11f402a99..b0bc3bc18e9c 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -2030,11 +2030,6 @@ static void port_start(struct mv643xx_eth_private *mp) | |||
2030 | } | 2030 | } |
2031 | 2031 | ||
2032 | /* | 2032 | /* |
2033 | * Add configured unicast address to address filter table. | ||
2034 | */ | ||
2035 | mv643xx_eth_program_unicast_filter(mp->dev); | ||
2036 | |||
2037 | /* | ||
2038 | * Receive all unmatched unicast, TCP, UDP, BPDU and broadcast | 2033 | * Receive all unmatched unicast, TCP, UDP, BPDU and broadcast |
2039 | * frames to RX queue #0, and include the pseudo-header when | 2034 | * frames to RX queue #0, and include the pseudo-header when |
2040 | * calculating receive checksums. | 2035 | * calculating receive checksums. |
@@ -2047,6 +2042,11 @@ static void port_start(struct mv643xx_eth_private *mp) | |||
2047 | wrlp(mp, PORT_CONFIG_EXT, 0x00000000); | 2042 | wrlp(mp, PORT_CONFIG_EXT, 0x00000000); |
2048 | 2043 | ||
2049 | /* | 2044 | /* |
2045 | * Add configured unicast addresses to address filter table. | ||
2046 | */ | ||
2047 | mv643xx_eth_program_unicast_filter(mp->dev); | ||
2048 | |||
2049 | /* | ||
2050 | * Enable the receive queues. | 2050 | * Enable the receive queues. |
2051 | */ | 2051 | */ |
2052 | for (i = 0; i < mp->rxq_count; i++) { | 2052 | for (i = 0; i < mp->rxq_count; i++) { |
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h index f4dd9acb6877..1ff066b2281a 100644 --- a/drivers/net/netxen/netxen_nic.h +++ b/drivers/net/netxen/netxen_nic.h | |||
@@ -1595,7 +1595,6 @@ dma_watchdog_wakeup(struct netxen_adapter *adapter) | |||
1595 | } | 1595 | } |
1596 | 1596 | ||
1597 | 1597 | ||
1598 | int netxen_is_flash_supported(struct netxen_adapter *adapter); | ||
1599 | int netxen_get_flash_mac_addr(struct netxen_adapter *adapter, __le64 *mac); | 1598 | int netxen_get_flash_mac_addr(struct netxen_adapter *adapter, __le64 *mac); |
1600 | int netxen_p3_get_mac_addr(struct netxen_adapter *adapter, __le64 *mac); | 1599 | int netxen_p3_get_mac_addr(struct netxen_adapter *adapter, __le64 *mac); |
1601 | extern void netxen_change_ringparam(struct netxen_adapter *adapter); | 1600 | extern void netxen_change_ringparam(struct netxen_adapter *adapter); |
diff --git a/drivers/net/netxen/netxen_nic_hw.c b/drivers/net/netxen/netxen_nic_hw.c index 821cff68b3f3..7fea77088108 100644 --- a/drivers/net/netxen/netxen_nic_hw.c +++ b/drivers/net/netxen/netxen_nic_hw.c | |||
@@ -706,28 +706,6 @@ int netxen_nic_change_mtu(struct net_device *netdev, int mtu) | |||
706 | return rc; | 706 | return rc; |
707 | } | 707 | } |
708 | 708 | ||
709 | int netxen_is_flash_supported(struct netxen_adapter *adapter) | ||
710 | { | ||
711 | const int locs[] = { 0, 0x4, 0x100, 0x4000, 0x4128 }; | ||
712 | int addr, val01, val02, i, j; | ||
713 | |||
714 | /* if the flash size less than 4Mb, make huge war cry and die */ | ||
715 | for (j = 1; j < 4; j++) { | ||
716 | addr = j * NETXEN_NIC_WINDOW_MARGIN; | ||
717 | for (i = 0; i < ARRAY_SIZE(locs); i++) { | ||
718 | if (netxen_rom_fast_read(adapter, locs[i], &val01) == 0 | ||
719 | && netxen_rom_fast_read(adapter, (addr + locs[i]), | ||
720 | &val02) == 0) { | ||
721 | if (val01 == val02) | ||
722 | return -1; | ||
723 | } else | ||
724 | return -1; | ||
725 | } | ||
726 | } | ||
727 | |||
728 | return 0; | ||
729 | } | ||
730 | |||
731 | static int netxen_get_flash_block(struct netxen_adapter *adapter, int base, | 709 | static int netxen_get_flash_block(struct netxen_adapter *adapter, int base, |
732 | int size, __le32 * buf) | 710 | int size, __le32 * buf) |
733 | { | 711 | { |
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 13087782ac40..c172b6e24a96 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -405,9 +405,6 @@ netxen_read_mac_addr(struct netxen_adapter *adapter) | |||
405 | struct net_device *netdev = adapter->netdev; | 405 | struct net_device *netdev = adapter->netdev; |
406 | struct pci_dev *pdev = adapter->pdev; | 406 | struct pci_dev *pdev = adapter->pdev; |
407 | 407 | ||
408 | if (netxen_is_flash_supported(adapter) != 0) | ||
409 | return -EIO; | ||
410 | |||
411 | if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { | 408 | if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) { |
412 | if (netxen_p3_get_mac_addr(adapter, &mac_addr) != 0) | 409 | if (netxen_p3_get_mac_addr(adapter, &mac_addr) != 0) |
413 | return -EIO; | 410 | return -EIO; |
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index e6fdce9206cc..aff9c5fec738 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h | |||
@@ -927,6 +927,7 @@ struct ib_mac_iocb_rsp { | |||
927 | u8 flags1; | 927 | u8 flags1; |
928 | #define IB_MAC_IOCB_RSP_OI 0x01 /* Overide intr delay */ | 928 | #define IB_MAC_IOCB_RSP_OI 0x01 /* Overide intr delay */ |
929 | #define IB_MAC_IOCB_RSP_I 0x02 /* Disble Intr Generation */ | 929 | #define IB_MAC_IOCB_RSP_I 0x02 /* Disble Intr Generation */ |
930 | #define IB_MAC_CSUM_ERR_MASK 0x1c /* A mask to use for csum errs */ | ||
930 | #define IB_MAC_IOCB_RSP_TE 0x04 /* Checksum error */ | 931 | #define IB_MAC_IOCB_RSP_TE 0x04 /* Checksum error */ |
931 | #define IB_MAC_IOCB_RSP_NU 0x08 /* No checksum rcvd */ | 932 | #define IB_MAC_IOCB_RSP_NU 0x08 /* No checksum rcvd */ |
932 | #define IB_MAC_IOCB_RSP_IE 0x10 /* IPv4 checksum error */ | 933 | #define IB_MAC_IOCB_RSP_IE 0x10 /* IPv4 checksum error */ |
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index 8ea72dc60f79..91191f761fba 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c | |||
@@ -1436,18 +1436,32 @@ static void ql_process_mac_rx_intr(struct ql_adapter *qdev, | |||
1436 | if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_P) { | 1436 | if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_P) { |
1437 | QPRINTK(qdev, RX_STATUS, DEBUG, "Promiscuous Packet.\n"); | 1437 | QPRINTK(qdev, RX_STATUS, DEBUG, "Promiscuous Packet.\n"); |
1438 | } | 1438 | } |
1439 | if (ib_mac_rsp->flags1 & (IB_MAC_IOCB_RSP_IE | IB_MAC_IOCB_RSP_TE)) { | 1439 | |
1440 | QPRINTK(qdev, RX_STATUS, ERR, | 1440 | skb->protocol = eth_type_trans(skb, ndev); |
1441 | "Bad checksum for this %s packet.\n", | 1441 | skb->ip_summed = CHECKSUM_NONE; |
1442 | ((ib_mac_rsp-> | 1442 | |
1443 | flags2 & IB_MAC_IOCB_RSP_T) ? "TCP" : "UDP")); | 1443 | /* If rx checksum is on, and there are no |
1444 | skb->ip_summed = CHECKSUM_NONE; | 1444 | * csum or frame errors. |
1445 | } else if (qdev->rx_csum && | 1445 | */ |
1446 | ((ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_T) || | 1446 | if (qdev->rx_csum && |
1447 | ((ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_U) && | 1447 | !(ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) && |
1448 | !(ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_NU)))) { | 1448 | !(ib_mac_rsp->flags1 & IB_MAC_CSUM_ERR_MASK)) { |
1449 | QPRINTK(qdev, RX_STATUS, DEBUG, "RX checksum done!\n"); | 1449 | /* TCP frame. */ |
1450 | skb->ip_summed = CHECKSUM_UNNECESSARY; | 1450 | if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_T) { |
1451 | QPRINTK(qdev, RX_STATUS, DEBUG, | ||
1452 | "TCP checksum done!\n"); | ||
1453 | skb->ip_summed = CHECKSUM_UNNECESSARY; | ||
1454 | } else if ((ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_U) && | ||
1455 | (ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_V4)) { | ||
1456 | /* Unfragmented ipv4 UDP frame. */ | ||
1457 | struct iphdr *iph = (struct iphdr *) skb->data; | ||
1458 | if (!(iph->frag_off & | ||
1459 | cpu_to_be16(IP_MF|IP_OFFSET))) { | ||
1460 | skb->ip_summed = CHECKSUM_UNNECESSARY; | ||
1461 | QPRINTK(qdev, RX_STATUS, DEBUG, | ||
1462 | "TCP checksum done!\n"); | ||
1463 | } | ||
1464 | } | ||
1451 | } | 1465 | } |
1452 | qdev->stats.rx_packets++; | 1466 | qdev->stats.rx_packets++; |
1453 | qdev->stats.rx_bytes += skb->len; | 1467 | qdev->stats.rx_bytes += skb->len; |
@@ -1927,6 +1941,9 @@ static int qlge_send(struct sk_buff *skb, struct net_device *ndev) | |||
1927 | 1941 | ||
1928 | tx_ring = &qdev->tx_ring[tx_ring_idx]; | 1942 | tx_ring = &qdev->tx_ring[tx_ring_idx]; |
1929 | 1943 | ||
1944 | if (skb_padto(skb, ETH_ZLEN)) | ||
1945 | return NETDEV_TX_OK; | ||
1946 | |||
1930 | if (unlikely(atomic_read(&tx_ring->tx_count) < 2)) { | 1947 | if (unlikely(atomic_read(&tx_ring->tx_count) < 2)) { |
1931 | QPRINTK(qdev, TX_QUEUED, INFO, | 1948 | QPRINTK(qdev, TX_QUEUED, INFO, |
1932 | "%s: shutting down tx queue %d du to lack of resources.\n", | 1949 | "%s: shutting down tx queue %d du to lack of resources.\n", |
@@ -2970,9 +2987,9 @@ static int ql_adapter_initialize(struct ql_adapter *qdev) | |||
2970 | mask = value << 16; | 2987 | mask = value << 16; |
2971 | ql_write32(qdev, SYS, mask | value); | 2988 | ql_write32(qdev, SYS, mask | value); |
2972 | 2989 | ||
2973 | /* Set the default queue. */ | 2990 | /* Set the default queue, and VLAN behavior. */ |
2974 | value = NIC_RCV_CFG_DFQ; | 2991 | value = NIC_RCV_CFG_DFQ | NIC_RCV_CFG_RV; |
2975 | mask = NIC_RCV_CFG_DFQ_MASK; | 2992 | mask = NIC_RCV_CFG_DFQ_MASK | (NIC_RCV_CFG_RV << 16); |
2976 | ql_write32(qdev, NIC_RCV_CFG, (mask | value)); | 2993 | ql_write32(qdev, NIC_RCV_CFG, (mask | value)); |
2977 | 2994 | ||
2978 | /* Set the MPI interrupt to enabled. */ | 2995 | /* Set the MPI interrupt to enabled. */ |
@@ -3149,6 +3166,11 @@ static int ql_adapter_down(struct ql_adapter *qdev) | |||
3149 | 3166 | ||
3150 | ql_tx_ring_clean(qdev); | 3167 | ql_tx_ring_clean(qdev); |
3151 | 3168 | ||
3169 | /* Call netif_napi_del() from common point. | ||
3170 | */ | ||
3171 | for (i = qdev->rss_ring_first_cq_id; i < qdev->rx_ring_count; i++) | ||
3172 | netif_napi_del(&qdev->rx_ring[i].napi); | ||
3173 | |||
3152 | spin_lock(&qdev->hw_lock); | 3174 | spin_lock(&qdev->hw_lock); |
3153 | status = ql_adapter_reset(qdev); | 3175 | status = ql_adapter_reset(qdev); |
3154 | if (status) | 3176 | if (status) |
@@ -3853,7 +3875,7 @@ static int qlge_suspend(struct pci_dev *pdev, pm_message_t state) | |||
3853 | { | 3875 | { |
3854 | struct net_device *ndev = pci_get_drvdata(pdev); | 3876 | struct net_device *ndev = pci_get_drvdata(pdev); |
3855 | struct ql_adapter *qdev = netdev_priv(ndev); | 3877 | struct ql_adapter *qdev = netdev_priv(ndev); |
3856 | int err, i; | 3878 | int err; |
3857 | 3879 | ||
3858 | netif_device_detach(ndev); | 3880 | netif_device_detach(ndev); |
3859 | 3881 | ||
@@ -3863,9 +3885,6 @@ static int qlge_suspend(struct pci_dev *pdev, pm_message_t state) | |||
3863 | return err; | 3885 | return err; |
3864 | } | 3886 | } |
3865 | 3887 | ||
3866 | for (i = qdev->rss_ring_first_cq_id; i < qdev->rx_ring_count; i++) | ||
3867 | netif_napi_del(&qdev->rx_ring[i].napi); | ||
3868 | |||
3869 | err = pci_save_state(pdev); | 3888 | err = pci_save_state(pdev); |
3870 | if (err) | 3889 | if (err) |
3871 | return err; | 3890 | return err; |
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index b3473401c83a..43fedb9ecedb 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -81,9 +81,9 @@ static const int multicast_filter_limit = 32; | |||
81 | #define RTL8169_TX_TIMEOUT (6*HZ) | 81 | #define RTL8169_TX_TIMEOUT (6*HZ) |
82 | #define RTL8169_PHY_TIMEOUT (10*HZ) | 82 | #define RTL8169_PHY_TIMEOUT (10*HZ) |
83 | 83 | ||
84 | #define RTL_EEPROM_SIG 0x8129 | 84 | #define RTL_EEPROM_SIG cpu_to_le32(0x8129) |
85 | #define RTL_EEPROM_SIG_MASK cpu_to_le32(0xffff) | ||
85 | #define RTL_EEPROM_SIG_ADDR 0x0000 | 86 | #define RTL_EEPROM_SIG_ADDR 0x0000 |
86 | #define RTL_EEPROM_MAC_ADDR 0x0007 | ||
87 | 87 | ||
88 | /* write/read MMIO register */ | 88 | /* write/read MMIO register */ |
89 | #define RTL_W8(reg, val8) writeb ((val8), ioaddr + (reg)) | 89 | #define RTL_W8(reg, val8) writeb ((val8), ioaddr + (reg)) |
@@ -293,11 +293,6 @@ enum rtl_register_content { | |||
293 | /* Cfg9346Bits */ | 293 | /* Cfg9346Bits */ |
294 | Cfg9346_Lock = 0x00, | 294 | Cfg9346_Lock = 0x00, |
295 | Cfg9346_Unlock = 0xc0, | 295 | Cfg9346_Unlock = 0xc0, |
296 | Cfg9346_Program = 0x80, /* Programming mode */ | ||
297 | Cfg9346_EECS = 0x08, /* Chip select */ | ||
298 | Cfg9346_EESK = 0x04, /* Serial data clock */ | ||
299 | Cfg9346_EEDI = 0x02, /* Data input */ | ||
300 | Cfg9346_EEDO = 0x01, /* Data output */ | ||
301 | 296 | ||
302 | /* rx_mode_bits */ | 297 | /* rx_mode_bits */ |
303 | AcceptErr = 0x20, | 298 | AcceptErr = 0x20, |
@@ -310,7 +305,6 @@ enum rtl_register_content { | |||
310 | /* RxConfigBits */ | 305 | /* RxConfigBits */ |
311 | RxCfgFIFOShift = 13, | 306 | RxCfgFIFOShift = 13, |
312 | RxCfgDMAShift = 8, | 307 | RxCfgDMAShift = 8, |
313 | RxCfg9356SEL = 6, /* EEPROM type: 0 = 9346, 1 = 9356 */ | ||
314 | 308 | ||
315 | /* TxConfigBits */ | 309 | /* TxConfigBits */ |
316 | TxInterFrameGapShift = 24, | 310 | TxInterFrameGapShift = 24, |
@@ -1969,108 +1963,6 @@ static const struct net_device_ops rtl8169_netdev_ops = { | |||
1969 | 1963 | ||
1970 | }; | 1964 | }; |
1971 | 1965 | ||
1972 | /* Delay between EEPROM clock transitions. Force out buffered PCI writes. */ | ||
1973 | #define RTL_EEPROM_DELAY() RTL_R8(Cfg9346) | ||
1974 | #define RTL_EEPROM_READ_CMD 6 | ||
1975 | |||
1976 | /* read 16bit word stored in EEPROM. EEPROM is addressed by words. */ | ||
1977 | static u16 rtl_eeprom_read(void __iomem *ioaddr, int addr) | ||
1978 | { | ||
1979 | u16 result = 0; | ||
1980 | int cmd, cmd_len, i; | ||
1981 | |||
1982 | /* check for EEPROM address size (in bits) */ | ||
1983 | if (RTL_R32(RxConfig) & (1 << RxCfg9356SEL)) { | ||
1984 | /* EEPROM is 93C56 */ | ||
1985 | cmd_len = 3 + 8; /* 3 bits for command id and 8 for address */ | ||
1986 | cmd = (RTL_EEPROM_READ_CMD << 8) | (addr & 0xff); | ||
1987 | } else { | ||
1988 | /* EEPROM is 93C46 */ | ||
1989 | cmd_len = 3 + 6; /* 3 bits for command id and 6 for address */ | ||
1990 | cmd = (RTL_EEPROM_READ_CMD << 6) | (addr & 0x3f); | ||
1991 | } | ||
1992 | |||
1993 | /* enter programming mode */ | ||
1994 | RTL_W8(Cfg9346, Cfg9346_Program | Cfg9346_EECS); | ||
1995 | RTL_EEPROM_DELAY(); | ||
1996 | |||
1997 | /* write command and requested address */ | ||
1998 | while (cmd_len--) { | ||
1999 | u8 x = Cfg9346_Program | Cfg9346_EECS; | ||
2000 | |||
2001 | x |= (cmd & (1 << cmd_len)) ? Cfg9346_EEDI : 0; | ||
2002 | |||
2003 | /* write a bit */ | ||
2004 | RTL_W8(Cfg9346, x); | ||
2005 | RTL_EEPROM_DELAY(); | ||
2006 | |||
2007 | /* raise clock */ | ||
2008 | RTL_W8(Cfg9346, x | Cfg9346_EESK); | ||
2009 | RTL_EEPROM_DELAY(); | ||
2010 | } | ||
2011 | |||
2012 | /* lower clock */ | ||
2013 | RTL_W8(Cfg9346, Cfg9346_Program | Cfg9346_EECS); | ||
2014 | RTL_EEPROM_DELAY(); | ||
2015 | |||
2016 | /* read back 16bit value */ | ||
2017 | for (i = 16; i > 0; i--) { | ||
2018 | /* raise clock */ | ||
2019 | RTL_W8(Cfg9346, Cfg9346_Program | Cfg9346_EECS | Cfg9346_EESK); | ||
2020 | RTL_EEPROM_DELAY(); | ||
2021 | |||
2022 | result <<= 1; | ||
2023 | result |= (RTL_R8(Cfg9346) & Cfg9346_EEDO) ? 1 : 0; | ||
2024 | |||
2025 | /* lower clock */ | ||
2026 | RTL_W8(Cfg9346, Cfg9346_Program | Cfg9346_EECS); | ||
2027 | RTL_EEPROM_DELAY(); | ||
2028 | } | ||
2029 | |||
2030 | RTL_W8(Cfg9346, Cfg9346_Program); | ||
2031 | /* leave programming mode */ | ||
2032 | RTL_W8(Cfg9346, Cfg9346_Lock); | ||
2033 | |||
2034 | return result; | ||
2035 | } | ||
2036 | |||
2037 | static void rtl_init_mac_address(struct rtl8169_private *tp, | ||
2038 | void __iomem *ioaddr) | ||
2039 | { | ||
2040 | struct pci_dev *pdev = tp->pci_dev; | ||
2041 | u16 x; | ||
2042 | u8 mac[8]; | ||
2043 | |||
2044 | /* read EEPROM signature */ | ||
2045 | x = rtl_eeprom_read(ioaddr, RTL_EEPROM_SIG_ADDR); | ||
2046 | |||
2047 | if (x != RTL_EEPROM_SIG) { | ||
2048 | dev_info(&pdev->dev, "Missing EEPROM signature: %04x\n", x); | ||
2049 | return; | ||
2050 | } | ||
2051 | |||
2052 | /* read MAC address */ | ||
2053 | x = rtl_eeprom_read(ioaddr, RTL_EEPROM_MAC_ADDR); | ||
2054 | mac[0] = x & 0xff; | ||
2055 | mac[1] = x >> 8; | ||
2056 | x = rtl_eeprom_read(ioaddr, RTL_EEPROM_MAC_ADDR + 1); | ||
2057 | mac[2] = x & 0xff; | ||
2058 | mac[3] = x >> 8; | ||
2059 | x = rtl_eeprom_read(ioaddr, RTL_EEPROM_MAC_ADDR + 2); | ||
2060 | mac[4] = x & 0xff; | ||
2061 | mac[5] = x >> 8; | ||
2062 | |||
2063 | if (netif_msg_probe(tp)) { | ||
2064 | DECLARE_MAC_BUF(buf); | ||
2065 | |||
2066 | dev_info(&pdev->dev, "MAC address found in EEPROM: %s\n", | ||
2067 | print_mac(buf, mac)); | ||
2068 | } | ||
2069 | |||
2070 | if (is_valid_ether_addr(mac)) | ||
2071 | rtl_rar_set(tp, mac); | ||
2072 | } | ||
2073 | |||
2074 | static int __devinit | 1966 | static int __devinit |
2075 | rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) | 1967 | rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) |
2076 | { | 1968 | { |
@@ -2249,8 +2141,6 @@ rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
2249 | 2141 | ||
2250 | tp->mmio_addr = ioaddr; | 2142 | tp->mmio_addr = ioaddr; |
2251 | 2143 | ||
2252 | rtl_init_mac_address(tp, ioaddr); | ||
2253 | |||
2254 | /* Get MAC address */ | 2144 | /* Get MAC address */ |
2255 | for (i = 0; i < MAC_ADDR_LEN; i++) | 2145 | for (i = 0; i < MAC_ADDR_LEN; i++) |
2256 | dev->dev_addr[i] = RTL_R8(MAC0 + i); | 2146 | dev->dev_addr[i] = RTL_R8(MAC0 + i); |
@@ -3363,13 +3253,6 @@ static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
3363 | opts1 |= FirstFrag; | 3253 | opts1 |= FirstFrag; |
3364 | } else { | 3254 | } else { |
3365 | len = skb->len; | 3255 | len = skb->len; |
3366 | |||
3367 | if (unlikely(len < ETH_ZLEN)) { | ||
3368 | if (skb_padto(skb, ETH_ZLEN)) | ||
3369 | goto err_update_stats; | ||
3370 | len = ETH_ZLEN; | ||
3371 | } | ||
3372 | |||
3373 | opts1 |= FirstFrag | LastFrag; | 3256 | opts1 |= FirstFrag | LastFrag; |
3374 | tp->tx_skb[entry].skb = skb; | 3257 | tp->tx_skb[entry].skb = skb; |
3375 | } | 3258 | } |
@@ -3407,7 +3290,6 @@ out: | |||
3407 | err_stop: | 3290 | err_stop: |
3408 | netif_stop_queue(dev); | 3291 | netif_stop_queue(dev); |
3409 | ret = NETDEV_TX_BUSY; | 3292 | ret = NETDEV_TX_BUSY; |
3410 | err_update_stats: | ||
3411 | dev->stats.tx_dropped++; | 3293 | dev->stats.tx_dropped++; |
3412 | goto out; | 3294 | goto out; |
3413 | } | 3295 | } |
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index c5691fdb7079..fb53ef872df3 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c | |||
@@ -1838,17 +1838,19 @@ static void velocity_free_tx_buf(struct velocity_info *vptr, struct velocity_td_ | |||
1838 | { | 1838 | { |
1839 | struct sk_buff *skb = tdinfo->skb; | 1839 | struct sk_buff *skb = tdinfo->skb; |
1840 | int i; | 1840 | int i; |
1841 | int pktlen; | ||
1841 | 1842 | ||
1842 | /* | 1843 | /* |
1843 | * Don't unmap the pre-allocated tx_bufs | 1844 | * Don't unmap the pre-allocated tx_bufs |
1844 | */ | 1845 | */ |
1845 | if (tdinfo->skb_dma) { | 1846 | if (tdinfo->skb_dma) { |
1846 | 1847 | ||
1848 | pktlen = (skb->len > ETH_ZLEN ? : ETH_ZLEN); | ||
1847 | for (i = 0; i < tdinfo->nskb_dma; i++) { | 1849 | for (i = 0; i < tdinfo->nskb_dma; i++) { |
1848 | #ifdef VELOCITY_ZERO_COPY_SUPPORT | 1850 | #ifdef VELOCITY_ZERO_COPY_SUPPORT |
1849 | pci_unmap_single(vptr->pdev, tdinfo->skb_dma[i], le16_to_cpu(td->tdesc1.len), PCI_DMA_TODEVICE); | 1851 | pci_unmap_single(vptr->pdev, tdinfo->skb_dma[i], le16_to_cpu(td->tdesc1.len), PCI_DMA_TODEVICE); |
1850 | #else | 1852 | #else |
1851 | pci_unmap_single(vptr->pdev, tdinfo->skb_dma[i], skb->len, PCI_DMA_TODEVICE); | 1853 | pci_unmap_single(vptr->pdev, tdinfo->skb_dma[i], pktlen, PCI_DMA_TODEVICE); |
1852 | #endif | 1854 | #endif |
1853 | tdinfo->skb_dma[i] = 0; | 1855 | tdinfo->skb_dma[i] = 0; |
1854 | } | 1856 | } |
@@ -2080,17 +2082,14 @@ static int velocity_xmit(struct sk_buff *skb, struct net_device *dev) | |||
2080 | struct tx_desc *td_ptr; | 2082 | struct tx_desc *td_ptr; |
2081 | struct velocity_td_info *tdinfo; | 2083 | struct velocity_td_info *tdinfo; |
2082 | unsigned long flags; | 2084 | unsigned long flags; |
2083 | int pktlen = skb->len; | 2085 | int pktlen; |
2084 | __le16 len; | 2086 | __le16 len; |
2085 | int index; | 2087 | int index; |
2086 | 2088 | ||
2087 | 2089 | ||
2088 | 2090 | if (skb_padto(skb, ETH_ZLEN)) | |
2089 | if (skb->len < ETH_ZLEN) { | 2091 | goto out; |
2090 | if (skb_padto(skb, ETH_ZLEN)) | 2092 | pktlen = max_t(unsigned int, skb->len, ETH_ZLEN); |
2091 | goto out; | ||
2092 | pktlen = ETH_ZLEN; | ||
2093 | } | ||
2094 | 2093 | ||
2095 | len = cpu_to_le16(pktlen); | 2094 | len = cpu_to_le16(pktlen); |
2096 | 2095 | ||
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index b3866ad50227..3608081bc3e0 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig | |||
@@ -15,8 +15,7 @@ menuconfig X86_PLATFORM_DEVICES | |||
15 | if X86_PLATFORM_DEVICES | 15 | if X86_PLATFORM_DEVICES |
16 | 16 | ||
17 | config ACER_WMI | 17 | config ACER_WMI |
18 | tristate "Acer WMI Laptop Extras (EXPERIMENTAL)" | 18 | tristate "Acer WMI Laptop Extras" |
19 | depends on EXPERIMENTAL | ||
20 | depends on ACPI | 19 | depends on ACPI |
21 | depends on LEDS_CLASS | 20 | depends on LEDS_CLASS |
22 | depends on NEW_LEDS | 21 | depends on NEW_LEDS |
@@ -39,9 +38,9 @@ config ASUS_LAPTOP | |||
39 | tristate "Asus Laptop Extras (EXPERIMENTAL)" | 38 | tristate "Asus Laptop Extras (EXPERIMENTAL)" |
40 | depends on ACPI | 39 | depends on ACPI |
41 | depends on EXPERIMENTAL && !ACPI_ASUS | 40 | depends on EXPERIMENTAL && !ACPI_ASUS |
42 | depends on LEDS_CLASS | 41 | select LEDS_CLASS |
43 | depends on NEW_LEDS | 42 | select NEW_LEDS |
44 | depends on BACKLIGHT_CLASS_DEVICE | 43 | select BACKLIGHT_CLASS_DEVICE |
45 | depends on INPUT | 44 | depends on INPUT |
46 | ---help--- | 45 | ---help--- |
47 | This is the new Linux driver for Asus laptops. It may also support some | 46 | This is the new Linux driver for Asus laptops. It may also support some |
@@ -185,11 +184,11 @@ config SONYPI_COMPAT | |||
185 | config THINKPAD_ACPI | 184 | config THINKPAD_ACPI |
186 | tristate "ThinkPad ACPI Laptop Extras" | 185 | tristate "ThinkPad ACPI Laptop Extras" |
187 | depends on ACPI | 186 | depends on ACPI |
187 | depends on INPUT | ||
188 | select BACKLIGHT_LCD_SUPPORT | 188 | select BACKLIGHT_LCD_SUPPORT |
189 | select BACKLIGHT_CLASS_DEVICE | 189 | select BACKLIGHT_CLASS_DEVICE |
190 | select HWMON | 190 | select HWMON |
191 | select NVRAM | 191 | select NVRAM |
192 | select INPUT | ||
193 | select NEW_LEDS | 192 | select NEW_LEDS |
194 | select LEDS_CLASS | 193 | select LEDS_CLASS |
195 | select NET | 194 | select NET |
@@ -315,9 +314,8 @@ config EEEPC_LAPTOP | |||
315 | 314 | ||
316 | 315 | ||
317 | config ACPI_WMI | 316 | config ACPI_WMI |
318 | tristate "WMI (EXPERIMENTAL)" | 317 | tristate "WMI" |
319 | depends on ACPI | 318 | depends on ACPI |
320 | depends on EXPERIMENTAL | ||
321 | help | 319 | help |
322 | This driver adds support for the ACPI-WMI (Windows Management | 320 | This driver adds support for the ACPI-WMI (Windows Management |
323 | Instrumentation) mapper device (PNP0C14) found on some systems. | 321 | Instrumentation) mapper device (PNP0C14) found on some systems. |
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 6bcca616a704..a6a42e8c060b 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c | |||
@@ -1026,7 +1026,7 @@ static void acer_rfkill_exit(void) | |||
1026 | kfree(wireless_rfkill->data); | 1026 | kfree(wireless_rfkill->data); |
1027 | rfkill_unregister(wireless_rfkill); | 1027 | rfkill_unregister(wireless_rfkill); |
1028 | if (has_cap(ACER_CAP_BLUETOOTH)) { | 1028 | if (has_cap(ACER_CAP_BLUETOOTH)) { |
1029 | kfree(wireless_rfkill->data); | 1029 | kfree(bluetooth_rfkill->data); |
1030 | rfkill_unregister(bluetooth_rfkill); | 1030 | rfkill_unregister(bluetooth_rfkill); |
1031 | } | 1031 | } |
1032 | return; | 1032 | return; |
diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 56af6cf385b0..eeafc6c0160d 100644 --- a/drivers/platform/x86/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c | |||
@@ -815,6 +815,7 @@ static int asus_setkeycode(struct input_dev *dev, int scancode, int keycode) | |||
815 | static void asus_hotk_notify(acpi_handle handle, u32 event, void *data) | 815 | static void asus_hotk_notify(acpi_handle handle, u32 event, void *data) |
816 | { | 816 | { |
817 | static struct key_entry *key; | 817 | static struct key_entry *key; |
818 | u16 count; | ||
818 | 819 | ||
819 | /* TODO Find a better way to handle events count. */ | 820 | /* TODO Find a better way to handle events count. */ |
820 | if (!hotk) | 821 | if (!hotk) |
@@ -832,9 +833,11 @@ static void asus_hotk_notify(acpi_handle handle, u32 event, void *data) | |||
832 | lcd_blank(FB_BLANK_POWERDOWN); | 833 | lcd_blank(FB_BLANK_POWERDOWN); |
833 | } | 834 | } |
834 | 835 | ||
836 | count = hotk->event_count[event % 128]++; | ||
837 | acpi_bus_generate_proc_event(hotk->device, event, count); | ||
835 | acpi_bus_generate_netlink_event(hotk->device->pnp.device_class, | 838 | acpi_bus_generate_netlink_event(hotk->device->pnp.device_class, |
836 | dev_name(&hotk->device->dev), event, | 839 | dev_name(&hotk->device->dev), event, |
837 | hotk->event_count[event % 128]++); | 840 | count); |
838 | 841 | ||
839 | if (hotk->inputdev) { | 842 | if (hotk->inputdev) { |
840 | key = asus_get_entry_by_scancode(event); | 843 | key = asus_get_entry_by_scancode(event); |
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index 786ed8661cb0..6f54fd1757cd 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c | |||
@@ -557,13 +557,17 @@ static void eeepc_rfkill_notify(acpi_handle handle, u32 event, void *data) | |||
557 | static void eeepc_hotk_notify(acpi_handle handle, u32 event, void *data) | 557 | static void eeepc_hotk_notify(acpi_handle handle, u32 event, void *data) |
558 | { | 558 | { |
559 | static struct key_entry *key; | 559 | static struct key_entry *key; |
560 | u16 count; | ||
561 | |||
560 | if (!ehotk) | 562 | if (!ehotk) |
561 | return; | 563 | return; |
562 | if (event >= NOTIFY_BRN_MIN && event <= NOTIFY_BRN_MAX) | 564 | if (event >= NOTIFY_BRN_MIN && event <= NOTIFY_BRN_MAX) |
563 | notify_brn(); | 565 | notify_brn(); |
566 | count = ehotk->event_count[event % 128]++; | ||
567 | acpi_bus_generate_proc_event(ehotk->device, event, count); | ||
564 | acpi_bus_generate_netlink_event(ehotk->device->pnp.device_class, | 568 | acpi_bus_generate_netlink_event(ehotk->device->pnp.device_class, |
565 | dev_name(&ehotk->device->dev), event, | 569 | dev_name(&ehotk->device->dev), event, |
566 | ehotk->event_count[event % 128]++); | 570 | count); |
567 | if (ehotk->inputdev) { | 571 | if (ehotk->inputdev) { |
568 | key = eepc_get_entry_by_scancode(event); | 572 | key = eepc_get_entry_by_scancode(event); |
569 | if (key) { | 573 | if (key) { |
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index bcbc05107ba8..d2433204a40c 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -7532,7 +7532,7 @@ MODULE_ALIAS(TPACPI_DRVR_SHORTNAME); | |||
7532 | * if it is not there yet. | 7532 | * if it is not there yet. |
7533 | */ | 7533 | */ |
7534 | #define IBM_BIOS_MODULE_ALIAS(__type) \ | 7534 | #define IBM_BIOS_MODULE_ALIAS(__type) \ |
7535 | MODULE_ALIAS("dmi:bvnIBM:bvr" __type "ET??WW") | 7535 | MODULE_ALIAS("dmi:bvnIBM:bvr" __type "ET??WW*") |
7536 | 7536 | ||
7537 | /* Non-ancient thinkpads */ | 7537 | /* Non-ancient thinkpads */ |
7538 | MODULE_ALIAS("dmi:bvnIBM:*:svnIBM:*:pvrThinkPad*:rvnIBM:*"); | 7538 | MODULE_ALIAS("dmi:bvnIBM:*:svnIBM:*:pvrThinkPad*:rvnIBM:*"); |
@@ -7541,9 +7541,9 @@ MODULE_ALIAS("dmi:bvnLENOVO:*:svnLENOVO:*:pvrThinkPad*:rvnLENOVO:*"); | |||
7541 | /* Ancient thinkpad BIOSes have to be identified by | 7541 | /* Ancient thinkpad BIOSes have to be identified by |
7542 | * BIOS type or model number, and there are far less | 7542 | * BIOS type or model number, and there are far less |
7543 | * BIOS types than model numbers... */ | 7543 | * BIOS types than model numbers... */ |
7544 | IBM_BIOS_MODULE_ALIAS("I[B,D,H,I,M,N,O,T,W,V,Y,Z]"); | 7544 | IBM_BIOS_MODULE_ALIAS("I[BDHIMNOTWVYZ]"); |
7545 | IBM_BIOS_MODULE_ALIAS("1[0,3,6,8,A-G,I,K,M-P,S,T]"); | 7545 | IBM_BIOS_MODULE_ALIAS("1[0368A-GIKM-PST]"); |
7546 | IBM_BIOS_MODULE_ALIAS("K[U,X-Z]"); | 7546 | IBM_BIOS_MODULE_ALIAS("K[UX-Z]"); |
7547 | 7547 | ||
7548 | MODULE_AUTHOR("Borislav Deianov, Henrique de Moraes Holschuh"); | 7548 | MODULE_AUTHOR("Borislav Deianov, Henrique de Moraes Holschuh"); |
7549 | MODULE_DESCRIPTION(TPACPI_DESC); | 7549 | MODULE_DESCRIPTION(TPACPI_DESC); |
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c index 8a8b377712c9..2f269e117b8f 100644 --- a/drivers/platform/x86/wmi.c +++ b/drivers/platform/x86/wmi.c | |||
@@ -708,7 +708,7 @@ static int __init acpi_wmi_add(struct acpi_device *device) | |||
708 | 708 | ||
709 | static int __init acpi_wmi_init(void) | 709 | static int __init acpi_wmi_init(void) |
710 | { | 710 | { |
711 | acpi_status result; | 711 | int result; |
712 | 712 | ||
713 | INIT_LIST_HEAD(&wmi_blocks.list); | 713 | INIT_LIST_HEAD(&wmi_blocks.list); |
714 | 714 | ||
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index ce6badded47a..211af86a6c55 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig | |||
@@ -73,8 +73,6 @@ source "drivers/staging/rt2860/Kconfig" | |||
73 | 73 | ||
74 | source "drivers/staging/rt2870/Kconfig" | 74 | source "drivers/staging/rt2870/Kconfig" |
75 | 75 | ||
76 | source "drivers/staging/benet/Kconfig" | ||
77 | |||
78 | source "drivers/staging/comedi/Kconfig" | 76 | source "drivers/staging/comedi/Kconfig" |
79 | 77 | ||
80 | source "drivers/staging/asus_oled/Kconfig" | 78 | source "drivers/staging/asus_oled/Kconfig" |
diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile index 9ddcc2bb3365..47a56f5ffabc 100644 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile | |||
@@ -19,7 +19,6 @@ obj-$(CONFIG_AGNX) += agnx/ | |||
19 | obj-$(CONFIG_OTUS) += otus/ | 19 | obj-$(CONFIG_OTUS) += otus/ |
20 | obj-$(CONFIG_RT2860) += rt2860/ | 20 | obj-$(CONFIG_RT2860) += rt2860/ |
21 | obj-$(CONFIG_RT2870) += rt2870/ | 21 | obj-$(CONFIG_RT2870) += rt2870/ |
22 | obj-$(CONFIG_BENET) += benet/ | ||
23 | obj-$(CONFIG_COMEDI) += comedi/ | 22 | obj-$(CONFIG_COMEDI) += comedi/ |
24 | obj-$(CONFIG_ASUS_OLED) += asus_oled/ | 23 | obj-$(CONFIG_ASUS_OLED) += asus_oled/ |
25 | obj-$(CONFIG_PANEL) += panel/ | 24 | obj-$(CONFIG_PANEL) += panel/ |
diff --git a/drivers/staging/benet/Kconfig b/drivers/staging/benet/Kconfig deleted file mode 100644 index f6806074f998..000000000000 --- a/drivers/staging/benet/Kconfig +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | config BENET | ||
2 | tristate "ServerEngines 10Gb NIC - BladeEngine" | ||
3 | depends on PCI && INET | ||
4 | select INET_LRO | ||
5 | help | ||
6 | This driver implements the NIC functionality for ServerEngines | ||
7 | 10Gb network adapter BladeEngine (EC 3210). | ||
diff --git a/drivers/staging/benet/MAINTAINERS b/drivers/staging/benet/MAINTAINERS deleted file mode 100644 index d5ce340218b3..000000000000 --- a/drivers/staging/benet/MAINTAINERS +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | SERVER ENGINES 10Gbe NIC - BLADE-ENGINE | ||
2 | P: Subbu Seetharaman | ||
3 | M: subbus@serverengines.com | ||
4 | L: netdev@vger.kernel.org | ||
5 | W: http://www.serverengines.com | ||
6 | S: Supported | ||
diff --git a/drivers/staging/benet/Makefile b/drivers/staging/benet/Makefile deleted file mode 100644 index 460b923b99bd..000000000000 --- a/drivers/staging/benet/Makefile +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | # | ||
2 | # Makefile to build the network driver for ServerEngine's BladeEngine | ||
3 | # | ||
4 | obj-$(CONFIG_BENET) += benet.o | ||
5 | |||
6 | benet-y := be_init.o \ | ||
7 | be_int.o \ | ||
8 | be_netif.o \ | ||
9 | be_ethtool.o \ | ||
10 | funcobj.o \ | ||
11 | cq.o \ | ||
12 | eq.o \ | ||
13 | mpu.o \ | ||
14 | eth.o | ||
diff --git a/drivers/staging/benet/TODO b/drivers/staging/benet/TODO deleted file mode 100644 index a51dfb59a62f..000000000000 --- a/drivers/staging/benet/TODO +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | TODO: | ||
2 | - remove wrappers around common iowrite functions | ||
3 | - full netdev audit of common problems/issues | ||
4 | |||
5 | Please send all patches and questions to Subbu Seetharaman | ||
6 | <subbus@serverengines.com> and Greg Kroah-Hartman <greg@kroah.com> | ||
diff --git a/drivers/staging/benet/asyncmesg.h b/drivers/staging/benet/asyncmesg.h deleted file mode 100644 index d1e779adb848..000000000000 --- a/drivers/staging/benet/asyncmesg.h +++ /dev/null | |||
@@ -1,82 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __asyncmesg_amap_h__ | ||
21 | #define __asyncmesg_amap_h__ | ||
22 | #include "fwcmd_common.h" | ||
23 | |||
24 | /* --- ASYNC_EVENT_CODES --- */ | ||
25 | #define ASYNC_EVENT_CODE_LINK_STATE (1) | ||
26 | #define ASYNC_EVENT_CODE_ISCSI (2) | ||
27 | |||
28 | /* --- ASYNC_LINK_STATES --- */ | ||
29 | #define ASYNC_EVENT_LINK_DOWN (0) /* Link Down on a port */ | ||
30 | #define ASYNC_EVENT_LINK_UP (1) /* Link Up on a port */ | ||
31 | |||
32 | /* | ||
33 | * The last 4 bytes of the async events have this common format. It allows | ||
34 | * the driver to distinguish [link]MCC_CQ_ENTRY[/link] structs from | ||
35 | * asynchronous events. Both arrive on the same completion queue. This | ||
36 | * structure also contains the common fields used to decode the async event. | ||
37 | */ | ||
38 | struct BE_ASYNC_EVENT_TRAILER_AMAP { | ||
39 | u8 rsvd0[8]; /* DWORD 0 */ | ||
40 | u8 event_code[8]; /* DWORD 0 */ | ||
41 | u8 event_type[8]; /* DWORD 0 */ | ||
42 | u8 rsvd1[6]; /* DWORD 0 */ | ||
43 | u8 async_event; /* DWORD 0 */ | ||
44 | u8 valid; /* DWORD 0 */ | ||
45 | } __packed; | ||
46 | struct ASYNC_EVENT_TRAILER_AMAP { | ||
47 | u32 dw[1]; | ||
48 | }; | ||
49 | |||
50 | /* | ||
51 | * Applicable in Initiator, Target and NIC modes. | ||
52 | * A link state async event is seen by all device drivers as soon they | ||
53 | * create an MCC ring. Thereafter, anytime the link status changes the | ||
54 | * drivers will receive a link state async event. Notifications continue to | ||
55 | * be sent until a driver destroys its MCC ring. A link down event is | ||
56 | * reported when either port loses link. A link up event is reported | ||
57 | * when either port regains link. When BE's failover mechanism is enabled, a | ||
58 | * link down on the active port causes traffic to be diverted to the standby | ||
59 | * port by the BE's ARM firmware (assuming the standby port has link). In | ||
60 | * this case, the standy port assumes the active status. Note: when link is | ||
61 | * restored on the failed port, traffic continues on the currently active | ||
62 | * port. The ARM firmware does not attempt to 'fail back' traffic to | ||
63 | * the restored port. | ||
64 | */ | ||
65 | struct BE_ASYNC_EVENT_LINK_STATE_AMAP { | ||
66 | u8 port0_link_status[8]; | ||
67 | u8 port1_link_status[8]; | ||
68 | u8 active_port[8]; | ||
69 | u8 rsvd0[8]; /* DWORD 0 */ | ||
70 | u8 port0_duplex[8]; | ||
71 | u8 port0_speed[8]; | ||
72 | u8 port1_duplex[8]; | ||
73 | u8 port1_speed[8]; | ||
74 | u8 port0_fault[8]; | ||
75 | u8 port1_fault[8]; | ||
76 | u8 rsvd1[2][8]; /* DWORD 2 */ | ||
77 | struct BE_ASYNC_EVENT_TRAILER_AMAP trailer; | ||
78 | } __packed; | ||
79 | struct ASYNC_EVENT_LINK_STATE_AMAP { | ||
80 | u32 dw[4]; | ||
81 | }; | ||
82 | #endif /* __asyncmesg_amap_h__ */ | ||
diff --git a/drivers/staging/benet/be_cm.h b/drivers/staging/benet/be_cm.h deleted file mode 100644 index b7a1dfd20c36..000000000000 --- a/drivers/staging/benet/be_cm.h +++ /dev/null | |||
@@ -1,134 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __be_cm_amap_h__ | ||
21 | #define __be_cm_amap_h__ | ||
22 | #include "be_common.h" | ||
23 | #include "etx_context.h" | ||
24 | #include "mpu_context.h" | ||
25 | |||
26 | /* | ||
27 | * --- CEV_WATERMARK_ENUM --- | ||
28 | * CQ/EQ Watermark Encodings. Encoded as number of free entries in | ||
29 | * Queue when Watermark is reached. | ||
30 | */ | ||
31 | #define CEV_WMARK_0 (0) /* Watermark when Queue full */ | ||
32 | #define CEV_WMARK_16 (1) /* Watermark at 16 free entries */ | ||
33 | #define CEV_WMARK_32 (2) /* Watermark at 32 free entries */ | ||
34 | #define CEV_WMARK_48 (3) /* Watermark at 48 free entries */ | ||
35 | #define CEV_WMARK_64 (4) /* Watermark at 64 free entries */ | ||
36 | #define CEV_WMARK_80 (5) /* Watermark at 80 free entries */ | ||
37 | #define CEV_WMARK_96 (6) /* Watermark at 96 free entries */ | ||
38 | #define CEV_WMARK_112 (7) /* Watermark at 112 free entries */ | ||
39 | #define CEV_WMARK_128 (8) /* Watermark at 128 free entries */ | ||
40 | #define CEV_WMARK_144 (9) /* Watermark at 144 free entries */ | ||
41 | #define CEV_WMARK_160 (10) /* Watermark at 160 free entries */ | ||
42 | #define CEV_WMARK_176 (11) /* Watermark at 176 free entries */ | ||
43 | #define CEV_WMARK_192 (12) /* Watermark at 192 free entries */ | ||
44 | #define CEV_WMARK_208 (13) /* Watermark at 208 free entries */ | ||
45 | #define CEV_WMARK_224 (14) /* Watermark at 224 free entries */ | ||
46 | #define CEV_WMARK_240 (15) /* Watermark at 240 free entries */ | ||
47 | |||
48 | /* | ||
49 | * --- CQ_CNT_ENUM --- | ||
50 | * Completion Queue Count Encodings. | ||
51 | */ | ||
52 | #define CEV_CQ_CNT_256 (0) /* CQ has 256 entries */ | ||
53 | #define CEV_CQ_CNT_512 (1) /* CQ has 512 entries */ | ||
54 | #define CEV_CQ_CNT_1024 (2) /* CQ has 1024 entries */ | ||
55 | |||
56 | /* | ||
57 | * --- EQ_CNT_ENUM --- | ||
58 | * Event Queue Count Encodings. | ||
59 | */ | ||
60 | #define CEV_EQ_CNT_256 (0) /* EQ has 256 entries (16-byte EQEs only) */ | ||
61 | #define CEV_EQ_CNT_512 (1) /* EQ has 512 entries (16-byte EQEs only) */ | ||
62 | #define CEV_EQ_CNT_1024 (2) /* EQ has 1024 entries (4-byte or */ | ||
63 | /* 16-byte EQEs only) */ | ||
64 | #define CEV_EQ_CNT_2048 (3) /* EQ has 2048 entries (4-byte or */ | ||
65 | /* 16-byte EQEs only) */ | ||
66 | #define CEV_EQ_CNT_4096 (4) /* EQ has 4096 entries (4-byte EQEs only) */ | ||
67 | |||
68 | /* | ||
69 | * --- EQ_SIZE_ENUM --- | ||
70 | * Event Queue Entry Size Encoding. | ||
71 | */ | ||
72 | #define CEV_EQ_SIZE_4 (0) /* EQE is 4 bytes */ | ||
73 | #define CEV_EQ_SIZE_16 (1) /* EQE is 16 bytes */ | ||
74 | |||
75 | /* | ||
76 | * Completion Queue Context Table Entry. Contains the state of a CQ. | ||
77 | * Located in RAM within the CEV block. | ||
78 | */ | ||
79 | struct BE_CQ_CONTEXT_AMAP { | ||
80 | u8 Cidx[11]; /* DWORD 0 */ | ||
81 | u8 Watermark[4]; /* DWORD 0 */ | ||
82 | u8 NoDelay; /* DWORD 0 */ | ||
83 | u8 EPIdx[11]; /* DWORD 0 */ | ||
84 | u8 Count[2]; /* DWORD 0 */ | ||
85 | u8 valid; /* DWORD 0 */ | ||
86 | u8 SolEvent; /* DWORD 0 */ | ||
87 | u8 Eventable; /* DWORD 0 */ | ||
88 | u8 Pidx[11]; /* DWORD 1 */ | ||
89 | u8 PD[10]; /* DWORD 1 */ | ||
90 | u8 EQID[7]; /* DWORD 1 */ | ||
91 | u8 Func; /* DWORD 1 */ | ||
92 | u8 WME; /* DWORD 1 */ | ||
93 | u8 Stalled; /* DWORD 1 */ | ||
94 | u8 Armed; /* DWORD 1 */ | ||
95 | } __packed; | ||
96 | struct CQ_CONTEXT_AMAP { | ||
97 | u32 dw[2]; | ||
98 | }; | ||
99 | |||
100 | /* | ||
101 | * Event Queue Context Table Entry. Contains the state of an EQ. | ||
102 | * Located in RAM in the CEV block. | ||
103 | */ | ||
104 | struct BE_EQ_CONTEXT_AMAP { | ||
105 | u8 Cidx[13]; /* DWORD 0 */ | ||
106 | u8 rsvd0[2]; /* DWORD 0 */ | ||
107 | u8 Func; /* DWORD 0 */ | ||
108 | u8 EPIdx[13]; /* DWORD 0 */ | ||
109 | u8 valid; /* DWORD 0 */ | ||
110 | u8 rsvd1; /* DWORD 0 */ | ||
111 | u8 Size; /* DWORD 0 */ | ||
112 | u8 Pidx[13]; /* DWORD 1 */ | ||
113 | u8 rsvd2[3]; /* DWORD 1 */ | ||
114 | u8 PD[10]; /* DWORD 1 */ | ||
115 | u8 Count[3]; /* DWORD 1 */ | ||
116 | u8 SolEvent; /* DWORD 1 */ | ||
117 | u8 Stalled; /* DWORD 1 */ | ||
118 | u8 Armed; /* DWORD 1 */ | ||
119 | u8 Watermark[4]; /* DWORD 2 */ | ||
120 | u8 WME; /* DWORD 2 */ | ||
121 | u8 rsvd3[3]; /* DWORD 2 */ | ||
122 | u8 EventVect[6]; /* DWORD 2 */ | ||
123 | u8 rsvd4[2]; /* DWORD 2 */ | ||
124 | u8 Delay[8]; /* DWORD 2 */ | ||
125 | u8 rsvd5[6]; /* DWORD 2 */ | ||
126 | u8 TMR; /* DWORD 2 */ | ||
127 | u8 rsvd6; /* DWORD 2 */ | ||
128 | u8 rsvd7[32]; /* DWORD 3 */ | ||
129 | } __packed; | ||
130 | struct EQ_CONTEXT_AMAP { | ||
131 | u32 dw[4]; | ||
132 | }; | ||
133 | |||
134 | #endif /* __be_cm_amap_h__ */ | ||
diff --git a/drivers/staging/benet/be_common.h b/drivers/staging/benet/be_common.h deleted file mode 100644 index 7e63dc5e3348..000000000000 --- a/drivers/staging/benet/be_common.h +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __be_common_amap_h__ | ||
21 | #define __be_common_amap_h__ | ||
22 | |||
23 | /* Physical Address. */ | ||
24 | struct BE_PHYS_ADDR_AMAP { | ||
25 | u8 lo[32]; /* DWORD 0 */ | ||
26 | u8 hi[32]; /* DWORD 1 */ | ||
27 | } __packed; | ||
28 | struct PHYS_ADDR_AMAP { | ||
29 | u32 dw[2]; | ||
30 | }; | ||
31 | |||
32 | /* Virtual Address. */ | ||
33 | struct BE_VIRT_ADDR_AMAP { | ||
34 | u8 lo[32]; /* DWORD 0 */ | ||
35 | u8 hi[32]; /* DWORD 1 */ | ||
36 | } __packed; | ||
37 | struct VIRT_ADDR_AMAP { | ||
38 | u32 dw[2]; | ||
39 | }; | ||
40 | |||
41 | /* Scatter gather element. */ | ||
42 | struct BE_SGE_AMAP { | ||
43 | u8 addr_hi[32]; /* DWORD 0 */ | ||
44 | u8 addr_lo[32]; /* DWORD 1 */ | ||
45 | u8 rsvd0[32]; /* DWORD 2 */ | ||
46 | u8 len[16]; /* DWORD 3 */ | ||
47 | u8 rsvd1[16]; /* DWORD 3 */ | ||
48 | } __packed; | ||
49 | struct SGE_AMAP { | ||
50 | u32 dw[4]; | ||
51 | }; | ||
52 | |||
53 | #endif /* __be_common_amap_h__ */ | ||
diff --git a/drivers/staging/benet/be_ethtool.c b/drivers/staging/benet/be_ethtool.c deleted file mode 100644 index 027af85707aa..000000000000 --- a/drivers/staging/benet/be_ethtool.c +++ /dev/null | |||
@@ -1,348 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * be_ethtool.c | ||
19 | * | ||
20 | * This file contains various functions that ethtool can use | ||
21 | * to talk to the driver and the BE H/W. | ||
22 | */ | ||
23 | |||
24 | #include "benet.h" | ||
25 | |||
26 | #include <linux/ethtool.h> | ||
27 | |||
28 | static const char benet_gstrings_stats[][ETH_GSTRING_LEN] = { | ||
29 | /* net_device_stats */ | ||
30 | "rx_packets", | ||
31 | "tx_packets", | ||
32 | "rx_bytes", | ||
33 | "tx_bytes", | ||
34 | "rx_errors", | ||
35 | "tx_errors", | ||
36 | "rx_dropped", | ||
37 | "tx_dropped", | ||
38 | "multicast", | ||
39 | "collisions", | ||
40 | "rx_length_errors", | ||
41 | "rx_over_errors", | ||
42 | "rx_crc_errors", | ||
43 | "rx_frame_errors", | ||
44 | "rx_fifo_errors", | ||
45 | "rx_missed_errors", | ||
46 | "tx_aborted_errors", | ||
47 | "tx_carrier_errors", | ||
48 | "tx_fifo_errors", | ||
49 | "tx_heartbeat_errors", | ||
50 | "tx_window_errors", | ||
51 | "rx_compressed", | ||
52 | "tc_compressed", | ||
53 | /* BE driver Stats */ | ||
54 | "bes_tx_reqs", | ||
55 | "bes_tx_fails", | ||
56 | "bes_fwd_reqs", | ||
57 | "bes_tx_wrbs", | ||
58 | "bes_interrupts", | ||
59 | "bes_events", | ||
60 | "bes_tx_events", | ||
61 | "bes_rx_events", | ||
62 | "bes_tx_compl", | ||
63 | "bes_rx_compl", | ||
64 | "bes_ethrx_post_fail", | ||
65 | "bes_802_3_dropped_frames", | ||
66 | "bes_802_3_malformed_frames", | ||
67 | "bes_rx_misc_pkts", | ||
68 | "bes_eth_tx_rate", | ||
69 | "bes_eth_rx_rate", | ||
70 | "Num Packets collected", | ||
71 | "Num Times Flushed", | ||
72 | }; | ||
73 | |||
74 | #define NET_DEV_STATS_LEN \ | ||
75 | (sizeof(struct net_device_stats)/sizeof(unsigned long)) | ||
76 | |||
77 | #define BENET_STATS_LEN ARRAY_SIZE(benet_gstrings_stats) | ||
78 | |||
79 | static void | ||
80 | be_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) | ||
81 | { | ||
82 | struct be_net_object *pnob = netdev_priv(netdev); | ||
83 | struct be_adapter *adapter = pnob->adapter; | ||
84 | |||
85 | strncpy(drvinfo->driver, be_driver_name, 32); | ||
86 | strncpy(drvinfo->version, be_drvr_ver, 32); | ||
87 | strncpy(drvinfo->fw_version, be_fw_ver, 32); | ||
88 | strcpy(drvinfo->bus_info, pci_name(adapter->pdev)); | ||
89 | drvinfo->testinfo_len = 0; | ||
90 | drvinfo->regdump_len = 0; | ||
91 | drvinfo->eedump_len = 0; | ||
92 | } | ||
93 | |||
94 | static int | ||
95 | be_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) | ||
96 | { | ||
97 | struct be_net_object *pnob = netdev_priv(netdev); | ||
98 | struct be_adapter *adapter = pnob->adapter; | ||
99 | |||
100 | coalesce->rx_max_coalesced_frames = adapter->max_rx_coal; | ||
101 | |||
102 | coalesce->rx_coalesce_usecs = adapter->cur_eqd; | ||
103 | coalesce->rx_coalesce_usecs_high = adapter->max_eqd; | ||
104 | coalesce->rx_coalesce_usecs_low = adapter->min_eqd; | ||
105 | |||
106 | coalesce->tx_coalesce_usecs = adapter->cur_eqd; | ||
107 | coalesce->tx_coalesce_usecs_high = adapter->max_eqd; | ||
108 | coalesce->tx_coalesce_usecs_low = adapter->min_eqd; | ||
109 | |||
110 | coalesce->use_adaptive_rx_coalesce = adapter->enable_aic; | ||
111 | coalesce->use_adaptive_tx_coalesce = adapter->enable_aic; | ||
112 | |||
113 | return 0; | ||
114 | } | ||
115 | |||
116 | /* | ||
117 | * This routine is used to set interrup coalescing delay *as well as* | ||
118 | * the number of pkts to coalesce for LRO. | ||
119 | */ | ||
120 | static int | ||
121 | be_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) | ||
122 | { | ||
123 | struct be_net_object *pnob = netdev_priv(netdev); | ||
124 | struct be_adapter *adapter = pnob->adapter; | ||
125 | struct be_eq_object *eq_objectp; | ||
126 | u32 max, min, cur; | ||
127 | int status; | ||
128 | |||
129 | adapter->max_rx_coal = coalesce->rx_max_coalesced_frames; | ||
130 | if (adapter->max_rx_coal >= BE_LRO_MAX_PKTS) | ||
131 | adapter->max_rx_coal = BE_LRO_MAX_PKTS; | ||
132 | |||
133 | if (adapter->enable_aic == 0 && | ||
134 | coalesce->use_adaptive_rx_coalesce == 1) { | ||
135 | /* if AIC is being turned on now, start with an EQD of 0 */ | ||
136 | adapter->cur_eqd = 0; | ||
137 | } | ||
138 | adapter->enable_aic = coalesce->use_adaptive_rx_coalesce; | ||
139 | |||
140 | /* round off to nearest multiple of 8 */ | ||
141 | max = (((coalesce->rx_coalesce_usecs_high + 4) >> 3) << 3); | ||
142 | min = (((coalesce->rx_coalesce_usecs_low + 4) >> 3) << 3); | ||
143 | cur = (((coalesce->rx_coalesce_usecs + 4) >> 3) << 3); | ||
144 | |||
145 | if (adapter->enable_aic) { | ||
146 | /* accept low and high if AIC is enabled */ | ||
147 | if (max > MAX_EQD) | ||
148 | max = MAX_EQD; | ||
149 | if (min > max) | ||
150 | min = max; | ||
151 | adapter->max_eqd = max; | ||
152 | adapter->min_eqd = min; | ||
153 | if (adapter->cur_eqd > max) | ||
154 | adapter->cur_eqd = max; | ||
155 | if (adapter->cur_eqd < min) | ||
156 | adapter->cur_eqd = min; | ||
157 | } else { | ||
158 | /* accept specified coalesce_usecs only if AIC is disabled */ | ||
159 | if (cur > MAX_EQD) | ||
160 | cur = MAX_EQD; | ||
161 | eq_objectp = &pnob->event_q_obj; | ||
162 | status = | ||
163 | be_eq_modify_delay(&pnob->fn_obj, 1, &eq_objectp, &cur, | ||
164 | NULL, NULL, NULL); | ||
165 | if (status == BE_SUCCESS) | ||
166 | adapter->cur_eqd = cur; | ||
167 | } | ||
168 | return 0; | ||
169 | } | ||
170 | |||
171 | static u32 be_get_rx_csum(struct net_device *netdev) | ||
172 | { | ||
173 | struct be_net_object *pnob = netdev_priv(netdev); | ||
174 | struct be_adapter *adapter = pnob->adapter; | ||
175 | return adapter->rx_csum; | ||
176 | } | ||
177 | |||
178 | static int be_set_rx_csum(struct net_device *netdev, uint32_t data) | ||
179 | { | ||
180 | struct be_net_object *pnob = netdev_priv(netdev); | ||
181 | struct be_adapter *adapter = pnob->adapter; | ||
182 | |||
183 | if (data) | ||
184 | adapter->rx_csum = 1; | ||
185 | else | ||
186 | adapter->rx_csum = 0; | ||
187 | |||
188 | return 0; | ||
189 | } | ||
190 | |||
191 | static void | ||
192 | be_get_strings(struct net_device *netdev, uint32_t stringset, uint8_t *data) | ||
193 | { | ||
194 | switch (stringset) { | ||
195 | case ETH_SS_STATS: | ||
196 | memcpy(data, *benet_gstrings_stats, | ||
197 | sizeof(benet_gstrings_stats)); | ||
198 | break; | ||
199 | } | ||
200 | } | ||
201 | |||
202 | static int be_get_stats_count(struct net_device *netdev) | ||
203 | { | ||
204 | return BENET_STATS_LEN; | ||
205 | } | ||
206 | |||
207 | static void | ||
208 | be_get_ethtool_stats(struct net_device *netdev, | ||
209 | struct ethtool_stats *stats, uint64_t *data) | ||
210 | { | ||
211 | struct be_net_object *pnob = netdev_priv(netdev); | ||
212 | struct be_adapter *adapter = pnob->adapter; | ||
213 | int i; | ||
214 | |||
215 | benet_get_stats(netdev); | ||
216 | |||
217 | for (i = 0; i <= NET_DEV_STATS_LEN; i++) | ||
218 | data[i] = ((unsigned long *)&adapter->benet_stats)[i]; | ||
219 | |||
220 | data[i] = adapter->be_stat.bes_tx_reqs; | ||
221 | data[i++] = adapter->be_stat.bes_tx_fails; | ||
222 | data[i++] = adapter->be_stat.bes_fwd_reqs; | ||
223 | data[i++] = adapter->be_stat.bes_tx_wrbs; | ||
224 | |||
225 | data[i++] = adapter->be_stat.bes_ints; | ||
226 | data[i++] = adapter->be_stat.bes_events; | ||
227 | data[i++] = adapter->be_stat.bes_tx_events; | ||
228 | data[i++] = adapter->be_stat.bes_rx_events; | ||
229 | data[i++] = adapter->be_stat.bes_tx_compl; | ||
230 | data[i++] = adapter->be_stat.bes_rx_compl; | ||
231 | data[i++] = adapter->be_stat.bes_ethrx_post_fail; | ||
232 | data[i++] = adapter->be_stat.bes_802_3_dropped_frames; | ||
233 | data[i++] = adapter->be_stat.bes_802_3_malformed_frames; | ||
234 | data[i++] = adapter->be_stat.bes_rx_misc_pkts; | ||
235 | data[i++] = adapter->be_stat.bes_eth_tx_rate; | ||
236 | data[i++] = adapter->be_stat.bes_eth_rx_rate; | ||
237 | data[i++] = adapter->be_stat.bes_rx_coal; | ||
238 | data[i++] = adapter->be_stat.bes_rx_flush; | ||
239 | |||
240 | } | ||
241 | |||
242 | static int be_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) | ||
243 | { | ||
244 | ecmd->speed = SPEED_10000; | ||
245 | ecmd->duplex = DUPLEX_FULL; | ||
246 | ecmd->autoneg = AUTONEG_DISABLE; | ||
247 | return 0; | ||
248 | } | ||
249 | |||
250 | /* Get the Ring parameters from the pnob */ | ||
251 | static void | ||
252 | be_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) | ||
253 | { | ||
254 | struct be_net_object *pnob = netdev_priv(netdev); | ||
255 | |||
256 | /* Pre Set Maxims */ | ||
257 | ring->rx_max_pending = pnob->rx_q_len; | ||
258 | ring->rx_mini_max_pending = ring->rx_mini_max_pending; | ||
259 | ring->rx_jumbo_max_pending = ring->rx_jumbo_max_pending; | ||
260 | ring->tx_max_pending = pnob->tx_q_len; | ||
261 | |||
262 | /* Current hardware Settings */ | ||
263 | ring->rx_pending = atomic_read(&pnob->rx_q_posted); | ||
264 | ring->rx_mini_pending = ring->rx_mini_pending; | ||
265 | ring->rx_jumbo_pending = ring->rx_jumbo_pending; | ||
266 | ring->tx_pending = atomic_read(&pnob->tx_q_used); | ||
267 | |||
268 | } | ||
269 | |||
270 | static void | ||
271 | be_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *ecmd) | ||
272 | { | ||
273 | struct be_net_object *pnob = netdev_priv(netdev); | ||
274 | bool rxfc, txfc; | ||
275 | int status; | ||
276 | |||
277 | status = be_eth_get_flow_control(&pnob->fn_obj, &txfc, &rxfc); | ||
278 | if (status != BE_SUCCESS) { | ||
279 | dev_info(&netdev->dev, "Unable to get pause frame settings\n"); | ||
280 | /* return defaults */ | ||
281 | ecmd->rx_pause = 1; | ||
282 | ecmd->tx_pause = 0; | ||
283 | ecmd->autoneg = AUTONEG_ENABLE; | ||
284 | return; | ||
285 | } | ||
286 | |||
287 | if (txfc == true) | ||
288 | ecmd->tx_pause = 1; | ||
289 | else | ||
290 | ecmd->tx_pause = 0; | ||
291 | |||
292 | if (rxfc == true) | ||
293 | ecmd->rx_pause = 1; | ||
294 | else | ||
295 | ecmd->rx_pause = 0; | ||
296 | |||
297 | ecmd->autoneg = AUTONEG_ENABLE; | ||
298 | } | ||
299 | |||
300 | static int | ||
301 | be_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *ecmd) | ||
302 | { | ||
303 | struct be_net_object *pnob = netdev_priv(netdev); | ||
304 | bool txfc, rxfc; | ||
305 | int status; | ||
306 | |||
307 | if (ecmd->autoneg != AUTONEG_ENABLE) | ||
308 | return -EINVAL; | ||
309 | |||
310 | if (ecmd->tx_pause) | ||
311 | txfc = true; | ||
312 | else | ||
313 | txfc = false; | ||
314 | |||
315 | if (ecmd->rx_pause) | ||
316 | rxfc = true; | ||
317 | else | ||
318 | rxfc = false; | ||
319 | |||
320 | status = be_eth_set_flow_control(&pnob->fn_obj, txfc, rxfc); | ||
321 | if (status != BE_SUCCESS) { | ||
322 | dev_info(&netdev->dev, "Unable to set pause frame settings\n"); | ||
323 | return -1; | ||
324 | } | ||
325 | return 0; | ||
326 | } | ||
327 | |||
328 | struct ethtool_ops be_ethtool_ops = { | ||
329 | .get_settings = be_get_settings, | ||
330 | .get_drvinfo = be_get_drvinfo, | ||
331 | .get_link = ethtool_op_get_link, | ||
332 | .get_coalesce = be_get_coalesce, | ||
333 | .set_coalesce = be_set_coalesce, | ||
334 | .get_ringparam = be_get_ringparam, | ||
335 | .get_pauseparam = be_get_pauseparam, | ||
336 | .set_pauseparam = be_set_pauseparam, | ||
337 | .get_rx_csum = be_get_rx_csum, | ||
338 | .set_rx_csum = be_set_rx_csum, | ||
339 | .get_tx_csum = ethtool_op_get_tx_csum, | ||
340 | .set_tx_csum = ethtool_op_set_tx_csum, | ||
341 | .get_sg = ethtool_op_get_sg, | ||
342 | .set_sg = ethtool_op_set_sg, | ||
343 | .get_tso = ethtool_op_get_tso, | ||
344 | .set_tso = ethtool_op_set_tso, | ||
345 | .get_strings = be_get_strings, | ||
346 | .get_stats_count = be_get_stats_count, | ||
347 | .get_ethtool_stats = be_get_ethtool_stats, | ||
348 | }; | ||
diff --git a/drivers/staging/benet/be_init.c b/drivers/staging/benet/be_init.c deleted file mode 100644 index 12a026c3f9e1..000000000000 --- a/drivers/staging/benet/be_init.c +++ /dev/null | |||
@@ -1,1382 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | #include <linux/etherdevice.h> | ||
18 | #include "benet.h" | ||
19 | |||
20 | #define DRVR_VERSION "1.0.728" | ||
21 | |||
22 | static const struct pci_device_id be_device_id_table[] = { | ||
23 | {PCI_DEVICE(0x19a2, 0x0201)}, | ||
24 | {0} | ||
25 | }; | ||
26 | |||
27 | MODULE_DEVICE_TABLE(pci, be_device_id_table); | ||
28 | |||
29 | MODULE_VERSION(DRVR_VERSION); | ||
30 | |||
31 | #define DRV_DESCRIPTION "ServerEngines BladeEngine Network Driver Version " | ||
32 | |||
33 | MODULE_DESCRIPTION(DRV_DESCRIPTION DRVR_VERSION); | ||
34 | MODULE_AUTHOR("ServerEngines"); | ||
35 | MODULE_LICENSE("GPL"); | ||
36 | |||
37 | static unsigned int msix = 1; | ||
38 | module_param(msix, uint, S_IRUGO); | ||
39 | MODULE_PARM_DESC(msix, "Use MSI-x interrupts"); | ||
40 | |||
41 | static unsigned int rxbuf_size = 2048; /* Default RX frag size */ | ||
42 | module_param(rxbuf_size, uint, S_IRUGO); | ||
43 | MODULE_PARM_DESC(rxbuf_size, "Size of buffers to hold Rx data"); | ||
44 | |||
45 | const char be_drvr_ver[] = DRVR_VERSION; | ||
46 | char be_fw_ver[32]; /* F/W version filled in by be_probe */ | ||
47 | char be_driver_name[] = "benet"; | ||
48 | |||
49 | /* | ||
50 | * Number of entries in each queue. | ||
51 | */ | ||
52 | #define EVENT_Q_LEN 1024 | ||
53 | #define ETH_TXQ_LEN 2048 | ||
54 | #define ETH_TXCQ_LEN 1024 | ||
55 | #define ETH_RXQ_LEN 1024 /* Does not support any other value */ | ||
56 | #define ETH_UC_RXCQ_LEN 1024 | ||
57 | #define ETH_BC_RXCQ_LEN 256 | ||
58 | #define MCC_Q_LEN 64 /* total size not to exceed 8 pages */ | ||
59 | #define MCC_CQ_LEN 256 | ||
60 | |||
61 | /* Bit mask describing events of interest to be traced */ | ||
62 | unsigned int trace_level; | ||
63 | |||
64 | static int | ||
65 | init_pci_be_function(struct be_adapter *adapter, struct pci_dev *pdev) | ||
66 | { | ||
67 | u64 pa; | ||
68 | |||
69 | /* CSR */ | ||
70 | pa = pci_resource_start(pdev, 2); | ||
71 | adapter->csr_va = ioremap_nocache(pa, pci_resource_len(pdev, 2)); | ||
72 | if (adapter->csr_va == NULL) | ||
73 | return -ENOMEM; | ||
74 | |||
75 | /* Door Bell */ | ||
76 | pa = pci_resource_start(pdev, 4); | ||
77 | adapter->db_va = ioremap_nocache(pa, (128 * 1024)); | ||
78 | if (adapter->db_va == NULL) { | ||
79 | iounmap(adapter->csr_va); | ||
80 | return -ENOMEM; | ||
81 | } | ||
82 | |||
83 | /* PCI */ | ||
84 | pa = pci_resource_start(pdev, 1); | ||
85 | adapter->pci_va = ioremap_nocache(pa, pci_resource_len(pdev, 1)); | ||
86 | if (adapter->pci_va == NULL) { | ||
87 | iounmap(adapter->csr_va); | ||
88 | iounmap(adapter->db_va); | ||
89 | return -ENOMEM; | ||
90 | } | ||
91 | return 0; | ||
92 | } | ||
93 | |||
94 | /* | ||
95 | This function enables the interrupt corresponding to the Event | ||
96 | queue ID for the given NetObject | ||
97 | */ | ||
98 | void be_enable_eq_intr(struct be_net_object *pnob) | ||
99 | { | ||
100 | struct CQ_DB_AMAP cqdb; | ||
101 | cqdb.dw[0] = 0; | ||
102 | AMAP_SET_BITS_PTR(CQ_DB, event, &cqdb, 1); | ||
103 | AMAP_SET_BITS_PTR(CQ_DB, rearm, &cqdb, 1); | ||
104 | AMAP_SET_BITS_PTR(CQ_DB, num_popped, &cqdb, 0); | ||
105 | AMAP_SET_BITS_PTR(CQ_DB, qid, &cqdb, pnob->event_q_id); | ||
106 | PD_WRITE(&pnob->fn_obj, cq_db, cqdb.dw[0]); | ||
107 | } | ||
108 | |||
109 | /* | ||
110 | This function disables the interrupt corresponding to the Event | ||
111 | queue ID for the given NetObject | ||
112 | */ | ||
113 | void be_disable_eq_intr(struct be_net_object *pnob) | ||
114 | { | ||
115 | struct CQ_DB_AMAP cqdb; | ||
116 | cqdb.dw[0] = 0; | ||
117 | AMAP_SET_BITS_PTR(CQ_DB, event, &cqdb, 1); | ||
118 | AMAP_SET_BITS_PTR(CQ_DB, rearm, &cqdb, 0); | ||
119 | AMAP_SET_BITS_PTR(CQ_DB, num_popped, &cqdb, 0); | ||
120 | AMAP_SET_BITS_PTR(CQ_DB, qid, &cqdb, pnob->event_q_id); | ||
121 | PD_WRITE(&pnob->fn_obj, cq_db, cqdb.dw[0]); | ||
122 | } | ||
123 | |||
124 | /* | ||
125 | This function enables the interrupt from the network function | ||
126 | of the BladeEngine. Use the function be_disable_eq_intr() | ||
127 | to enable the interrupt from the event queue of only one specific | ||
128 | NetObject | ||
129 | */ | ||
130 | void be_enable_intr(struct be_net_object *pnob) | ||
131 | { | ||
132 | struct PCICFG_HOST_TIMER_INT_CTRL_CSR_AMAP ctrl; | ||
133 | u32 host_intr; | ||
134 | |||
135 | ctrl.dw[0] = PCICFG1_READ(&pnob->fn_obj, host_timer_int_ctrl); | ||
136 | host_intr = AMAP_GET_BITS_PTR(PCICFG_HOST_TIMER_INT_CTRL_CSR, | ||
137 | hostintr, ctrl.dw); | ||
138 | if (!host_intr) { | ||
139 | AMAP_SET_BITS_PTR(PCICFG_HOST_TIMER_INT_CTRL_CSR, | ||
140 | hostintr, ctrl.dw, 1); | ||
141 | PCICFG1_WRITE(&pnob->fn_obj, host_timer_int_ctrl, | ||
142 | ctrl.dw[0]); | ||
143 | } | ||
144 | } | ||
145 | |||
146 | /* | ||
147 | This function disables the interrupt from the network function of | ||
148 | the BladeEngine. Use the function be_disable_eq_intr() to | ||
149 | disable the interrupt from the event queue of only one specific NetObject | ||
150 | */ | ||
151 | void be_disable_intr(struct be_net_object *pnob) | ||
152 | { | ||
153 | |||
154 | struct PCICFG_HOST_TIMER_INT_CTRL_CSR_AMAP ctrl; | ||
155 | u32 host_intr; | ||
156 | ctrl.dw[0] = PCICFG1_READ(&pnob->fn_obj, host_timer_int_ctrl); | ||
157 | host_intr = AMAP_GET_BITS_PTR(PCICFG_HOST_TIMER_INT_CTRL_CSR, | ||
158 | hostintr, ctrl.dw); | ||
159 | if (host_intr) { | ||
160 | AMAP_SET_BITS_PTR(PCICFG_HOST_TIMER_INT_CTRL_CSR, hostintr, | ||
161 | ctrl.dw, 0); | ||
162 | PCICFG1_WRITE(&pnob->fn_obj, host_timer_int_ctrl, | ||
163 | ctrl.dw[0]); | ||
164 | } | ||
165 | } | ||
166 | |||
167 | static int be_enable_msix(struct be_adapter *adapter) | ||
168 | { | ||
169 | int i, ret; | ||
170 | |||
171 | if (!msix) | ||
172 | return -1; | ||
173 | |||
174 | for (i = 0; i < BE_MAX_REQ_MSIX_VECTORS; i++) | ||
175 | adapter->msix_entries[i].entry = i; | ||
176 | |||
177 | ret = pci_enable_msix(adapter->pdev, adapter->msix_entries, | ||
178 | BE_MAX_REQ_MSIX_VECTORS); | ||
179 | |||
180 | if (ret == 0) | ||
181 | adapter->msix_enabled = 1; | ||
182 | return ret; | ||
183 | } | ||
184 | |||
185 | static int be_register_isr(struct be_adapter *adapter, | ||
186 | struct be_net_object *pnob) | ||
187 | { | ||
188 | struct net_device *netdev = pnob->netdev; | ||
189 | int intx = 0, r; | ||
190 | |||
191 | netdev->irq = adapter->pdev->irq; | ||
192 | r = be_enable_msix(adapter); | ||
193 | |||
194 | if (r == 0) { | ||
195 | r = request_irq(adapter->msix_entries[0].vector, | ||
196 | be_int, IRQF_SHARED, netdev->name, netdev); | ||
197 | if (r) { | ||
198 | printk(KERN_WARNING | ||
199 | "MSIX Request IRQ failed - Errno %d\n", r); | ||
200 | intx = 1; | ||
201 | pci_disable_msix(adapter->pdev); | ||
202 | adapter->msix_enabled = 0; | ||
203 | } | ||
204 | } else { | ||
205 | intx = 1; | ||
206 | } | ||
207 | |||
208 | if (intx) { | ||
209 | r = request_irq(netdev->irq, be_int, IRQF_SHARED, | ||
210 | netdev->name, netdev); | ||
211 | if (r) { | ||
212 | printk(KERN_WARNING | ||
213 | "INTx Request IRQ failed - Errno %d\n", r); | ||
214 | return -1; | ||
215 | } | ||
216 | } | ||
217 | adapter->isr_registered = 1; | ||
218 | return 0; | ||
219 | } | ||
220 | |||
221 | static void be_unregister_isr(struct be_adapter *adapter) | ||
222 | { | ||
223 | struct net_device *netdev = adapter->netdevp; | ||
224 | if (adapter->isr_registered) { | ||
225 | if (adapter->msix_enabled) { | ||
226 | free_irq(adapter->msix_entries[0].vector, netdev); | ||
227 | pci_disable_msix(adapter->pdev); | ||
228 | adapter->msix_enabled = 0; | ||
229 | } else { | ||
230 | free_irq(netdev->irq, netdev); | ||
231 | } | ||
232 | adapter->isr_registered = 0; | ||
233 | } | ||
234 | } | ||
235 | |||
236 | /* | ||
237 | This function processes the Flush Completions that are issued by the | ||
238 | ARM F/W, when a Recv Ring is destroyed. A flush completion is | ||
239 | identified when a Rx COmpl descriptor has the tcpcksum and udpcksum | ||
240 | set and the pktsize is 32. These completions are received on the | ||
241 | Rx Completion Queue. | ||
242 | */ | ||
243 | static u32 be_process_rx_flush_cmpl(struct be_net_object *pnob) | ||
244 | { | ||
245 | struct ETH_RX_COMPL_AMAP *rxcp; | ||
246 | unsigned int i = 0; | ||
247 | while ((rxcp = be_get_rx_cmpl(pnob)) != NULL) { | ||
248 | be_notify_cmpl(pnob, 1, pnob->rx_cq_id, 1); | ||
249 | i++; | ||
250 | } | ||
251 | return i; | ||
252 | } | ||
253 | |||
254 | static void be_tx_q_clean(struct be_net_object *pnob) | ||
255 | { | ||
256 | while (atomic_read(&pnob->tx_q_used)) | ||
257 | process_one_tx_compl(pnob, tx_compl_lastwrb_idx_get(pnob)); | ||
258 | } | ||
259 | |||
260 | static void be_rx_q_clean(struct be_net_object *pnob) | ||
261 | { | ||
262 | if (pnob->rx_ctxt) { | ||
263 | int i; | ||
264 | struct be_rx_page_info *rx_page_info; | ||
265 | for (i = 0; i < pnob->rx_q_len; i++) { | ||
266 | rx_page_info = &(pnob->rx_page_info[i]); | ||
267 | if (!pnob->rx_pg_shared || rx_page_info->page_offset) { | ||
268 | pci_unmap_page(pnob->adapter->pdev, | ||
269 | pci_unmap_addr(rx_page_info, bus), | ||
270 | pnob->rx_buf_size, | ||
271 | PCI_DMA_FROMDEVICE); | ||
272 | } | ||
273 | if (rx_page_info->page) | ||
274 | put_page(rx_page_info->page); | ||
275 | memset(rx_page_info, 0, sizeof(struct be_rx_page_info)); | ||
276 | } | ||
277 | pnob->rx_pg_info_hd = 0; | ||
278 | } | ||
279 | } | ||
280 | |||
281 | static void be_destroy_netobj(struct be_net_object *pnob) | ||
282 | { | ||
283 | int status; | ||
284 | |||
285 | if (pnob->tx_q_created) { | ||
286 | status = be_eth_sq_destroy(&pnob->tx_q_obj); | ||
287 | pnob->tx_q_created = 0; | ||
288 | } | ||
289 | |||
290 | if (pnob->rx_q_created) { | ||
291 | status = be_eth_rq_destroy(&pnob->rx_q_obj); | ||
292 | if (status != 0) { | ||
293 | status = be_eth_rq_destroy_options(&pnob->rx_q_obj, 0, | ||
294 | NULL, NULL); | ||
295 | BUG_ON(status); | ||
296 | } | ||
297 | pnob->rx_q_created = 0; | ||
298 | } | ||
299 | |||
300 | be_process_rx_flush_cmpl(pnob); | ||
301 | |||
302 | if (pnob->tx_cq_created) { | ||
303 | status = be_cq_destroy(&pnob->tx_cq_obj); | ||
304 | pnob->tx_cq_created = 0; | ||
305 | } | ||
306 | |||
307 | if (pnob->rx_cq_created) { | ||
308 | status = be_cq_destroy(&pnob->rx_cq_obj); | ||
309 | pnob->rx_cq_created = 0; | ||
310 | } | ||
311 | |||
312 | if (pnob->mcc_q_created) { | ||
313 | status = be_mcc_ring_destroy(&pnob->mcc_q_obj); | ||
314 | pnob->mcc_q_created = 0; | ||
315 | } | ||
316 | if (pnob->mcc_cq_created) { | ||
317 | status = be_cq_destroy(&pnob->mcc_cq_obj); | ||
318 | pnob->mcc_cq_created = 0; | ||
319 | } | ||
320 | |||
321 | if (pnob->event_q_created) { | ||
322 | status = be_eq_destroy(&pnob->event_q_obj); | ||
323 | pnob->event_q_created = 0; | ||
324 | } | ||
325 | be_function_cleanup(&pnob->fn_obj); | ||
326 | } | ||
327 | |||
328 | /* | ||
329 | * free all resources associated with a pnob | ||
330 | * Called at the time of module cleanup as well a any error during | ||
331 | * module init. Some resources may be partially allocated in a NetObj. | ||
332 | */ | ||
333 | static void netobject_cleanup(struct be_adapter *adapter, | ||
334 | struct be_net_object *pnob) | ||
335 | { | ||
336 | struct net_device *netdev = adapter->netdevp; | ||
337 | |||
338 | if (netif_running(netdev)) { | ||
339 | netif_stop_queue(netdev); | ||
340 | be_wait_nic_tx_cmplx_cmpl(pnob); | ||
341 | be_disable_eq_intr(pnob); | ||
342 | } | ||
343 | |||
344 | be_unregister_isr(adapter); | ||
345 | |||
346 | if (adapter->tasklet_started) { | ||
347 | tasklet_kill(&(adapter->sts_handler)); | ||
348 | adapter->tasklet_started = 0; | ||
349 | } | ||
350 | if (pnob->fn_obj_created) | ||
351 | be_disable_intr(pnob); | ||
352 | |||
353 | if (adapter->dev_state != BE_DEV_STATE_NONE) | ||
354 | unregister_netdev(netdev); | ||
355 | |||
356 | if (pnob->fn_obj_created) | ||
357 | be_destroy_netobj(pnob); | ||
358 | |||
359 | adapter->net_obj = NULL; | ||
360 | adapter->netdevp = NULL; | ||
361 | |||
362 | be_rx_q_clean(pnob); | ||
363 | if (pnob->rx_ctxt) { | ||
364 | kfree(pnob->rx_page_info); | ||
365 | kfree(pnob->rx_ctxt); | ||
366 | } | ||
367 | |||
368 | be_tx_q_clean(pnob); | ||
369 | kfree(pnob->tx_ctxt); | ||
370 | |||
371 | if (pnob->mcc_q) | ||
372 | pci_free_consistent(adapter->pdev, pnob->mcc_q_size, | ||
373 | pnob->mcc_q, pnob->mcc_q_bus); | ||
374 | |||
375 | if (pnob->mcc_wrb_ctxt) | ||
376 | free_pages((unsigned long)pnob->mcc_wrb_ctxt, | ||
377 | get_order(pnob->mcc_wrb_ctxt_size)); | ||
378 | |||
379 | if (pnob->mcc_cq) | ||
380 | pci_free_consistent(adapter->pdev, pnob->mcc_cq_size, | ||
381 | pnob->mcc_cq, pnob->mcc_cq_bus); | ||
382 | |||
383 | if (pnob->event_q) | ||
384 | pci_free_consistent(adapter->pdev, pnob->event_q_size, | ||
385 | pnob->event_q, pnob->event_q_bus); | ||
386 | |||
387 | if (pnob->tx_cq) | ||
388 | pci_free_consistent(adapter->pdev, pnob->tx_cq_size, | ||
389 | pnob->tx_cq, pnob->tx_cq_bus); | ||
390 | |||
391 | if (pnob->tx_q) | ||
392 | pci_free_consistent(adapter->pdev, pnob->tx_q_size, | ||
393 | pnob->tx_q, pnob->tx_q_bus); | ||
394 | |||
395 | if (pnob->rx_q) | ||
396 | pci_free_consistent(adapter->pdev, pnob->rx_q_size, | ||
397 | pnob->rx_q, pnob->rx_q_bus); | ||
398 | |||
399 | if (pnob->rx_cq) | ||
400 | pci_free_consistent(adapter->pdev, pnob->rx_cq_size, | ||
401 | pnob->rx_cq, pnob->rx_cq_bus); | ||
402 | |||
403 | |||
404 | if (pnob->mb_ptr) | ||
405 | pci_free_consistent(adapter->pdev, pnob->mb_size, pnob->mb_ptr, | ||
406 | pnob->mb_bus); | ||
407 | |||
408 | free_netdev(netdev); | ||
409 | } | ||
410 | |||
411 | |||
412 | static int be_nob_ring_alloc(struct be_adapter *adapter, | ||
413 | struct be_net_object *pnob) | ||
414 | { | ||
415 | u32 size; | ||
416 | |||
417 | /* Mail box rd; mailbox pointer needs to be 16 byte aligned */ | ||
418 | pnob->mb_size = sizeof(struct MCC_MAILBOX_AMAP) + 16; | ||
419 | pnob->mb_ptr = pci_alloc_consistent(adapter->pdev, pnob->mb_size, | ||
420 | &pnob->mb_bus); | ||
421 | if (!pnob->mb_bus) | ||
422 | return -1; | ||
423 | memset(pnob->mb_ptr, 0, pnob->mb_size); | ||
424 | pnob->mb_rd.va = PTR_ALIGN(pnob->mb_ptr, 16); | ||
425 | pnob->mb_rd.pa = PTR_ALIGN(pnob->mb_bus, 16); | ||
426 | pnob->mb_rd.length = sizeof(struct MCC_MAILBOX_AMAP); | ||
427 | /* | ||
428 | * Event queue | ||
429 | */ | ||
430 | pnob->event_q_len = EVENT_Q_LEN; | ||
431 | pnob->event_q_size = pnob->event_q_len * sizeof(struct EQ_ENTRY_AMAP); | ||
432 | pnob->event_q = pci_alloc_consistent(adapter->pdev, pnob->event_q_size, | ||
433 | &pnob->event_q_bus); | ||
434 | if (!pnob->event_q_bus) | ||
435 | return -1; | ||
436 | memset(pnob->event_q, 0, pnob->event_q_size); | ||
437 | /* | ||
438 | * Eth TX queue | ||
439 | */ | ||
440 | pnob->tx_q_len = ETH_TXQ_LEN; | ||
441 | pnob->tx_q_port = 0; | ||
442 | pnob->tx_q_size = pnob->tx_q_len * sizeof(struct ETH_WRB_AMAP); | ||
443 | pnob->tx_q = pci_alloc_consistent(adapter->pdev, pnob->tx_q_size, | ||
444 | &pnob->tx_q_bus); | ||
445 | if (!pnob->tx_q_bus) | ||
446 | return -1; | ||
447 | memset(pnob->tx_q, 0, pnob->tx_q_size); | ||
448 | /* | ||
449 | * Eth TX Compl queue | ||
450 | */ | ||
451 | pnob->txcq_len = ETH_TXCQ_LEN; | ||
452 | pnob->tx_cq_size = pnob->txcq_len * sizeof(struct ETH_TX_COMPL_AMAP); | ||
453 | pnob->tx_cq = pci_alloc_consistent(adapter->pdev, pnob->tx_cq_size, | ||
454 | &pnob->tx_cq_bus); | ||
455 | if (!pnob->tx_cq_bus) | ||
456 | return -1; | ||
457 | memset(pnob->tx_cq, 0, pnob->tx_cq_size); | ||
458 | /* | ||
459 | * Eth RX queue | ||
460 | */ | ||
461 | pnob->rx_q_len = ETH_RXQ_LEN; | ||
462 | pnob->rx_q_size = pnob->rx_q_len * sizeof(struct ETH_RX_D_AMAP); | ||
463 | pnob->rx_q = pci_alloc_consistent(adapter->pdev, pnob->rx_q_size, | ||
464 | &pnob->rx_q_bus); | ||
465 | if (!pnob->rx_q_bus) | ||
466 | return -1; | ||
467 | memset(pnob->rx_q, 0, pnob->rx_q_size); | ||
468 | /* | ||
469 | * Eth Unicast RX Compl queue | ||
470 | */ | ||
471 | pnob->rx_cq_len = ETH_UC_RXCQ_LEN; | ||
472 | pnob->rx_cq_size = pnob->rx_cq_len * | ||
473 | sizeof(struct ETH_RX_COMPL_AMAP); | ||
474 | pnob->rx_cq = pci_alloc_consistent(adapter->pdev, pnob->rx_cq_size, | ||
475 | &pnob->rx_cq_bus); | ||
476 | if (!pnob->rx_cq_bus) | ||
477 | return -1; | ||
478 | memset(pnob->rx_cq, 0, pnob->rx_cq_size); | ||
479 | |||
480 | /* TX resources */ | ||
481 | size = pnob->tx_q_len * sizeof(void **); | ||
482 | pnob->tx_ctxt = kzalloc(size, GFP_KERNEL); | ||
483 | if (pnob->tx_ctxt == NULL) | ||
484 | return -1; | ||
485 | |||
486 | /* RX resources */ | ||
487 | size = pnob->rx_q_len * sizeof(void *); | ||
488 | pnob->rx_ctxt = kzalloc(size, GFP_KERNEL); | ||
489 | if (pnob->rx_ctxt == NULL) | ||
490 | return -1; | ||
491 | |||
492 | size = (pnob->rx_q_len * sizeof(struct be_rx_page_info)); | ||
493 | pnob->rx_page_info = kzalloc(size, GFP_KERNEL); | ||
494 | if (pnob->rx_page_info == NULL) | ||
495 | return -1; | ||
496 | |||
497 | adapter->eth_statsp = kzalloc(sizeof(struct FWCMD_ETH_GET_STATISTICS), | ||
498 | GFP_KERNEL); | ||
499 | if (adapter->eth_statsp == NULL) | ||
500 | return -1; | ||
501 | pnob->rx_buf_size = rxbuf_size; | ||
502 | return 0; | ||
503 | } | ||
504 | |||
505 | /* | ||
506 | This function initializes the be_net_object for subsequent | ||
507 | network operations. | ||
508 | |||
509 | Before calling this function, the driver must have allocated | ||
510 | space for the NetObject structure, initialized the structure, | ||
511 | allocated DMAable memory for all the network queues that form | ||
512 | part of the NetObject and populated the start address (virtual) | ||
513 | and number of entries allocated for each queue in the NetObject structure. | ||
514 | |||
515 | The driver must also have allocated memory to hold the | ||
516 | mailbox structure (MCC_MAILBOX) and post the physical address, | ||
517 | virtual addresses and the size of the mailbox memory in the | ||
518 | NetObj.mb_rd. This structure is used by BECLIB for | ||
519 | initial communication with the embedded MCC processor. BECLIB | ||
520 | uses the mailbox until MCC rings are created for more efficient | ||
521 | communication with the MCC processor. | ||
522 | |||
523 | If the driver wants to create multiple network interface for more | ||
524 | than one protection domain, it can call be_create_netobj() | ||
525 | multiple times once for each protection domain. A Maximum of | ||
526 | 32 protection domains are supported. | ||
527 | |||
528 | */ | ||
529 | static int | ||
530 | be_create_netobj(struct be_net_object *pnob, u8 __iomem *csr_va, | ||
531 | u8 __iomem *db_va, u8 __iomem *pci_va) | ||
532 | { | ||
533 | int status = 0; | ||
534 | bool eventable = false, tx_no_delay = false, rx_no_delay = false; | ||
535 | struct be_eq_object *eq_objectp = NULL; | ||
536 | struct be_function_object *pfob = &pnob->fn_obj; | ||
537 | struct ring_desc rd; | ||
538 | u32 set_rxbuf_size; | ||
539 | u32 tx_cmpl_wm = CEV_WMARK_96; /* 0xffffffff to disable */ | ||
540 | u32 rx_cmpl_wm = CEV_WMARK_160; /* 0xffffffff to disable */ | ||
541 | u32 eq_delay = 0; /* delay in 8usec units. 0xffffffff to disable */ | ||
542 | |||
543 | memset(&rd, 0, sizeof(struct ring_desc)); | ||
544 | |||
545 | status = be_function_object_create(csr_va, db_va, pci_va, | ||
546 | BE_FUNCTION_TYPE_NETWORK, &pnob->mb_rd, pfob); | ||
547 | if (status != BE_SUCCESS) | ||
548 | return status; | ||
549 | pnob->fn_obj_created = true; | ||
550 | |||
551 | if (tx_cmpl_wm == 0xffffffff) | ||
552 | tx_no_delay = true; | ||
553 | if (rx_cmpl_wm == 0xffffffff) | ||
554 | rx_no_delay = true; | ||
555 | /* | ||
556 | * now create the necessary rings | ||
557 | * Event Queue first. | ||
558 | */ | ||
559 | if (pnob->event_q_len) { | ||
560 | rd.va = pnob->event_q; | ||
561 | rd.pa = pnob->event_q_bus; | ||
562 | rd.length = pnob->event_q_size; | ||
563 | |||
564 | status = be_eq_create(pfob, &rd, 4, pnob->event_q_len, | ||
565 | (u32) -1, /* CEV_WMARK_* or -1 */ | ||
566 | eq_delay, /* in 8us units, or -1 */ | ||
567 | &pnob->event_q_obj); | ||
568 | if (status != BE_SUCCESS) | ||
569 | goto error_ret; | ||
570 | pnob->event_q_id = pnob->event_q_obj.eq_id; | ||
571 | pnob->event_q_created = 1; | ||
572 | eventable = true; | ||
573 | eq_objectp = &pnob->event_q_obj; | ||
574 | } | ||
575 | /* | ||
576 | * Now Eth Tx Compl. queue. | ||
577 | */ | ||
578 | if (pnob->txcq_len) { | ||
579 | rd.va = pnob->tx_cq; | ||
580 | rd.pa = pnob->tx_cq_bus; | ||
581 | rd.length = pnob->tx_cq_size; | ||
582 | |||
583 | status = be_cq_create(pfob, &rd, | ||
584 | pnob->txcq_len * sizeof(struct ETH_TX_COMPL_AMAP), | ||
585 | false, /* solicted events, */ | ||
586 | tx_no_delay, /* nodelay */ | ||
587 | tx_cmpl_wm, /* Watermark encodings */ | ||
588 | eq_objectp, &pnob->tx_cq_obj); | ||
589 | if (status != BE_SUCCESS) | ||
590 | goto error_ret; | ||
591 | |||
592 | pnob->tx_cq_id = pnob->tx_cq_obj.cq_id; | ||
593 | pnob->tx_cq_created = 1; | ||
594 | } | ||
595 | /* | ||
596 | * Eth Tx queue | ||
597 | */ | ||
598 | if (pnob->tx_q_len) { | ||
599 | struct be_eth_sq_parameters ex_params = { 0 }; | ||
600 | u32 type; | ||
601 | |||
602 | if (pnob->tx_q_port) { | ||
603 | /* TXQ to be bound to a specific port */ | ||
604 | type = BE_ETH_TX_RING_TYPE_BOUND; | ||
605 | ex_params.port = pnob->tx_q_port - 1; | ||
606 | } else | ||
607 | type = BE_ETH_TX_RING_TYPE_STANDARD; | ||
608 | |||
609 | rd.va = pnob->tx_q; | ||
610 | rd.pa = pnob->tx_q_bus; | ||
611 | rd.length = pnob->tx_q_size; | ||
612 | |||
613 | status = be_eth_sq_create_ex(pfob, &rd, | ||
614 | pnob->tx_q_len * sizeof(struct ETH_WRB_AMAP), | ||
615 | type, 2, &pnob->tx_cq_obj, | ||
616 | &ex_params, &pnob->tx_q_obj); | ||
617 | |||
618 | if (status != BE_SUCCESS) | ||
619 | goto error_ret; | ||
620 | |||
621 | pnob->tx_q_id = pnob->tx_q_obj.bid; | ||
622 | pnob->tx_q_created = 1; | ||
623 | } | ||
624 | /* | ||
625 | * Now Eth Rx compl. queue. Always needed. | ||
626 | */ | ||
627 | rd.va = pnob->rx_cq; | ||
628 | rd.pa = pnob->rx_cq_bus; | ||
629 | rd.length = pnob->rx_cq_size; | ||
630 | |||
631 | status = be_cq_create(pfob, &rd, | ||
632 | pnob->rx_cq_len * sizeof(struct ETH_RX_COMPL_AMAP), | ||
633 | false, /* solicted events, */ | ||
634 | rx_no_delay, /* nodelay */ | ||
635 | rx_cmpl_wm, /* Watermark encodings */ | ||
636 | eq_objectp, &pnob->rx_cq_obj); | ||
637 | if (status != BE_SUCCESS) | ||
638 | goto error_ret; | ||
639 | |||
640 | pnob->rx_cq_id = pnob->rx_cq_obj.cq_id; | ||
641 | pnob->rx_cq_created = 1; | ||
642 | |||
643 | status = be_eth_rq_set_frag_size(pfob, pnob->rx_buf_size, | ||
644 | (u32 *) &set_rxbuf_size); | ||
645 | if (status != BE_SUCCESS) { | ||
646 | be_eth_rq_get_frag_size(pfob, (u32 *) &pnob->rx_buf_size); | ||
647 | if ((pnob->rx_buf_size != 2048) && (pnob->rx_buf_size != 4096) | ||
648 | && (pnob->rx_buf_size != 8192)) | ||
649 | goto error_ret; | ||
650 | } else { | ||
651 | if (pnob->rx_buf_size != set_rxbuf_size) | ||
652 | pnob->rx_buf_size = set_rxbuf_size; | ||
653 | } | ||
654 | /* | ||
655 | * Eth RX queue. be_eth_rq_create() always assumes 2 pages size | ||
656 | */ | ||
657 | rd.va = pnob->rx_q; | ||
658 | rd.pa = pnob->rx_q_bus; | ||
659 | rd.length = pnob->rx_q_size; | ||
660 | |||
661 | status = be_eth_rq_create(pfob, &rd, &pnob->rx_cq_obj, | ||
662 | &pnob->rx_cq_obj, &pnob->rx_q_obj); | ||
663 | |||
664 | if (status != BE_SUCCESS) | ||
665 | goto error_ret; | ||
666 | |||
667 | pnob->rx_q_id = pnob->rx_q_obj.rid; | ||
668 | pnob->rx_q_created = 1; | ||
669 | |||
670 | return BE_SUCCESS; /* All required queues created. */ | ||
671 | |||
672 | error_ret: | ||
673 | be_destroy_netobj(pnob); | ||
674 | return status; | ||
675 | } | ||
676 | |||
677 | static int be_nob_ring_init(struct be_adapter *adapter, | ||
678 | struct be_net_object *pnob) | ||
679 | { | ||
680 | int status; | ||
681 | |||
682 | pnob->event_q_tl = 0; | ||
683 | |||
684 | pnob->tx_q_hd = 0; | ||
685 | pnob->tx_q_tl = 0; | ||
686 | |||
687 | pnob->tx_cq_tl = 0; | ||
688 | |||
689 | pnob->rx_cq_tl = 0; | ||
690 | |||
691 | memset(pnob->event_q, 0, pnob->event_q_size); | ||
692 | memset(pnob->tx_cq, 0, pnob->tx_cq_size); | ||
693 | memset(pnob->tx_ctxt, 0, pnob->tx_q_len * sizeof(void **)); | ||
694 | memset(pnob->rx_ctxt, 0, pnob->rx_q_len * sizeof(void *)); | ||
695 | pnob->rx_pg_info_hd = 0; | ||
696 | pnob->rx_q_hd = 0; | ||
697 | atomic_set(&pnob->rx_q_posted, 0); | ||
698 | |||
699 | status = be_create_netobj(pnob, adapter->csr_va, adapter->db_va, | ||
700 | adapter->pci_va); | ||
701 | if (status != BE_SUCCESS) | ||
702 | return -1; | ||
703 | |||
704 | be_post_eth_rx_buffs(pnob); | ||
705 | return 0; | ||
706 | } | ||
707 | |||
708 | /* This function handles async callback for link status */ | ||
709 | static void | ||
710 | be_link_status_async_callback(void *context, u32 event_code, void *event) | ||
711 | { | ||
712 | struct ASYNC_EVENT_LINK_STATE_AMAP *link_status = event; | ||
713 | struct be_adapter *adapter = context; | ||
714 | bool link_enable = false; | ||
715 | struct be_net_object *pnob; | ||
716 | struct ASYNC_EVENT_TRAILER_AMAP *async_trailer; | ||
717 | struct net_device *netdev; | ||
718 | u32 async_event_code, async_event_type, active_port; | ||
719 | u32 port0_link_status, port1_link_status, port0_duplex, port1_duplex; | ||
720 | u32 port0_speed, port1_speed; | ||
721 | |||
722 | if (event_code != ASYNC_EVENT_CODE_LINK_STATE) { | ||
723 | /* Not our event to handle */ | ||
724 | return; | ||
725 | } | ||
726 | async_trailer = (struct ASYNC_EVENT_TRAILER_AMAP *) | ||
727 | ((u8 *) event + sizeof(struct MCC_CQ_ENTRY_AMAP) - | ||
728 | sizeof(struct ASYNC_EVENT_TRAILER_AMAP)); | ||
729 | |||
730 | async_event_code = AMAP_GET_BITS_PTR(ASYNC_EVENT_TRAILER, event_code, | ||
731 | async_trailer); | ||
732 | BUG_ON(async_event_code != ASYNC_EVENT_CODE_LINK_STATE); | ||
733 | |||
734 | pnob = adapter->net_obj; | ||
735 | netdev = pnob->netdev; | ||
736 | |||
737 | /* Determine if this event is a switch VLD or a physical link event */ | ||
738 | async_event_type = AMAP_GET_BITS_PTR(ASYNC_EVENT_TRAILER, event_type, | ||
739 | async_trailer); | ||
740 | active_port = AMAP_GET_BITS_PTR(ASYNC_EVENT_LINK_STATE, | ||
741 | active_port, link_status); | ||
742 | port0_link_status = AMAP_GET_BITS_PTR(ASYNC_EVENT_LINK_STATE, | ||
743 | port0_link_status, link_status); | ||
744 | port1_link_status = AMAP_GET_BITS_PTR(ASYNC_EVENT_LINK_STATE, | ||
745 | port1_link_status, link_status); | ||
746 | port0_duplex = AMAP_GET_BITS_PTR(ASYNC_EVENT_LINK_STATE, | ||
747 | port0_duplex, link_status); | ||
748 | port1_duplex = AMAP_GET_BITS_PTR(ASYNC_EVENT_LINK_STATE, | ||
749 | port1_duplex, link_status); | ||
750 | port0_speed = AMAP_GET_BITS_PTR(ASYNC_EVENT_LINK_STATE, | ||
751 | port0_speed, link_status); | ||
752 | port1_speed = AMAP_GET_BITS_PTR(ASYNC_EVENT_LINK_STATE, | ||
753 | port1_speed, link_status); | ||
754 | if (async_event_type == NTWK_LINK_TYPE_VIRTUAL) { | ||
755 | adapter->be_stat.bes_link_change_virtual++; | ||
756 | if (adapter->be_link_sts->active_port != active_port) { | ||
757 | dev_notice(&netdev->dev, | ||
758 | "Active port changed due to VLD on switch\n"); | ||
759 | } else { | ||
760 | dev_notice(&netdev->dev, "Link status update\n"); | ||
761 | } | ||
762 | |||
763 | } else { | ||
764 | adapter->be_stat.bes_link_change_physical++; | ||
765 | if (adapter->be_link_sts->active_port != active_port) { | ||
766 | dev_notice(&netdev->dev, | ||
767 | "Active port changed due to port link" | ||
768 | " status change\n"); | ||
769 | } else { | ||
770 | dev_notice(&netdev->dev, "Link status update\n"); | ||
771 | } | ||
772 | } | ||
773 | |||
774 | memset(adapter->be_link_sts, 0, sizeof(adapter->be_link_sts)); | ||
775 | |||
776 | if ((port0_link_status == ASYNC_EVENT_LINK_UP) || | ||
777 | (port1_link_status == ASYNC_EVENT_LINK_UP)) { | ||
778 | if ((adapter->port0_link_sts == BE_PORT_LINK_DOWN) && | ||
779 | (adapter->port1_link_sts == BE_PORT_LINK_DOWN)) { | ||
780 | /* Earlier both the ports are down So link is up */ | ||
781 | link_enable = true; | ||
782 | } | ||
783 | |||
784 | if (port0_link_status == ASYNC_EVENT_LINK_UP) { | ||
785 | adapter->port0_link_sts = BE_PORT_LINK_UP; | ||
786 | adapter->be_link_sts->mac0_duplex = port0_duplex; | ||
787 | adapter->be_link_sts->mac0_speed = port0_speed; | ||
788 | if (active_port == NTWK_PORT_A) | ||
789 | adapter->be_link_sts->active_port = 0; | ||
790 | } else | ||
791 | adapter->port0_link_sts = BE_PORT_LINK_DOWN; | ||
792 | |||
793 | if (port1_link_status == ASYNC_EVENT_LINK_UP) { | ||
794 | adapter->port1_link_sts = BE_PORT_LINK_UP; | ||
795 | adapter->be_link_sts->mac1_duplex = port1_duplex; | ||
796 | adapter->be_link_sts->mac1_speed = port1_speed; | ||
797 | if (active_port == NTWK_PORT_B) | ||
798 | adapter->be_link_sts->active_port = 1; | ||
799 | } else | ||
800 | adapter->port1_link_sts = BE_PORT_LINK_DOWN; | ||
801 | |||
802 | printk(KERN_INFO "Link Properties for %s:\n", netdev->name); | ||
803 | dev_info(&netdev->dev, "Link Properties:\n"); | ||
804 | be_print_link_info(adapter->be_link_sts); | ||
805 | |||
806 | if (!link_enable) | ||
807 | return; | ||
808 | /* | ||
809 | * Both ports were down previously, but atleast one of | ||
810 | * them has come up if this netdevice's carrier is not up, | ||
811 | * then indicate to stack | ||
812 | */ | ||
813 | if (!netif_carrier_ok(netdev)) { | ||
814 | netif_start_queue(netdev); | ||
815 | netif_carrier_on(netdev); | ||
816 | } | ||
817 | return; | ||
818 | } | ||
819 | |||
820 | /* Now both the ports are down. Tell the stack about it */ | ||
821 | dev_info(&netdev->dev, "Both ports are down\n"); | ||
822 | adapter->port0_link_sts = BE_PORT_LINK_DOWN; | ||
823 | adapter->port1_link_sts = BE_PORT_LINK_DOWN; | ||
824 | if (netif_carrier_ok(netdev)) { | ||
825 | netif_carrier_off(netdev); | ||
826 | netif_stop_queue(netdev); | ||
827 | } | ||
828 | return; | ||
829 | } | ||
830 | |||
831 | static int be_mcc_create(struct be_adapter *adapter) | ||
832 | { | ||
833 | struct be_net_object *pnob; | ||
834 | |||
835 | pnob = adapter->net_obj; | ||
836 | /* | ||
837 | * Create the MCC ring so that all further communication with | ||
838 | * MCC can go thru the ring. we do this at the end since | ||
839 | * we do not want to be dealing with interrupts until the | ||
840 | * initialization is complete. | ||
841 | */ | ||
842 | pnob->mcc_q_len = MCC_Q_LEN; | ||
843 | pnob->mcc_q_size = pnob->mcc_q_len * sizeof(struct MCC_WRB_AMAP); | ||
844 | pnob->mcc_q = pci_alloc_consistent(adapter->pdev, pnob->mcc_q_size, | ||
845 | &pnob->mcc_q_bus); | ||
846 | if (!pnob->mcc_q_bus) | ||
847 | return -1; | ||
848 | /* | ||
849 | * space for MCC WRB context | ||
850 | */ | ||
851 | pnob->mcc_wrb_ctxtLen = MCC_Q_LEN; | ||
852 | pnob->mcc_wrb_ctxt_size = pnob->mcc_wrb_ctxtLen * | ||
853 | sizeof(struct be_mcc_wrb_context); | ||
854 | pnob->mcc_wrb_ctxt = (void *)__get_free_pages(GFP_KERNEL, | ||
855 | get_order(pnob->mcc_wrb_ctxt_size)); | ||
856 | if (pnob->mcc_wrb_ctxt == NULL) | ||
857 | return -1; | ||
858 | /* | ||
859 | * Space for MCC compl. ring | ||
860 | */ | ||
861 | pnob->mcc_cq_len = MCC_CQ_LEN; | ||
862 | pnob->mcc_cq_size = pnob->mcc_cq_len * sizeof(struct MCC_CQ_ENTRY_AMAP); | ||
863 | pnob->mcc_cq = pci_alloc_consistent(adapter->pdev, pnob->mcc_cq_size, | ||
864 | &pnob->mcc_cq_bus); | ||
865 | if (!pnob->mcc_cq_bus) | ||
866 | return -1; | ||
867 | return 0; | ||
868 | } | ||
869 | |||
870 | /* | ||
871 | This function creates the MCC request and completion ring required | ||
872 | for communicating with the ARM processor. The caller must have | ||
873 | allocated required amount of memory for the MCC ring and MCC | ||
874 | completion ring and posted the virtual address and number of | ||
875 | entries in the corresponding members (mcc_q and mcc_cq) in the | ||
876 | NetObject struture. | ||
877 | |||
878 | When this call is completed, all further communication with | ||
879 | ARM will switch from mailbox to this ring. | ||
880 | |||
881 | pnob - Pointer to the NetObject structure. This NetObject should | ||
882 | have been created using a previous call to be_create_netobj() | ||
883 | */ | ||
884 | int be_create_mcc_rings(struct be_net_object *pnob) | ||
885 | { | ||
886 | int status = 0; | ||
887 | struct ring_desc rd; | ||
888 | struct be_function_object *pfob = &pnob->fn_obj; | ||
889 | |||
890 | memset(&rd, 0, sizeof(struct ring_desc)); | ||
891 | if (pnob->mcc_cq_len) { | ||
892 | rd.va = pnob->mcc_cq; | ||
893 | rd.pa = pnob->mcc_cq_bus; | ||
894 | rd.length = pnob->mcc_cq_size; | ||
895 | |||
896 | status = be_cq_create(pfob, &rd, | ||
897 | pnob->mcc_cq_len * sizeof(struct MCC_CQ_ENTRY_AMAP), | ||
898 | false, /* solicted events, */ | ||
899 | true, /* nodelay */ | ||
900 | 0, /* 0 Watermark since Nodelay is true */ | ||
901 | &pnob->event_q_obj, | ||
902 | &pnob->mcc_cq_obj); | ||
903 | |||
904 | if (status != BE_SUCCESS) | ||
905 | return status; | ||
906 | |||
907 | pnob->mcc_cq_id = pnob->mcc_cq_obj.cq_id; | ||
908 | pnob->mcc_cq_created = 1; | ||
909 | } | ||
910 | if (pnob->mcc_q_len) { | ||
911 | rd.va = pnob->mcc_q; | ||
912 | rd.pa = pnob->mcc_q_bus; | ||
913 | rd.length = pnob->mcc_q_size; | ||
914 | |||
915 | status = be_mcc_ring_create(pfob, &rd, | ||
916 | pnob->mcc_q_len * sizeof(struct MCC_WRB_AMAP), | ||
917 | pnob->mcc_wrb_ctxt, pnob->mcc_wrb_ctxtLen, | ||
918 | &pnob->mcc_cq_obj, &pnob->mcc_q_obj); | ||
919 | |||
920 | if (status != BE_SUCCESS) | ||
921 | return status; | ||
922 | |||
923 | pnob->mcc_q_created = 1; | ||
924 | } | ||
925 | return BE_SUCCESS; | ||
926 | } | ||
927 | |||
928 | static int be_mcc_init(struct be_adapter *adapter) | ||
929 | { | ||
930 | u32 r; | ||
931 | struct be_net_object *pnob; | ||
932 | |||
933 | pnob = adapter->net_obj; | ||
934 | memset(pnob->mcc_q, 0, pnob->mcc_q_size); | ||
935 | pnob->mcc_q_hd = 0; | ||
936 | |||
937 | memset(pnob->mcc_wrb_ctxt, 0, pnob->mcc_wrb_ctxt_size); | ||
938 | |||
939 | memset(pnob->mcc_cq, 0, pnob->mcc_cq_size); | ||
940 | pnob->mcc_cq_tl = 0; | ||
941 | |||
942 | r = be_create_mcc_rings(adapter->net_obj); | ||
943 | if (r != BE_SUCCESS) | ||
944 | return -1; | ||
945 | |||
946 | return 0; | ||
947 | } | ||
948 | |||
949 | static void be_remove(struct pci_dev *pdev) | ||
950 | { | ||
951 | struct be_net_object *pnob; | ||
952 | struct be_adapter *adapter; | ||
953 | |||
954 | adapter = pci_get_drvdata(pdev); | ||
955 | if (!adapter) | ||
956 | return; | ||
957 | |||
958 | pci_set_drvdata(pdev, NULL); | ||
959 | pnob = (struct be_net_object *)adapter->net_obj; | ||
960 | |||
961 | flush_scheduled_work(); | ||
962 | |||
963 | if (pnob) { | ||
964 | /* Unregister async callback function for link status updates */ | ||
965 | if (pnob->mcc_q_created) | ||
966 | be_mcc_add_async_event_callback(&pnob->mcc_q_obj, | ||
967 | NULL, NULL); | ||
968 | netobject_cleanup(adapter, pnob); | ||
969 | } | ||
970 | |||
971 | if (adapter->csr_va) | ||
972 | iounmap(adapter->csr_va); | ||
973 | if (adapter->db_va) | ||
974 | iounmap(adapter->db_va); | ||
975 | if (adapter->pci_va) | ||
976 | iounmap(adapter->pci_va); | ||
977 | |||
978 | pci_release_regions(adapter->pdev); | ||
979 | pci_disable_device(adapter->pdev); | ||
980 | |||
981 | kfree(adapter->be_link_sts); | ||
982 | kfree(adapter->eth_statsp); | ||
983 | |||
984 | if (adapter->timer_ctxt.get_stats_timer.function) | ||
985 | del_timer_sync(&adapter->timer_ctxt.get_stats_timer); | ||
986 | kfree(adapter); | ||
987 | } | ||
988 | |||
989 | /* | ||
990 | * This function is called by the PCI sub-system when it finds a PCI | ||
991 | * device with dev/vendor IDs that match with one of our devices. | ||
992 | * All of the driver initialization is done in this function. | ||
993 | */ | ||
994 | static int be_probe(struct pci_dev *pdev, const struct pci_device_id *pdev_id) | ||
995 | { | ||
996 | int status = 0; | ||
997 | struct be_adapter *adapter; | ||
998 | struct FWCMD_COMMON_GET_FW_VERSION_RESPONSE_PAYLOAD get_fwv; | ||
999 | struct be_net_object *pnob; | ||
1000 | struct net_device *netdev; | ||
1001 | |||
1002 | status = pci_enable_device(pdev); | ||
1003 | if (status) | ||
1004 | goto error; | ||
1005 | |||
1006 | status = pci_request_regions(pdev, be_driver_name); | ||
1007 | if (status) | ||
1008 | goto error_pci_req; | ||
1009 | |||
1010 | pci_set_master(pdev); | ||
1011 | adapter = kzalloc(sizeof(struct be_adapter), GFP_KERNEL); | ||
1012 | if (adapter == NULL) { | ||
1013 | status = -ENOMEM; | ||
1014 | goto error_adapter; | ||
1015 | } | ||
1016 | adapter->dev_state = BE_DEV_STATE_NONE; | ||
1017 | adapter->pdev = pdev; | ||
1018 | pci_set_drvdata(pdev, adapter); | ||
1019 | |||
1020 | adapter->enable_aic = 1; | ||
1021 | adapter->max_eqd = MAX_EQD; | ||
1022 | adapter->min_eqd = 0; | ||
1023 | adapter->cur_eqd = 0; | ||
1024 | |||
1025 | status = pci_set_dma_mask(pdev, DMA_64BIT_MASK); | ||
1026 | if (!status) { | ||
1027 | adapter->dma_64bit_cap = true; | ||
1028 | } else { | ||
1029 | adapter->dma_64bit_cap = false; | ||
1030 | status = pci_set_dma_mask(pdev, DMA_32BIT_MASK); | ||
1031 | if (status != 0) { | ||
1032 | printk(KERN_ERR "Could not set PCI DMA Mask\n"); | ||
1033 | goto cleanup; | ||
1034 | } | ||
1035 | } | ||
1036 | |||
1037 | status = init_pci_be_function(adapter, pdev); | ||
1038 | if (status != 0) { | ||
1039 | printk(KERN_ERR "Failed to map PCI BARS\n"); | ||
1040 | status = -ENOMEM; | ||
1041 | goto cleanup; | ||
1042 | } | ||
1043 | |||
1044 | be_trace_set_level(DL_ALWAYS | DL_ERR); | ||
1045 | |||
1046 | adapter->be_link_sts = kmalloc(sizeof(struct BE_LINK_STATUS), | ||
1047 | GFP_KERNEL); | ||
1048 | if (adapter->be_link_sts == NULL) { | ||
1049 | printk(KERN_ERR "Memory allocation for link status " | ||
1050 | "buffer failed\n"); | ||
1051 | goto cleanup; | ||
1052 | } | ||
1053 | spin_lock_init(&adapter->txq_lock); | ||
1054 | |||
1055 | netdev = alloc_etherdev(sizeof(struct be_net_object)); | ||
1056 | if (netdev == NULL) { | ||
1057 | status = -ENOMEM; | ||
1058 | goto cleanup; | ||
1059 | } | ||
1060 | pnob = netdev_priv(netdev); | ||
1061 | adapter->net_obj = pnob; | ||
1062 | adapter->netdevp = netdev; | ||
1063 | pnob->adapter = adapter; | ||
1064 | pnob->netdev = netdev; | ||
1065 | |||
1066 | status = be_nob_ring_alloc(adapter, pnob); | ||
1067 | if (status != 0) | ||
1068 | goto cleanup; | ||
1069 | |||
1070 | status = be_nob_ring_init(adapter, pnob); | ||
1071 | if (status != 0) | ||
1072 | goto cleanup; | ||
1073 | |||
1074 | be_rxf_mac_address_read_write(&pnob->fn_obj, false, false, false, | ||
1075 | false, false, netdev->dev_addr, NULL, NULL); | ||
1076 | |||
1077 | netdev->init = &benet_init; | ||
1078 | netif_carrier_off(netdev); | ||
1079 | netif_stop_queue(netdev); | ||
1080 | |||
1081 | SET_NETDEV_DEV(netdev, &(adapter->pdev->dev)); | ||
1082 | |||
1083 | netif_napi_add(netdev, &pnob->napi, be_poll, 64); | ||
1084 | |||
1085 | /* if the rx_frag size if 2K, one page is shared as two RX frags */ | ||
1086 | pnob->rx_pg_shared = | ||
1087 | (pnob->rx_buf_size <= PAGE_SIZE / 2) ? true : false; | ||
1088 | if (pnob->rx_buf_size != rxbuf_size) { | ||
1089 | printk(KERN_WARNING | ||
1090 | "Could not set Rx buffer size to %d. Using %d\n", | ||
1091 | rxbuf_size, pnob->rx_buf_size); | ||
1092 | rxbuf_size = pnob->rx_buf_size; | ||
1093 | } | ||
1094 | |||
1095 | tasklet_init(&(adapter->sts_handler), be_process_intr, | ||
1096 | (unsigned long)adapter); | ||
1097 | adapter->tasklet_started = 1; | ||
1098 | spin_lock_init(&(adapter->int_lock)); | ||
1099 | |||
1100 | status = be_register_isr(adapter, pnob); | ||
1101 | if (status != 0) | ||
1102 | goto cleanup; | ||
1103 | |||
1104 | adapter->rx_csum = 1; | ||
1105 | adapter->max_rx_coal = BE_LRO_MAX_PKTS; | ||
1106 | |||
1107 | memset(&get_fwv, 0, | ||
1108 | sizeof(struct FWCMD_COMMON_GET_FW_VERSION_RESPONSE_PAYLOAD)); | ||
1109 | printk(KERN_INFO "BladeEngine Driver version:%s. " | ||
1110 | "Copyright ServerEngines, Corporation 2005 - 2008\n", | ||
1111 | be_drvr_ver); | ||
1112 | status = be_function_get_fw_version(&pnob->fn_obj, &get_fwv, NULL, | ||
1113 | NULL); | ||
1114 | if (status == BE_SUCCESS) { | ||
1115 | strncpy(be_fw_ver, get_fwv.firmware_version_string, 32); | ||
1116 | printk(KERN_INFO "BladeEngine Firmware Version:%s\n", | ||
1117 | get_fwv.firmware_version_string); | ||
1118 | } else { | ||
1119 | printk(KERN_WARNING "Unable to get BE Firmware Version\n"); | ||
1120 | } | ||
1121 | |||
1122 | sema_init(&adapter->get_eth_stat_sem, 0); | ||
1123 | init_timer(&adapter->timer_ctxt.get_stats_timer); | ||
1124 | atomic_set(&adapter->timer_ctxt.get_stat_flag, 0); | ||
1125 | adapter->timer_ctxt.get_stats_timer.function = | ||
1126 | &be_get_stats_timer_handler; | ||
1127 | |||
1128 | status = be_mcc_create(adapter); | ||
1129 | if (status < 0) | ||
1130 | goto cleanup; | ||
1131 | status = be_mcc_init(adapter); | ||
1132 | if (status < 0) | ||
1133 | goto cleanup; | ||
1134 | |||
1135 | |||
1136 | status = be_mcc_add_async_event_callback(&adapter->net_obj->mcc_q_obj, | ||
1137 | be_link_status_async_callback, (void *)adapter); | ||
1138 | if (status != BE_SUCCESS) { | ||
1139 | printk(KERN_WARNING "add_async_event_callback failed"); | ||
1140 | printk(KERN_WARNING | ||
1141 | "Link status changes may not be reflected\n"); | ||
1142 | } | ||
1143 | |||
1144 | status = register_netdev(netdev); | ||
1145 | if (status != 0) | ||
1146 | goto cleanup; | ||
1147 | be_update_link_status(adapter); | ||
1148 | adapter->dev_state = BE_DEV_STATE_INIT; | ||
1149 | return 0; | ||
1150 | |||
1151 | cleanup: | ||
1152 | be_remove(pdev); | ||
1153 | return status; | ||
1154 | error_adapter: | ||
1155 | pci_release_regions(pdev); | ||
1156 | error_pci_req: | ||
1157 | pci_disable_device(pdev); | ||
1158 | error: | ||
1159 | printk(KERN_ERR "BladeEngine initalization failed\n"); | ||
1160 | return status; | ||
1161 | } | ||
1162 | |||
1163 | /* | ||
1164 | * Get the current link status and print the status on console | ||
1165 | */ | ||
1166 | void be_update_link_status(struct be_adapter *adapter) | ||
1167 | { | ||
1168 | int status; | ||
1169 | struct be_net_object *pnob = adapter->net_obj; | ||
1170 | |||
1171 | status = be_rxf_link_status(&pnob->fn_obj, adapter->be_link_sts, NULL, | ||
1172 | NULL, NULL); | ||
1173 | if (status == BE_SUCCESS) { | ||
1174 | if (adapter->be_link_sts->mac0_speed && | ||
1175 | adapter->be_link_sts->mac0_duplex) | ||
1176 | adapter->port0_link_sts = BE_PORT_LINK_UP; | ||
1177 | else | ||
1178 | adapter->port0_link_sts = BE_PORT_LINK_DOWN; | ||
1179 | |||
1180 | if (adapter->be_link_sts->mac1_speed && | ||
1181 | adapter->be_link_sts->mac1_duplex) | ||
1182 | adapter->port1_link_sts = BE_PORT_LINK_UP; | ||
1183 | else | ||
1184 | adapter->port1_link_sts = BE_PORT_LINK_DOWN; | ||
1185 | |||
1186 | dev_info(&pnob->netdev->dev, "Link Properties:\n"); | ||
1187 | be_print_link_info(adapter->be_link_sts); | ||
1188 | return; | ||
1189 | } | ||
1190 | dev_info(&pnob->netdev->dev, "Could not get link status\n"); | ||
1191 | return; | ||
1192 | } | ||
1193 | |||
1194 | |||
1195 | #ifdef CONFIG_PM | ||
1196 | static void | ||
1197 | be_pm_cleanup(struct be_adapter *adapter, | ||
1198 | struct be_net_object *pnob, struct net_device *netdev) | ||
1199 | { | ||
1200 | netif_carrier_off(netdev); | ||
1201 | netif_stop_queue(netdev); | ||
1202 | |||
1203 | be_wait_nic_tx_cmplx_cmpl(pnob); | ||
1204 | be_disable_eq_intr(pnob); | ||
1205 | |||
1206 | if (adapter->tasklet_started) { | ||
1207 | tasklet_kill(&adapter->sts_handler); | ||
1208 | adapter->tasklet_started = 0; | ||
1209 | } | ||
1210 | |||
1211 | be_unregister_isr(adapter); | ||
1212 | be_disable_intr(pnob); | ||
1213 | |||
1214 | be_tx_q_clean(pnob); | ||
1215 | be_rx_q_clean(pnob); | ||
1216 | |||
1217 | be_destroy_netobj(pnob); | ||
1218 | } | ||
1219 | |||
1220 | static int be_suspend(struct pci_dev *pdev, pm_message_t state) | ||
1221 | { | ||
1222 | struct be_adapter *adapter = pci_get_drvdata(pdev); | ||
1223 | struct net_device *netdev = adapter->netdevp; | ||
1224 | struct be_net_object *pnob = netdev_priv(netdev); | ||
1225 | |||
1226 | adapter->dev_pm_state = adapter->dev_state; | ||
1227 | adapter->dev_state = BE_DEV_STATE_SUSPEND; | ||
1228 | |||
1229 | netif_device_detach(netdev); | ||
1230 | if (netif_running(netdev)) | ||
1231 | be_pm_cleanup(adapter, pnob, netdev); | ||
1232 | |||
1233 | pci_enable_wake(pdev, 3, 1); | ||
1234 | pci_enable_wake(pdev, 4, 1); /* D3 Cold = 4 */ | ||
1235 | pci_save_state(pdev); | ||
1236 | pci_disable_device(pdev); | ||
1237 | pci_set_power_state(pdev, pci_choose_state(pdev, state)); | ||
1238 | return 0; | ||
1239 | } | ||
1240 | |||
1241 | static void be_up(struct be_adapter *adapter) | ||
1242 | { | ||
1243 | struct be_net_object *pnob = adapter->net_obj; | ||
1244 | |||
1245 | if (pnob->num_vlans != 0) | ||
1246 | be_rxf_vlan_config(&pnob->fn_obj, false, pnob->num_vlans, | ||
1247 | pnob->vlan_tag, NULL, NULL, NULL); | ||
1248 | |||
1249 | } | ||
1250 | |||
1251 | static int be_resume(struct pci_dev *pdev) | ||
1252 | { | ||
1253 | int status = 0; | ||
1254 | struct be_adapter *adapter = pci_get_drvdata(pdev); | ||
1255 | struct net_device *netdev = adapter->netdevp; | ||
1256 | struct be_net_object *pnob = netdev_priv(netdev); | ||
1257 | |||
1258 | netif_device_detach(netdev); | ||
1259 | |||
1260 | status = pci_enable_device(pdev); | ||
1261 | if (status) | ||
1262 | return status; | ||
1263 | |||
1264 | pci_set_power_state(pdev, 0); | ||
1265 | pci_restore_state(pdev); | ||
1266 | pci_enable_wake(pdev, 3, 0); | ||
1267 | pci_enable_wake(pdev, 4, 0); /* 4 is D3 cold */ | ||
1268 | |||
1269 | netif_carrier_on(netdev); | ||
1270 | netif_start_queue(netdev); | ||
1271 | |||
1272 | if (netif_running(netdev)) { | ||
1273 | be_rxf_mac_address_read_write(&pnob->fn_obj, false, false, | ||
1274 | false, true, false, netdev->dev_addr, NULL, NULL); | ||
1275 | |||
1276 | status = be_nob_ring_init(adapter, pnob); | ||
1277 | if (status < 0) | ||
1278 | return status; | ||
1279 | |||
1280 | tasklet_init(&(adapter->sts_handler), be_process_intr, | ||
1281 | (unsigned long)adapter); | ||
1282 | adapter->tasklet_started = 1; | ||
1283 | |||
1284 | if (be_register_isr(adapter, pnob) != 0) { | ||
1285 | printk(KERN_ERR "be_register_isr failed\n"); | ||
1286 | return status; | ||
1287 | } | ||
1288 | |||
1289 | |||
1290 | status = be_mcc_init(adapter); | ||
1291 | if (status < 0) { | ||
1292 | printk(KERN_ERR "be_mcc_init failed\n"); | ||
1293 | return status; | ||
1294 | } | ||
1295 | be_update_link_status(adapter); | ||
1296 | /* | ||
1297 | * Register async call back function to handle link | ||
1298 | * status updates | ||
1299 | */ | ||
1300 | status = be_mcc_add_async_event_callback( | ||
1301 | &adapter->net_obj->mcc_q_obj, | ||
1302 | be_link_status_async_callback, (void *)adapter); | ||
1303 | if (status != BE_SUCCESS) { | ||
1304 | printk(KERN_WARNING "add_async_event_callback failed"); | ||
1305 | printk(KERN_WARNING | ||
1306 | "Link status changes may not be reflected\n"); | ||
1307 | } | ||
1308 | be_enable_intr(pnob); | ||
1309 | be_enable_eq_intr(pnob); | ||
1310 | be_up(adapter); | ||
1311 | } | ||
1312 | netif_device_attach(netdev); | ||
1313 | adapter->dev_state = adapter->dev_pm_state; | ||
1314 | return 0; | ||
1315 | |||
1316 | } | ||
1317 | |||
1318 | #endif | ||
1319 | |||
1320 | /* Wait until no more pending transmits */ | ||
1321 | void be_wait_nic_tx_cmplx_cmpl(struct be_net_object *pnob) | ||
1322 | { | ||
1323 | int i; | ||
1324 | |||
1325 | /* Wait for 20us * 50000 (= 1s) and no more */ | ||
1326 | i = 0; | ||
1327 | while ((pnob->tx_q_tl != pnob->tx_q_hd) && (i < 50000)) { | ||
1328 | ++i; | ||
1329 | udelay(20); | ||
1330 | } | ||
1331 | |||
1332 | /* Check for no more pending transmits */ | ||
1333 | if (i >= 50000) { | ||
1334 | printk(KERN_WARNING | ||
1335 | "Did not receive completions for all TX requests\n"); | ||
1336 | } | ||
1337 | } | ||
1338 | |||
1339 | static struct pci_driver be_driver = { | ||
1340 | .name = be_driver_name, | ||
1341 | .id_table = be_device_id_table, | ||
1342 | .probe = be_probe, | ||
1343 | #ifdef CONFIG_PM | ||
1344 | .suspend = be_suspend, | ||
1345 | .resume = be_resume, | ||
1346 | #endif | ||
1347 | .remove = be_remove | ||
1348 | }; | ||
1349 | |||
1350 | /* | ||
1351 | * Module init entry point. Registers our our device and return. | ||
1352 | * Our probe will be called if the device is found. | ||
1353 | */ | ||
1354 | static int __init be_init_module(void) | ||
1355 | { | ||
1356 | int ret; | ||
1357 | |||
1358 | if (rxbuf_size != 8192 && rxbuf_size != 4096 && rxbuf_size != 2048) { | ||
1359 | printk(KERN_WARNING | ||
1360 | "Unsupported receive buffer size (%d) requested\n", | ||
1361 | rxbuf_size); | ||
1362 | printk(KERN_WARNING | ||
1363 | "Must be 2048, 4096 or 8192. Defaulting to 2048\n"); | ||
1364 | rxbuf_size = 2048; | ||
1365 | } | ||
1366 | |||
1367 | ret = pci_register_driver(&be_driver); | ||
1368 | |||
1369 | return ret; | ||
1370 | } | ||
1371 | |||
1372 | module_init(be_init_module); | ||
1373 | |||
1374 | /* | ||
1375 | * be_exit_module - Driver Exit Cleanup Routine | ||
1376 | */ | ||
1377 | static void __exit be_exit_module(void) | ||
1378 | { | ||
1379 | pci_unregister_driver(&be_driver); | ||
1380 | } | ||
1381 | |||
1382 | module_exit(be_exit_module); | ||
diff --git a/drivers/staging/benet/be_int.c b/drivers/staging/benet/be_int.c deleted file mode 100644 index cba95d09a8b6..000000000000 --- a/drivers/staging/benet/be_int.c +++ /dev/null | |||
@@ -1,863 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | #include <linux/if_vlan.h> | ||
18 | #include <linux/inet_lro.h> | ||
19 | |||
20 | #include "benet.h" | ||
21 | |||
22 | /* number of bytes of RX frame that are copied to skb->data */ | ||
23 | #define BE_HDR_LEN 64 | ||
24 | |||
25 | #define NETIF_RX(skb) netif_receive_skb(skb) | ||
26 | #define VLAN_ACCEL_RX(skb, pnob, vt) \ | ||
27 | vlan_hwaccel_rx(skb, pnob->vlan_grp, vt) | ||
28 | |||
29 | /* | ||
30 | This function notifies BladeEngine of the number of completion | ||
31 | entries processed from the specified completion queue by writing | ||
32 | the number of popped entries to the door bell. | ||
33 | |||
34 | pnob - Pointer to the NetObject structure | ||
35 | n - Number of completion entries processed | ||
36 | cq_id - Queue ID of the completion queue for which notification | ||
37 | is being done. | ||
38 | re_arm - 1 - rearm the completion ring to generate an event. | ||
39 | - 0 - dont rearm the completion ring to generate an event | ||
40 | */ | ||
41 | void be_notify_cmpl(struct be_net_object *pnob, int n, int cq_id, int re_arm) | ||
42 | { | ||
43 | struct CQ_DB_AMAP cqdb; | ||
44 | |||
45 | cqdb.dw[0] = 0; | ||
46 | AMAP_SET_BITS_PTR(CQ_DB, qid, &cqdb, cq_id); | ||
47 | AMAP_SET_BITS_PTR(CQ_DB, rearm, &cqdb, re_arm); | ||
48 | AMAP_SET_BITS_PTR(CQ_DB, num_popped, &cqdb, n); | ||
49 | PD_WRITE(&pnob->fn_obj, cq_db, cqdb.dw[0]); | ||
50 | } | ||
51 | |||
52 | /* | ||
53 | * adds additional receive frags indicated by BE starting from given | ||
54 | * frag index (fi) to specified skb's frag list | ||
55 | */ | ||
56 | static void | ||
57 | add_skb_frags(struct be_net_object *pnob, struct sk_buff *skb, | ||
58 | u32 nresid, u32 fi) | ||
59 | { | ||
60 | struct be_adapter *adapter = pnob->adapter; | ||
61 | u32 sk_frag_idx, n; | ||
62 | struct be_rx_page_info *rx_page_info; | ||
63 | u32 frag_sz = pnob->rx_buf_size; | ||
64 | |||
65 | sk_frag_idx = skb_shinfo(skb)->nr_frags; | ||
66 | while (nresid) { | ||
67 | index_inc(&fi, pnob->rx_q_len); | ||
68 | |||
69 | rx_page_info = (struct be_rx_page_info *)pnob->rx_ctxt[fi]; | ||
70 | pnob->rx_ctxt[fi] = NULL; | ||
71 | if ((rx_page_info->page_offset) || | ||
72 | (pnob->rx_pg_shared == false)) { | ||
73 | pci_unmap_page(adapter->pdev, | ||
74 | pci_unmap_addr(rx_page_info, bus), | ||
75 | frag_sz, PCI_DMA_FROMDEVICE); | ||
76 | } | ||
77 | |||
78 | n = min(nresid, frag_sz); | ||
79 | skb_shinfo(skb)->frags[sk_frag_idx].page = rx_page_info->page; | ||
80 | skb_shinfo(skb)->frags[sk_frag_idx].page_offset | ||
81 | = rx_page_info->page_offset; | ||
82 | skb_shinfo(skb)->frags[sk_frag_idx].size = n; | ||
83 | |||
84 | sk_frag_idx++; | ||
85 | skb->len += n; | ||
86 | skb->data_len += n; | ||
87 | skb_shinfo(skb)->nr_frags++; | ||
88 | nresid -= n; | ||
89 | |||
90 | memset(rx_page_info, 0, sizeof(struct be_rx_page_info)); | ||
91 | atomic_dec(&pnob->rx_q_posted); | ||
92 | } | ||
93 | } | ||
94 | |||
95 | /* | ||
96 | * This function processes incoming nic packets over various Rx queues. | ||
97 | * This function takes the adapter, the current Rx status descriptor | ||
98 | * entry and the Rx completion queue ID as argument. | ||
99 | */ | ||
100 | static inline int process_nic_rx_completion(struct be_net_object *pnob, | ||
101 | struct ETH_RX_COMPL_AMAP *rxcp) | ||
102 | { | ||
103 | struct be_adapter *adapter = pnob->adapter; | ||
104 | struct sk_buff *skb; | ||
105 | int udpcksm, tcpcksm; | ||
106 | int n; | ||
107 | u32 nresid, fi; | ||
108 | u32 frag_sz = pnob->rx_buf_size; | ||
109 | u8 *va; | ||
110 | struct be_rx_page_info *rx_page_info; | ||
111 | u32 numfrags, vtp, vtm, vlan_tag, pktsize; | ||
112 | |||
113 | fi = AMAP_GET_BITS_PTR(ETH_RX_COMPL, fragndx, rxcp); | ||
114 | BUG_ON(fi >= (int)pnob->rx_q_len); | ||
115 | BUG_ON(fi < 0); | ||
116 | |||
117 | rx_page_info = (struct be_rx_page_info *)pnob->rx_ctxt[fi]; | ||
118 | BUG_ON(!rx_page_info->page); | ||
119 | pnob->rx_ctxt[fi] = NULL; | ||
120 | |||
121 | /* | ||
122 | * If one page is used per fragment or if this is the second half of | ||
123 | * of the page, unmap the page here | ||
124 | */ | ||
125 | if ((rx_page_info->page_offset) || (pnob->rx_pg_shared == false)) { | ||
126 | pci_unmap_page(adapter->pdev, | ||
127 | pci_unmap_addr(rx_page_info, bus), frag_sz, | ||
128 | PCI_DMA_FROMDEVICE); | ||
129 | } | ||
130 | |||
131 | atomic_dec(&pnob->rx_q_posted); | ||
132 | udpcksm = AMAP_GET_BITS_PTR(ETH_RX_COMPL, udpcksm, rxcp); | ||
133 | tcpcksm = AMAP_GET_BITS_PTR(ETH_RX_COMPL, tcpcksm, rxcp); | ||
134 | pktsize = AMAP_GET_BITS_PTR(ETH_RX_COMPL, pktsize, rxcp); | ||
135 | /* | ||
136 | * get rid of RX flush completions first. | ||
137 | */ | ||
138 | if ((tcpcksm) && (udpcksm) && (pktsize == 32)) { | ||
139 | put_page(rx_page_info->page); | ||
140 | memset(rx_page_info, 0, sizeof(struct be_rx_page_info)); | ||
141 | return 0; | ||
142 | } | ||
143 | skb = netdev_alloc_skb(pnob->netdev, BE_HDR_LEN + NET_IP_ALIGN); | ||
144 | if (skb == NULL) { | ||
145 | dev_info(&pnob->netdev->dev, "alloc_skb() failed\n"); | ||
146 | put_page(rx_page_info->page); | ||
147 | memset(rx_page_info, 0, sizeof(struct be_rx_page_info)); | ||
148 | goto free_frags; | ||
149 | } | ||
150 | skb_reserve(skb, NET_IP_ALIGN); | ||
151 | |||
152 | skb->dev = pnob->netdev; | ||
153 | |||
154 | n = min(pktsize, frag_sz); | ||
155 | |||
156 | va = page_address(rx_page_info->page) + rx_page_info->page_offset; | ||
157 | prefetch(va); | ||
158 | |||
159 | skb->len = n; | ||
160 | skb->data_len = n; | ||
161 | if (n <= BE_HDR_LEN) { | ||
162 | memcpy(skb->data, va, n); | ||
163 | put_page(rx_page_info->page); | ||
164 | skb->data_len -= n; | ||
165 | skb->tail += n; | ||
166 | } else { | ||
167 | |||
168 | /* Setup the SKB with page buffer information */ | ||
169 | skb_shinfo(skb)->frags[0].page = rx_page_info->page; | ||
170 | skb_shinfo(skb)->nr_frags++; | ||
171 | |||
172 | /* Copy the header into the skb_data */ | ||
173 | memcpy(skb->data, va, BE_HDR_LEN); | ||
174 | skb_shinfo(skb)->frags[0].page_offset = | ||
175 | rx_page_info->page_offset + BE_HDR_LEN; | ||
176 | skb_shinfo(skb)->frags[0].size = n - BE_HDR_LEN; | ||
177 | skb->data_len -= BE_HDR_LEN; | ||
178 | skb->tail += BE_HDR_LEN; | ||
179 | } | ||
180 | memset(rx_page_info, 0, sizeof(struct be_rx_page_info)); | ||
181 | nresid = pktsize - n; | ||
182 | |||
183 | skb->protocol = eth_type_trans(skb, pnob->netdev); | ||
184 | |||
185 | if ((tcpcksm || udpcksm) && adapter->rx_csum) | ||
186 | skb->ip_summed = CHECKSUM_UNNECESSARY; | ||
187 | else | ||
188 | skb->ip_summed = CHECKSUM_NONE; | ||
189 | /* | ||
190 | * if we have more bytes left, the frame has been | ||
191 | * given to us in multiple fragments. This happens | ||
192 | * with Jumbo frames. Add the remaining fragments to | ||
193 | * skb->frags[] array. | ||
194 | */ | ||
195 | if (nresid) | ||
196 | add_skb_frags(pnob, skb, nresid, fi); | ||
197 | |||
198 | /* update the the true size of the skb. */ | ||
199 | skb->truesize = skb->len + sizeof(struct sk_buff); | ||
200 | |||
201 | /* | ||
202 | * If a 802.3 frame or 802.2 LLC frame | ||
203 | * (i.e) contains length field in MAC Hdr | ||
204 | * and frame len is greater than 64 bytes | ||
205 | */ | ||
206 | if (((skb->protocol == ntohs(ETH_P_802_2)) || | ||
207 | (skb->protocol == ntohs(ETH_P_802_3))) | ||
208 | && (pktsize > BE_HDR_LEN)) { | ||
209 | /* | ||
210 | * If the length given in Mac Hdr is less than frame size | ||
211 | * Erraneous frame, Drop it | ||
212 | */ | ||
213 | if ((ntohs(*(u16 *) (va + 12)) + ETH_HLEN) < pktsize) { | ||
214 | /* Increment Non Ether type II frames dropped */ | ||
215 | adapter->be_stat.bes_802_3_dropped_frames++; | ||
216 | |||
217 | kfree_skb(skb); | ||
218 | return 0; | ||
219 | } | ||
220 | /* | ||
221 | * else if the length given in Mac Hdr is greater than | ||
222 | * frame size, should not be seeing this sort of frames | ||
223 | * dump the pkt and pass to stack | ||
224 | */ | ||
225 | else if ((ntohs(*(u16 *) (va + 12)) + ETH_HLEN) > pktsize) { | ||
226 | /* Increment Non Ether type II frames malformed */ | ||
227 | adapter->be_stat.bes_802_3_malformed_frames++; | ||
228 | } | ||
229 | } | ||
230 | |||
231 | vtp = AMAP_GET_BITS_PTR(ETH_RX_COMPL, vtp, rxcp); | ||
232 | vtm = AMAP_GET_BITS_PTR(ETH_RX_COMPL, vtm, rxcp); | ||
233 | if (vtp && vtm) { | ||
234 | /* Vlan tag present in pkt and BE found | ||
235 | * that the tag matched an entry in VLAN table | ||
236 | */ | ||
237 | if (!pnob->vlan_grp || pnob->num_vlans == 0) { | ||
238 | /* But we have no VLANs configured. | ||
239 | * This should never happen. Drop the packet. | ||
240 | */ | ||
241 | dev_info(&pnob->netdev->dev, | ||
242 | "BladeEngine: Unexpected vlan tagged packet\n"); | ||
243 | kfree_skb(skb); | ||
244 | return 0; | ||
245 | } | ||
246 | /* pass the VLAN packet to stack */ | ||
247 | vlan_tag = AMAP_GET_BITS_PTR(ETH_RX_COMPL, vlan_tag, rxcp); | ||
248 | VLAN_ACCEL_RX(skb, pnob, be16_to_cpu(vlan_tag)); | ||
249 | |||
250 | } else { | ||
251 | NETIF_RX(skb); | ||
252 | } | ||
253 | return 0; | ||
254 | |||
255 | free_frags: | ||
256 | /* free all frags associated with the current rxcp */ | ||
257 | numfrags = AMAP_GET_BITS_PTR(ETH_RX_COMPL, numfrags, rxcp); | ||
258 | while (numfrags-- > 1) { | ||
259 | index_inc(&fi, pnob->rx_q_len); | ||
260 | |||
261 | rx_page_info = (struct be_rx_page_info *) | ||
262 | pnob->rx_ctxt[fi]; | ||
263 | pnob->rx_ctxt[fi] = (void *)NULL; | ||
264 | if (rx_page_info->page_offset || !pnob->rx_pg_shared) { | ||
265 | pci_unmap_page(adapter->pdev, | ||
266 | pci_unmap_addr(rx_page_info, bus), | ||
267 | frag_sz, PCI_DMA_FROMDEVICE); | ||
268 | } | ||
269 | |||
270 | put_page(rx_page_info->page); | ||
271 | memset(rx_page_info, 0, sizeof(struct be_rx_page_info)); | ||
272 | atomic_dec(&pnob->rx_q_posted); | ||
273 | } | ||
274 | return -ENOMEM; | ||
275 | } | ||
276 | |||
277 | static void process_nic_rx_completion_lro(struct be_net_object *pnob, | ||
278 | struct ETH_RX_COMPL_AMAP *rxcp) | ||
279 | { | ||
280 | struct be_adapter *adapter = pnob->adapter; | ||
281 | struct skb_frag_struct rx_frags[BE_MAX_FRAGS_PER_FRAME]; | ||
282 | unsigned int udpcksm, tcpcksm; | ||
283 | u32 numfrags, vlanf, vtm, vlan_tag, nresid; | ||
284 | u16 vlant; | ||
285 | unsigned int fi, idx, n; | ||
286 | struct be_rx_page_info *rx_page_info; | ||
287 | u32 frag_sz = pnob->rx_buf_size, pktsize; | ||
288 | bool rx_coal = (adapter->max_rx_coal <= 1) ? 0 : 1; | ||
289 | u8 err, *va; | ||
290 | __wsum csum = 0; | ||
291 | |||
292 | if (AMAP_GET_BITS_PTR(ETH_RX_COMPL, ipsec, rxcp)) { | ||
293 | /* Drop the pkt and move to the next completion. */ | ||
294 | adapter->be_stat.bes_rx_misc_pkts++; | ||
295 | return; | ||
296 | } | ||
297 | err = AMAP_GET_BITS_PTR(ETH_RX_COMPL, err, rxcp); | ||
298 | if (err || !rx_coal) { | ||
299 | /* We won't coalesce Rx pkts if the err bit set. | ||
300 | * take the path of normal completion processing */ | ||
301 | process_nic_rx_completion(pnob, rxcp); | ||
302 | return; | ||
303 | } | ||
304 | |||
305 | fi = AMAP_GET_BITS_PTR(ETH_RX_COMPL, fragndx, rxcp); | ||
306 | BUG_ON(fi >= (int)pnob->rx_q_len); | ||
307 | BUG_ON(fi < 0); | ||
308 | rx_page_info = (struct be_rx_page_info *)pnob->rx_ctxt[fi]; | ||
309 | BUG_ON(!rx_page_info->page); | ||
310 | pnob->rx_ctxt[fi] = (void *)NULL; | ||
311 | /* If one page is used per fragment or if this is the | ||
312 | * second half of the page, unmap the page here | ||
313 | */ | ||
314 | if (rx_page_info->page_offset || !pnob->rx_pg_shared) { | ||
315 | pci_unmap_page(adapter->pdev, | ||
316 | pci_unmap_addr(rx_page_info, bus), | ||
317 | frag_sz, PCI_DMA_FROMDEVICE); | ||
318 | } | ||
319 | |||
320 | numfrags = AMAP_GET_BITS_PTR(ETH_RX_COMPL, numfrags, rxcp); | ||
321 | udpcksm = AMAP_GET_BITS_PTR(ETH_RX_COMPL, udpcksm, rxcp); | ||
322 | tcpcksm = AMAP_GET_BITS_PTR(ETH_RX_COMPL, tcpcksm, rxcp); | ||
323 | vlan_tag = AMAP_GET_BITS_PTR(ETH_RX_COMPL, vlan_tag, rxcp); | ||
324 | vlant = be16_to_cpu(vlan_tag); | ||
325 | vlanf = AMAP_GET_BITS_PTR(ETH_RX_COMPL, vtp, rxcp); | ||
326 | vtm = AMAP_GET_BITS_PTR(ETH_RX_COMPL, vtm, rxcp); | ||
327 | pktsize = AMAP_GET_BITS_PTR(ETH_RX_COMPL, pktsize, rxcp); | ||
328 | |||
329 | atomic_dec(&pnob->rx_q_posted); | ||
330 | |||
331 | if (tcpcksm && udpcksm && pktsize == 32) { | ||
332 | /* flush completion entries */ | ||
333 | put_page(rx_page_info->page); | ||
334 | memset(rx_page_info, 0, sizeof(struct be_rx_page_info)); | ||
335 | return; | ||
336 | } | ||
337 | /* Only one of udpcksum and tcpcksum can be set */ | ||
338 | BUG_ON(udpcksm && tcpcksm); | ||
339 | |||
340 | /* jumbo frames could come in multiple fragments */ | ||
341 | BUG_ON(numfrags != ((pktsize + (frag_sz - 1)) / frag_sz)); | ||
342 | n = min(pktsize, frag_sz); | ||
343 | nresid = pktsize - n; /* will be useful for jumbo pkts */ | ||
344 | idx = 0; | ||
345 | |||
346 | va = page_address(rx_page_info->page) + rx_page_info->page_offset; | ||
347 | prefetch(va); | ||
348 | rx_frags[idx].page = rx_page_info->page; | ||
349 | rx_frags[idx].page_offset = (rx_page_info->page_offset); | ||
350 | rx_frags[idx].size = n; | ||
351 | memset(rx_page_info, 0, sizeof(struct be_rx_page_info)); | ||
352 | |||
353 | /* If we got multiple fragments, we have more data. */ | ||
354 | while (nresid) { | ||
355 | idx++; | ||
356 | index_inc(&fi, pnob->rx_q_len); | ||
357 | |||
358 | rx_page_info = (struct be_rx_page_info *)pnob->rx_ctxt[fi]; | ||
359 | pnob->rx_ctxt[fi] = (void *)NULL; | ||
360 | if (rx_page_info->page_offset || !pnob->rx_pg_shared) { | ||
361 | pci_unmap_page(adapter->pdev, | ||
362 | pci_unmap_addr(rx_page_info, bus), | ||
363 | frag_sz, PCI_DMA_FROMDEVICE); | ||
364 | } | ||
365 | |||
366 | n = min(nresid, frag_sz); | ||
367 | rx_frags[idx].page = rx_page_info->page; | ||
368 | rx_frags[idx].page_offset = (rx_page_info->page_offset); | ||
369 | rx_frags[idx].size = n; | ||
370 | |||
371 | nresid -= n; | ||
372 | memset(rx_page_info, 0, sizeof(struct be_rx_page_info)); | ||
373 | atomic_dec(&pnob->rx_q_posted); | ||
374 | } | ||
375 | |||
376 | if (likely(!(vlanf && vtm))) { | ||
377 | lro_receive_frags(&pnob->lro_mgr, rx_frags, | ||
378 | pktsize, pktsize, | ||
379 | (void *)(unsigned long)csum, csum); | ||
380 | } else { | ||
381 | /* Vlan tag present in pkt and BE found | ||
382 | * that the tag matched an entry in VLAN table | ||
383 | */ | ||
384 | if (unlikely(!pnob->vlan_grp || pnob->num_vlans == 0)) { | ||
385 | /* But we have no VLANs configured. | ||
386 | * This should never happen. Drop the packet. | ||
387 | */ | ||
388 | dev_info(&pnob->netdev->dev, | ||
389 | "BladeEngine: Unexpected vlan tagged packet\n"); | ||
390 | return; | ||
391 | } | ||
392 | /* pass the VLAN packet to stack */ | ||
393 | lro_vlan_hwaccel_receive_frags(&pnob->lro_mgr, | ||
394 | rx_frags, pktsize, pktsize, | ||
395 | pnob->vlan_grp, vlant, | ||
396 | (void *)(unsigned long)csum, | ||
397 | csum); | ||
398 | } | ||
399 | |||
400 | adapter->be_stat.bes_rx_coal++; | ||
401 | } | ||
402 | |||
403 | struct ETH_RX_COMPL_AMAP *be_get_rx_cmpl(struct be_net_object *pnob) | ||
404 | { | ||
405 | struct ETH_RX_COMPL_AMAP *rxcp = &pnob->rx_cq[pnob->rx_cq_tl]; | ||
406 | u32 valid, ct; | ||
407 | |||
408 | valid = AMAP_GET_BITS_PTR(ETH_RX_COMPL, valid, rxcp); | ||
409 | if (valid == 0) | ||
410 | return NULL; | ||
411 | |||
412 | ct = AMAP_GET_BITS_PTR(ETH_RX_COMPL, ct, rxcp); | ||
413 | if (ct != 0) { | ||
414 | /* Invalid chute #. treat as error */ | ||
415 | AMAP_SET_BITS_PTR(ETH_RX_COMPL, err, rxcp, 1); | ||
416 | } | ||
417 | |||
418 | be_adv_rxcq_tl(pnob); | ||
419 | AMAP_SET_BITS_PTR(ETH_RX_COMPL, valid, rxcp, 0); | ||
420 | return rxcp; | ||
421 | } | ||
422 | |||
423 | static void update_rx_rate(struct be_adapter *adapter) | ||
424 | { | ||
425 | /* update the rate once in two seconds */ | ||
426 | if ((jiffies - adapter->eth_rx_jiffies) > 2 * (HZ)) { | ||
427 | u32 r; | ||
428 | r = adapter->eth_rx_bytes / | ||
429 | ((jiffies - adapter->eth_rx_jiffies) / (HZ)); | ||
430 | r = (r / 1000000); /* MB/Sec */ | ||
431 | |||
432 | /* Mega Bits/Sec */ | ||
433 | adapter->be_stat.bes_eth_rx_rate = (r * 8); | ||
434 | adapter->eth_rx_jiffies = jiffies; | ||
435 | adapter->eth_rx_bytes = 0; | ||
436 | } | ||
437 | } | ||
438 | |||
439 | static int process_rx_completions(struct be_net_object *pnob, int max_work) | ||
440 | { | ||
441 | struct be_adapter *adapter = pnob->adapter; | ||
442 | struct ETH_RX_COMPL_AMAP *rxcp; | ||
443 | u32 nc = 0; | ||
444 | unsigned int pktsize; | ||
445 | |||
446 | while (max_work && (rxcp = be_get_rx_cmpl(pnob))) { | ||
447 | prefetch(rxcp); | ||
448 | pktsize = AMAP_GET_BITS_PTR(ETH_RX_COMPL, pktsize, rxcp); | ||
449 | process_nic_rx_completion_lro(pnob, rxcp); | ||
450 | adapter->eth_rx_bytes += pktsize; | ||
451 | update_rx_rate(adapter); | ||
452 | nc++; | ||
453 | max_work--; | ||
454 | adapter->be_stat.bes_rx_compl++; | ||
455 | } | ||
456 | if (likely(adapter->max_rx_coal > 1)) { | ||
457 | adapter->be_stat.bes_rx_flush++; | ||
458 | lro_flush_all(&pnob->lro_mgr); | ||
459 | } | ||
460 | |||
461 | /* Refill the queue */ | ||
462 | if (atomic_read(&pnob->rx_q_posted) < 900) | ||
463 | be_post_eth_rx_buffs(pnob); | ||
464 | |||
465 | return nc; | ||
466 | } | ||
467 | |||
468 | static struct ETH_TX_COMPL_AMAP *be_get_tx_cmpl(struct be_net_object *pnob) | ||
469 | { | ||
470 | struct ETH_TX_COMPL_AMAP *txcp = &pnob->tx_cq[pnob->tx_cq_tl]; | ||
471 | u32 valid; | ||
472 | |||
473 | valid = AMAP_GET_BITS_PTR(ETH_TX_COMPL, valid, txcp); | ||
474 | if (valid == 0) | ||
475 | return NULL; | ||
476 | |||
477 | AMAP_SET_BITS_PTR(ETH_TX_COMPL, valid, txcp, 0); | ||
478 | be_adv_txcq_tl(pnob); | ||
479 | return txcp; | ||
480 | |||
481 | } | ||
482 | |||
483 | void process_one_tx_compl(struct be_net_object *pnob, u32 end_idx) | ||
484 | { | ||
485 | struct be_adapter *adapter = pnob->adapter; | ||
486 | int cur_index, tx_wrbs_completed = 0; | ||
487 | struct sk_buff *skb; | ||
488 | u64 busaddr, pa, pa_lo, pa_hi; | ||
489 | struct ETH_WRB_AMAP *wrb; | ||
490 | u32 frag_len, last_index, j; | ||
491 | |||
492 | last_index = tx_compl_lastwrb_idx_get(pnob); | ||
493 | BUG_ON(last_index != end_idx); | ||
494 | pnob->tx_ctxt[pnob->tx_q_tl] = NULL; | ||
495 | do { | ||
496 | cur_index = pnob->tx_q_tl; | ||
497 | wrb = &pnob->tx_q[cur_index]; | ||
498 | pa_hi = AMAP_GET_BITS_PTR(ETH_WRB, frag_pa_hi, wrb); | ||
499 | pa_lo = AMAP_GET_BITS_PTR(ETH_WRB, frag_pa_lo, wrb); | ||
500 | frag_len = AMAP_GET_BITS_PTR(ETH_WRB, frag_len, wrb); | ||
501 | busaddr = (pa_hi << 32) | pa_lo; | ||
502 | if (busaddr != 0) { | ||
503 | pa = le64_to_cpu(busaddr); | ||
504 | pci_unmap_single(adapter->pdev, pa, | ||
505 | frag_len, PCI_DMA_TODEVICE); | ||
506 | } | ||
507 | if (cur_index == last_index) { | ||
508 | skb = (struct sk_buff *)pnob->tx_ctxt[cur_index]; | ||
509 | BUG_ON(!skb); | ||
510 | for (j = 0; j < skb_shinfo(skb)->nr_frags; j++) { | ||
511 | struct skb_frag_struct *frag; | ||
512 | frag = &skb_shinfo(skb)->frags[j]; | ||
513 | pci_unmap_page(adapter->pdev, | ||
514 | (ulong) frag->page, frag->size, | ||
515 | PCI_DMA_TODEVICE); | ||
516 | } | ||
517 | kfree_skb(skb); | ||
518 | pnob->tx_ctxt[cur_index] = NULL; | ||
519 | } else { | ||
520 | BUG_ON(pnob->tx_ctxt[cur_index]); | ||
521 | } | ||
522 | tx_wrbs_completed++; | ||
523 | be_adv_txq_tl(pnob); | ||
524 | } while (cur_index != last_index); | ||
525 | atomic_sub(tx_wrbs_completed, &pnob->tx_q_used); | ||
526 | } | ||
527 | |||
528 | /* there is no need to take an SMP lock here since currently | ||
529 | * we have only one instance of the tasklet that does completion | ||
530 | * processing. | ||
531 | */ | ||
532 | static void process_nic_tx_completions(struct be_net_object *pnob) | ||
533 | { | ||
534 | struct be_adapter *adapter = pnob->adapter; | ||
535 | struct ETH_TX_COMPL_AMAP *txcp; | ||
536 | struct net_device *netdev = pnob->netdev; | ||
537 | u32 end_idx, num_processed = 0; | ||
538 | |||
539 | adapter->be_stat.bes_tx_events++; | ||
540 | |||
541 | while ((txcp = be_get_tx_cmpl(pnob))) { | ||
542 | end_idx = AMAP_GET_BITS_PTR(ETH_TX_COMPL, wrb_index, txcp); | ||
543 | process_one_tx_compl(pnob, end_idx); | ||
544 | num_processed++; | ||
545 | adapter->be_stat.bes_tx_compl++; | ||
546 | } | ||
547 | be_notify_cmpl(pnob, num_processed, pnob->tx_cq_id, 1); | ||
548 | /* | ||
549 | * We got Tx completions and have usable WRBs. | ||
550 | * If the netdev's queue has been stopped | ||
551 | * because we had run out of WRBs, wake it now. | ||
552 | */ | ||
553 | spin_lock(&adapter->txq_lock); | ||
554 | if (netif_queue_stopped(netdev) | ||
555 | && atomic_read(&pnob->tx_q_used) < pnob->tx_q_len / 2) { | ||
556 | netif_wake_queue(netdev); | ||
557 | } | ||
558 | spin_unlock(&adapter->txq_lock); | ||
559 | } | ||
560 | |||
561 | static u32 post_rx_buffs(struct be_net_object *pnob, struct list_head *rxbl) | ||
562 | { | ||
563 | u32 nposted = 0; | ||
564 | struct ETH_RX_D_AMAP *rxd = NULL; | ||
565 | struct be_recv_buffer *rxbp; | ||
566 | void **rx_ctxp; | ||
567 | struct RQ_DB_AMAP rqdb; | ||
568 | |||
569 | rx_ctxp = pnob->rx_ctxt; | ||
570 | |||
571 | while (!list_empty(rxbl) && | ||
572 | (rx_ctxp[pnob->rx_q_hd] == NULL) && nposted < 255) { | ||
573 | |||
574 | rxbp = list_first_entry(rxbl, struct be_recv_buffer, rxb_list); | ||
575 | list_del(&rxbp->rxb_list); | ||
576 | rxd = pnob->rx_q + pnob->rx_q_hd; | ||
577 | AMAP_SET_BITS_PTR(ETH_RX_D, fragpa_lo, rxd, rxbp->rxb_pa_lo); | ||
578 | AMAP_SET_BITS_PTR(ETH_RX_D, fragpa_hi, rxd, rxbp->rxb_pa_hi); | ||
579 | |||
580 | rx_ctxp[pnob->rx_q_hd] = rxbp->rxb_ctxt; | ||
581 | be_adv_rxq_hd(pnob); | ||
582 | nposted++; | ||
583 | } | ||
584 | |||
585 | if (nposted) { | ||
586 | /* Now press the door bell to notify BladeEngine. */ | ||
587 | rqdb.dw[0] = 0; | ||
588 | AMAP_SET_BITS_PTR(RQ_DB, numPosted, &rqdb, nposted); | ||
589 | AMAP_SET_BITS_PTR(RQ_DB, rq, &rqdb, pnob->rx_q_id); | ||
590 | PD_WRITE(&pnob->fn_obj, erx_rq_db, rqdb.dw[0]); | ||
591 | } | ||
592 | atomic_add(nposted, &pnob->rx_q_posted); | ||
593 | return nposted; | ||
594 | } | ||
595 | |||
596 | void be_post_eth_rx_buffs(struct be_net_object *pnob) | ||
597 | { | ||
598 | struct be_adapter *adapter = pnob->adapter; | ||
599 | u32 num_bufs, r; | ||
600 | u64 busaddr = 0, tmp_pa; | ||
601 | u32 max_bufs, pg_hd; | ||
602 | u32 frag_size; | ||
603 | struct be_recv_buffer *rxbp; | ||
604 | struct list_head rxbl; | ||
605 | struct be_rx_page_info *rx_page_info; | ||
606 | struct page *page = NULL; | ||
607 | u32 page_order = 0; | ||
608 | gfp_t alloc_flags = GFP_ATOMIC; | ||
609 | |||
610 | BUG_ON(!adapter); | ||
611 | |||
612 | max_bufs = 64; /* should be even # <= 255. */ | ||
613 | |||
614 | frag_size = pnob->rx_buf_size; | ||
615 | page_order = get_order(frag_size); | ||
616 | |||
617 | if (frag_size == 8192) | ||
618 | alloc_flags |= (gfp_t) __GFP_COMP; | ||
619 | /* | ||
620 | * Form a linked list of RECV_BUFFFER structure to be be posted. | ||
621 | * We will post even number of buffer so that pages can be | ||
622 | * shared. | ||
623 | */ | ||
624 | INIT_LIST_HEAD(&rxbl); | ||
625 | |||
626 | for (num_bufs = 0; num_bufs < max_bufs && | ||
627 | !pnob->rx_page_info[pnob->rx_pg_info_hd].page; ++num_bufs) { | ||
628 | |||
629 | rxbp = &pnob->eth_rx_bufs[num_bufs]; | ||
630 | pg_hd = pnob->rx_pg_info_hd; | ||
631 | rx_page_info = &pnob->rx_page_info[pg_hd]; | ||
632 | |||
633 | if (!page) { | ||
634 | page = alloc_pages(alloc_flags, page_order); | ||
635 | if (unlikely(page == NULL)) { | ||
636 | adapter->be_stat.bes_ethrx_post_fail++; | ||
637 | pnob->rxbuf_post_fail++; | ||
638 | break; | ||
639 | } | ||
640 | pnob->rxbuf_post_fail = 0; | ||
641 | busaddr = pci_map_page(adapter->pdev, page, 0, | ||
642 | frag_size, PCI_DMA_FROMDEVICE); | ||
643 | rx_page_info->page_offset = 0; | ||
644 | rx_page_info->page = page; | ||
645 | /* | ||
646 | * If we are sharing a page among two skbs, | ||
647 | * alloc a new one on the next iteration | ||
648 | */ | ||
649 | if (pnob->rx_pg_shared == false) | ||
650 | page = NULL; | ||
651 | } else { | ||
652 | get_page(page); | ||
653 | rx_page_info->page_offset += frag_size; | ||
654 | rx_page_info->page = page; | ||
655 | /* | ||
656 | * We are finished with the alloced page, | ||
657 | * Alloc a new one on the next iteration | ||
658 | */ | ||
659 | page = NULL; | ||
660 | } | ||
661 | rxbp->rxb_ctxt = (void *)rx_page_info; | ||
662 | index_inc(&pnob->rx_pg_info_hd, pnob->rx_q_len); | ||
663 | |||
664 | pci_unmap_addr_set(rx_page_info, bus, busaddr); | ||
665 | tmp_pa = busaddr + rx_page_info->page_offset; | ||
666 | rxbp->rxb_pa_lo = (tmp_pa & 0xFFFFFFFF); | ||
667 | rxbp->rxb_pa_hi = (tmp_pa >> 32); | ||
668 | rxbp->rxb_len = frag_size; | ||
669 | list_add_tail(&rxbp->rxb_list, &rxbl); | ||
670 | } /* End of for */ | ||
671 | |||
672 | r = post_rx_buffs(pnob, &rxbl); | ||
673 | BUG_ON(r != num_bufs); | ||
674 | return; | ||
675 | } | ||
676 | |||
677 | /* | ||
678 | * Interrupt service for network function. We just schedule the | ||
679 | * tasklet which does all completion processing. | ||
680 | */ | ||
681 | irqreturn_t be_int(int irq, void *dev) | ||
682 | { | ||
683 | struct net_device *netdev = dev; | ||
684 | struct be_net_object *pnob = netdev_priv(netdev); | ||
685 | struct be_adapter *adapter = pnob->adapter; | ||
686 | u32 isr; | ||
687 | |||
688 | isr = CSR_READ(&pnob->fn_obj, cev.isr1); | ||
689 | if (unlikely(!isr)) | ||
690 | return IRQ_NONE; | ||
691 | |||
692 | spin_lock(&adapter->int_lock); | ||
693 | adapter->isr |= isr; | ||
694 | spin_unlock(&adapter->int_lock); | ||
695 | |||
696 | adapter->be_stat.bes_ints++; | ||
697 | |||
698 | tasklet_schedule(&adapter->sts_handler); | ||
699 | return IRQ_HANDLED; | ||
700 | } | ||
701 | |||
702 | /* | ||
703 | * Poll function called by NAPI with a work budget. | ||
704 | * We process as many UC. BC and MC receive completions | ||
705 | * as the budget allows and return the actual number of | ||
706 | * RX ststutses processed. | ||
707 | */ | ||
708 | int be_poll(struct napi_struct *napi, int budget) | ||
709 | { | ||
710 | struct be_net_object *pnob = | ||
711 | container_of(napi, struct be_net_object, napi); | ||
712 | u32 work_done; | ||
713 | |||
714 | pnob->adapter->be_stat.bes_polls++; | ||
715 | work_done = process_rx_completions(pnob, budget); | ||
716 | BUG_ON(work_done > budget); | ||
717 | |||
718 | /* All consumed */ | ||
719 | if (work_done < budget) { | ||
720 | netif_rx_complete(napi); | ||
721 | /* enable intr */ | ||
722 | be_notify_cmpl(pnob, work_done, pnob->rx_cq_id, 1); | ||
723 | } else { | ||
724 | /* More to be consumed; continue with interrupts disabled */ | ||
725 | be_notify_cmpl(pnob, work_done, pnob->rx_cq_id, 0); | ||
726 | } | ||
727 | return work_done; | ||
728 | } | ||
729 | |||
730 | static struct EQ_ENTRY_AMAP *get_event(struct be_net_object *pnob) | ||
731 | { | ||
732 | struct EQ_ENTRY_AMAP *eqp = &(pnob->event_q[pnob->event_q_tl]); | ||
733 | if (!AMAP_GET_BITS_PTR(EQ_ENTRY, Valid, eqp)) | ||
734 | return NULL; | ||
735 | be_adv_eq_tl(pnob); | ||
736 | return eqp; | ||
737 | } | ||
738 | |||
739 | /* | ||
740 | * Processes all valid events in the event ring associated with given | ||
741 | * NetObject. Also, notifies BE the number of events processed. | ||
742 | */ | ||
743 | static inline u32 process_events(struct be_net_object *pnob) | ||
744 | { | ||
745 | struct be_adapter *adapter = pnob->adapter; | ||
746 | struct EQ_ENTRY_AMAP *eqp; | ||
747 | u32 rid, num_events = 0; | ||
748 | struct net_device *netdev = pnob->netdev; | ||
749 | |||
750 | while ((eqp = get_event(pnob)) != NULL) { | ||
751 | adapter->be_stat.bes_events++; | ||
752 | rid = AMAP_GET_BITS_PTR(EQ_ENTRY, ResourceID, eqp); | ||
753 | if (rid == pnob->rx_cq_id) { | ||
754 | adapter->be_stat.bes_rx_events++; | ||
755 | netif_rx_schedule(&pnob->napi); | ||
756 | } else if (rid == pnob->tx_cq_id) { | ||
757 | process_nic_tx_completions(pnob); | ||
758 | } else if (rid == pnob->mcc_cq_id) { | ||
759 | be_mcc_process_cq(&pnob->mcc_q_obj, 1); | ||
760 | } else { | ||
761 | dev_info(&netdev->dev, | ||
762 | "Invalid EQ ResourceID %d\n", rid); | ||
763 | } | ||
764 | AMAP_SET_BITS_PTR(EQ_ENTRY, Valid, eqp, 0); | ||
765 | AMAP_SET_BITS_PTR(EQ_ENTRY, ResourceID, eqp, 0); | ||
766 | num_events++; | ||
767 | } | ||
768 | return num_events; | ||
769 | } | ||
770 | |||
771 | static void update_eqd(struct be_adapter *adapter, struct be_net_object *pnob) | ||
772 | { | ||
773 | int status; | ||
774 | struct be_eq_object *eq_objectp; | ||
775 | |||
776 | /* update once a second */ | ||
777 | if ((jiffies - adapter->ips_jiffies) > 1 * (HZ)) { | ||
778 | /* One second elapsed since last update */ | ||
779 | u32 r, new_eqd = -1; | ||
780 | r = adapter->be_stat.bes_ints - adapter->be_stat.bes_prev_ints; | ||
781 | r = r / ((jiffies - adapter->ips_jiffies) / (HZ)); | ||
782 | adapter->be_stat.bes_ips = r; | ||
783 | adapter->ips_jiffies = jiffies; | ||
784 | adapter->be_stat.bes_prev_ints = adapter->be_stat.bes_ints; | ||
785 | if (r > IPS_HI_WM && adapter->cur_eqd < adapter->max_eqd) | ||
786 | new_eqd = (adapter->cur_eqd + 8); | ||
787 | if (r < IPS_LO_WM && adapter->cur_eqd > adapter->min_eqd) | ||
788 | new_eqd = (adapter->cur_eqd - 8); | ||
789 | if (adapter->enable_aic && new_eqd != -1) { | ||
790 | eq_objectp = &pnob->event_q_obj; | ||
791 | status = be_eq_modify_delay(&pnob->fn_obj, 1, | ||
792 | &eq_objectp, &new_eqd, NULL, | ||
793 | NULL, NULL); | ||
794 | if (status == BE_SUCCESS) | ||
795 | adapter->cur_eqd = new_eqd; | ||
796 | } | ||
797 | } | ||
798 | } | ||
799 | |||
800 | /* | ||
801 | This function notifies BladeEngine of how many events were processed | ||
802 | from the event queue by ringing the corresponding door bell and | ||
803 | optionally re-arms the event queue. | ||
804 | n - number of events processed | ||
805 | re_arm - 1 - re-arm the EQ, 0 - do not re-arm the EQ | ||
806 | |||
807 | */ | ||
808 | static void be_notify_event(struct be_net_object *pnob, int n, int re_arm) | ||
809 | { | ||
810 | struct CQ_DB_AMAP eqdb; | ||
811 | eqdb.dw[0] = 0; | ||
812 | |||
813 | AMAP_SET_BITS_PTR(CQ_DB, qid, &eqdb, pnob->event_q_id); | ||
814 | AMAP_SET_BITS_PTR(CQ_DB, rearm, &eqdb, re_arm); | ||
815 | AMAP_SET_BITS_PTR(CQ_DB, event, &eqdb, 1); | ||
816 | AMAP_SET_BITS_PTR(CQ_DB, num_popped, &eqdb, n); | ||
817 | /* | ||
818 | * Under some situations we see an interrupt and no valid | ||
819 | * EQ entry. To keep going, we need to ring the DB even if | ||
820 | * numPOsted is 0. | ||
821 | */ | ||
822 | PD_WRITE(&pnob->fn_obj, cq_db, eqdb.dw[0]); | ||
823 | return; | ||
824 | } | ||
825 | |||
826 | /* | ||
827 | * Called from the tasklet scheduled by ISR. All real interrupt processing | ||
828 | * is done here. | ||
829 | */ | ||
830 | void be_process_intr(unsigned long context) | ||
831 | { | ||
832 | struct be_adapter *adapter = (struct be_adapter *)context; | ||
833 | struct be_net_object *pnob = adapter->net_obj; | ||
834 | u32 isr, n; | ||
835 | ulong flags = 0; | ||
836 | |||
837 | isr = adapter->isr; | ||
838 | |||
839 | /* | ||
840 | * we create only one NIC event queue in Linux. Event is | ||
841 | * expected only in the first event queue | ||
842 | */ | ||
843 | BUG_ON(isr & 0xfffffffe); | ||
844 | if ((isr & 1) == 0) | ||
845 | return; /* not our interrupt */ | ||
846 | n = process_events(pnob); | ||
847 | /* | ||
848 | * Clear the event bit. adapter->isr is set by | ||
849 | * hard interrupt. Prevent race with lock. | ||
850 | */ | ||
851 | spin_lock_irqsave(&adapter->int_lock, flags); | ||
852 | adapter->isr &= ~1; | ||
853 | spin_unlock_irqrestore(&adapter->int_lock, flags); | ||
854 | be_notify_event(pnob, n, 1); | ||
855 | /* | ||
856 | * If previous allocation attempts had failed and | ||
857 | * BE has used up all posted buffers, post RX buffers here | ||
858 | */ | ||
859 | if (pnob->rxbuf_post_fail && atomic_read(&pnob->rx_q_posted) == 0) | ||
860 | be_post_eth_rx_buffs(pnob); | ||
861 | update_eqd(adapter, pnob); | ||
862 | return; | ||
863 | } | ||
diff --git a/drivers/staging/benet/be_netif.c b/drivers/staging/benet/be_netif.c deleted file mode 100644 index 2b8daf63dc7d..000000000000 --- a/drivers/staging/benet/be_netif.c +++ /dev/null | |||
@@ -1,705 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * be_netif.c | ||
19 | * | ||
20 | * This file contains various entry points of drivers seen by tcp/ip stack. | ||
21 | */ | ||
22 | |||
23 | #include <linux/if_vlan.h> | ||
24 | #include <linux/in.h> | ||
25 | #include "benet.h" | ||
26 | #include <linux/ip.h> | ||
27 | #include <linux/inet_lro.h> | ||
28 | |||
29 | /* Strings to print Link properties */ | ||
30 | static const char *link_speed[] = { | ||
31 | "Invalid link Speed Value", | ||
32 | "10 Mbps", | ||
33 | "100 Mbps", | ||
34 | "1 Gbps", | ||
35 | "10 Gbps" | ||
36 | }; | ||
37 | |||
38 | static const char *link_duplex[] = { | ||
39 | "Invalid Duplex Value", | ||
40 | "Half Duplex", | ||
41 | "Full Duplex" | ||
42 | }; | ||
43 | |||
44 | static const char *link_state[] = { | ||
45 | "", | ||
46 | "(active)" | ||
47 | }; | ||
48 | |||
49 | void be_print_link_info(struct BE_LINK_STATUS *lnk_status) | ||
50 | { | ||
51 | u16 si, di, ai; | ||
52 | |||
53 | /* Port 0 */ | ||
54 | if (lnk_status->mac0_speed && lnk_status->mac0_duplex) { | ||
55 | /* Port is up and running */ | ||
56 | si = (lnk_status->mac0_speed < 5) ? lnk_status->mac0_speed : 0; | ||
57 | di = (lnk_status->mac0_duplex < 3) ? | ||
58 | lnk_status->mac0_duplex : 0; | ||
59 | ai = (lnk_status->active_port == 0) ? 1 : 0; | ||
60 | printk(KERN_INFO "PortNo. 0: Speed - %s %s %s\n", | ||
61 | link_speed[si], link_duplex[di], link_state[ai]); | ||
62 | } else | ||
63 | printk(KERN_INFO "PortNo. 0: Down\n"); | ||
64 | |||
65 | /* Port 1 */ | ||
66 | if (lnk_status->mac1_speed && lnk_status->mac1_duplex) { | ||
67 | /* Port is up and running */ | ||
68 | si = (lnk_status->mac1_speed < 5) ? lnk_status->mac1_speed : 0; | ||
69 | di = (lnk_status->mac1_duplex < 3) ? | ||
70 | lnk_status->mac1_duplex : 0; | ||
71 | ai = (lnk_status->active_port == 0) ? 1 : 0; | ||
72 | printk(KERN_INFO "PortNo. 1: Speed - %s %s %s\n", | ||
73 | link_speed[si], link_duplex[di], link_state[ai]); | ||
74 | } else | ||
75 | printk(KERN_INFO "PortNo. 1: Down\n"); | ||
76 | |||
77 | return; | ||
78 | } | ||
79 | |||
80 | static int | ||
81 | be_get_frag_header(struct skb_frag_struct *frag, void **mac_hdr, | ||
82 | void **ip_hdr, void **tcpudp_hdr, | ||
83 | u64 *hdr_flags, void *priv) | ||
84 | { | ||
85 | struct ethhdr *eh; | ||
86 | struct vlan_ethhdr *veh; | ||
87 | struct iphdr *iph; | ||
88 | u8 *va = page_address(frag->page) + frag->page_offset; | ||
89 | unsigned long ll_hlen; | ||
90 | |||
91 | /* find the mac header, abort if not IPv4 */ | ||
92 | |||
93 | prefetch(va); | ||
94 | eh = (struct ethhdr *)va; | ||
95 | *mac_hdr = eh; | ||
96 | ll_hlen = ETH_HLEN; | ||
97 | if (eh->h_proto != htons(ETH_P_IP)) { | ||
98 | if (eh->h_proto == htons(ETH_P_8021Q)) { | ||
99 | veh = (struct vlan_ethhdr *)va; | ||
100 | if (veh->h_vlan_encapsulated_proto != htons(ETH_P_IP)) | ||
101 | return -1; | ||
102 | |||
103 | ll_hlen += VLAN_HLEN; | ||
104 | |||
105 | } else { | ||
106 | return -1; | ||
107 | } | ||
108 | } | ||
109 | *hdr_flags = LRO_IPV4; | ||
110 | |||
111 | iph = (struct iphdr *)(va + ll_hlen); | ||
112 | *ip_hdr = iph; | ||
113 | if (iph->protocol != IPPROTO_TCP) | ||
114 | return -1; | ||
115 | *hdr_flags |= LRO_TCP; | ||
116 | *tcpudp_hdr = (u8 *) (*ip_hdr) + (iph->ihl << 2); | ||
117 | |||
118 | return 0; | ||
119 | } | ||
120 | |||
121 | static int benet_open(struct net_device *netdev) | ||
122 | { | ||
123 | struct be_net_object *pnob = netdev_priv(netdev); | ||
124 | struct be_adapter *adapter = pnob->adapter; | ||
125 | struct net_lro_mgr *lro_mgr; | ||
126 | |||
127 | if (adapter->dev_state < BE_DEV_STATE_INIT) | ||
128 | return -EAGAIN; | ||
129 | |||
130 | lro_mgr = &pnob->lro_mgr; | ||
131 | lro_mgr->dev = netdev; | ||
132 | |||
133 | lro_mgr->features = LRO_F_NAPI; | ||
134 | lro_mgr->ip_summed = CHECKSUM_UNNECESSARY; | ||
135 | lro_mgr->ip_summed_aggr = CHECKSUM_UNNECESSARY; | ||
136 | lro_mgr->max_desc = BE_MAX_LRO_DESCRIPTORS; | ||
137 | lro_mgr->lro_arr = pnob->lro_desc; | ||
138 | lro_mgr->get_frag_header = be_get_frag_header; | ||
139 | lro_mgr->max_aggr = adapter->max_rx_coal; | ||
140 | lro_mgr->frag_align_pad = 2; | ||
141 | if (lro_mgr->max_aggr > MAX_SKB_FRAGS) | ||
142 | lro_mgr->max_aggr = MAX_SKB_FRAGS; | ||
143 | |||
144 | adapter->max_rx_coal = BE_LRO_MAX_PKTS; | ||
145 | |||
146 | be_update_link_status(adapter); | ||
147 | |||
148 | /* | ||
149 | * Set carrier on only if Physical Link up | ||
150 | * Either of the port link status up signifies this | ||
151 | */ | ||
152 | if ((adapter->port0_link_sts == BE_PORT_LINK_UP) || | ||
153 | (adapter->port1_link_sts == BE_PORT_LINK_UP)) { | ||
154 | netif_start_queue(netdev); | ||
155 | netif_carrier_on(netdev); | ||
156 | } | ||
157 | |||
158 | adapter->dev_state = BE_DEV_STATE_OPEN; | ||
159 | napi_enable(&pnob->napi); | ||
160 | be_enable_intr(pnob); | ||
161 | be_enable_eq_intr(pnob); | ||
162 | /* | ||
163 | * RX completion queue may be in dis-armed state. Arm it. | ||
164 | */ | ||
165 | be_notify_cmpl(pnob, 0, pnob->rx_cq_id, 1); | ||
166 | |||
167 | return 0; | ||
168 | } | ||
169 | |||
170 | static int benet_close(struct net_device *netdev) | ||
171 | { | ||
172 | struct be_net_object *pnob = netdev_priv(netdev); | ||
173 | struct be_adapter *adapter = pnob->adapter; | ||
174 | |||
175 | netif_stop_queue(netdev); | ||
176 | synchronize_irq(netdev->irq); | ||
177 | |||
178 | be_wait_nic_tx_cmplx_cmpl(pnob); | ||
179 | adapter->dev_state = BE_DEV_STATE_INIT; | ||
180 | netif_carrier_off(netdev); | ||
181 | |||
182 | adapter->port0_link_sts = BE_PORT_LINK_DOWN; | ||
183 | adapter->port1_link_sts = BE_PORT_LINK_DOWN; | ||
184 | be_disable_intr(pnob); | ||
185 | be_disable_eq_intr(pnob); | ||
186 | napi_disable(&pnob->napi); | ||
187 | |||
188 | return 0; | ||
189 | } | ||
190 | |||
191 | /* | ||
192 | * Setting a Mac Address for BE | ||
193 | * Takes netdev and a void pointer as arguments. | ||
194 | * The pointer holds the new addres to be used. | ||
195 | */ | ||
196 | static int benet_set_mac_addr(struct net_device *netdev, void *p) | ||
197 | { | ||
198 | struct sockaddr *addr = p; | ||
199 | struct be_net_object *pnob = netdev_priv(netdev); | ||
200 | |||
201 | memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); | ||
202 | be_rxf_mac_address_read_write(&pnob->fn_obj, 0, 0, false, true, false, | ||
203 | netdev->dev_addr, NULL, NULL); | ||
204 | /* | ||
205 | * Since we are doing Active-Passive failover, both | ||
206 | * ports should have matching MAC addresses everytime. | ||
207 | */ | ||
208 | be_rxf_mac_address_read_write(&pnob->fn_obj, 1, 0, false, true, false, | ||
209 | netdev->dev_addr, NULL, NULL); | ||
210 | |||
211 | return 0; | ||
212 | } | ||
213 | |||
214 | void be_get_stats_timer_handler(unsigned long context) | ||
215 | { | ||
216 | struct be_timer_ctxt *ctxt = (struct be_timer_ctxt *)context; | ||
217 | |||
218 | if (atomic_read(&ctxt->get_stat_flag)) { | ||
219 | atomic_dec(&ctxt->get_stat_flag); | ||
220 | up((void *)ctxt->get_stat_sem_addr); | ||
221 | } | ||
222 | del_timer(&ctxt->get_stats_timer); | ||
223 | return; | ||
224 | } | ||
225 | |||
226 | void be_get_stat_cb(void *context, int status, | ||
227 | struct MCC_WRB_AMAP *optional_wrb) | ||
228 | { | ||
229 | struct be_timer_ctxt *ctxt = (struct be_timer_ctxt *)context; | ||
230 | /* | ||
231 | * just up the semaphore if the get_stat_flag | ||
232 | * reads 1. so that the waiter can continue. | ||
233 | * If it is 0, then it was handled by the timer handler. | ||
234 | */ | ||
235 | del_timer(&ctxt->get_stats_timer); | ||
236 | if (atomic_read(&ctxt->get_stat_flag)) { | ||
237 | atomic_dec(&ctxt->get_stat_flag); | ||
238 | up((void *)ctxt->get_stat_sem_addr); | ||
239 | } | ||
240 | } | ||
241 | |||
242 | struct net_device_stats *benet_get_stats(struct net_device *dev) | ||
243 | { | ||
244 | struct be_net_object *pnob = netdev_priv(dev); | ||
245 | struct be_adapter *adapter = pnob->adapter; | ||
246 | u64 pa; | ||
247 | struct be_timer_ctxt *ctxt = &adapter->timer_ctxt; | ||
248 | |||
249 | if (adapter->dev_state != BE_DEV_STATE_OPEN) { | ||
250 | /* Return previously read stats */ | ||
251 | return &(adapter->benet_stats); | ||
252 | } | ||
253 | /* Get Physical Addr */ | ||
254 | pa = pci_map_single(adapter->pdev, adapter->eth_statsp, | ||
255 | sizeof(struct FWCMD_ETH_GET_STATISTICS), | ||
256 | PCI_DMA_FROMDEVICE); | ||
257 | ctxt->get_stat_sem_addr = (unsigned long)&adapter->get_eth_stat_sem; | ||
258 | atomic_inc(&ctxt->get_stat_flag); | ||
259 | |||
260 | be_rxf_query_eth_statistics(&pnob->fn_obj, adapter->eth_statsp, | ||
261 | cpu_to_le64(pa), be_get_stat_cb, ctxt, | ||
262 | NULL); | ||
263 | |||
264 | ctxt->get_stats_timer.data = (unsigned long)ctxt; | ||
265 | mod_timer(&ctxt->get_stats_timer, (jiffies + (HZ * 2))); | ||
266 | down((void *)ctxt->get_stat_sem_addr); /* callback will unblock us */ | ||
267 | |||
268 | /* Adding port0 and port1 stats. */ | ||
269 | adapter->benet_stats.rx_packets = | ||
270 | adapter->eth_statsp->params.response.p0recvdtotalframes + | ||
271 | adapter->eth_statsp->params.response.p1recvdtotalframes; | ||
272 | adapter->benet_stats.tx_packets = | ||
273 | adapter->eth_statsp->params.response.p0xmitunicastframes + | ||
274 | adapter->eth_statsp->params.response.p1xmitunicastframes; | ||
275 | adapter->benet_stats.tx_bytes = | ||
276 | adapter->eth_statsp->params.response.p0xmitbyteslsd + | ||
277 | adapter->eth_statsp->params.response.p1xmitbyteslsd; | ||
278 | adapter->benet_stats.rx_errors = | ||
279 | adapter->eth_statsp->params.response.p0crcerrors + | ||
280 | adapter->eth_statsp->params.response.p1crcerrors; | ||
281 | adapter->benet_stats.rx_errors += | ||
282 | adapter->eth_statsp->params.response.p0alignmentsymerrs + | ||
283 | adapter->eth_statsp->params.response.p1alignmentsymerrs; | ||
284 | adapter->benet_stats.rx_errors += | ||
285 | adapter->eth_statsp->params.response.p0inrangelenerrors + | ||
286 | adapter->eth_statsp->params.response.p1inrangelenerrors; | ||
287 | adapter->benet_stats.rx_bytes = | ||
288 | adapter->eth_statsp->params.response.p0recvdtotalbytesLSD + | ||
289 | adapter->eth_statsp->params.response.p1recvdtotalbytesLSD; | ||
290 | adapter->benet_stats.rx_crc_errors = | ||
291 | adapter->eth_statsp->params.response.p0crcerrors + | ||
292 | adapter->eth_statsp->params.response.p1crcerrors; | ||
293 | |||
294 | adapter->benet_stats.tx_packets += | ||
295 | adapter->eth_statsp->params.response.p0xmitmulticastframes + | ||
296 | adapter->eth_statsp->params.response.p1xmitmulticastframes; | ||
297 | adapter->benet_stats.tx_packets += | ||
298 | adapter->eth_statsp->params.response.p0xmitbroadcastframes + | ||
299 | adapter->eth_statsp->params.response.p1xmitbroadcastframes; | ||
300 | adapter->benet_stats.tx_errors = 0; | ||
301 | |||
302 | adapter->benet_stats.multicast = | ||
303 | adapter->eth_statsp->params.response.p0xmitmulticastframes + | ||
304 | adapter->eth_statsp->params.response.p1xmitmulticastframes; | ||
305 | |||
306 | adapter->benet_stats.rx_fifo_errors = | ||
307 | adapter->eth_statsp->params.response.p0rxfifooverflowdropped + | ||
308 | adapter->eth_statsp->params.response.p1rxfifooverflowdropped; | ||
309 | adapter->benet_stats.rx_frame_errors = | ||
310 | adapter->eth_statsp->params.response.p0alignmentsymerrs + | ||
311 | adapter->eth_statsp->params.response.p1alignmentsymerrs; | ||
312 | adapter->benet_stats.rx_length_errors = | ||
313 | adapter->eth_statsp->params.response.p0inrangelenerrors + | ||
314 | adapter->eth_statsp->params.response.p1inrangelenerrors; | ||
315 | adapter->benet_stats.rx_length_errors += | ||
316 | adapter->eth_statsp->params.response.p0outrangeerrors + | ||
317 | adapter->eth_statsp->params.response.p1outrangeerrors; | ||
318 | adapter->benet_stats.rx_length_errors += | ||
319 | adapter->eth_statsp->params.response.p0frametoolongerrors + | ||
320 | adapter->eth_statsp->params.response.p1frametoolongerrors; | ||
321 | |||
322 | pci_unmap_single(adapter->pdev, (ulong) adapter->eth_statsp, | ||
323 | sizeof(struct FWCMD_ETH_GET_STATISTICS), | ||
324 | PCI_DMA_FROMDEVICE); | ||
325 | return &(adapter->benet_stats); | ||
326 | |||
327 | } | ||
328 | |||
329 | static void be_start_tx(struct be_net_object *pnob, u32 nposted) | ||
330 | { | ||
331 | #define CSR_ETH_MAX_SQPOSTS 255 | ||
332 | struct SQ_DB_AMAP sqdb; | ||
333 | |||
334 | sqdb.dw[0] = 0; | ||
335 | |||
336 | AMAP_SET_BITS_PTR(SQ_DB, cid, &sqdb, pnob->tx_q_id); | ||
337 | while (nposted) { | ||
338 | if (nposted > CSR_ETH_MAX_SQPOSTS) { | ||
339 | AMAP_SET_BITS_PTR(SQ_DB, numPosted, &sqdb, | ||
340 | CSR_ETH_MAX_SQPOSTS); | ||
341 | nposted -= CSR_ETH_MAX_SQPOSTS; | ||
342 | } else { | ||
343 | AMAP_SET_BITS_PTR(SQ_DB, numPosted, &sqdb, nposted); | ||
344 | nposted = 0; | ||
345 | } | ||
346 | PD_WRITE(&pnob->fn_obj, etx_sq_db, sqdb.dw[0]); | ||
347 | } | ||
348 | |||
349 | return; | ||
350 | } | ||
351 | |||
352 | static void update_tx_rate(struct be_adapter *adapter) | ||
353 | { | ||
354 | /* update the rate once in two seconds */ | ||
355 | if ((jiffies - adapter->eth_tx_jiffies) > 2 * (HZ)) { | ||
356 | u32 r; | ||
357 | r = adapter->eth_tx_bytes / | ||
358 | ((jiffies - adapter->eth_tx_jiffies) / (HZ)); | ||
359 | r = (r / 1000000); /* M bytes/s */ | ||
360 | adapter->be_stat.bes_eth_tx_rate = (r * 8); /* M bits/s */ | ||
361 | adapter->eth_tx_jiffies = jiffies; | ||
362 | adapter->eth_tx_bytes = 0; | ||
363 | } | ||
364 | } | ||
365 | |||
366 | static int wrb_cnt_in_skb(struct sk_buff *skb) | ||
367 | { | ||
368 | int cnt = 0; | ||
369 | while (skb) { | ||
370 | if (skb->len > skb->data_len) | ||
371 | cnt++; | ||
372 | cnt += skb_shinfo(skb)->nr_frags; | ||
373 | skb = skb_shinfo(skb)->frag_list; | ||
374 | } | ||
375 | BUG_ON(cnt > BE_MAX_TX_FRAG_COUNT); | ||
376 | return cnt; | ||
377 | } | ||
378 | |||
379 | static void wrb_fill(struct ETH_WRB_AMAP *wrb, u64 addr, int len) | ||
380 | { | ||
381 | AMAP_SET_BITS_PTR(ETH_WRB, frag_pa_hi, wrb, addr >> 32); | ||
382 | AMAP_SET_BITS_PTR(ETH_WRB, frag_pa_lo, wrb, addr & 0xFFFFFFFF); | ||
383 | AMAP_SET_BITS_PTR(ETH_WRB, frag_len, wrb, len); | ||
384 | } | ||
385 | |||
386 | static void wrb_fill_extra(struct ETH_WRB_AMAP *wrb, struct sk_buff *skb, | ||
387 | struct be_net_object *pnob) | ||
388 | { | ||
389 | wrb->dw[2] = 0; | ||
390 | wrb->dw[3] = 0; | ||
391 | AMAP_SET_BITS_PTR(ETH_WRB, crc, wrb, 1); | ||
392 | if (skb_shinfo(skb)->gso_segs > 1 && skb_shinfo(skb)->gso_size) { | ||
393 | AMAP_SET_BITS_PTR(ETH_WRB, lso, wrb, 1); | ||
394 | AMAP_SET_BITS_PTR(ETH_WRB, lso_mss, wrb, | ||
395 | skb_shinfo(skb)->gso_size); | ||
396 | } else if (skb->ip_summed == CHECKSUM_PARTIAL) { | ||
397 | u8 proto = ((struct iphdr *)ip_hdr(skb))->protocol; | ||
398 | if (proto == IPPROTO_TCP) | ||
399 | AMAP_SET_BITS_PTR(ETH_WRB, tcpcs, wrb, 1); | ||
400 | else if (proto == IPPROTO_UDP) | ||
401 | AMAP_SET_BITS_PTR(ETH_WRB, udpcs, wrb, 1); | ||
402 | } | ||
403 | if (pnob->vlan_grp && vlan_tx_tag_present(skb)) { | ||
404 | AMAP_SET_BITS_PTR(ETH_WRB, vlan, wrb, 1); | ||
405 | AMAP_SET_BITS_PTR(ETH_WRB, vlan_tag, wrb, vlan_tx_tag_get(skb)); | ||
406 | } | ||
407 | } | ||
408 | |||
409 | static inline void wrb_copy_extra(struct ETH_WRB_AMAP *to, | ||
410 | struct ETH_WRB_AMAP *from) | ||
411 | { | ||
412 | |||
413 | to->dw[2] = from->dw[2]; | ||
414 | to->dw[3] = from->dw[3]; | ||
415 | } | ||
416 | |||
417 | /* Returns the actual count of wrbs used including a possible dummy */ | ||
418 | static int copy_skb_to_txq(struct be_net_object *pnob, struct sk_buff *skb, | ||
419 | u32 wrb_cnt, u32 *copied) | ||
420 | { | ||
421 | u64 busaddr; | ||
422 | struct ETH_WRB_AMAP *wrb = NULL, *first = NULL; | ||
423 | u32 i; | ||
424 | bool dummy = true; | ||
425 | struct pci_dev *pdev = pnob->adapter->pdev; | ||
426 | |||
427 | if (wrb_cnt & 1) | ||
428 | wrb_cnt++; | ||
429 | else | ||
430 | dummy = false; | ||
431 | |||
432 | atomic_add(wrb_cnt, &pnob->tx_q_used); | ||
433 | |||
434 | while (skb) { | ||
435 | if (skb->len > skb->data_len) { | ||
436 | int len = skb->len - skb->data_len; | ||
437 | busaddr = pci_map_single(pdev, skb->data, len, | ||
438 | PCI_DMA_TODEVICE); | ||
439 | busaddr = cpu_to_le64(busaddr); | ||
440 | wrb = &pnob->tx_q[pnob->tx_q_hd]; | ||
441 | if (first == NULL) { | ||
442 | wrb_fill_extra(wrb, skb, pnob); | ||
443 | first = wrb; | ||
444 | } else { | ||
445 | wrb_copy_extra(wrb, first); | ||
446 | } | ||
447 | wrb_fill(wrb, busaddr, len); | ||
448 | be_adv_txq_hd(pnob); | ||
449 | *copied += len; | ||
450 | } | ||
451 | |||
452 | for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) { | ||
453 | struct skb_frag_struct *frag = | ||
454 | &skb_shinfo(skb)->frags[i]; | ||
455 | busaddr = pci_map_page(pdev, frag->page, | ||
456 | frag->page_offset, frag->size, | ||
457 | PCI_DMA_TODEVICE); | ||
458 | busaddr = cpu_to_le64(busaddr); | ||
459 | wrb = &pnob->tx_q[pnob->tx_q_hd]; | ||
460 | if (first == NULL) { | ||
461 | wrb_fill_extra(wrb, skb, pnob); | ||
462 | first = wrb; | ||
463 | } else { | ||
464 | wrb_copy_extra(wrb, first); | ||
465 | } | ||
466 | wrb_fill(wrb, busaddr, frag->size); | ||
467 | be_adv_txq_hd(pnob); | ||
468 | *copied += frag->size; | ||
469 | } | ||
470 | skb = skb_shinfo(skb)->frag_list; | ||
471 | } | ||
472 | |||
473 | if (dummy) { | ||
474 | wrb = &pnob->tx_q[pnob->tx_q_hd]; | ||
475 | BUG_ON(first == NULL); | ||
476 | wrb_copy_extra(wrb, first); | ||
477 | wrb_fill(wrb, 0, 0); | ||
478 | be_adv_txq_hd(pnob); | ||
479 | } | ||
480 | AMAP_SET_BITS_PTR(ETH_WRB, complete, wrb, 1); | ||
481 | AMAP_SET_BITS_PTR(ETH_WRB, last, wrb, 1); | ||
482 | return wrb_cnt; | ||
483 | } | ||
484 | |||
485 | /* For each skb transmitted, tx_ctxt stores the num of wrbs in the | ||
486 | * start index and skb pointer in the end index | ||
487 | */ | ||
488 | static inline void be_tx_wrb_info_remember(struct be_net_object *pnob, | ||
489 | struct sk_buff *skb, int wrb_cnt, | ||
490 | u32 start) | ||
491 | { | ||
492 | *(u32 *) (&pnob->tx_ctxt[start]) = wrb_cnt; | ||
493 | index_adv(&start, wrb_cnt - 1, pnob->tx_q_len); | ||
494 | pnob->tx_ctxt[start] = skb; | ||
495 | } | ||
496 | |||
497 | static int benet_xmit(struct sk_buff *skb, struct net_device *netdev) | ||
498 | { | ||
499 | struct be_net_object *pnob = netdev_priv(netdev); | ||
500 | struct be_adapter *adapter = pnob->adapter; | ||
501 | u32 wrb_cnt, copied = 0; | ||
502 | u32 start = pnob->tx_q_hd; | ||
503 | |||
504 | adapter->be_stat.bes_tx_reqs++; | ||
505 | |||
506 | wrb_cnt = wrb_cnt_in_skb(skb); | ||
507 | spin_lock_bh(&adapter->txq_lock); | ||
508 | if ((pnob->tx_q_len - 2 - atomic_read(&pnob->tx_q_used)) <= wrb_cnt) { | ||
509 | netif_stop_queue(pnob->netdev); | ||
510 | spin_unlock_bh(&adapter->txq_lock); | ||
511 | adapter->be_stat.bes_tx_fails++; | ||
512 | return NETDEV_TX_BUSY; | ||
513 | } | ||
514 | spin_unlock_bh(&adapter->txq_lock); | ||
515 | |||
516 | wrb_cnt = copy_skb_to_txq(pnob, skb, wrb_cnt, &copied); | ||
517 | be_tx_wrb_info_remember(pnob, skb, wrb_cnt, start); | ||
518 | |||
519 | be_start_tx(pnob, wrb_cnt); | ||
520 | |||
521 | adapter->eth_tx_bytes += copied; | ||
522 | adapter->be_stat.bes_tx_wrbs += wrb_cnt; | ||
523 | update_tx_rate(adapter); | ||
524 | netdev->trans_start = jiffies; | ||
525 | |||
526 | return NETDEV_TX_OK; | ||
527 | } | ||
528 | |||
529 | /* | ||
530 | * This is the driver entry point to change the mtu of the device | ||
531 | * Returns 0 for success and errno for failure. | ||
532 | */ | ||
533 | static int benet_change_mtu(struct net_device *netdev, int new_mtu) | ||
534 | { | ||
535 | /* | ||
536 | * BE supports jumbo frame size upto 9000 bytes including the link layer | ||
537 | * header. Considering the different variants of frame formats possible | ||
538 | * like VLAN, SNAP/LLC, the maximum possible value for MTU is 8974 bytes | ||
539 | */ | ||
540 | |||
541 | if (new_mtu < (ETH_ZLEN + ETH_FCS_LEN) || (new_mtu > BE_MAX_MTU)) { | ||
542 | dev_info(&netdev->dev, "Invalid MTU requested. " | ||
543 | "Must be between %d and %d bytes\n", | ||
544 | (ETH_ZLEN + ETH_FCS_LEN), BE_MAX_MTU); | ||
545 | return -EINVAL; | ||
546 | } | ||
547 | dev_info(&netdev->dev, "MTU changed from %d to %d\n", | ||
548 | netdev->mtu, new_mtu); | ||
549 | netdev->mtu = new_mtu; | ||
550 | return 0; | ||
551 | } | ||
552 | |||
553 | /* | ||
554 | * This is the driver entry point to register a vlan with the device | ||
555 | */ | ||
556 | static void benet_vlan_register(struct net_device *netdev, | ||
557 | struct vlan_group *grp) | ||
558 | { | ||
559 | struct be_net_object *pnob = netdev_priv(netdev); | ||
560 | |||
561 | be_disable_eq_intr(pnob); | ||
562 | pnob->vlan_grp = grp; | ||
563 | pnob->num_vlans = 0; | ||
564 | be_enable_eq_intr(pnob); | ||
565 | } | ||
566 | |||
567 | /* | ||
568 | * This is the driver entry point to add a vlan vlan_id | ||
569 | * with the device netdev | ||
570 | */ | ||
571 | static void benet_vlan_add_vid(struct net_device *netdev, u16 vlan_id) | ||
572 | { | ||
573 | struct be_net_object *pnob = netdev_priv(netdev); | ||
574 | |||
575 | if (pnob->num_vlans == (BE_NUM_VLAN_SUPPORTED - 1)) { | ||
576 | /* no way to return an error */ | ||
577 | dev_info(&netdev->dev, | ||
578 | "BladeEngine: Cannot configure more than %d Vlans\n", | ||
579 | BE_NUM_VLAN_SUPPORTED); | ||
580 | return; | ||
581 | } | ||
582 | /* The new vlan tag will be in the slot indicated by num_vlans. */ | ||
583 | pnob->vlan_tag[pnob->num_vlans++] = vlan_id; | ||
584 | be_rxf_vlan_config(&pnob->fn_obj, false, pnob->num_vlans, | ||
585 | pnob->vlan_tag, NULL, NULL, NULL); | ||
586 | } | ||
587 | |||
588 | /* | ||
589 | * This is the driver entry point to remove a vlan vlan_id | ||
590 | * with the device netdev | ||
591 | */ | ||
592 | static void benet_vlan_rem_vid(struct net_device *netdev, u16 vlan_id) | ||
593 | { | ||
594 | struct be_net_object *pnob = netdev_priv(netdev); | ||
595 | |||
596 | u32 i, value; | ||
597 | |||
598 | /* | ||
599 | * In Blade Engine, we support 32 vlan tag filters across both ports. | ||
600 | * To program a vlan tag, the RXF_RTPR_CSR register is used. | ||
601 | * Each 32-bit value of RXF_RTDR_CSR can address 2 vlan tag entries. | ||
602 | * The Vlan table is of depth 16. thus we support 32 tags. | ||
603 | */ | ||
604 | |||
605 | value = vlan_id | VLAN_VALID_BIT; | ||
606 | for (i = 0; i < BE_NUM_VLAN_SUPPORTED; i++) { | ||
607 | if (pnob->vlan_tag[i] == vlan_id) | ||
608 | break; | ||
609 | } | ||
610 | |||
611 | if (i == BE_NUM_VLAN_SUPPORTED) | ||
612 | return; | ||
613 | /* Now compact the vlan tag array by removing hole created. */ | ||
614 | while ((i + 1) < BE_NUM_VLAN_SUPPORTED) { | ||
615 | pnob->vlan_tag[i] = pnob->vlan_tag[i + 1]; | ||
616 | i++; | ||
617 | } | ||
618 | if ((i + 1) == BE_NUM_VLAN_SUPPORTED) | ||
619 | pnob->vlan_tag[i] = (u16) 0x0; | ||
620 | pnob->num_vlans--; | ||
621 | be_rxf_vlan_config(&pnob->fn_obj, false, pnob->num_vlans, | ||
622 | pnob->vlan_tag, NULL, NULL, NULL); | ||
623 | } | ||
624 | |||
625 | /* | ||
626 | * This function is called to program multicast | ||
627 | * address in the multicast filter of the ASIC. | ||
628 | */ | ||
629 | static void be_set_multicast_filter(struct net_device *netdev) | ||
630 | { | ||
631 | struct be_net_object *pnob = netdev_priv(netdev); | ||
632 | struct dev_mc_list *mc_ptr; | ||
633 | u8 mac_addr[32][ETH_ALEN]; | ||
634 | int i; | ||
635 | |||
636 | if (netdev->flags & IFF_ALLMULTI) { | ||
637 | /* set BE in Multicast promiscuous */ | ||
638 | be_rxf_multicast_config(&pnob->fn_obj, true, 0, NULL, NULL, | ||
639 | NULL, NULL); | ||
640 | return; | ||
641 | } | ||
642 | |||
643 | for (mc_ptr = netdev->mc_list, i = 0; mc_ptr; | ||
644 | mc_ptr = mc_ptr->next, i++) { | ||
645 | memcpy(&mac_addr[i][0], mc_ptr->dmi_addr, ETH_ALEN); | ||
646 | } | ||
647 | |||
648 | /* reset the promiscuous mode also. */ | ||
649 | be_rxf_multicast_config(&pnob->fn_obj, false, i, | ||
650 | &mac_addr[0][0], NULL, NULL, NULL); | ||
651 | } | ||
652 | |||
653 | /* | ||
654 | * This is the driver entry point to set multicast list | ||
655 | * with the device netdev. This function will be used to | ||
656 | * set promiscuous mode or multicast promiscuous mode | ||
657 | * or multicast mode.... | ||
658 | */ | ||
659 | static void benet_set_multicast_list(struct net_device *netdev) | ||
660 | { | ||
661 | struct be_net_object *pnob = netdev_priv(netdev); | ||
662 | |||
663 | if (netdev->flags & IFF_PROMISC) { | ||
664 | be_rxf_promiscuous(&pnob->fn_obj, 1, 1, NULL, NULL, NULL); | ||
665 | } else { | ||
666 | be_rxf_promiscuous(&pnob->fn_obj, 0, 0, NULL, NULL, NULL); | ||
667 | be_set_multicast_filter(netdev); | ||
668 | } | ||
669 | } | ||
670 | |||
671 | int benet_init(struct net_device *netdev) | ||
672 | { | ||
673 | struct be_net_object *pnob = netdev_priv(netdev); | ||
674 | struct be_adapter *adapter = pnob->adapter; | ||
675 | |||
676 | ether_setup(netdev); | ||
677 | |||
678 | netdev->open = &benet_open; | ||
679 | netdev->stop = &benet_close; | ||
680 | netdev->hard_start_xmit = &benet_xmit; | ||
681 | |||
682 | netdev->get_stats = &benet_get_stats; | ||
683 | |||
684 | netdev->set_multicast_list = &benet_set_multicast_list; | ||
685 | |||
686 | netdev->change_mtu = &benet_change_mtu; | ||
687 | netdev->set_mac_address = &benet_set_mac_addr; | ||
688 | |||
689 | netdev->vlan_rx_register = benet_vlan_register; | ||
690 | netdev->vlan_rx_add_vid = benet_vlan_add_vid; | ||
691 | netdev->vlan_rx_kill_vid = benet_vlan_rem_vid; | ||
692 | |||
693 | netdev->features = | ||
694 | NETIF_F_SG | NETIF_F_HIGHDMA | NETIF_F_HW_VLAN_RX | NETIF_F_TSO | | ||
695 | NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_FILTER | NETIF_F_IP_CSUM; | ||
696 | |||
697 | netdev->flags |= IFF_MULTICAST; | ||
698 | |||
699 | /* If device is DAC Capable, set the HIGHDMA flag for netdevice. */ | ||
700 | if (adapter->dma_64bit_cap) | ||
701 | netdev->features |= NETIF_F_HIGHDMA; | ||
702 | |||
703 | SET_ETHTOOL_OPS(netdev, &be_ethtool_ops); | ||
704 | return 0; | ||
705 | } | ||
diff --git a/drivers/staging/benet/benet.h b/drivers/staging/benet/benet.h deleted file mode 100644 index 09a1f0817722..000000000000 --- a/drivers/staging/benet/benet.h +++ /dev/null | |||
@@ -1,429 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | #ifndef _BENET_H_ | ||
18 | #define _BENET_H_ | ||
19 | |||
20 | #include <linux/pci.h> | ||
21 | #include <linux/netdevice.h> | ||
22 | #include <linux/inet_lro.h> | ||
23 | #include "hwlib.h" | ||
24 | |||
25 | #define _SA_MODULE_NAME "net-driver" | ||
26 | |||
27 | #define VLAN_VALID_BIT 0x8000 | ||
28 | #define BE_NUM_VLAN_SUPPORTED 32 | ||
29 | #define BE_PORT_LINK_DOWN 0000 | ||
30 | #define BE_PORT_LINK_UP 0001 | ||
31 | #define BE_MAX_TX_FRAG_COUNT (30) | ||
32 | |||
33 | /* Flag bits for send operation */ | ||
34 | #define IPCS (1 << 0) /* Enable IP checksum offload */ | ||
35 | #define UDPCS (1 << 1) /* Enable UDP checksum offload */ | ||
36 | #define TCPCS (1 << 2) /* Enable TCP checksum offload */ | ||
37 | #define LSO (1 << 3) /* Enable Large Segment offload */ | ||
38 | #define ETHVLAN (1 << 4) /* Enable VLAN insert */ | ||
39 | #define ETHEVENT (1 << 5) /* Generate event on completion */ | ||
40 | #define ETHCOMPLETE (1 << 6) /* Generate completion when done */ | ||
41 | #define IPSEC (1 << 7) /* Enable IPSEC */ | ||
42 | #define FORWARD (1 << 8) /* Send the packet in forwarding path */ | ||
43 | #define FIN (1 << 9) /* Issue FIN segment */ | ||
44 | |||
45 | #define BE_MAX_MTU 8974 | ||
46 | |||
47 | #define BE_MAX_LRO_DESCRIPTORS 8 | ||
48 | #define BE_LRO_MAX_PKTS 64 | ||
49 | #define BE_MAX_FRAGS_PER_FRAME 6 | ||
50 | |||
51 | extern const char be_drvr_ver[]; | ||
52 | extern char be_fw_ver[]; | ||
53 | extern char be_driver_name[]; | ||
54 | |||
55 | extern struct ethtool_ops be_ethtool_ops; | ||
56 | |||
57 | #define BE_DEV_STATE_NONE 0 | ||
58 | #define BE_DEV_STATE_INIT 1 | ||
59 | #define BE_DEV_STATE_OPEN 2 | ||
60 | #define BE_DEV_STATE_SUSPEND 3 | ||
61 | |||
62 | /* This structure is used to describe physical fragments to use | ||
63 | * for DMAing data from NIC. | ||
64 | */ | ||
65 | struct be_recv_buffer { | ||
66 | struct list_head rxb_list; /* for maintaining a linked list */ | ||
67 | void *rxb_va; /* buffer virtual address */ | ||
68 | u32 rxb_pa_lo; /* low part of physical address */ | ||
69 | u32 rxb_pa_hi; /* high part of physical address */ | ||
70 | u32 rxb_len; /* length of recv buffer */ | ||
71 | void *rxb_ctxt; /* context for OSM driver to use */ | ||
72 | }; | ||
73 | |||
74 | /* | ||
75 | * fragment list to describe scattered data. | ||
76 | */ | ||
77 | struct be_tx_frag_list { | ||
78 | u32 txb_len; /* Size of this fragment */ | ||
79 | u32 txb_pa_lo; /* Lower 32 bits of 64 bit physical addr */ | ||
80 | u32 txb_pa_hi; /* Higher 32 bits of 64 bit physical addr */ | ||
81 | }; | ||
82 | |||
83 | struct be_rx_page_info { | ||
84 | struct page *page; | ||
85 | dma_addr_t bus; | ||
86 | u16 page_offset; | ||
87 | }; | ||
88 | |||
89 | /* | ||
90 | * This structure is the main tracking structure for a NIC interface. | ||
91 | */ | ||
92 | struct be_net_object { | ||
93 | /* MCC Ring - used to send fwcmds to embedded ARM processor */ | ||
94 | struct MCC_WRB_AMAP *mcc_q; /* VA of the start of the ring */ | ||
95 | u32 mcc_q_len; /* # of WRB entries in this ring */ | ||
96 | u32 mcc_q_size; | ||
97 | u32 mcc_q_hd; /* MCC ring head */ | ||
98 | u8 mcc_q_created; /* flag to help cleanup */ | ||
99 | struct be_mcc_object mcc_q_obj; /* BECLIB's MCC ring Object */ | ||
100 | dma_addr_t mcc_q_bus; /* DMA'ble bus address */ | ||
101 | |||
102 | /* MCC Completion Ring - FW responses to fwcmds sent from MCC ring */ | ||
103 | struct MCC_CQ_ENTRY_AMAP *mcc_cq; /* VA of the start of the ring */ | ||
104 | u32 mcc_cq_len; /* # of compl. entries in this ring */ | ||
105 | u32 mcc_cq_size; | ||
106 | u32 mcc_cq_tl; /* compl. ring tail */ | ||
107 | u8 mcc_cq_created; /* flag to help cleanup */ | ||
108 | struct be_cq_object mcc_cq_obj; /* BECLIB's MCC compl. ring object */ | ||
109 | u32 mcc_cq_id; /* MCC ring ID */ | ||
110 | dma_addr_t mcc_cq_bus; /* DMA'ble bus address */ | ||
111 | |||
112 | struct ring_desc mb_rd; /* RD for MCC_MAIL_BOX */ | ||
113 | void *mb_ptr; /* mailbox ptr to be freed */ | ||
114 | dma_addr_t mb_bus; /* DMA'ble bus address */ | ||
115 | u32 mb_size; | ||
116 | |||
117 | /* BEClib uses an array of context objects to track outstanding | ||
118 | * requests to the MCC. We need allocate the same number of | ||
119 | * conext entries as the number of entries in the MCC WRB ring | ||
120 | */ | ||
121 | u32 mcc_wrb_ctxt_size; | ||
122 | void *mcc_wrb_ctxt; /* pointer to the context area */ | ||
123 | u32 mcc_wrb_ctxtLen; /* Number of entries in the context */ | ||
124 | /* | ||
125 | * NIC send request ring - used for xmitting raw ether frames. | ||
126 | */ | ||
127 | struct ETH_WRB_AMAP *tx_q; /* VA of the start of the ring */ | ||
128 | u32 tx_q_len; /* # if entries in the send ring */ | ||
129 | u32 tx_q_size; | ||
130 | u32 tx_q_hd; /* Head index. Next req. goes here */ | ||
131 | u32 tx_q_tl; /* Tail indx. oldest outstanding req. */ | ||
132 | u8 tx_q_created; /* flag to help cleanup */ | ||
133 | struct be_ethsq_object tx_q_obj;/* BECLIB's send Q handle */ | ||
134 | dma_addr_t tx_q_bus; /* DMA'ble bus address */ | ||
135 | u32 tx_q_id; /* send queue ring ID */ | ||
136 | u32 tx_q_port; /* 0 no binding, 1 port A, 2 port B */ | ||
137 | atomic_t tx_q_used; /* # of WRBs used */ | ||
138 | /* ptr to an array in which we store context info for each send req. */ | ||
139 | void **tx_ctxt; | ||
140 | /* | ||
141 | * NIC Send compl. ring - completion status for all NIC frames xmitted. | ||
142 | */ | ||
143 | struct ETH_TX_COMPL_AMAP *tx_cq;/* VA of start of the ring */ | ||
144 | u32 txcq_len; /* # of entries in the ring */ | ||
145 | u32 tx_cq_size; | ||
146 | /* | ||
147 | * index into compl ring where the host expects next completion entry | ||
148 | */ | ||
149 | u32 tx_cq_tl; | ||
150 | u32 tx_cq_id; /* completion queue id */ | ||
151 | u8 tx_cq_created; /* flag to help cleanup */ | ||
152 | struct be_cq_object tx_cq_obj; | ||
153 | dma_addr_t tx_cq_bus; /* DMA'ble bus address */ | ||
154 | /* | ||
155 | * Event Queue - all completion entries post events here. | ||
156 | */ | ||
157 | struct EQ_ENTRY_AMAP *event_q; /* VA of start of event queue */ | ||
158 | u32 event_q_len; /* # of entries */ | ||
159 | u32 event_q_size; | ||
160 | u32 event_q_tl; /* Tail of the event queue */ | ||
161 | u32 event_q_id; /* Event queue ID */ | ||
162 | u8 event_q_created; /* flag to help cleanup */ | ||
163 | struct be_eq_object event_q_obj; /* Queue handle */ | ||
164 | dma_addr_t event_q_bus; /* DMA'ble bus address */ | ||
165 | /* | ||
166 | * NIC receive queue - Data buffers to be used for receiving unicast, | ||
167 | * broadcast and multi-cast frames are posted here. | ||
168 | */ | ||
169 | struct ETH_RX_D_AMAP *rx_q; /* VA of start of the queue */ | ||
170 | u32 rx_q_len; /* # of entries */ | ||
171 | u32 rx_q_size; | ||
172 | u32 rx_q_hd; /* Head of the queue */ | ||
173 | atomic_t rx_q_posted; /* number of posted buffers */ | ||
174 | u32 rx_q_id; /* queue ID */ | ||
175 | u8 rx_q_created; /* flag to help cleanup */ | ||
176 | struct be_ethrq_object rx_q_obj; /* NIC RX queue handle */ | ||
177 | dma_addr_t rx_q_bus; /* DMA'ble bus address */ | ||
178 | /* | ||
179 | * Pointer to an array of opaque context object for use by OSM driver | ||
180 | */ | ||
181 | void **rx_ctxt; | ||
182 | /* | ||
183 | * NIC unicast RX completion queue - all unicast ether frame completion | ||
184 | * statuses from BE come here. | ||
185 | */ | ||
186 | struct ETH_RX_COMPL_AMAP *rx_cq; /* VA of start of the queue */ | ||
187 | u32 rx_cq_len; /* # of entries */ | ||
188 | u32 rx_cq_size; | ||
189 | u32 rx_cq_tl; /* Tail of the queue */ | ||
190 | u32 rx_cq_id; /* queue ID */ | ||
191 | u8 rx_cq_created; /* flag to help cleanup */ | ||
192 | struct be_cq_object rx_cq_obj; /* queue handle */ | ||
193 | dma_addr_t rx_cq_bus; /* DMA'ble bus address */ | ||
194 | struct be_function_object fn_obj; /* function object */ | ||
195 | bool fn_obj_created; | ||
196 | u32 rx_buf_size; /* Size of the RX buffers */ | ||
197 | |||
198 | struct net_device *netdev; | ||
199 | struct be_recv_buffer eth_rx_bufs[256]; /* to pass Rx buffer | ||
200 | addresses */ | ||
201 | struct be_adapter *adapter; /* Pointer to OSM adapter */ | ||
202 | u32 devno; /* OSM, network dev no. */ | ||
203 | u32 use_port; /* Current active port */ | ||
204 | struct be_rx_page_info *rx_page_info; /* Array of Rx buf pages */ | ||
205 | u32 rx_pg_info_hd; /* Head of queue */ | ||
206 | int rxbuf_post_fail; /* RxBuff posting fail count */ | ||
207 | bool rx_pg_shared; /* Is an allocsted page shared as two frags ? */ | ||
208 | struct vlan_group *vlan_grp; | ||
209 | u32 num_vlans; /* Number of vlans in BE's filter */ | ||
210 | u16 vlan_tag[BE_NUM_VLAN_SUPPORTED]; /* vlans currently configured */ | ||
211 | struct napi_struct napi; | ||
212 | struct net_lro_mgr lro_mgr; | ||
213 | struct net_lro_desc lro_desc[BE_MAX_LRO_DESCRIPTORS]; | ||
214 | }; | ||
215 | |||
216 | #define NET_FH(np) (&(np)->fn_obj) | ||
217 | |||
218 | /* | ||
219 | * BE driver statistics. | ||
220 | */ | ||
221 | struct be_drvr_stat { | ||
222 | u32 bes_tx_reqs; /* number of TX requests initiated */ | ||
223 | u32 bes_tx_fails; /* number of TX requests that failed */ | ||
224 | u32 bes_fwd_reqs; /* number of send reqs through forwarding i/f */ | ||
225 | u32 bes_tx_wrbs; /* number of tx WRBs used */ | ||
226 | |||
227 | u32 bes_ints; /* number of interrupts */ | ||
228 | u32 bes_polls; /* number of times NAPI called poll function */ | ||
229 | u32 bes_events; /* total evet entries processed */ | ||
230 | u32 bes_tx_events; /* number of tx completion events */ | ||
231 | u32 bes_rx_events; /* number of ucast rx completion events */ | ||
232 | u32 bes_tx_compl; /* number of tx completion entries processed */ | ||
233 | u32 bes_rx_compl; /* number of rx completion entries | ||
234 | processed */ | ||
235 | u32 bes_ethrx_post_fail; /* number of ethrx buffer alloc | ||
236 | failures */ | ||
237 | /* | ||
238 | * number of non ether type II frames dropped where | ||
239 | * frame len > length field of Mac Hdr | ||
240 | */ | ||
241 | u32 bes_802_3_dropped_frames; | ||
242 | /* | ||
243 | * number of non ether type II frames malformed where | ||
244 | * in frame len < length field of Mac Hdr | ||
245 | */ | ||
246 | u32 bes_802_3_malformed_frames; | ||
247 | u32 bes_ips; /* interrupts / sec */ | ||
248 | u32 bes_prev_ints; /* bes_ints at last IPS calculation */ | ||
249 | u16 bes_eth_tx_rate; /* ETH TX rate - Mb/sec */ | ||
250 | u16 bes_eth_rx_rate; /* ETH RX rate - Mb/sec */ | ||
251 | u32 bes_rx_coal; /* Num pkts coalasced */ | ||
252 | u32 bes_rx_flush; /* Num times coalasced */ | ||
253 | u32 bes_link_change_physical; /*Num of times physical link changed */ | ||
254 | u32 bes_link_change_virtual; /*Num of times virtual link changed */ | ||
255 | u32 bes_rx_misc_pkts; /* Misc pkts received */ | ||
256 | }; | ||
257 | |||
258 | /* Maximum interrupt delay (in microseconds) allowed */ | ||
259 | #define MAX_EQD 120 | ||
260 | |||
261 | /* | ||
262 | * timer to prevent system shutdown hang for ever if h/w stops responding | ||
263 | */ | ||
264 | struct be_timer_ctxt { | ||
265 | atomic_t get_stat_flag; | ||
266 | struct timer_list get_stats_timer; | ||
267 | unsigned long get_stat_sem_addr; | ||
268 | } ; | ||
269 | |||
270 | /* This structure is the main BladeEngine driver context. */ | ||
271 | struct be_adapter { | ||
272 | struct net_device *netdevp; | ||
273 | struct be_drvr_stat be_stat; | ||
274 | struct net_device_stats benet_stats; | ||
275 | |||
276 | /* PCI BAR mapped addresses */ | ||
277 | u8 __iomem *csr_va; /* CSR */ | ||
278 | u8 __iomem *db_va; /* Door Bell */ | ||
279 | u8 __iomem *pci_va; /* PCI Config */ | ||
280 | |||
281 | struct tasklet_struct sts_handler; | ||
282 | struct timer_list cq_timer; | ||
283 | spinlock_t int_lock; /* to protect the isr field in adapter */ | ||
284 | |||
285 | struct FWCMD_ETH_GET_STATISTICS *eth_statsp; | ||
286 | /* | ||
287 | * This will enable the use of ethtool to enable or disable | ||
288 | * Checksum on Rx pkts to be obeyed or disobeyed. | ||
289 | * If this is true = 1, then whatever is the checksum on the | ||
290 | * Received pkt as per BE, it will be given to the stack. | ||
291 | * Else the stack will re calculate it. | ||
292 | */ | ||
293 | bool rx_csum; | ||
294 | /* | ||
295 | * This will enable the use of ethtool to enable or disable | ||
296 | * Coalese on Rx pkts to be obeyed or disobeyed. | ||
297 | * If this is grater than 0 and less than 16 then coalascing | ||
298 | * is enabled else it is disabled | ||
299 | */ | ||
300 | u32 max_rx_coal; | ||
301 | struct pci_dev *pdev; /* Pointer to OS's PCI dvice */ | ||
302 | |||
303 | spinlock_t txq_lock; /* to stop/wake queue based on tx_q_used */ | ||
304 | |||
305 | u32 isr; /* copy of Intr status reg. */ | ||
306 | |||
307 | u32 port0_link_sts; /* Port 0 link status */ | ||
308 | u32 port1_link_sts; /* port 1 list status */ | ||
309 | struct BE_LINK_STATUS *be_link_sts; | ||
310 | |||
311 | /* pointer to the first netobject of this adapter */ | ||
312 | struct be_net_object *net_obj; | ||
313 | |||
314 | /* Flags to indicate what to clean up */ | ||
315 | bool tasklet_started; | ||
316 | bool isr_registered; | ||
317 | /* | ||
318 | * adaptive interrupt coalescing (AIC) related | ||
319 | */ | ||
320 | bool enable_aic; /* 1 if AIC is enabled */ | ||
321 | u16 min_eqd; /* minimum EQ delay in usec */ | ||
322 | u16 max_eqd; /* minimum EQ delay in usec */ | ||
323 | u16 cur_eqd; /* current EQ delay in usec */ | ||
324 | /* | ||
325 | * book keeping for interrupt / sec and TX/RX rate calculation | ||
326 | */ | ||
327 | ulong ips_jiffies; /* jiffies at last IPS calc */ | ||
328 | u32 eth_tx_bytes; | ||
329 | ulong eth_tx_jiffies; | ||
330 | u32 eth_rx_bytes; | ||
331 | ulong eth_rx_jiffies; | ||
332 | |||
333 | struct semaphore get_eth_stat_sem; | ||
334 | |||
335 | /* timer ctxt to prevent shutdown hanging due to un-responsive BE */ | ||
336 | struct be_timer_ctxt timer_ctxt; | ||
337 | |||
338 | #define BE_MAX_MSIX_VECTORS 32 | ||
339 | #define BE_MAX_REQ_MSIX_VECTORS 1 /* only one EQ in Linux driver */ | ||
340 | struct msix_entry msix_entries[BE_MAX_MSIX_VECTORS]; | ||
341 | bool msix_enabled; | ||
342 | bool dma_64bit_cap; /* the Device DAC capable or not */ | ||
343 | u8 dev_state; /* The current state of the device */ | ||
344 | u8 dev_pm_state; /* The State of device before going to suspend */ | ||
345 | }; | ||
346 | |||
347 | /* | ||
348 | * Every second we look at the ints/sec and adjust eq_delay | ||
349 | * between adapter->min_eqd and adapter->max_eqd to keep the ints/sec between | ||
350 | * IPS_HI_WM and IPS_LO_WM. | ||
351 | */ | ||
352 | #define IPS_HI_WM 18000 | ||
353 | #define IPS_LO_WM 8000 | ||
354 | |||
355 | |||
356 | static inline void index_adv(u32 *index, u32 val, u32 limit) | ||
357 | { | ||
358 | BUG_ON(limit & (limit-1)); | ||
359 | *index = (*index + val) & (limit - 1); | ||
360 | } | ||
361 | |||
362 | static inline void index_inc(u32 *index, u32 limit) | ||
363 | { | ||
364 | BUG_ON(limit & (limit-1)); | ||
365 | *index = (*index + 1) & (limit - 1); | ||
366 | } | ||
367 | |||
368 | static inline void be_adv_eq_tl(struct be_net_object *pnob) | ||
369 | { | ||
370 | index_inc(&pnob->event_q_tl, pnob->event_q_len); | ||
371 | } | ||
372 | |||
373 | static inline void be_adv_txq_hd(struct be_net_object *pnob) | ||
374 | { | ||
375 | index_inc(&pnob->tx_q_hd, pnob->tx_q_len); | ||
376 | } | ||
377 | |||
378 | static inline void be_adv_txq_tl(struct be_net_object *pnob) | ||
379 | { | ||
380 | index_inc(&pnob->tx_q_tl, pnob->tx_q_len); | ||
381 | } | ||
382 | |||
383 | static inline void be_adv_txcq_tl(struct be_net_object *pnob) | ||
384 | { | ||
385 | index_inc(&pnob->tx_cq_tl, pnob->txcq_len); | ||
386 | } | ||
387 | |||
388 | static inline void be_adv_rxq_hd(struct be_net_object *pnob) | ||
389 | { | ||
390 | index_inc(&pnob->rx_q_hd, pnob->rx_q_len); | ||
391 | } | ||
392 | |||
393 | static inline void be_adv_rxcq_tl(struct be_net_object *pnob) | ||
394 | { | ||
395 | index_inc(&pnob->rx_cq_tl, pnob->rx_cq_len); | ||
396 | } | ||
397 | |||
398 | static inline u32 tx_compl_lastwrb_idx_get(struct be_net_object *pnob) | ||
399 | { | ||
400 | return (pnob->tx_q_tl + *(u32 *)&pnob->tx_ctxt[pnob->tx_q_tl] - 1) | ||
401 | & (pnob->tx_q_len - 1); | ||
402 | } | ||
403 | |||
404 | int benet_init(struct net_device *); | ||
405 | int be_ethtool_ioctl(struct net_device *, struct ifreq *); | ||
406 | struct net_device_stats *benet_get_stats(struct net_device *); | ||
407 | void be_process_intr(unsigned long context); | ||
408 | irqreturn_t be_int(int irq, void *dev); | ||
409 | void be_post_eth_rx_buffs(struct be_net_object *); | ||
410 | void be_get_stat_cb(void *, int, struct MCC_WRB_AMAP *); | ||
411 | void be_get_stats_timer_handler(unsigned long); | ||
412 | void be_wait_nic_tx_cmplx_cmpl(struct be_net_object *); | ||
413 | void be_print_link_info(struct BE_LINK_STATUS *); | ||
414 | void be_update_link_status(struct be_adapter *); | ||
415 | void be_init_procfs(struct be_adapter *); | ||
416 | void be_cleanup_procfs(struct be_adapter *); | ||
417 | int be_poll(struct napi_struct *, int); | ||
418 | struct ETH_RX_COMPL_AMAP *be_get_rx_cmpl(struct be_net_object *); | ||
419 | void be_notify_cmpl(struct be_net_object *, int, int, int); | ||
420 | void be_enable_intr(struct be_net_object *); | ||
421 | void be_enable_eq_intr(struct be_net_object *); | ||
422 | void be_disable_intr(struct be_net_object *); | ||
423 | void be_disable_eq_intr(struct be_net_object *); | ||
424 | int be_set_uc_mac_adr(struct be_net_object *, u8, u8, u8, | ||
425 | u8 *, mcc_wrb_cqe_callback, void *); | ||
426 | int be_get_flow_ctl(struct be_function_object *pFnObj, bool *, bool *); | ||
427 | void process_one_tx_compl(struct be_net_object *pnob, u32 end_idx); | ||
428 | |||
429 | #endif /* _BENET_H_ */ | ||
diff --git a/drivers/staging/benet/bestatus.h b/drivers/staging/benet/bestatus.h deleted file mode 100644 index 59c7a4b62223..000000000000 --- a/drivers/staging/benet/bestatus.h +++ /dev/null | |||
@@ -1,103 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | #ifndef _BESTATUS_H_ | ||
18 | #define _BESTATUS_H_ | ||
19 | |||
20 | #define BE_SUCCESS (0x00000000L) | ||
21 | /* | ||
22 | * MessageId: BE_PENDING | ||
23 | * The BladeEngine Driver call succeeded, and pended operation. | ||
24 | */ | ||
25 | #define BE_PENDING (0x20070001L) | ||
26 | #define BE_STATUS_PENDING (BE_PENDING) | ||
27 | /* | ||
28 | * MessageId: BE_NOT_OK | ||
29 | * An error occurred. | ||
30 | */ | ||
31 | #define BE_NOT_OK (0xE0070002L) | ||
32 | /* | ||
33 | * MessageId: BE_STATUS_SYSTEM_RESOURCES | ||
34 | * Insufficient host system resources exist to complete the API. | ||
35 | */ | ||
36 | #define BE_STATUS_SYSTEM_RESOURCES (0xE0070003L) | ||
37 | /* | ||
38 | * MessageId: BE_STATUS_CHIP_RESOURCES | ||
39 | * Insufficient chip resources exist to complete the API. | ||
40 | */ | ||
41 | #define BE_STATUS_CHIP_RESOURCES (0xE0070004L) | ||
42 | /* | ||
43 | * MessageId: BE_STATUS_NO_RESOURCE | ||
44 | * Insufficient resources to complete request. | ||
45 | */ | ||
46 | #define BE_STATUS_NO_RESOURCE (0xE0070005L) | ||
47 | /* | ||
48 | * MessageId: BE_STATUS_BUSY | ||
49 | * Resource is currently busy. | ||
50 | */ | ||
51 | #define BE_STATUS_BUSY (0xE0070006L) | ||
52 | /* | ||
53 | * MessageId: BE_STATUS_INVALID_PARAMETER | ||
54 | * Invalid Parameter in request. | ||
55 | */ | ||
56 | #define BE_STATUS_INVALID_PARAMETER (0xE0000007L) | ||
57 | /* | ||
58 | * MessageId: BE_STATUS_NOT_SUPPORTED | ||
59 | * Requested operation is not supported. | ||
60 | */ | ||
61 | #define BE_STATUS_NOT_SUPPORTED (0xE000000DL) | ||
62 | |||
63 | /* | ||
64 | * *************************************************************************** | ||
65 | * E T H E R N E T S T A T U S | ||
66 | * *************************************************************************** | ||
67 | */ | ||
68 | |||
69 | /* | ||
70 | * MessageId: BE_ETH_TX_ERROR | ||
71 | * The Ethernet device driver failed to transmit a packet. | ||
72 | */ | ||
73 | #define BE_ETH_TX_ERROR (0xE0070101L) | ||
74 | |||
75 | /* | ||
76 | * *************************************************************************** | ||
77 | * S H A R E D S T A T U S | ||
78 | * *************************************************************************** | ||
79 | */ | ||
80 | |||
81 | /* | ||
82 | * MessageId: BE_STATUS_VBD_INVALID_VERSION | ||
83 | * The device driver is not compatible with this version of the VBD. | ||
84 | */ | ||
85 | #define BE_STATUS_INVALID_VERSION (0xE0070402L) | ||
86 | /* | ||
87 | * MessageId: BE_STATUS_DOMAIN_DENIED | ||
88 | * The operation failed to complete due to insufficient access | ||
89 | * rights for the requesting domain. | ||
90 | */ | ||
91 | #define BE_STATUS_DOMAIN_DENIED (0xE0070403L) | ||
92 | /* | ||
93 | * MessageId: BE_STATUS_TCP_NOT_STARTED | ||
94 | * The embedded TCP/IP stack has not been started. | ||
95 | */ | ||
96 | #define BE_STATUS_TCP_NOT_STARTED (0xE0070409L) | ||
97 | /* | ||
98 | * MessageId: BE_STATUS_NO_MCC_WRB | ||
99 | * No free MCC WRB are available for posting the request. | ||
100 | */ | ||
101 | #define BE_STATUS_NO_MCC_WRB (0xE0070414L) | ||
102 | |||
103 | #endif /* _BESTATUS_ */ | ||
diff --git a/drivers/staging/benet/cev.h b/drivers/staging/benet/cev.h deleted file mode 100644 index 30996920a544..000000000000 --- a/drivers/staging/benet/cev.h +++ /dev/null | |||
@@ -1,243 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __cev_amap_h__ | ||
21 | #define __cev_amap_h__ | ||
22 | #include "ep.h" | ||
23 | |||
24 | /* | ||
25 | * Host Interrupt Status Register 0. The first of four application | ||
26 | * interrupt status registers. This register contains the interrupts | ||
27 | * for Event Queues EQ0 through EQ31. | ||
28 | */ | ||
29 | struct BE_CEV_ISR0_CSR_AMAP { | ||
30 | u8 interrupt0; /* DWORD 0 */ | ||
31 | u8 interrupt1; /* DWORD 0 */ | ||
32 | u8 interrupt2; /* DWORD 0 */ | ||
33 | u8 interrupt3; /* DWORD 0 */ | ||
34 | u8 interrupt4; /* DWORD 0 */ | ||
35 | u8 interrupt5; /* DWORD 0 */ | ||
36 | u8 interrupt6; /* DWORD 0 */ | ||
37 | u8 interrupt7; /* DWORD 0 */ | ||
38 | u8 interrupt8; /* DWORD 0 */ | ||
39 | u8 interrupt9; /* DWORD 0 */ | ||
40 | u8 interrupt10; /* DWORD 0 */ | ||
41 | u8 interrupt11; /* DWORD 0 */ | ||
42 | u8 interrupt12; /* DWORD 0 */ | ||
43 | u8 interrupt13; /* DWORD 0 */ | ||
44 | u8 interrupt14; /* DWORD 0 */ | ||
45 | u8 interrupt15; /* DWORD 0 */ | ||
46 | u8 interrupt16; /* DWORD 0 */ | ||
47 | u8 interrupt17; /* DWORD 0 */ | ||
48 | u8 interrupt18; /* DWORD 0 */ | ||
49 | u8 interrupt19; /* DWORD 0 */ | ||
50 | u8 interrupt20; /* DWORD 0 */ | ||
51 | u8 interrupt21; /* DWORD 0 */ | ||
52 | u8 interrupt22; /* DWORD 0 */ | ||
53 | u8 interrupt23; /* DWORD 0 */ | ||
54 | u8 interrupt24; /* DWORD 0 */ | ||
55 | u8 interrupt25; /* DWORD 0 */ | ||
56 | u8 interrupt26; /* DWORD 0 */ | ||
57 | u8 interrupt27; /* DWORD 0 */ | ||
58 | u8 interrupt28; /* DWORD 0 */ | ||
59 | u8 interrupt29; /* DWORD 0 */ | ||
60 | u8 interrupt30; /* DWORD 0 */ | ||
61 | u8 interrupt31; /* DWORD 0 */ | ||
62 | } __packed; | ||
63 | struct CEV_ISR0_CSR_AMAP { | ||
64 | u32 dw[1]; | ||
65 | }; | ||
66 | |||
67 | /* | ||
68 | * Host Interrupt Status Register 1. The second of four application | ||
69 | * interrupt status registers. This register contains the interrupts | ||
70 | * for Event Queues EQ32 through EQ63. | ||
71 | */ | ||
72 | struct BE_CEV_ISR1_CSR_AMAP { | ||
73 | u8 interrupt32; /* DWORD 0 */ | ||
74 | u8 interrupt33; /* DWORD 0 */ | ||
75 | u8 interrupt34; /* DWORD 0 */ | ||
76 | u8 interrupt35; /* DWORD 0 */ | ||
77 | u8 interrupt36; /* DWORD 0 */ | ||
78 | u8 interrupt37; /* DWORD 0 */ | ||
79 | u8 interrupt38; /* DWORD 0 */ | ||
80 | u8 interrupt39; /* DWORD 0 */ | ||
81 | u8 interrupt40; /* DWORD 0 */ | ||
82 | u8 interrupt41; /* DWORD 0 */ | ||
83 | u8 interrupt42; /* DWORD 0 */ | ||
84 | u8 interrupt43; /* DWORD 0 */ | ||
85 | u8 interrupt44; /* DWORD 0 */ | ||
86 | u8 interrupt45; /* DWORD 0 */ | ||
87 | u8 interrupt46; /* DWORD 0 */ | ||
88 | u8 interrupt47; /* DWORD 0 */ | ||
89 | u8 interrupt48; /* DWORD 0 */ | ||
90 | u8 interrupt49; /* DWORD 0 */ | ||
91 | u8 interrupt50; /* DWORD 0 */ | ||
92 | u8 interrupt51; /* DWORD 0 */ | ||
93 | u8 interrupt52; /* DWORD 0 */ | ||
94 | u8 interrupt53; /* DWORD 0 */ | ||
95 | u8 interrupt54; /* DWORD 0 */ | ||
96 | u8 interrupt55; /* DWORD 0 */ | ||
97 | u8 interrupt56; /* DWORD 0 */ | ||
98 | u8 interrupt57; /* DWORD 0 */ | ||
99 | u8 interrupt58; /* DWORD 0 */ | ||
100 | u8 interrupt59; /* DWORD 0 */ | ||
101 | u8 interrupt60; /* DWORD 0 */ | ||
102 | u8 interrupt61; /* DWORD 0 */ | ||
103 | u8 interrupt62; /* DWORD 0 */ | ||
104 | u8 interrupt63; /* DWORD 0 */ | ||
105 | } __packed; | ||
106 | struct CEV_ISR1_CSR_AMAP { | ||
107 | u32 dw[1]; | ||
108 | }; | ||
109 | /* | ||
110 | * Host Interrupt Status Register 2. The third of four application | ||
111 | * interrupt status registers. This register contains the interrupts | ||
112 | * for Event Queues EQ64 through EQ95. | ||
113 | */ | ||
114 | struct BE_CEV_ISR2_CSR_AMAP { | ||
115 | u8 interrupt64; /* DWORD 0 */ | ||
116 | u8 interrupt65; /* DWORD 0 */ | ||
117 | u8 interrupt66; /* DWORD 0 */ | ||
118 | u8 interrupt67; /* DWORD 0 */ | ||
119 | u8 interrupt68; /* DWORD 0 */ | ||
120 | u8 interrupt69; /* DWORD 0 */ | ||
121 | u8 interrupt70; /* DWORD 0 */ | ||
122 | u8 interrupt71; /* DWORD 0 */ | ||
123 | u8 interrupt72; /* DWORD 0 */ | ||
124 | u8 interrupt73; /* DWORD 0 */ | ||
125 | u8 interrupt74; /* DWORD 0 */ | ||
126 | u8 interrupt75; /* DWORD 0 */ | ||
127 | u8 interrupt76; /* DWORD 0 */ | ||
128 | u8 interrupt77; /* DWORD 0 */ | ||
129 | u8 interrupt78; /* DWORD 0 */ | ||
130 | u8 interrupt79; /* DWORD 0 */ | ||
131 | u8 interrupt80; /* DWORD 0 */ | ||
132 | u8 interrupt81; /* DWORD 0 */ | ||
133 | u8 interrupt82; /* DWORD 0 */ | ||
134 | u8 interrupt83; /* DWORD 0 */ | ||
135 | u8 interrupt84; /* DWORD 0 */ | ||
136 | u8 interrupt85; /* DWORD 0 */ | ||
137 | u8 interrupt86; /* DWORD 0 */ | ||
138 | u8 interrupt87; /* DWORD 0 */ | ||
139 | u8 interrupt88; /* DWORD 0 */ | ||
140 | u8 interrupt89; /* DWORD 0 */ | ||
141 | u8 interrupt90; /* DWORD 0 */ | ||
142 | u8 interrupt91; /* DWORD 0 */ | ||
143 | u8 interrupt92; /* DWORD 0 */ | ||
144 | u8 interrupt93; /* DWORD 0 */ | ||
145 | u8 interrupt94; /* DWORD 0 */ | ||
146 | u8 interrupt95; /* DWORD 0 */ | ||
147 | } __packed; | ||
148 | struct CEV_ISR2_CSR_AMAP { | ||
149 | u32 dw[1]; | ||
150 | }; | ||
151 | |||
152 | /* | ||
153 | * Host Interrupt Status Register 3. The fourth of four application | ||
154 | * interrupt status registers. This register contains the interrupts | ||
155 | * for Event Queues EQ96 through EQ127. | ||
156 | */ | ||
157 | struct BE_CEV_ISR3_CSR_AMAP { | ||
158 | u8 interrupt96; /* DWORD 0 */ | ||
159 | u8 interrupt97; /* DWORD 0 */ | ||
160 | u8 interrupt98; /* DWORD 0 */ | ||
161 | u8 interrupt99; /* DWORD 0 */ | ||
162 | u8 interrupt100; /* DWORD 0 */ | ||
163 | u8 interrupt101; /* DWORD 0 */ | ||
164 | u8 interrupt102; /* DWORD 0 */ | ||
165 | u8 interrupt103; /* DWORD 0 */ | ||
166 | u8 interrupt104; /* DWORD 0 */ | ||
167 | u8 interrupt105; /* DWORD 0 */ | ||
168 | u8 interrupt106; /* DWORD 0 */ | ||
169 | u8 interrupt107; /* DWORD 0 */ | ||
170 | u8 interrupt108; /* DWORD 0 */ | ||
171 | u8 interrupt109; /* DWORD 0 */ | ||
172 | u8 interrupt110; /* DWORD 0 */ | ||
173 | u8 interrupt111; /* DWORD 0 */ | ||
174 | u8 interrupt112; /* DWORD 0 */ | ||
175 | u8 interrupt113; /* DWORD 0 */ | ||
176 | u8 interrupt114; /* DWORD 0 */ | ||
177 | u8 interrupt115; /* DWORD 0 */ | ||
178 | u8 interrupt116; /* DWORD 0 */ | ||
179 | u8 interrupt117; /* DWORD 0 */ | ||
180 | u8 interrupt118; /* DWORD 0 */ | ||
181 | u8 interrupt119; /* DWORD 0 */ | ||
182 | u8 interrupt120; /* DWORD 0 */ | ||
183 | u8 interrupt121; /* DWORD 0 */ | ||
184 | u8 interrupt122; /* DWORD 0 */ | ||
185 | u8 interrupt123; /* DWORD 0 */ | ||
186 | u8 interrupt124; /* DWORD 0 */ | ||
187 | u8 interrupt125; /* DWORD 0 */ | ||
188 | u8 interrupt126; /* DWORD 0 */ | ||
189 | u8 interrupt127; /* DWORD 0 */ | ||
190 | } __packed; | ||
191 | struct CEV_ISR3_CSR_AMAP { | ||
192 | u32 dw[1]; | ||
193 | }; | ||
194 | |||
195 | /* Completions and Events block Registers. */ | ||
196 | struct BE_CEV_CSRMAP_AMAP { | ||
197 | u8 rsvd0[32]; /* DWORD 0 */ | ||
198 | u8 rsvd1[32]; /* DWORD 1 */ | ||
199 | u8 rsvd2[32]; /* DWORD 2 */ | ||
200 | u8 rsvd3[32]; /* DWORD 3 */ | ||
201 | struct BE_CEV_ISR0_CSR_AMAP isr0; | ||
202 | struct BE_CEV_ISR1_CSR_AMAP isr1; | ||
203 | struct BE_CEV_ISR2_CSR_AMAP isr2; | ||
204 | struct BE_CEV_ISR3_CSR_AMAP isr3; | ||
205 | u8 rsvd4[32]; /* DWORD 8 */ | ||
206 | u8 rsvd5[32]; /* DWORD 9 */ | ||
207 | u8 rsvd6[32]; /* DWORD 10 */ | ||
208 | u8 rsvd7[32]; /* DWORD 11 */ | ||
209 | u8 rsvd8[32]; /* DWORD 12 */ | ||
210 | u8 rsvd9[32]; /* DWORD 13 */ | ||
211 | u8 rsvd10[32]; /* DWORD 14 */ | ||
212 | u8 rsvd11[32]; /* DWORD 15 */ | ||
213 | u8 rsvd12[32]; /* DWORD 16 */ | ||
214 | u8 rsvd13[32]; /* DWORD 17 */ | ||
215 | u8 rsvd14[32]; /* DWORD 18 */ | ||
216 | u8 rsvd15[32]; /* DWORD 19 */ | ||
217 | u8 rsvd16[32]; /* DWORD 20 */ | ||
218 | u8 rsvd17[32]; /* DWORD 21 */ | ||
219 | u8 rsvd18[32]; /* DWORD 22 */ | ||
220 | u8 rsvd19[32]; /* DWORD 23 */ | ||
221 | u8 rsvd20[32]; /* DWORD 24 */ | ||
222 | u8 rsvd21[32]; /* DWORD 25 */ | ||
223 | u8 rsvd22[32]; /* DWORD 26 */ | ||
224 | u8 rsvd23[32]; /* DWORD 27 */ | ||
225 | u8 rsvd24[32]; /* DWORD 28 */ | ||
226 | u8 rsvd25[32]; /* DWORD 29 */ | ||
227 | u8 rsvd26[32]; /* DWORD 30 */ | ||
228 | u8 rsvd27[32]; /* DWORD 31 */ | ||
229 | u8 rsvd28[32]; /* DWORD 32 */ | ||
230 | u8 rsvd29[32]; /* DWORD 33 */ | ||
231 | u8 rsvd30[192]; /* DWORD 34 */ | ||
232 | u8 rsvd31[192]; /* DWORD 40 */ | ||
233 | u8 rsvd32[160]; /* DWORD 46 */ | ||
234 | u8 rsvd33[160]; /* DWORD 51 */ | ||
235 | u8 rsvd34[160]; /* DWORD 56 */ | ||
236 | u8 rsvd35[96]; /* DWORD 61 */ | ||
237 | u8 rsvd36[192][32]; /* DWORD 64 */ | ||
238 | } __packed; | ||
239 | struct CEV_CSRMAP_AMAP { | ||
240 | u32 dw[256]; | ||
241 | }; | ||
242 | |||
243 | #endif /* __cev_amap_h__ */ | ||
diff --git a/drivers/staging/benet/cq.c b/drivers/staging/benet/cq.c deleted file mode 100644 index 650458645433..000000000000 --- a/drivers/staging/benet/cq.c +++ /dev/null | |||
@@ -1,211 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | #include "hwlib.h" | ||
18 | #include "bestatus.h" | ||
19 | |||
20 | /* | ||
21 | * Completion Queue Objects | ||
22 | */ | ||
23 | /* | ||
24 | *============================================================================ | ||
25 | * P U B L I C R O U T I N E S | ||
26 | *============================================================================ | ||
27 | */ | ||
28 | |||
29 | /* | ||
30 | This routine creates a completion queue based on the client completion | ||
31 | queue configuration information. | ||
32 | |||
33 | |||
34 | FunctionObject - Handle to a function object | ||
35 | CqBaseVa - Base VA for a the CQ ring | ||
36 | NumEntries - CEV_CQ_CNT_* values | ||
37 | solEventEnable - 0 = All CQEs can generate Events if CQ is eventable | ||
38 | 1 = only CQEs with solicited bit set are eventable | ||
39 | eventable - Eventable CQ, generates interrupts. | ||
40 | nodelay - 1 = Force interrupt, relevent if CQ eventable. | ||
41 | Interrupt is asserted immediately after EQE | ||
42 | write is confirmed, regardless of EQ Timer | ||
43 | or watermark settings. | ||
44 | wme - Enable watermark based coalescing | ||
45 | wmThresh - High watermark(CQ fullness at which event | ||
46 | or interrupt should be asserted). These are the | ||
47 | CEV_WATERMARK encoded values. | ||
48 | EqObject - EQ Handle to assign to this CQ | ||
49 | ppCqObject - Internal CQ Handle returned. | ||
50 | |||
51 | Returns BE_SUCCESS if successfull, otherwise a useful error code is | ||
52 | returned. | ||
53 | |||
54 | IRQL < DISPATCH_LEVEL | ||
55 | |||
56 | */ | ||
57 | int be_cq_create(struct be_function_object *pfob, | ||
58 | struct ring_desc *rd, u32 length, bool solicited_eventable, | ||
59 | bool no_delay, u32 wm_thresh, | ||
60 | struct be_eq_object *eq_object, struct be_cq_object *cq_object) | ||
61 | { | ||
62 | int status = BE_SUCCESS; | ||
63 | u32 num_entries_encoding; | ||
64 | u32 num_entries = length / sizeof(struct MCC_CQ_ENTRY_AMAP); | ||
65 | struct FWCMD_COMMON_CQ_CREATE *fwcmd = NULL; | ||
66 | struct MCC_WRB_AMAP *wrb = NULL; | ||
67 | u32 n; | ||
68 | unsigned long irql; | ||
69 | |||
70 | ASSERT(rd); | ||
71 | ASSERT(cq_object); | ||
72 | ASSERT(length % sizeof(struct MCC_CQ_ENTRY_AMAP) == 0); | ||
73 | |||
74 | switch (num_entries) { | ||
75 | case 256: | ||
76 | num_entries_encoding = CEV_CQ_CNT_256; | ||
77 | break; | ||
78 | case 512: | ||
79 | num_entries_encoding = CEV_CQ_CNT_512; | ||
80 | break; | ||
81 | case 1024: | ||
82 | num_entries_encoding = CEV_CQ_CNT_1024; | ||
83 | break; | ||
84 | default: | ||
85 | ASSERT(0); | ||
86 | return BE_STATUS_INVALID_PARAMETER; | ||
87 | } | ||
88 | |||
89 | /* | ||
90 | * All cq entries all the same size. Use iSCSI version | ||
91 | * as a test for the proper rd length. | ||
92 | */ | ||
93 | memset(cq_object, 0, sizeof(*cq_object)); | ||
94 | |||
95 | atomic_set(&cq_object->ref_count, 0); | ||
96 | cq_object->parent_function = pfob; | ||
97 | cq_object->eq_object = eq_object; | ||
98 | cq_object->num_entries = num_entries; | ||
99 | /* save for MCC cq processing */ | ||
100 | cq_object->va = rd->va; | ||
101 | |||
102 | /* map into UT. */ | ||
103 | length = num_entries * sizeof(struct MCC_CQ_ENTRY_AMAP); | ||
104 | |||
105 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
106 | |||
107 | wrb = be_function_peek_mcc_wrb(pfob); | ||
108 | if (!wrb) { | ||
109 | ASSERT(wrb); | ||
110 | TRACE(DL_ERR, "No free MCC WRBs in create EQ."); | ||
111 | status = BE_STATUS_NO_MCC_WRB; | ||
112 | goto Error; | ||
113 | } | ||
114 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
115 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_CQ_CREATE); | ||
116 | |||
117 | fwcmd->params.request.num_pages = PAGES_SPANNED(OFFSET_IN_PAGE(rd->va), | ||
118 | length); | ||
119 | |||
120 | AMAP_SET_BITS_PTR(CQ_CONTEXT, valid, &fwcmd->params.request.context, 1); | ||
121 | n = pfob->pci_function_number; | ||
122 | AMAP_SET_BITS_PTR(CQ_CONTEXT, Func, &fwcmd->params.request.context, n); | ||
123 | |||
124 | n = (eq_object != NULL); | ||
125 | AMAP_SET_BITS_PTR(CQ_CONTEXT, Eventable, | ||
126 | &fwcmd->params.request.context, n); | ||
127 | AMAP_SET_BITS_PTR(CQ_CONTEXT, Armed, &fwcmd->params.request.context, 1); | ||
128 | |||
129 | n = eq_object ? eq_object->eq_id : 0; | ||
130 | AMAP_SET_BITS_PTR(CQ_CONTEXT, EQID, &fwcmd->params.request.context, n); | ||
131 | AMAP_SET_BITS_PTR(CQ_CONTEXT, Count, | ||
132 | &fwcmd->params.request.context, num_entries_encoding); | ||
133 | |||
134 | n = 0; /* Protection Domain is always 0 in Linux driver */ | ||
135 | AMAP_SET_BITS_PTR(CQ_CONTEXT, PD, &fwcmd->params.request.context, n); | ||
136 | AMAP_SET_BITS_PTR(CQ_CONTEXT, NoDelay, | ||
137 | &fwcmd->params.request.context, no_delay); | ||
138 | AMAP_SET_BITS_PTR(CQ_CONTEXT, SolEvent, | ||
139 | &fwcmd->params.request.context, solicited_eventable); | ||
140 | |||
141 | n = (wm_thresh != 0xFFFFFFFF); | ||
142 | AMAP_SET_BITS_PTR(CQ_CONTEXT, WME, &fwcmd->params.request.context, n); | ||
143 | |||
144 | n = (n ? wm_thresh : 0); | ||
145 | AMAP_SET_BITS_PTR(CQ_CONTEXT, Watermark, | ||
146 | &fwcmd->params.request.context, n); | ||
147 | /* Create a page list for the FWCMD. */ | ||
148 | be_rd_to_pa_list(rd, fwcmd->params.request.pages, | ||
149 | ARRAY_SIZE(fwcmd->params.request.pages)); | ||
150 | |||
151 | /* Post the f/w command */ | ||
152 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, NULL, | ||
153 | NULL, NULL, fwcmd, NULL); | ||
154 | if (status != BE_SUCCESS) { | ||
155 | TRACE(DL_ERR, "MCC to create CQ failed."); | ||
156 | goto Error; | ||
157 | } | ||
158 | /* Remember the CQ id. */ | ||
159 | cq_object->cq_id = fwcmd->params.response.cq_id; | ||
160 | |||
161 | /* insert this cq into eq_object reference */ | ||
162 | if (eq_object) { | ||
163 | atomic_inc(&eq_object->ref_count); | ||
164 | list_add_tail(&cq_object->cqlist_for_eq, | ||
165 | &eq_object->cq_list_head); | ||
166 | } | ||
167 | |||
168 | Error: | ||
169 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
170 | |||
171 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
172 | pfob->pend_queue_driving = 0; | ||
173 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
174 | } | ||
175 | return status; | ||
176 | } | ||
177 | |||
178 | /* | ||
179 | |||
180 | Deferences the given object. Once the object's reference count drops to | ||
181 | zero, the object is destroyed and all resources that are held by this object | ||
182 | are released. The on-chip context is also destroyed along with the queue | ||
183 | ID, and any mappings made into the UT. | ||
184 | |||
185 | cq_object - CQ handle returned from cq_object_create. | ||
186 | |||
187 | returns the current reference count on the object | ||
188 | |||
189 | IRQL: IRQL < DISPATCH_LEVEL | ||
190 | */ | ||
191 | int be_cq_destroy(struct be_cq_object *cq_object) | ||
192 | { | ||
193 | int status = 0; | ||
194 | |||
195 | /* Nothing should reference this CQ at this point. */ | ||
196 | ASSERT(atomic_read(&cq_object->ref_count) == 0); | ||
197 | |||
198 | /* Send fwcmd to destroy the CQ. */ | ||
199 | status = be_function_ring_destroy(cq_object->parent_function, | ||
200 | cq_object->cq_id, FWCMD_RING_TYPE_CQ, | ||
201 | NULL, NULL, NULL, NULL); | ||
202 | ASSERT(status == 0); | ||
203 | |||
204 | /* Remove reference if this is an eventable CQ. */ | ||
205 | if (cq_object->eq_object) { | ||
206 | atomic_dec(&cq_object->eq_object->ref_count); | ||
207 | list_del(&cq_object->cqlist_for_eq); | ||
208 | } | ||
209 | return BE_SUCCESS; | ||
210 | } | ||
211 | |||
diff --git a/drivers/staging/benet/descriptors.h b/drivers/staging/benet/descriptors.h deleted file mode 100644 index 8da438c407d2..000000000000 --- a/drivers/staging/benet/descriptors.h +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __descriptors_amap_h__ | ||
21 | #define __descriptors_amap_h__ | ||
22 | |||
23 | /* | ||
24 | * --- IPC_NODE_ID_ENUM --- | ||
25 | * IPC processor id values | ||
26 | */ | ||
27 | #define TPOST_NODE_ID (0) /* TPOST ID */ | ||
28 | #define TPRE_NODE_ID (1) /* TPRE ID */ | ||
29 | #define TXULP0_NODE_ID (2) /* TXULP0 ID */ | ||
30 | #define TXULP1_NODE_ID (3) /* TXULP1 ID */ | ||
31 | #define TXULP2_NODE_ID (4) /* TXULP2 ID */ | ||
32 | #define RXULP0_NODE_ID (5) /* RXULP0 ID */ | ||
33 | #define RXULP1_NODE_ID (6) /* RXULP1 ID */ | ||
34 | #define RXULP2_NODE_ID (7) /* RXULP2 ID */ | ||
35 | #define MPU_NODE_ID (15) /* MPU ID */ | ||
36 | |||
37 | /* | ||
38 | * --- MAC_ID_ENUM --- | ||
39 | * Meaning of the mac_id field in rxpp_eth_d | ||
40 | */ | ||
41 | #define PORT0_HOST_MAC0 (0) /* PD 0, Port 0, host networking, MAC 0. */ | ||
42 | #define PORT0_HOST_MAC1 (1) /* PD 0, Port 0, host networking, MAC 1. */ | ||
43 | #define PORT0_STORAGE_MAC0 (2) /* PD 0, Port 0, host storage, MAC 0. */ | ||
44 | #define PORT0_STORAGE_MAC1 (3) /* PD 0, Port 0, host storage, MAC 1. */ | ||
45 | #define PORT1_HOST_MAC0 (4) /* PD 0, Port 1 host networking, MAC 0. */ | ||
46 | #define PORT1_HOST_MAC1 (5) /* PD 0, Port 1 host networking, MAC 1. */ | ||
47 | #define PORT1_STORAGE_MAC0 (6) /* PD 0, Port 1 host storage, MAC 0. */ | ||
48 | #define PORT1_STORAGE_MAC1 (7) /* PD 0, Port 1 host storage, MAC 1. */ | ||
49 | #define FIRST_VM_MAC (8) /* PD 1 MAC. Protection domains have IDs */ | ||
50 | /* from 0x8-0x26, one per PD. */ | ||
51 | #define LAST_VM_MAC (38) /* PD 31 MAC. */ | ||
52 | #define MGMT_MAC (39) /* Management port MAC. */ | ||
53 | #define MARBLE_MAC0 (59) /* Used for flushing function 0 receive */ | ||
54 | /* | ||
55 | * queues before re-using a torn-down | ||
56 | * receive ring. the DA = | ||
57 | * 00-00-00-00-00-00, and the MSB of the | ||
58 | * SA = 00 | ||
59 | */ | ||
60 | #define MARBLE_MAC1 (60) /* Used for flushing function 1 receive */ | ||
61 | /* | ||
62 | * queues before re-using a torn-down | ||
63 | * receive ring. the DA = | ||
64 | * 00-00-00-00-00-00, and the MSB of the | ||
65 | * SA != 00 | ||
66 | */ | ||
67 | #define NULL_MAC (61) /* Promiscuous mode, indicates no match */ | ||
68 | #define MCAST_MAC (62) /* Multicast match. */ | ||
69 | #define BCAST_MATCH (63) /* Broadcast match. */ | ||
70 | |||
71 | #endif /* __descriptors_amap_h__ */ | ||
diff --git a/drivers/staging/benet/doorbells.h b/drivers/staging/benet/doorbells.h deleted file mode 100644 index 550cc4d5d6f7..000000000000 --- a/drivers/staging/benet/doorbells.h +++ /dev/null | |||
@@ -1,179 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __doorbells_amap_h__ | ||
21 | #define __doorbells_amap_h__ | ||
22 | |||
23 | /* The TX/RDMA send queue doorbell. */ | ||
24 | struct BE_SQ_DB_AMAP { | ||
25 | u8 cid[11]; /* DWORD 0 */ | ||
26 | u8 rsvd0[5]; /* DWORD 0 */ | ||
27 | u8 numPosted[14]; /* DWORD 0 */ | ||
28 | u8 rsvd1[2]; /* DWORD 0 */ | ||
29 | } __packed; | ||
30 | struct SQ_DB_AMAP { | ||
31 | u32 dw[1]; | ||
32 | }; | ||
33 | |||
34 | /* The receive queue doorbell. */ | ||
35 | struct BE_RQ_DB_AMAP { | ||
36 | u8 rq[10]; /* DWORD 0 */ | ||
37 | u8 rsvd0[13]; /* DWORD 0 */ | ||
38 | u8 Invalidate; /* DWORD 0 */ | ||
39 | u8 numPosted[8]; /* DWORD 0 */ | ||
40 | } __packed; | ||
41 | struct RQ_DB_AMAP { | ||
42 | u32 dw[1]; | ||
43 | }; | ||
44 | |||
45 | /* | ||
46 | * The CQ/EQ doorbell. Software MUST set reserved fields in this | ||
47 | * descriptor to zero, otherwise (CEV) hardware will not execute the | ||
48 | * doorbell (flagging a bad_db_qid error instead). | ||
49 | */ | ||
50 | struct BE_CQ_DB_AMAP { | ||
51 | u8 qid[10]; /* DWORD 0 */ | ||
52 | u8 rsvd0[4]; /* DWORD 0 */ | ||
53 | u8 rearm; /* DWORD 0 */ | ||
54 | u8 event; /* DWORD 0 */ | ||
55 | u8 num_popped[13]; /* DWORD 0 */ | ||
56 | u8 rsvd1[3]; /* DWORD 0 */ | ||
57 | } __packed; | ||
58 | struct CQ_DB_AMAP { | ||
59 | u32 dw[1]; | ||
60 | }; | ||
61 | |||
62 | struct BE_TPM_RQ_DB_AMAP { | ||
63 | u8 qid[10]; /* DWORD 0 */ | ||
64 | u8 rsvd0[6]; /* DWORD 0 */ | ||
65 | u8 numPosted[11]; /* DWORD 0 */ | ||
66 | u8 mss_cnt[5]; /* DWORD 0 */ | ||
67 | } __packed; | ||
68 | struct TPM_RQ_DB_AMAP { | ||
69 | u32 dw[1]; | ||
70 | }; | ||
71 | |||
72 | /* | ||
73 | * Post WRB Queue Doorbell Register used by the host Storage stack | ||
74 | * to notify the controller of a posted Work Request Block | ||
75 | */ | ||
76 | struct BE_WRB_POST_DB_AMAP { | ||
77 | u8 wrb_cid[10]; /* DWORD 0 */ | ||
78 | u8 rsvd0[6]; /* DWORD 0 */ | ||
79 | u8 wrb_index[8]; /* DWORD 0 */ | ||
80 | u8 numberPosted[8]; /* DWORD 0 */ | ||
81 | } __packed; | ||
82 | struct WRB_POST_DB_AMAP { | ||
83 | u32 dw[1]; | ||
84 | }; | ||
85 | |||
86 | /* | ||
87 | * Update Default PDU Queue Doorbell Register used to communicate | ||
88 | * to the controller that the driver has stopped processing the queue | ||
89 | * and where in the queue it stopped, this is | ||
90 | * a CQ Entry Type. Used by storage driver. | ||
91 | */ | ||
92 | struct BE_DEFAULT_PDU_DB_AMAP { | ||
93 | u8 qid[10]; /* DWORD 0 */ | ||
94 | u8 rsvd0[4]; /* DWORD 0 */ | ||
95 | u8 rearm; /* DWORD 0 */ | ||
96 | u8 event; /* DWORD 0 */ | ||
97 | u8 cqproc[14]; /* DWORD 0 */ | ||
98 | u8 rsvd1[2]; /* DWORD 0 */ | ||
99 | } __packed; | ||
100 | struct DEFAULT_PDU_DB_AMAP { | ||
101 | u32 dw[1]; | ||
102 | }; | ||
103 | |||
104 | /* Management Command and Controller default fragment ring */ | ||
105 | struct BE_MCC_DB_AMAP { | ||
106 | u8 rid[11]; /* DWORD 0 */ | ||
107 | u8 rsvd0[5]; /* DWORD 0 */ | ||
108 | u8 numPosted[14]; /* DWORD 0 */ | ||
109 | u8 rsvd1[2]; /* DWORD 0 */ | ||
110 | } __packed; | ||
111 | struct MCC_DB_AMAP { | ||
112 | u32 dw[1]; | ||
113 | }; | ||
114 | |||
115 | /* | ||
116 | * Used for bootstrapping the Host interface. This register is | ||
117 | * used for driver communication with the MPU when no MCC Rings exist. | ||
118 | * The software must write this register twice to post any MCC | ||
119 | * command. First, it writes the register with hi=1 and the upper bits of | ||
120 | * the physical address for the MCC_MAILBOX structure. Software must poll | ||
121 | * the ready bit until this is acknowledged. Then, sotware writes the | ||
122 | * register with hi=0 with the lower bits in the address. It must | ||
123 | * poll the ready bit until the MCC command is complete. Upon completion, | ||
124 | * the MCC_MAILBOX will contain a valid completion queue entry. | ||
125 | */ | ||
126 | struct BE_MPU_MAILBOX_DB_AMAP { | ||
127 | u8 ready; /* DWORD 0 */ | ||
128 | u8 hi; /* DWORD 0 */ | ||
129 | u8 address[30]; /* DWORD 0 */ | ||
130 | } __packed; | ||
131 | struct MPU_MAILBOX_DB_AMAP { | ||
132 | u32 dw[1]; | ||
133 | }; | ||
134 | |||
135 | /* | ||
136 | * This is the protection domain doorbell register map. Note that | ||
137 | * while this map shows doorbells for all Blade Engine supported | ||
138 | * protocols, not all of these may be valid in a given function or | ||
139 | * protection domain. It is the responsibility of the application | ||
140 | * accessing the doorbells to know which are valid. Each doorbell | ||
141 | * occupies 32 bytes of space, but unless otherwise specified, | ||
142 | * only the first 4 bytes should be written. There are 32 instances | ||
143 | * of these doorbells for the host and 31 virtual machines respectively. | ||
144 | * The host and VMs will only map the doorbell pages belonging to its | ||
145 | * protection domain. It will not be able to touch the doorbells for | ||
146 | * another VM. The doorbells are the only registers directly accessible | ||
147 | * by a virtual machine. Similarly, there are 511 additional | ||
148 | * doorbells for RDMA protection domains. PD 0 for RDMA shares | ||
149 | * the same physical protection domain doorbell page as ETH/iSCSI. | ||
150 | * | ||
151 | */ | ||
152 | struct BE_PROTECTION_DOMAIN_DBMAP_AMAP { | ||
153 | u8 rsvd0[512]; /* DWORD 0 */ | ||
154 | struct BE_SQ_DB_AMAP rdma_sq_db; | ||
155 | u8 rsvd1[7][32]; /* DWORD 17 */ | ||
156 | struct BE_WRB_POST_DB_AMAP iscsi_wrb_post_db; | ||
157 | u8 rsvd2[7][32]; /* DWORD 25 */ | ||
158 | struct BE_SQ_DB_AMAP etx_sq_db; | ||
159 | u8 rsvd3[7][32]; /* DWORD 33 */ | ||
160 | struct BE_RQ_DB_AMAP rdma_rq_db; | ||
161 | u8 rsvd4[7][32]; /* DWORD 41 */ | ||
162 | struct BE_DEFAULT_PDU_DB_AMAP iscsi_default_pdu_db; | ||
163 | u8 rsvd5[7][32]; /* DWORD 49 */ | ||
164 | struct BE_TPM_RQ_DB_AMAP tpm_rq_db; | ||
165 | u8 rsvd6[7][32]; /* DWORD 57 */ | ||
166 | struct BE_RQ_DB_AMAP erx_rq_db; | ||
167 | u8 rsvd7[7][32]; /* DWORD 65 */ | ||
168 | struct BE_CQ_DB_AMAP cq_db; | ||
169 | u8 rsvd8[7][32]; /* DWORD 73 */ | ||
170 | struct BE_MCC_DB_AMAP mpu_mcc_db; | ||
171 | u8 rsvd9[7][32]; /* DWORD 81 */ | ||
172 | struct BE_MPU_MAILBOX_DB_AMAP mcc_bootstrap_db; | ||
173 | u8 rsvd10[935][32]; /* DWORD 89 */ | ||
174 | } __packed; | ||
175 | struct PROTECTION_DOMAIN_DBMAP_AMAP { | ||
176 | u32 dw[1024]; | ||
177 | }; | ||
178 | |||
179 | #endif /* __doorbells_amap_h__ */ | ||
diff --git a/drivers/staging/benet/ep.h b/drivers/staging/benet/ep.h deleted file mode 100644 index 72fcf64a9ffb..000000000000 --- a/drivers/staging/benet/ep.h +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __ep_amap_h__ | ||
21 | #define __ep_amap_h__ | ||
22 | |||
23 | /* General Control and Status Register. */ | ||
24 | struct BE_EP_CONTROL_CSR_AMAP { | ||
25 | u8 m0_RxPbuf; /* DWORD 0 */ | ||
26 | u8 m1_RxPbuf; /* DWORD 0 */ | ||
27 | u8 m2_RxPbuf; /* DWORD 0 */ | ||
28 | u8 ff_en; /* DWORD 0 */ | ||
29 | u8 rsvd0[27]; /* DWORD 0 */ | ||
30 | u8 CPU_reset; /* DWORD 0 */ | ||
31 | } __packed; | ||
32 | struct EP_CONTROL_CSR_AMAP { | ||
33 | u32 dw[1]; | ||
34 | }; | ||
35 | |||
36 | /* Semaphore Register. */ | ||
37 | struct BE_EP_SEMAPHORE_CSR_AMAP { | ||
38 | u8 value[32]; /* DWORD 0 */ | ||
39 | } __packed; | ||
40 | struct EP_SEMAPHORE_CSR_AMAP { | ||
41 | u32 dw[1]; | ||
42 | }; | ||
43 | |||
44 | /* Embedded Processor Specific Registers. */ | ||
45 | struct BE_EP_CSRMAP_AMAP { | ||
46 | struct BE_EP_CONTROL_CSR_AMAP ep_control; | ||
47 | u8 rsvd0[32]; /* DWORD 1 */ | ||
48 | u8 rsvd1[32]; /* DWORD 2 */ | ||
49 | u8 rsvd2[32]; /* DWORD 3 */ | ||
50 | u8 rsvd3[32]; /* DWORD 4 */ | ||
51 | u8 rsvd4[32]; /* DWORD 5 */ | ||
52 | u8 rsvd5[8][128]; /* DWORD 6 */ | ||
53 | u8 rsvd6[32]; /* DWORD 38 */ | ||
54 | u8 rsvd7[32]; /* DWORD 39 */ | ||
55 | u8 rsvd8[32]; /* DWORD 40 */ | ||
56 | u8 rsvd9[32]; /* DWORD 41 */ | ||
57 | u8 rsvd10[32]; /* DWORD 42 */ | ||
58 | struct BE_EP_SEMAPHORE_CSR_AMAP ep_semaphore; | ||
59 | u8 rsvd11[32]; /* DWORD 44 */ | ||
60 | u8 rsvd12[19][32]; /* DWORD 45 */ | ||
61 | } __packed; | ||
62 | struct EP_CSRMAP_AMAP { | ||
63 | u32 dw[64]; | ||
64 | }; | ||
65 | |||
66 | #endif /* __ep_amap_h__ */ | ||
diff --git a/drivers/staging/benet/eq.c b/drivers/staging/benet/eq.c deleted file mode 100644 index db92ccd8fed8..000000000000 --- a/drivers/staging/benet/eq.c +++ /dev/null | |||
@@ -1,299 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | #include "hwlib.h" | ||
18 | #include "bestatus.h" | ||
19 | /* | ||
20 | This routine creates an event queue based on the client completion | ||
21 | queue configuration information. | ||
22 | |||
23 | FunctionObject - Handle to a function object | ||
24 | EqBaseVa - Base VA for a the EQ ring | ||
25 | SizeEncoding - The encoded size for the EQ entries. This value is | ||
26 | either CEV_EQ_SIZE_4 or CEV_EQ_SIZE_16 | ||
27 | NumEntries - CEV_CQ_CNT_* values. | ||
28 | Watermark - Enables watermark based coalescing. This parameter | ||
29 | must be of the type CEV_WMARK_* if watermarks | ||
30 | are enabled. If watermarks to to be disabled | ||
31 | this value should be-1. | ||
32 | TimerDelay - If a timer delay is enabled this value should be the | ||
33 | time of the delay in 8 microsecond units. If | ||
34 | delays are not used this parameter should be | ||
35 | set to -1. | ||
36 | ppEqObject - Internal EQ Handle returned. | ||
37 | |||
38 | Returns BE_SUCCESS if successfull,, otherwise a useful error code | ||
39 | is returned. | ||
40 | |||
41 | IRQL < DISPATCH_LEVEL | ||
42 | */ | ||
43 | int | ||
44 | be_eq_create(struct be_function_object *pfob, | ||
45 | struct ring_desc *rd, u32 eqe_size, u32 num_entries, | ||
46 | u32 watermark, /* CEV_WMARK_* or -1 */ | ||
47 | u32 timer_delay, /* in 8us units, or -1 */ | ||
48 | struct be_eq_object *eq_object) | ||
49 | { | ||
50 | int status = BE_SUCCESS; | ||
51 | u32 num_entries_encoding, eqe_size_encoding, length; | ||
52 | struct FWCMD_COMMON_EQ_CREATE *fwcmd = NULL; | ||
53 | struct MCC_WRB_AMAP *wrb = NULL; | ||
54 | u32 n; | ||
55 | unsigned long irql; | ||
56 | |||
57 | ASSERT(rd); | ||
58 | ASSERT(eq_object); | ||
59 | |||
60 | switch (num_entries) { | ||
61 | case 256: | ||
62 | num_entries_encoding = CEV_EQ_CNT_256; | ||
63 | break; | ||
64 | case 512: | ||
65 | num_entries_encoding = CEV_EQ_CNT_512; | ||
66 | break; | ||
67 | case 1024: | ||
68 | num_entries_encoding = CEV_EQ_CNT_1024; | ||
69 | break; | ||
70 | case 2048: | ||
71 | num_entries_encoding = CEV_EQ_CNT_2048; | ||
72 | break; | ||
73 | case 4096: | ||
74 | num_entries_encoding = CEV_EQ_CNT_4096; | ||
75 | break; | ||
76 | default: | ||
77 | ASSERT(0); | ||
78 | return BE_STATUS_INVALID_PARAMETER; | ||
79 | } | ||
80 | |||
81 | switch (eqe_size) { | ||
82 | case 4: | ||
83 | eqe_size_encoding = CEV_EQ_SIZE_4; | ||
84 | break; | ||
85 | case 16: | ||
86 | eqe_size_encoding = CEV_EQ_SIZE_16; | ||
87 | break; | ||
88 | default: | ||
89 | ASSERT(0); | ||
90 | return BE_STATUS_INVALID_PARAMETER; | ||
91 | } | ||
92 | |||
93 | if ((eqe_size == 4 && num_entries < 1024) || | ||
94 | (eqe_size == 16 && num_entries == 4096)) { | ||
95 | TRACE(DL_ERR, "Bad EQ size. eqe_size:%d num_entries:%d", | ||
96 | eqe_size, num_entries); | ||
97 | ASSERT(0); | ||
98 | return BE_STATUS_INVALID_PARAMETER; | ||
99 | } | ||
100 | |||
101 | memset(eq_object, 0, sizeof(*eq_object)); | ||
102 | |||
103 | atomic_set(&eq_object->ref_count, 0); | ||
104 | eq_object->parent_function = pfob; | ||
105 | eq_object->eq_id = 0xFFFFFFFF; | ||
106 | |||
107 | INIT_LIST_HEAD(&eq_object->cq_list_head); | ||
108 | |||
109 | length = num_entries * eqe_size; | ||
110 | |||
111 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
112 | |||
113 | wrb = be_function_peek_mcc_wrb(pfob); | ||
114 | if (!wrb) { | ||
115 | ASSERT(wrb); | ||
116 | TRACE(DL_ERR, "No free MCC WRBs in create EQ."); | ||
117 | status = BE_STATUS_NO_MCC_WRB; | ||
118 | goto Error; | ||
119 | } | ||
120 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
121 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_EQ_CREATE); | ||
122 | |||
123 | fwcmd->params.request.num_pages = PAGES_SPANNED(OFFSET_IN_PAGE(rd->va), | ||
124 | length); | ||
125 | n = pfob->pci_function_number; | ||
126 | AMAP_SET_BITS_PTR(EQ_CONTEXT, Func, &fwcmd->params.request.context, n); | ||
127 | |||
128 | AMAP_SET_BITS_PTR(EQ_CONTEXT, valid, &fwcmd->params.request.context, 1); | ||
129 | |||
130 | AMAP_SET_BITS_PTR(EQ_CONTEXT, Size, | ||
131 | &fwcmd->params.request.context, eqe_size_encoding); | ||
132 | |||
133 | n = 0; /* Protection Domain is always 0 in Linux driver */ | ||
134 | AMAP_SET_BITS_PTR(EQ_CONTEXT, PD, &fwcmd->params.request.context, n); | ||
135 | |||
136 | /* Let the caller ARM the EQ with the doorbell. */ | ||
137 | AMAP_SET_BITS_PTR(EQ_CONTEXT, Armed, &fwcmd->params.request.context, 0); | ||
138 | |||
139 | AMAP_SET_BITS_PTR(EQ_CONTEXT, Count, &fwcmd->params.request.context, | ||
140 | num_entries_encoding); | ||
141 | |||
142 | n = pfob->pci_function_number * 32; | ||
143 | AMAP_SET_BITS_PTR(EQ_CONTEXT, EventVect, | ||
144 | &fwcmd->params.request.context, n); | ||
145 | if (watermark != -1) { | ||
146 | AMAP_SET_BITS_PTR(EQ_CONTEXT, WME, | ||
147 | &fwcmd->params.request.context, 1); | ||
148 | AMAP_SET_BITS_PTR(EQ_CONTEXT, Watermark, | ||
149 | &fwcmd->params.request.context, watermark); | ||
150 | ASSERT(watermark <= CEV_WMARK_240); | ||
151 | } else | ||
152 | AMAP_SET_BITS_PTR(EQ_CONTEXT, WME, | ||
153 | &fwcmd->params.request.context, 0); | ||
154 | if (timer_delay != -1) { | ||
155 | AMAP_SET_BITS_PTR(EQ_CONTEXT, TMR, | ||
156 | &fwcmd->params.request.context, 1); | ||
157 | |||
158 | ASSERT(timer_delay <= 250); /* max value according to EAS */ | ||
159 | timer_delay = min(timer_delay, (u32)250); | ||
160 | |||
161 | AMAP_SET_BITS_PTR(EQ_CONTEXT, Delay, | ||
162 | &fwcmd->params.request.context, timer_delay); | ||
163 | } else { | ||
164 | AMAP_SET_BITS_PTR(EQ_CONTEXT, TMR, | ||
165 | &fwcmd->params.request.context, 0); | ||
166 | } | ||
167 | /* Create a page list for the FWCMD. */ | ||
168 | be_rd_to_pa_list(rd, fwcmd->params.request.pages, | ||
169 | ARRAY_SIZE(fwcmd->params.request.pages)); | ||
170 | |||
171 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, NULL, | ||
172 | NULL, NULL, fwcmd, NULL); | ||
173 | if (status != BE_SUCCESS) { | ||
174 | TRACE(DL_ERR, "MCC to create EQ failed."); | ||
175 | goto Error; | ||
176 | } | ||
177 | /* Get the EQ id. The MPU allocates the IDs. */ | ||
178 | eq_object->eq_id = fwcmd->params.response.eq_id; | ||
179 | |||
180 | Error: | ||
181 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
182 | |||
183 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
184 | pfob->pend_queue_driving = 0; | ||
185 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
186 | } | ||
187 | return status; | ||
188 | } | ||
189 | |||
190 | /* | ||
191 | Deferences the given object. Once the object's reference count drops to | ||
192 | zero, the object is destroyed and all resources that are held by this | ||
193 | object are released. The on-chip context is also destroyed along with | ||
194 | the queue ID, and any mappings made into the UT. | ||
195 | |||
196 | eq_object - EQ handle returned from eq_object_create. | ||
197 | |||
198 | Returns BE_SUCCESS if successfull, otherwise a useful error code | ||
199 | is returned. | ||
200 | |||
201 | IRQL: IRQL < DISPATCH_LEVEL | ||
202 | */ | ||
203 | int be_eq_destroy(struct be_eq_object *eq_object) | ||
204 | { | ||
205 | int status = 0; | ||
206 | |||
207 | ASSERT(atomic_read(&eq_object->ref_count) == 0); | ||
208 | /* no CQs should reference this EQ now */ | ||
209 | ASSERT(list_empty(&eq_object->cq_list_head)); | ||
210 | |||
211 | /* Send fwcmd to destroy the EQ. */ | ||
212 | status = be_function_ring_destroy(eq_object->parent_function, | ||
213 | eq_object->eq_id, FWCMD_RING_TYPE_EQ, | ||
214 | NULL, NULL, NULL, NULL); | ||
215 | ASSERT(status == 0); | ||
216 | |||
217 | return BE_SUCCESS; | ||
218 | } | ||
219 | /* | ||
220 | *--------------------------------------------------------------------------- | ||
221 | * Function: be_eq_modify_delay | ||
222 | * Changes the EQ delay for a group of EQs. | ||
223 | * num_eq - The number of EQs in the eq_array to adjust. | ||
224 | * This also is the number of delay values in | ||
225 | * the eq_delay_array. | ||
226 | * eq_array - Array of struct be_eq_object pointers to adjust. | ||
227 | * eq_delay_array - Array of "num_eq" timer delays in units | ||
228 | * of microseconds. The be_eq_query_delay_range | ||
229 | * fwcmd returns the resolution and range of | ||
230 | * legal EQ delays. | ||
231 | * cb - | ||
232 | * cb_context - | ||
233 | * q_ctxt - Optional. Pointer to a previously allocated | ||
234 | * struct. If the MCC WRB ring is full, this | ||
235 | * structure is used to queue the operation. It | ||
236 | * will be posted to the MCC ring when space | ||
237 | * becomes available. All queued commands will | ||
238 | * be posted to the ring in the order they are | ||
239 | * received. It is always valid to pass a pointer to | ||
240 | * a generic be_generic_q_cntxt. However, | ||
241 | * the specific context structs | ||
242 | * are generally smaller than the generic struct. | ||
243 | * return pend_status - BE_SUCCESS (0) on success. | ||
244 | * BE_PENDING (postive value) if the FWCMD | ||
245 | * completion is pending. Negative error code on failure. | ||
246 | *------------------------------------------------------------------------- | ||
247 | */ | ||
248 | int | ||
249 | be_eq_modify_delay(struct be_function_object *pfob, | ||
250 | u32 num_eq, struct be_eq_object **eq_array, | ||
251 | u32 *eq_delay_array, mcc_wrb_cqe_callback cb, | ||
252 | void *cb_context, struct be_eq_modify_delay_q_ctxt *q_ctxt) | ||
253 | { | ||
254 | struct FWCMD_COMMON_MODIFY_EQ_DELAY *fwcmd = NULL; | ||
255 | struct MCC_WRB_AMAP *wrb = NULL; | ||
256 | int status = 0; | ||
257 | struct be_generic_q_ctxt *gen_ctxt = NULL; | ||
258 | u32 i; | ||
259 | unsigned long irql; | ||
260 | |||
261 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
262 | |||
263 | wrb = be_function_peek_mcc_wrb(pfob); | ||
264 | if (!wrb) { | ||
265 | if (q_ctxt && cb) { | ||
266 | wrb = (struct MCC_WRB_AMAP *) &q_ctxt->wrb_header; | ||
267 | gen_ctxt = (struct be_generic_q_ctxt *) q_ctxt; | ||
268 | gen_ctxt->context.bytes = sizeof(*q_ctxt); | ||
269 | } else { | ||
270 | status = BE_STATUS_NO_MCC_WRB; | ||
271 | goto Error; | ||
272 | } | ||
273 | } | ||
274 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
275 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_MODIFY_EQ_DELAY); | ||
276 | |||
277 | ASSERT(num_eq > 0); | ||
278 | ASSERT(num_eq <= ARRAY_SIZE(fwcmd->params.request.delay)); | ||
279 | fwcmd->params.request.num_eq = num_eq; | ||
280 | for (i = 0; i < num_eq; i++) { | ||
281 | fwcmd->params.request.delay[i].eq_id = eq_array[i]->eq_id; | ||
282 | fwcmd->params.request.delay[i].delay_in_microseconds = | ||
283 | eq_delay_array[i]; | ||
284 | } | ||
285 | |||
286 | /* Post the f/w command */ | ||
287 | status = be_function_post_mcc_wrb(pfob, wrb, gen_ctxt, | ||
288 | cb, cb_context, NULL, NULL, fwcmd, NULL); | ||
289 | |||
290 | Error: | ||
291 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
292 | |||
293 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
294 | pfob->pend_queue_driving = 0; | ||
295 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
296 | } | ||
297 | return status; | ||
298 | } | ||
299 | |||
diff --git a/drivers/staging/benet/eth.c b/drivers/staging/benet/eth.c deleted file mode 100644 index f641b6260d07..000000000000 --- a/drivers/staging/benet/eth.c +++ /dev/null | |||
@@ -1,1273 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | #include <linux/if_ether.h> | ||
18 | #include "hwlib.h" | ||
19 | #include "bestatus.h" | ||
20 | |||
21 | /* | ||
22 | *--------------------------------------------------------- | ||
23 | * Function: be_eth_sq_create_ex | ||
24 | * Creates an ethernet send ring - extended version with | ||
25 | * additional parameters. | ||
26 | * pfob - | ||
27 | * rd - ring address | ||
28 | * length_in_bytes - | ||
29 | * type - The type of ring to create. | ||
30 | * ulp - The requested ULP number for the ring. | ||
31 | * This should be zero based, i.e. 0,1,2. This must | ||
32 | * be valid NIC ULP based on the firmware config. | ||
33 | * All doorbells for this ring must be sent to | ||
34 | * this ULP. The first network ring allocated for | ||
35 | * each ULP are higher performance than subsequent rings. | ||
36 | * cq_object - cq object for completions | ||
37 | * ex_parameters - Additional parameters (that may increase in | ||
38 | * future revisions). These parameters are only used | ||
39 | * for certain ring types -- see | ||
40 | * struct be_eth_sq_parameters for details. | ||
41 | * eth_sq - | ||
42 | * return status - BE_SUCCESS (0) on success. Negative error code on failure. | ||
43 | *--------------------------------------------------------- | ||
44 | */ | ||
45 | int | ||
46 | be_eth_sq_create_ex(struct be_function_object *pfob, struct ring_desc *rd, | ||
47 | u32 length, u32 type, u32 ulp, struct be_cq_object *cq_object, | ||
48 | struct be_eth_sq_parameters *ex_parameters, | ||
49 | struct be_ethsq_object *eth_sq) | ||
50 | { | ||
51 | struct FWCMD_COMMON_ETH_TX_CREATE *fwcmd = NULL; | ||
52 | struct MCC_WRB_AMAP *wrb = NULL; | ||
53 | int status = 0; | ||
54 | u32 n; | ||
55 | unsigned long irql; | ||
56 | |||
57 | ASSERT(rd); | ||
58 | ASSERT(eth_sq); | ||
59 | ASSERT(ex_parameters); | ||
60 | |||
61 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
62 | |||
63 | memset(eth_sq, 0, sizeof(*eth_sq)); | ||
64 | |||
65 | eth_sq->parent_function = pfob; | ||
66 | eth_sq->bid = 0xFFFFFFFF; | ||
67 | eth_sq->cq_object = cq_object; | ||
68 | |||
69 | /* Translate hwlib interface to arm interface. */ | ||
70 | switch (type) { | ||
71 | case BE_ETH_TX_RING_TYPE_FORWARDING: | ||
72 | type = ETH_TX_RING_TYPE_FORWARDING; | ||
73 | break; | ||
74 | case BE_ETH_TX_RING_TYPE_STANDARD: | ||
75 | type = ETH_TX_RING_TYPE_STANDARD; | ||
76 | break; | ||
77 | case BE_ETH_TX_RING_TYPE_BOUND: | ||
78 | ASSERT(ex_parameters->port < 2); | ||
79 | type = ETH_TX_RING_TYPE_BOUND; | ||
80 | break; | ||
81 | default: | ||
82 | TRACE(DL_ERR, "Invalid eth tx ring type:%d", type); | ||
83 | return BE_NOT_OK; | ||
84 | break; | ||
85 | } | ||
86 | |||
87 | wrb = be_function_peek_mcc_wrb(pfob); | ||
88 | if (!wrb) { | ||
89 | ASSERT(wrb); | ||
90 | TRACE(DL_ERR, "No free MCC WRBs in create EQ."); | ||
91 | status = BE_STATUS_NO_MCC_WRB; | ||
92 | goto Error; | ||
93 | } | ||
94 | /* NIC must be supported by the current config. */ | ||
95 | ASSERT(pfob->fw_config.nic_ulp_mask); | ||
96 | |||
97 | /* | ||
98 | * The ulp parameter must select a valid NIC ULP | ||
99 | * for the current config. | ||
100 | */ | ||
101 | ASSERT((1 << ulp) & pfob->fw_config.nic_ulp_mask); | ||
102 | |||
103 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
104 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_ETH_TX_CREATE); | ||
105 | fwcmd->header.request.port_number = ex_parameters->port; | ||
106 | |||
107 | AMAP_SET_BITS_PTR(ETX_CONTEXT, pd_id, | ||
108 | &fwcmd->params.request.context, 0); | ||
109 | |||
110 | n = be_ring_length_to_encoding(length, sizeof(struct ETH_WRB_AMAP)); | ||
111 | AMAP_SET_BITS_PTR(ETX_CONTEXT, tx_ring_size, | ||
112 | &fwcmd->params.request.context, n); | ||
113 | |||
114 | AMAP_SET_BITS_PTR(ETX_CONTEXT, cq_id_send, | ||
115 | &fwcmd->params.request.context, cq_object->cq_id); | ||
116 | |||
117 | n = pfob->pci_function_number; | ||
118 | AMAP_SET_BITS_PTR(ETX_CONTEXT, func, &fwcmd->params.request.context, n); | ||
119 | |||
120 | fwcmd->params.request.type = type; | ||
121 | fwcmd->params.request.ulp_num = (1 << ulp); | ||
122 | fwcmd->params.request.num_pages = DIV_ROUND_UP(length, PAGE_SIZE); | ||
123 | ASSERT(PAGES_SPANNED(rd->va, rd->length) >= | ||
124 | fwcmd->params.request.num_pages); | ||
125 | |||
126 | /* Create a page list for the FWCMD. */ | ||
127 | be_rd_to_pa_list(rd, fwcmd->params.request.pages, | ||
128 | ARRAY_SIZE(fwcmd->params.request.pages)); | ||
129 | |||
130 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, NULL, | ||
131 | NULL, NULL, fwcmd, NULL); | ||
132 | if (status != BE_SUCCESS) { | ||
133 | TRACE(DL_ERR, "MCC to create etx queue failed."); | ||
134 | goto Error; | ||
135 | } | ||
136 | /* save the butler ID */ | ||
137 | eth_sq->bid = fwcmd->params.response.cid; | ||
138 | |||
139 | /* add a reference to the corresponding CQ */ | ||
140 | atomic_inc(&cq_object->ref_count); | ||
141 | |||
142 | Error: | ||
143 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
144 | |||
145 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
146 | pfob->pend_queue_driving = 0; | ||
147 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
148 | } | ||
149 | return status; | ||
150 | } | ||
151 | |||
152 | |||
153 | /* | ||
154 | This routine destroys an ethernet send queue | ||
155 | |||
156 | EthSq - EthSq Handle returned from EthSqCreate | ||
157 | |||
158 | This function always return BE_SUCCESS. | ||
159 | |||
160 | This function frees memory allocated by EthSqCreate for the EthSq Object. | ||
161 | |||
162 | */ | ||
163 | int be_eth_sq_destroy(struct be_ethsq_object *eth_sq) | ||
164 | { | ||
165 | int status = 0; | ||
166 | |||
167 | /* Send fwcmd to destroy the queue. */ | ||
168 | status = be_function_ring_destroy(eth_sq->parent_function, eth_sq->bid, | ||
169 | FWCMD_RING_TYPE_ETH_TX, NULL, NULL, NULL, NULL); | ||
170 | ASSERT(status == 0); | ||
171 | |||
172 | /* Derefence any associated CQs. */ | ||
173 | atomic_dec(ð_sq->cq_object->ref_count); | ||
174 | return status; | ||
175 | } | ||
176 | /* | ||
177 | This routine attempts to set the transmit flow control parameters. | ||
178 | |||
179 | FunctionObject - Handle to a function object | ||
180 | |||
181 | txfc_enable - transmit flow control enable - true for | ||
182 | enable, false for disable | ||
183 | |||
184 | rxfc_enable - receive flow control enable - true for | ||
185 | enable, false for disable | ||
186 | |||
187 | Returns BE_SUCCESS if successfull, otherwise a useful int error | ||
188 | code is returned. | ||
189 | |||
190 | IRQL: < DISPATCH_LEVEL | ||
191 | |||
192 | This function always fails in non-privileged machine context. | ||
193 | */ | ||
194 | int | ||
195 | be_eth_set_flow_control(struct be_function_object *pfob, | ||
196 | bool txfc_enable, bool rxfc_enable) | ||
197 | { | ||
198 | struct FWCMD_COMMON_SET_FLOW_CONTROL *fwcmd = NULL; | ||
199 | struct MCC_WRB_AMAP *wrb = NULL; | ||
200 | int status = 0; | ||
201 | unsigned long irql; | ||
202 | |||
203 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
204 | |||
205 | wrb = be_function_peek_mcc_wrb(pfob); | ||
206 | if (!wrb) { | ||
207 | TRACE(DL_ERR, "MCC wrb peek failed."); | ||
208 | status = BE_STATUS_NO_MCC_WRB; | ||
209 | goto error; | ||
210 | } | ||
211 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
212 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_SET_FLOW_CONTROL); | ||
213 | |||
214 | fwcmd->params.request.rx_flow_control = rxfc_enable; | ||
215 | fwcmd->params.request.tx_flow_control = txfc_enable; | ||
216 | |||
217 | /* Post the f/w command */ | ||
218 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, NULL, | ||
219 | NULL, NULL, fwcmd, NULL); | ||
220 | |||
221 | if (status != 0) { | ||
222 | TRACE(DL_ERR, "set flow control fwcmd failed."); | ||
223 | goto error; | ||
224 | } | ||
225 | |||
226 | error: | ||
227 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
228 | |||
229 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
230 | pfob->pend_queue_driving = 0; | ||
231 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
232 | } | ||
233 | return status; | ||
234 | } | ||
235 | |||
236 | /* | ||
237 | This routine attempts to get the transmit flow control parameters. | ||
238 | |||
239 | pfob - Handle to a function object | ||
240 | |||
241 | txfc_enable - transmit flow control enable - true for | ||
242 | enable, false for disable | ||
243 | |||
244 | rxfc_enable - receive flow control enable - true for enable, | ||
245 | false for disable | ||
246 | |||
247 | Returns BE_SUCCESS if successfull, otherwise a useful int error code | ||
248 | is returned. | ||
249 | |||
250 | IRQL: < DISPATCH_LEVEL | ||
251 | |||
252 | This function always fails in non-privileged machine context. | ||
253 | */ | ||
254 | int | ||
255 | be_eth_get_flow_control(struct be_function_object *pfob, | ||
256 | bool *txfc_enable, bool *rxfc_enable) | ||
257 | { | ||
258 | struct FWCMD_COMMON_GET_FLOW_CONTROL *fwcmd = NULL; | ||
259 | struct MCC_WRB_AMAP *wrb = NULL; | ||
260 | int status = 0; | ||
261 | unsigned long irql; | ||
262 | |||
263 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
264 | |||
265 | wrb = be_function_peek_mcc_wrb(pfob); | ||
266 | if (!wrb) { | ||
267 | TRACE(DL_ERR, "MCC wrb peek failed."); | ||
268 | status = BE_STATUS_NO_MCC_WRB; | ||
269 | goto error; | ||
270 | } | ||
271 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
272 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_GET_FLOW_CONTROL); | ||
273 | |||
274 | /* Post the f/w command */ | ||
275 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, NULL, | ||
276 | NULL, NULL, fwcmd, NULL); | ||
277 | |||
278 | if (status != 0) { | ||
279 | TRACE(DL_ERR, "get flow control fwcmd failed."); | ||
280 | goto error; | ||
281 | } | ||
282 | |||
283 | *txfc_enable = fwcmd->params.response.tx_flow_control; | ||
284 | *rxfc_enable = fwcmd->params.response.rx_flow_control; | ||
285 | |||
286 | error: | ||
287 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
288 | |||
289 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
290 | pfob->pend_queue_driving = 0; | ||
291 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
292 | } | ||
293 | return status; | ||
294 | } | ||
295 | |||
296 | /* | ||
297 | *--------------------------------------------------------- | ||
298 | * Function: be_eth_set_qos | ||
299 | * This function sets the ethernet transmit Quality of Service (QoS) | ||
300 | * characteristics of BladeEngine for the domain. All ethernet | ||
301 | * transmit rings of the domain will evenly share the bandwidth. | ||
302 | * The exeception to sharing is the host primary (super) ethernet | ||
303 | * transmit ring as well as the host ethernet forwarding ring | ||
304 | * for missed offload data. | ||
305 | * pfob - | ||
306 | * max_bps - the maximum bits per second in units of | ||
307 | * 10 Mbps (valid 0-100) | ||
308 | * max_pps - the maximum packets per second in units | ||
309 | * of 1 Kpps (0 indicates no limit) | ||
310 | * return status - BE_SUCCESS (0) on success. Negative error code on failure. | ||
311 | *--------------------------------------------------------- | ||
312 | */ | ||
313 | int | ||
314 | be_eth_set_qos(struct be_function_object *pfob, u32 max_bps, u32 max_pps) | ||
315 | { | ||
316 | struct FWCMD_COMMON_SET_QOS *fwcmd = NULL; | ||
317 | struct MCC_WRB_AMAP *wrb = NULL; | ||
318 | int status = 0; | ||
319 | unsigned long irql; | ||
320 | |||
321 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
322 | |||
323 | wrb = be_function_peek_mcc_wrb(pfob); | ||
324 | if (!wrb) { | ||
325 | TRACE(DL_ERR, "MCC wrb peek failed."); | ||
326 | status = BE_STATUS_NO_MCC_WRB; | ||
327 | goto error; | ||
328 | } | ||
329 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
330 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_SET_QOS); | ||
331 | |||
332 | /* Set fields in fwcmd */ | ||
333 | fwcmd->params.request.max_bits_per_second_NIC = max_bps; | ||
334 | fwcmd->params.request.max_packets_per_second_NIC = max_pps; | ||
335 | fwcmd->params.request.valid_flags = QOS_BITS_NIC | QOS_PKTS_NIC; | ||
336 | |||
337 | /* Post the f/w command */ | ||
338 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, NULL, | ||
339 | NULL, NULL, fwcmd, NULL); | ||
340 | |||
341 | if (status != 0) | ||
342 | TRACE(DL_ERR, "network set qos fwcmd failed."); | ||
343 | |||
344 | error: | ||
345 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
346 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
347 | pfob->pend_queue_driving = 0; | ||
348 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
349 | } | ||
350 | return status; | ||
351 | } | ||
352 | |||
353 | /* | ||
354 | *--------------------------------------------------------- | ||
355 | * Function: be_eth_get_qos | ||
356 | * This function retrieves the ethernet transmit Quality of Service (QoS) | ||
357 | * characteristics for the domain. | ||
358 | * max_bps - the maximum bits per second in units of | ||
359 | * 10 Mbps (valid 0-100) | ||
360 | * max_pps - the maximum packets per second in units of | ||
361 | * 1 Kpps (0 indicates no limit) | ||
362 | * return status - BE_SUCCESS (0) on success. Negative error code on failure. | ||
363 | *--------------------------------------------------------- | ||
364 | */ | ||
365 | int | ||
366 | be_eth_get_qos(struct be_function_object *pfob, u32 *max_bps, u32 *max_pps) | ||
367 | { | ||
368 | struct FWCMD_COMMON_GET_QOS *fwcmd = NULL; | ||
369 | struct MCC_WRB_AMAP *wrb = NULL; | ||
370 | int status = 0; | ||
371 | unsigned long irql; | ||
372 | |||
373 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
374 | |||
375 | wrb = be_function_peek_mcc_wrb(pfob); | ||
376 | if (!wrb) { | ||
377 | TRACE(DL_ERR, "MCC wrb peek failed."); | ||
378 | status = BE_STATUS_NO_MCC_WRB; | ||
379 | goto error; | ||
380 | } | ||
381 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
382 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_GET_QOS); | ||
383 | |||
384 | /* Post the f/w command */ | ||
385 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, NULL, | ||
386 | NULL, NULL, fwcmd, NULL); | ||
387 | |||
388 | if (status != 0) { | ||
389 | TRACE(DL_ERR, "network get qos fwcmd failed."); | ||
390 | goto error; | ||
391 | } | ||
392 | |||
393 | *max_bps = fwcmd->params.response.max_bits_per_second_NIC; | ||
394 | *max_pps = fwcmd->params.response.max_packets_per_second_NIC; | ||
395 | |||
396 | error: | ||
397 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
398 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
399 | pfob->pend_queue_driving = 0; | ||
400 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
401 | } | ||
402 | return status; | ||
403 | } | ||
404 | |||
405 | /* | ||
406 | *--------------------------------------------------------- | ||
407 | * Function: be_eth_set_frame_size | ||
408 | * This function sets the ethernet maximum frame size. The previous | ||
409 | * values are returned. | ||
410 | * pfob - | ||
411 | * tx_frame_size - maximum transmit frame size in bytes | ||
412 | * rx_frame_size - maximum receive frame size in bytes | ||
413 | * return status - BE_SUCCESS (0) on success. Negative error code on failure. | ||
414 | *--------------------------------------------------------- | ||
415 | */ | ||
416 | int | ||
417 | be_eth_set_frame_size(struct be_function_object *pfob, | ||
418 | u32 *tx_frame_size, u32 *rx_frame_size) | ||
419 | { | ||
420 | struct FWCMD_COMMON_SET_FRAME_SIZE *fwcmd = NULL; | ||
421 | struct MCC_WRB_AMAP *wrb = NULL; | ||
422 | int status = 0; | ||
423 | unsigned long irql; | ||
424 | |||
425 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
426 | |||
427 | wrb = be_function_peek_mcc_wrb(pfob); | ||
428 | if (!wrb) { | ||
429 | TRACE(DL_ERR, "MCC wrb peek failed."); | ||
430 | status = BE_STATUS_NO_MCC_WRB; | ||
431 | goto error; | ||
432 | } | ||
433 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
434 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_SET_FRAME_SIZE); | ||
435 | fwcmd->params.request.max_tx_frame_size = *tx_frame_size; | ||
436 | fwcmd->params.request.max_rx_frame_size = *rx_frame_size; | ||
437 | |||
438 | /* Post the f/w command */ | ||
439 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, NULL, | ||
440 | NULL, NULL, fwcmd, NULL); | ||
441 | |||
442 | if (status != 0) { | ||
443 | TRACE(DL_ERR, "network set frame size fwcmd failed."); | ||
444 | goto error; | ||
445 | } | ||
446 | |||
447 | *tx_frame_size = fwcmd->params.response.chip_max_tx_frame_size; | ||
448 | *rx_frame_size = fwcmd->params.response.chip_max_rx_frame_size; | ||
449 | |||
450 | error: | ||
451 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
452 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
453 | pfob->pend_queue_driving = 0; | ||
454 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
455 | } | ||
456 | return status; | ||
457 | } | ||
458 | |||
459 | |||
460 | /* | ||
461 | This routine creates a Ethernet receive ring. | ||
462 | |||
463 | pfob - handle to a function object | ||
464 | rq_base_va - base VA for the default receive ring. this must be | ||
465 | exactly 8K in length and continguous physical memory. | ||
466 | cq_object - handle to a previously created CQ to be associated | ||
467 | with the RQ. | ||
468 | pp_eth_rq - pointer to an opqaue handle where an eth | ||
469 | receive object is returned. | ||
470 | Returns BE_SUCCESS if successfull, , otherwise a useful | ||
471 | int error code is returned. | ||
472 | |||
473 | IRQL: < DISPATCH_LEVEL | ||
474 | this function allocates a struct be_ethrq_object *object. | ||
475 | there must be no more than 1 of these per function object, unless the | ||
476 | function object supports RSS (is networking and on the host). | ||
477 | the rq_base_va must point to a buffer of exactly 8K. | ||
478 | the erx::host_cqid (or host_stor_cqid) register and erx::ring_page registers | ||
479 | will be updated as appropriate on return | ||
480 | */ | ||
481 | int | ||
482 | be_eth_rq_create(struct be_function_object *pfob, | ||
483 | struct ring_desc *rd, struct be_cq_object *cq_object, | ||
484 | struct be_cq_object *bcmc_cq_object, | ||
485 | struct be_ethrq_object *eth_rq) | ||
486 | { | ||
487 | int status = 0; | ||
488 | struct MCC_WRB_AMAP *wrb = NULL; | ||
489 | struct FWCMD_COMMON_ETH_RX_CREATE *fwcmd = NULL; | ||
490 | unsigned long irql; | ||
491 | |||
492 | /* MPU will set the */ | ||
493 | ASSERT(rd); | ||
494 | ASSERT(eth_rq); | ||
495 | |||
496 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
497 | |||
498 | eth_rq->parent_function = pfob; | ||
499 | eth_rq->cq_object = cq_object; | ||
500 | |||
501 | wrb = be_function_peek_mcc_wrb(pfob); | ||
502 | if (!wrb) { | ||
503 | TRACE(DL_ERR, "MCC wrb peek failed."); | ||
504 | status = BE_STATUS_NO_MCC_WRB; | ||
505 | goto Error; | ||
506 | } | ||
507 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
508 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_ETH_RX_CREATE); | ||
509 | |||
510 | fwcmd->params.request.num_pages = 2; /* required length */ | ||
511 | fwcmd->params.request.cq_id = cq_object->cq_id; | ||
512 | |||
513 | if (bcmc_cq_object) | ||
514 | fwcmd->params.request.bcmc_cq_id = bcmc_cq_object->cq_id; | ||
515 | else | ||
516 | fwcmd->params.request.bcmc_cq_id = 0xFFFF; | ||
517 | |||
518 | /* Create a page list for the FWCMD. */ | ||
519 | be_rd_to_pa_list(rd, fwcmd->params.request.pages, | ||
520 | ARRAY_SIZE(fwcmd->params.request.pages)); | ||
521 | |||
522 | /* Post the f/w command */ | ||
523 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, NULL, | ||
524 | NULL, NULL, fwcmd, NULL); | ||
525 | if (status != BE_SUCCESS) { | ||
526 | TRACE(DL_ERR, "fwcmd to map eth rxq frags failed."); | ||
527 | goto Error; | ||
528 | } | ||
529 | /* Save the ring ID for cleanup. */ | ||
530 | eth_rq->rid = fwcmd->params.response.id; | ||
531 | |||
532 | atomic_inc(&cq_object->ref_count); | ||
533 | |||
534 | Error: | ||
535 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
536 | |||
537 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
538 | pfob->pend_queue_driving = 0; | ||
539 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
540 | } | ||
541 | return status; | ||
542 | } | ||
543 | |||
544 | /* | ||
545 | This routine destroys an Ethernet receive queue | ||
546 | |||
547 | eth_rq - ethernet receive queue handle returned from eth_rq_create | ||
548 | |||
549 | Returns BE_SUCCESS on success and an appropriate int on failure. | ||
550 | |||
551 | This function frees resourcs allocated by EthRqCreate. | ||
552 | The erx::host_cqid (or host_stor_cqid) register and erx::ring_page | ||
553 | registers will be updated as appropriate on return | ||
554 | IRQL: < DISPATCH_LEVEL | ||
555 | */ | ||
556 | |||
557 | static void be_eth_rq_destroy_internal_cb(void *context, int status, | ||
558 | struct MCC_WRB_AMAP *wrb) | ||
559 | { | ||
560 | struct be_ethrq_object *eth_rq = (struct be_ethrq_object *) context; | ||
561 | |||
562 | if (status != BE_SUCCESS) { | ||
563 | TRACE(DL_ERR, "Destroy eth rq failed in internal callback.\n"); | ||
564 | } else { | ||
565 | /* Dereference any CQs associated with this queue. */ | ||
566 | atomic_dec(ð_rq->cq_object->ref_count); | ||
567 | } | ||
568 | |||
569 | return; | ||
570 | } | ||
571 | |||
572 | int be_eth_rq_destroy(struct be_ethrq_object *eth_rq) | ||
573 | { | ||
574 | int status = BE_SUCCESS; | ||
575 | |||
576 | /* Send fwcmd to destroy the RQ. */ | ||
577 | status = be_function_ring_destroy(eth_rq->parent_function, | ||
578 | eth_rq->rid, FWCMD_RING_TYPE_ETH_RX, NULL, NULL, | ||
579 | be_eth_rq_destroy_internal_cb, eth_rq); | ||
580 | |||
581 | return status; | ||
582 | } | ||
583 | |||
584 | /* | ||
585 | *--------------------------------------------------------------------------- | ||
586 | * Function: be_eth_rq_destroy_options | ||
587 | * Destroys an ethernet receive ring with finer granularity options | ||
588 | * than the standard be_eth_rq_destroy() API function. | ||
589 | * eth_rq - | ||
590 | * flush - Set to 1 to flush the ring, set to 0 to bypass the flush | ||
591 | * cb - Callback function on completion | ||
592 | * cb_context - Callback context | ||
593 | * return status - BE_SUCCESS (0) on success. Negative error code on failure. | ||
594 | *---------------------------------------------------------------------------- | ||
595 | */ | ||
596 | int | ||
597 | be_eth_rq_destroy_options(struct be_ethrq_object *eth_rq, bool flush, | ||
598 | mcc_wrb_cqe_callback cb, void *cb_context) | ||
599 | { | ||
600 | struct FWCMD_COMMON_RING_DESTROY *fwcmd = NULL; | ||
601 | struct MCC_WRB_AMAP *wrb = NULL; | ||
602 | int status = BE_SUCCESS; | ||
603 | struct be_function_object *pfob = NULL; | ||
604 | unsigned long irql; | ||
605 | |||
606 | pfob = eth_rq->parent_function; | ||
607 | |||
608 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
609 | |||
610 | TRACE(DL_INFO, "Destroy eth_rq ring id:%d, flush:%d", eth_rq->rid, | ||
611 | flush); | ||
612 | |||
613 | wrb = be_function_peek_mcc_wrb(pfob); | ||
614 | if (!wrb) { | ||
615 | ASSERT(wrb); | ||
616 | TRACE(DL_ERR, "No free MCC WRBs in destroy eth_rq ring."); | ||
617 | status = BE_STATUS_NO_MCC_WRB; | ||
618 | goto Error; | ||
619 | } | ||
620 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
621 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_RING_DESTROY); | ||
622 | |||
623 | fwcmd->params.request.id = eth_rq->rid; | ||
624 | fwcmd->params.request.ring_type = FWCMD_RING_TYPE_ETH_RX; | ||
625 | fwcmd->params.request.bypass_flush = ((0 == flush) ? 1 : 0); | ||
626 | |||
627 | /* Post the f/w command */ | ||
628 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, cb, cb_context, | ||
629 | be_eth_rq_destroy_internal_cb, eth_rq, fwcmd, NULL); | ||
630 | |||
631 | if (status != BE_SUCCESS && status != BE_PENDING) { | ||
632 | TRACE(DL_ERR, "eth_rq ring destroy failed. id:%d, flush:%d", | ||
633 | eth_rq->rid, flush); | ||
634 | goto Error; | ||
635 | } | ||
636 | |||
637 | Error: | ||
638 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
639 | |||
640 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
641 | pfob->pend_queue_driving = 0; | ||
642 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
643 | } | ||
644 | return status; | ||
645 | } | ||
646 | |||
647 | /* | ||
648 | This routine queries the frag size for erx. | ||
649 | |||
650 | pfob - handle to a function object | ||
651 | |||
652 | frag_size_bytes - erx frag size in bytes that is/was set. | ||
653 | |||
654 | Returns BE_SUCCESS if successfull, otherwise a useful int error | ||
655 | code is returned. | ||
656 | |||
657 | IRQL: < DISPATCH_LEVEL | ||
658 | |||
659 | */ | ||
660 | int | ||
661 | be_eth_rq_get_frag_size(struct be_function_object *pfob, u32 *frag_size_bytes) | ||
662 | { | ||
663 | struct FWCMD_ETH_GET_RX_FRAG_SIZE *fwcmd = NULL; | ||
664 | struct MCC_WRB_AMAP *wrb = NULL; | ||
665 | int status = 0; | ||
666 | unsigned long irql; | ||
667 | |||
668 | ASSERT(frag_size_bytes); | ||
669 | |||
670 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
671 | |||
672 | wrb = be_function_peek_mcc_wrb(pfob); | ||
673 | if (!wrb) { | ||
674 | TRACE(DL_ERR, "MCC wrb peek failed."); | ||
675 | return BE_STATUS_NO_MCC_WRB; | ||
676 | } | ||
677 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
678 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, ETH_GET_RX_FRAG_SIZE); | ||
679 | |||
680 | /* Post the f/w command */ | ||
681 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, NULL, | ||
682 | NULL, NULL, fwcmd, NULL); | ||
683 | |||
684 | if (status != 0) { | ||
685 | TRACE(DL_ERR, "get frag size fwcmd failed."); | ||
686 | goto error; | ||
687 | } | ||
688 | |||
689 | *frag_size_bytes = 1 << fwcmd->params.response.actual_fragsize_log2; | ||
690 | |||
691 | error: | ||
692 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
693 | |||
694 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
695 | pfob->pend_queue_driving = 0; | ||
696 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
697 | } | ||
698 | return status; | ||
699 | } | ||
700 | |||
701 | /* | ||
702 | This routine attempts to set the frag size for erx. If the frag size is | ||
703 | already set, the attempt fails and the current frag size is returned. | ||
704 | |||
705 | pfob - Handle to a function object | ||
706 | |||
707 | frag_size - Erx frag size in bytes that is/was set. | ||
708 | |||
709 | current_frag_size_bytes - Pointer to location where currrent frag | ||
710 | is to be rturned | ||
711 | |||
712 | Returns BE_SUCCESS if successfull, otherwise a useful int error | ||
713 | code is returned. | ||
714 | |||
715 | IRQL: < DISPATCH_LEVEL | ||
716 | |||
717 | This function always fails in non-privileged machine context. | ||
718 | */ | ||
719 | int | ||
720 | be_eth_rq_set_frag_size(struct be_function_object *pfob, | ||
721 | u32 frag_size, u32 *frag_size_bytes) | ||
722 | { | ||
723 | struct FWCMD_ETH_SET_RX_FRAG_SIZE *fwcmd = NULL; | ||
724 | struct MCC_WRB_AMAP *wrb = NULL; | ||
725 | int status = 0; | ||
726 | unsigned long irql; | ||
727 | |||
728 | ASSERT(frag_size_bytes); | ||
729 | |||
730 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
731 | |||
732 | wrb = be_function_peek_mcc_wrb(pfob); | ||
733 | if (!wrb) { | ||
734 | TRACE(DL_ERR, "MCC wrb peek failed."); | ||
735 | status = BE_STATUS_NO_MCC_WRB; | ||
736 | goto error; | ||
737 | } | ||
738 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
739 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, ETH_SET_RX_FRAG_SIZE); | ||
740 | |||
741 | ASSERT(frag_size >= 128 && frag_size <= 16 * 1024); | ||
742 | |||
743 | /* This is the log2 of the fragsize. This is not the exact | ||
744 | * ERX encoding. */ | ||
745 | fwcmd->params.request.new_fragsize_log2 = __ilog2_u32(frag_size); | ||
746 | |||
747 | /* Post the f/w command */ | ||
748 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, NULL, | ||
749 | NULL, NULL, fwcmd, NULL); | ||
750 | |||
751 | if (status != 0) { | ||
752 | TRACE(DL_ERR, "set frag size fwcmd failed."); | ||
753 | goto error; | ||
754 | } | ||
755 | |||
756 | *frag_size_bytes = 1 << fwcmd->params.response.actual_fragsize_log2; | ||
757 | error: | ||
758 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
759 | |||
760 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
761 | pfob->pend_queue_driving = 0; | ||
762 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
763 | } | ||
764 | return status; | ||
765 | } | ||
766 | |||
767 | |||
768 | /* | ||
769 | This routine gets or sets a mac address for a domain | ||
770 | given the port and mac. | ||
771 | |||
772 | FunctionObject - Function object handle. | ||
773 | port1 - Set to TRUE if this function will set/get the Port 1 | ||
774 | address. Only the host may set this to TRUE. | ||
775 | mac1 - Set to TRUE if this function will set/get the | ||
776 | MAC 1 address. Only the host may set this to TRUE. | ||
777 | write - Set to TRUE if this function should write the mac address. | ||
778 | mac_address - Buffer of the mac address to read or write. | ||
779 | |||
780 | Returns BE_SUCCESS if successfull, otherwise a useful int is returned. | ||
781 | |||
782 | IRQL: < DISPATCH_LEVEL | ||
783 | */ | ||
784 | int be_rxf_mac_address_read_write(struct be_function_object *pfob, | ||
785 | bool port1, /* VM must always set to false */ | ||
786 | bool mac1, /* VM must always set to false */ | ||
787 | bool mgmt, bool write, | ||
788 | bool permanent, u8 *mac_address, | ||
789 | mcc_wrb_cqe_callback cb, /* optional */ | ||
790 | void *cb_context) /* optional */ | ||
791 | { | ||
792 | int status = BE_SUCCESS; | ||
793 | union { | ||
794 | struct FWCMD_COMMON_NTWK_MAC_QUERY *query; | ||
795 | struct FWCMD_COMMON_NTWK_MAC_SET *set; | ||
796 | } fwcmd = {NULL}; | ||
797 | struct MCC_WRB_AMAP *wrb = NULL; | ||
798 | u32 type = 0; | ||
799 | unsigned long irql; | ||
800 | struct be_mcc_wrb_response_copy rc; | ||
801 | |||
802 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
803 | |||
804 | ASSERT(mac_address); | ||
805 | |||
806 | ASSERT(port1 == false); | ||
807 | ASSERT(mac1 == false); | ||
808 | |||
809 | wrb = be_function_peek_mcc_wrb(pfob); | ||
810 | if (!wrb) { | ||
811 | TRACE(DL_ERR, "MCC wrb peek failed."); | ||
812 | status = BE_STATUS_NO_MCC_WRB; | ||
813 | goto Error; | ||
814 | } | ||
815 | |||
816 | if (mgmt) { | ||
817 | type = MAC_ADDRESS_TYPE_MANAGEMENT; | ||
818 | } else { | ||
819 | if (pfob->type == BE_FUNCTION_TYPE_NETWORK) | ||
820 | type = MAC_ADDRESS_TYPE_NETWORK; | ||
821 | else | ||
822 | type = MAC_ADDRESS_TYPE_STORAGE; | ||
823 | } | ||
824 | |||
825 | if (write) { | ||
826 | /* Prepares an embedded fwcmd, including | ||
827 | * request/response sizes. | ||
828 | */ | ||
829 | fwcmd.set = BE_PREPARE_EMBEDDED_FWCMD(pfob, | ||
830 | wrb, COMMON_NTWK_MAC_SET); | ||
831 | |||
832 | fwcmd.set->params.request.invalidate = 0; | ||
833 | fwcmd.set->params.request.mac1 = (mac1 ? 1 : 0); | ||
834 | fwcmd.set->params.request.port = (port1 ? 1 : 0); | ||
835 | fwcmd.set->params.request.type = type; | ||
836 | |||
837 | /* Copy the mac address to set. */ | ||
838 | fwcmd.set->params.request.mac.SizeOfStructure = | ||
839 | sizeof(fwcmd.set->params.request.mac); | ||
840 | memcpy(fwcmd.set->params.request.mac.MACAddress, | ||
841 | mac_address, ETH_ALEN); | ||
842 | |||
843 | /* Post the f/w command */ | ||
844 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, | ||
845 | cb, cb_context, NULL, NULL, fwcmd.set, NULL); | ||
846 | |||
847 | } else { | ||
848 | |||
849 | /* | ||
850 | * Prepares an embedded fwcmd, including | ||
851 | * request/response sizes. | ||
852 | */ | ||
853 | fwcmd.query = BE_PREPARE_EMBEDDED_FWCMD(pfob, | ||
854 | wrb, COMMON_NTWK_MAC_QUERY); | ||
855 | |||
856 | fwcmd.query->params.request.mac1 = (mac1 ? 1 : 0); | ||
857 | fwcmd.query->params.request.port = (port1 ? 1 : 0); | ||
858 | fwcmd.query->params.request.type = type; | ||
859 | fwcmd.query->params.request.permanent = permanent; | ||
860 | |||
861 | rc.length = FIELD_SIZEOF(struct FWCMD_COMMON_NTWK_MAC_QUERY, | ||
862 | params.response.mac.MACAddress); | ||
863 | rc.fwcmd_offset = offsetof(struct FWCMD_COMMON_NTWK_MAC_QUERY, | ||
864 | params.response.mac.MACAddress); | ||
865 | rc.va = mac_address; | ||
866 | /* Post the f/w command (with a copy for the response) */ | ||
867 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, cb, | ||
868 | cb_context, NULL, NULL, fwcmd.query, &rc); | ||
869 | } | ||
870 | |||
871 | if (status < 0) { | ||
872 | TRACE(DL_ERR, "mac set/query failed."); | ||
873 | goto Error; | ||
874 | } | ||
875 | |||
876 | Error: | ||
877 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
878 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
879 | pfob->pend_queue_driving = 0; | ||
880 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
881 | } | ||
882 | return status; | ||
883 | } | ||
884 | |||
885 | /* | ||
886 | This routine writes data to context memory. | ||
887 | |||
888 | pfob - Function object handle. | ||
889 | mac_table - Set to the 128-bit multicast address hash table. | ||
890 | |||
891 | Returns BE_SUCCESS if successfull, otherwise a useful int is returned. | ||
892 | |||
893 | IRQL: < DISPATCH_LEVEL | ||
894 | */ | ||
895 | |||
896 | int be_rxf_multicast_config(struct be_function_object *pfob, | ||
897 | bool promiscuous, u32 num, u8 *mac_table, | ||
898 | mcc_wrb_cqe_callback cb, /* optional */ | ||
899 | void *cb_context, | ||
900 | struct be_multicast_q_ctxt *q_ctxt) | ||
901 | { | ||
902 | int status = BE_SUCCESS; | ||
903 | struct FWCMD_COMMON_NTWK_MULTICAST_SET *fwcmd = NULL; | ||
904 | struct MCC_WRB_AMAP *wrb = NULL; | ||
905 | struct be_generic_q_ctxt *generic_ctxt = NULL; | ||
906 | unsigned long irql; | ||
907 | |||
908 | ASSERT(num <= ARRAY_SIZE(fwcmd->params.request.mac)); | ||
909 | |||
910 | if (num > ARRAY_SIZE(fwcmd->params.request.mac)) { | ||
911 | TRACE(DL_ERR, "Too many multicast addresses. BE supports %d.", | ||
912 | (int) ARRAY_SIZE(fwcmd->params.request.mac)); | ||
913 | return BE_NOT_OK; | ||
914 | } | ||
915 | |||
916 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
917 | |||
918 | wrb = be_function_peek_mcc_wrb(pfob); | ||
919 | if (!wrb) { | ||
920 | if (q_ctxt && cb) { | ||
921 | wrb = (struct MCC_WRB_AMAP *) &q_ctxt->wrb_header; | ||
922 | generic_ctxt = (struct be_generic_q_ctxt *) q_ctxt; | ||
923 | generic_ctxt->context.bytes = sizeof(*q_ctxt); | ||
924 | } else { | ||
925 | status = BE_STATUS_NO_MCC_WRB; | ||
926 | goto Error; | ||
927 | } | ||
928 | } | ||
929 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
930 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_NTWK_MULTICAST_SET); | ||
931 | |||
932 | fwcmd->params.request.promiscuous = promiscuous; | ||
933 | if (!promiscuous) { | ||
934 | fwcmd->params.request.num_mac = num; | ||
935 | if (num > 0) { | ||
936 | ASSERT(mac_table); | ||
937 | memcpy(fwcmd->params.request.mac, | ||
938 | mac_table, ETH_ALEN * num); | ||
939 | } | ||
940 | } | ||
941 | |||
942 | /* Post the f/w command */ | ||
943 | status = be_function_post_mcc_wrb(pfob, wrb, generic_ctxt, | ||
944 | cb, cb_context, NULL, NULL, fwcmd, NULL); | ||
945 | if (status < 0) { | ||
946 | TRACE(DL_ERR, "multicast fwcmd failed."); | ||
947 | goto Error; | ||
948 | } | ||
949 | |||
950 | Error: | ||
951 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
952 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
953 | pfob->pend_queue_driving = 0; | ||
954 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
955 | } | ||
956 | return status; | ||
957 | } | ||
958 | |||
959 | /* | ||
960 | This routine adds or removes a vlan tag from the rxf table. | ||
961 | |||
962 | FunctionObject - Function object handle. | ||
963 | VLanTag - VLan tag to add or remove. | ||
964 | Add - Set to TRUE if this will add a vlan tag | ||
965 | |||
966 | Returns BE_SUCCESS if successfull, otherwise a useful int is returned. | ||
967 | |||
968 | IRQL: < DISPATCH_LEVEL | ||
969 | */ | ||
970 | int be_rxf_vlan_config(struct be_function_object *pfob, | ||
971 | bool promiscuous, u32 num, u16 *vlan_tag_array, | ||
972 | mcc_wrb_cqe_callback cb, /* optional */ | ||
973 | void *cb_context, | ||
974 | struct be_vlan_q_ctxt *q_ctxt) /* optional */ | ||
975 | { | ||
976 | int status = BE_SUCCESS; | ||
977 | struct FWCMD_COMMON_NTWK_VLAN_CONFIG *fwcmd = NULL; | ||
978 | struct MCC_WRB_AMAP *wrb = NULL; | ||
979 | struct be_generic_q_ctxt *generic_ctxt = NULL; | ||
980 | unsigned long irql; | ||
981 | |||
982 | if (num > ARRAY_SIZE(fwcmd->params.request.vlan_tag)) { | ||
983 | TRACE(DL_ERR, "Too many VLAN tags."); | ||
984 | return BE_NOT_OK; | ||
985 | } | ||
986 | |||
987 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
988 | |||
989 | wrb = be_function_peek_mcc_wrb(pfob); | ||
990 | if (!wrb) { | ||
991 | if (q_ctxt && cb) { | ||
992 | wrb = (struct MCC_WRB_AMAP *) &q_ctxt->wrb_header; | ||
993 | generic_ctxt = (struct be_generic_q_ctxt *) q_ctxt; | ||
994 | generic_ctxt->context.bytes = sizeof(*q_ctxt); | ||
995 | } else { | ||
996 | status = BE_STATUS_NO_MCC_WRB; | ||
997 | goto Error; | ||
998 | } | ||
999 | } | ||
1000 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
1001 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_NTWK_VLAN_CONFIG); | ||
1002 | |||
1003 | fwcmd->params.request.promiscuous = promiscuous; | ||
1004 | if (!promiscuous) { | ||
1005 | fwcmd->params.request.num_vlan = num; | ||
1006 | |||
1007 | if (num > 0) { | ||
1008 | ASSERT(vlan_tag_array); | ||
1009 | memcpy(fwcmd->params.request.vlan_tag, vlan_tag_array, | ||
1010 | num * sizeof(vlan_tag_array[0])); | ||
1011 | } | ||
1012 | } | ||
1013 | |||
1014 | /* Post the commadn */ | ||
1015 | status = be_function_post_mcc_wrb(pfob, wrb, generic_ctxt, | ||
1016 | cb, cb_context, NULL, NULL, fwcmd, NULL); | ||
1017 | if (status < 0) { | ||
1018 | TRACE(DL_ERR, "vlan fwcmd failed."); | ||
1019 | goto Error; | ||
1020 | } | ||
1021 | |||
1022 | Error: | ||
1023 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
1024 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
1025 | pfob->pend_queue_driving = 0; | ||
1026 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
1027 | } | ||
1028 | return status; | ||
1029 | } | ||
1030 | |||
1031 | |||
1032 | int be_rxf_link_status(struct be_function_object *pfob, | ||
1033 | struct BE_LINK_STATUS *link_status, | ||
1034 | mcc_wrb_cqe_callback cb, | ||
1035 | void *cb_context, | ||
1036 | struct be_link_status_q_ctxt *q_ctxt) | ||
1037 | { | ||
1038 | struct FWCMD_COMMON_NTWK_LINK_STATUS_QUERY *fwcmd = NULL; | ||
1039 | struct MCC_WRB_AMAP *wrb = NULL; | ||
1040 | int status = 0; | ||
1041 | struct be_generic_q_ctxt *generic_ctxt = NULL; | ||
1042 | unsigned long irql; | ||
1043 | struct be_mcc_wrb_response_copy rc; | ||
1044 | |||
1045 | ASSERT(link_status); | ||
1046 | |||
1047 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
1048 | |||
1049 | wrb = be_function_peek_mcc_wrb(pfob); | ||
1050 | |||
1051 | if (!wrb) { | ||
1052 | if (q_ctxt && cb) { | ||
1053 | wrb = (struct MCC_WRB_AMAP *) &q_ctxt->wrb_header; | ||
1054 | generic_ctxt = (struct be_generic_q_ctxt *) q_ctxt; | ||
1055 | generic_ctxt->context.bytes = sizeof(*q_ctxt); | ||
1056 | } else { | ||
1057 | status = BE_STATUS_NO_MCC_WRB; | ||
1058 | goto Error; | ||
1059 | } | ||
1060 | } | ||
1061 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
1062 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, | ||
1063 | COMMON_NTWK_LINK_STATUS_QUERY); | ||
1064 | |||
1065 | rc.length = FIELD_SIZEOF(struct FWCMD_COMMON_NTWK_LINK_STATUS_QUERY, | ||
1066 | params.response); | ||
1067 | rc.fwcmd_offset = offsetof(struct FWCMD_COMMON_NTWK_LINK_STATUS_QUERY, | ||
1068 | params.response); | ||
1069 | rc.va = link_status; | ||
1070 | /* Post or queue the f/w command */ | ||
1071 | status = be_function_post_mcc_wrb(pfob, wrb, generic_ctxt, | ||
1072 | cb, cb_context, NULL, NULL, fwcmd, &rc); | ||
1073 | |||
1074 | if (status < 0) { | ||
1075 | TRACE(DL_ERR, "link status fwcmd failed."); | ||
1076 | goto Error; | ||
1077 | } | ||
1078 | |||
1079 | Error: | ||
1080 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
1081 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
1082 | pfob->pend_queue_driving = 0; | ||
1083 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
1084 | } | ||
1085 | return status; | ||
1086 | } | ||
1087 | |||
1088 | int | ||
1089 | be_rxf_query_eth_statistics(struct be_function_object *pfob, | ||
1090 | struct FWCMD_ETH_GET_STATISTICS *va_for_fwcmd, | ||
1091 | u64 pa_for_fwcmd, mcc_wrb_cqe_callback cb, | ||
1092 | void *cb_context, | ||
1093 | struct be_nonembedded_q_ctxt *q_ctxt) | ||
1094 | { | ||
1095 | struct MCC_WRB_AMAP *wrb = NULL; | ||
1096 | int status = 0; | ||
1097 | struct be_generic_q_ctxt *generic_ctxt = NULL; | ||
1098 | unsigned long irql; | ||
1099 | |||
1100 | ASSERT(va_for_fwcmd); | ||
1101 | ASSERT(pa_for_fwcmd); | ||
1102 | |||
1103 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
1104 | |||
1105 | wrb = be_function_peek_mcc_wrb(pfob); | ||
1106 | |||
1107 | if (!wrb) { | ||
1108 | if (q_ctxt && cb) { | ||
1109 | wrb = (struct MCC_WRB_AMAP *) &q_ctxt->wrb_header; | ||
1110 | generic_ctxt = (struct be_generic_q_ctxt *) q_ctxt; | ||
1111 | generic_ctxt->context.bytes = sizeof(*q_ctxt); | ||
1112 | } else { | ||
1113 | status = BE_STATUS_NO_MCC_WRB; | ||
1114 | goto Error; | ||
1115 | } | ||
1116 | } | ||
1117 | |||
1118 | TRACE(DL_INFO, "Query eth stats. fwcmd va:%p pa:0x%08x_%08x", | ||
1119 | va_for_fwcmd, upper_32_bits(pa_for_fwcmd), (u32)pa_for_fwcmd); | ||
1120 | |||
1121 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
1122 | va_for_fwcmd = BE_PREPARE_NONEMBEDDED_FWCMD(pfob, wrb, | ||
1123 | va_for_fwcmd, pa_for_fwcmd, ETH_GET_STATISTICS); | ||
1124 | |||
1125 | /* Post the f/w command */ | ||
1126 | status = be_function_post_mcc_wrb(pfob, wrb, generic_ctxt, | ||
1127 | cb, cb_context, NULL, NULL, va_for_fwcmd, NULL); | ||
1128 | if (status < 0) { | ||
1129 | TRACE(DL_ERR, "eth stats fwcmd failed."); | ||
1130 | goto Error; | ||
1131 | } | ||
1132 | |||
1133 | Error: | ||
1134 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
1135 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
1136 | pfob->pend_queue_driving = 0; | ||
1137 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
1138 | } | ||
1139 | return status; | ||
1140 | } | ||
1141 | |||
1142 | int | ||
1143 | be_rxf_promiscuous(struct be_function_object *pfob, | ||
1144 | bool enable_port0, bool enable_port1, | ||
1145 | mcc_wrb_cqe_callback cb, void *cb_context, | ||
1146 | struct be_promiscuous_q_ctxt *q_ctxt) | ||
1147 | { | ||
1148 | struct FWCMD_ETH_PROMISCUOUS *fwcmd = NULL; | ||
1149 | struct MCC_WRB_AMAP *wrb = NULL; | ||
1150 | int status = 0; | ||
1151 | struct be_generic_q_ctxt *generic_ctxt = NULL; | ||
1152 | unsigned long irql; | ||
1153 | |||
1154 | |||
1155 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
1156 | |||
1157 | wrb = be_function_peek_mcc_wrb(pfob); | ||
1158 | |||
1159 | if (!wrb) { | ||
1160 | if (q_ctxt && cb) { | ||
1161 | wrb = (struct MCC_WRB_AMAP *) &q_ctxt->wrb_header; | ||
1162 | generic_ctxt = (struct be_generic_q_ctxt *) q_ctxt; | ||
1163 | generic_ctxt->context.bytes = sizeof(*q_ctxt); | ||
1164 | } else { | ||
1165 | status = BE_STATUS_NO_MCC_WRB; | ||
1166 | goto Error; | ||
1167 | } | ||
1168 | } | ||
1169 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
1170 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, ETH_PROMISCUOUS); | ||
1171 | |||
1172 | fwcmd->params.request.port0_promiscuous = enable_port0; | ||
1173 | fwcmd->params.request.port1_promiscuous = enable_port1; | ||
1174 | |||
1175 | /* Post the f/w command */ | ||
1176 | status = be_function_post_mcc_wrb(pfob, wrb, generic_ctxt, | ||
1177 | cb, cb_context, NULL, NULL, fwcmd, NULL); | ||
1178 | |||
1179 | if (status < 0) { | ||
1180 | TRACE(DL_ERR, "promiscuous fwcmd failed."); | ||
1181 | goto Error; | ||
1182 | } | ||
1183 | |||
1184 | Error: | ||
1185 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
1186 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
1187 | pfob->pend_queue_driving = 0; | ||
1188 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
1189 | } | ||
1190 | return status; | ||
1191 | } | ||
1192 | |||
1193 | |||
1194 | /* | ||
1195 | *------------------------------------------------------------------------- | ||
1196 | * Function: be_rxf_filter_config | ||
1197 | * Configures BladeEngine ethernet receive filter settings. | ||
1198 | * pfob - | ||
1199 | * settings - Pointer to the requested filter settings. | ||
1200 | * The response from BladeEngine will be placed back | ||
1201 | * in this structure. | ||
1202 | * cb - optional | ||
1203 | * cb_context - optional | ||
1204 | * q_ctxt - Optional. Pointer to a previously allocated struct. | ||
1205 | * If the MCC WRB ring is full, this structure is | ||
1206 | * used to queue the operation. It will be posted | ||
1207 | * to the MCC ring when space becomes available. All | ||
1208 | * queued commands will be posted to the ring in | ||
1209 | * the order they are received. It is always valid | ||
1210 | * to pass a pointer to a generic | ||
1211 | * be_generic_q_ctxt. However, the specific | ||
1212 | * context structs are generally smaller than | ||
1213 | * the generic struct. | ||
1214 | * return pend_status - BE_SUCCESS (0) on success. | ||
1215 | * BE_PENDING (postive value) if the FWCMD | ||
1216 | * completion is pending. Negative error code on failure. | ||
1217 | *--------------------------------------------------------------------------- | ||
1218 | */ | ||
1219 | int | ||
1220 | be_rxf_filter_config(struct be_function_object *pfob, | ||
1221 | struct NTWK_RX_FILTER_SETTINGS *settings, | ||
1222 | mcc_wrb_cqe_callback cb, void *cb_context, | ||
1223 | struct be_rxf_filter_q_ctxt *q_ctxt) | ||
1224 | { | ||
1225 | struct FWCMD_COMMON_NTWK_RX_FILTER *fwcmd = NULL; | ||
1226 | struct MCC_WRB_AMAP *wrb = NULL; | ||
1227 | int status = 0; | ||
1228 | struct be_generic_q_ctxt *generic_ctxt = NULL; | ||
1229 | unsigned long irql; | ||
1230 | struct be_mcc_wrb_response_copy rc; | ||
1231 | |||
1232 | ASSERT(settings); | ||
1233 | |||
1234 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
1235 | |||
1236 | wrb = be_function_peek_mcc_wrb(pfob); | ||
1237 | |||
1238 | if (!wrb) { | ||
1239 | if (q_ctxt && cb) { | ||
1240 | wrb = (struct MCC_WRB_AMAP *) &q_ctxt->wrb_header; | ||
1241 | generic_ctxt = (struct be_generic_q_ctxt *) q_ctxt; | ||
1242 | generic_ctxt->context.bytes = sizeof(*q_ctxt); | ||
1243 | } else { | ||
1244 | status = BE_STATUS_NO_MCC_WRB; | ||
1245 | goto Error; | ||
1246 | } | ||
1247 | } | ||
1248 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
1249 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_NTWK_RX_FILTER); | ||
1250 | memcpy(&fwcmd->params.request, settings, sizeof(*settings)); | ||
1251 | |||
1252 | rc.length = FIELD_SIZEOF(struct FWCMD_COMMON_NTWK_RX_FILTER, | ||
1253 | params.response); | ||
1254 | rc.fwcmd_offset = offsetof(struct FWCMD_COMMON_NTWK_RX_FILTER, | ||
1255 | params.response); | ||
1256 | rc.va = settings; | ||
1257 | /* Post or queue the f/w command */ | ||
1258 | status = be_function_post_mcc_wrb(pfob, wrb, generic_ctxt, | ||
1259 | cb, cb_context, NULL, NULL, fwcmd, &rc); | ||
1260 | |||
1261 | if (status < 0) { | ||
1262 | TRACE(DL_ERR, "RXF/ERX filter config fwcmd failed."); | ||
1263 | goto Error; | ||
1264 | } | ||
1265 | |||
1266 | Error: | ||
1267 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
1268 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
1269 | pfob->pend_queue_driving = 0; | ||
1270 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
1271 | } | ||
1272 | return status; | ||
1273 | } | ||
diff --git a/drivers/staging/benet/etx_context.h b/drivers/staging/benet/etx_context.h deleted file mode 100644 index 554fbe5d127b..000000000000 --- a/drivers/staging/benet/etx_context.h +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __etx_context_amap_h__ | ||
21 | #define __etx_context_amap_h__ | ||
22 | |||
23 | /* ETX ring context structure. */ | ||
24 | struct BE_ETX_CONTEXT_AMAP { | ||
25 | u8 tx_cidx[11]; /* DWORD 0 */ | ||
26 | u8 rsvd0[5]; /* DWORD 0 */ | ||
27 | u8 rsvd1[16]; /* DWORD 0 */ | ||
28 | u8 tx_pidx[11]; /* DWORD 1 */ | ||
29 | u8 rsvd2; /* DWORD 1 */ | ||
30 | u8 tx_ring_size[4]; /* DWORD 1 */ | ||
31 | u8 pd_id[5]; /* DWORD 1 */ | ||
32 | u8 pd_id_not_valid; /* DWORD 1 */ | ||
33 | u8 cq_id_send[10]; /* DWORD 1 */ | ||
34 | u8 rsvd3[32]; /* DWORD 2 */ | ||
35 | u8 rsvd4[32]; /* DWORD 3 */ | ||
36 | u8 cur_bytes[32]; /* DWORD 4 */ | ||
37 | u8 max_bytes[32]; /* DWORD 5 */ | ||
38 | u8 time_stamp[32]; /* DWORD 6 */ | ||
39 | u8 rsvd5[11]; /* DWORD 7 */ | ||
40 | u8 func; /* DWORD 7 */ | ||
41 | u8 rsvd6[20]; /* DWORD 7 */ | ||
42 | u8 cur_txd_count[32]; /* DWORD 8 */ | ||
43 | u8 max_txd_count[32]; /* DWORD 9 */ | ||
44 | u8 rsvd7[32]; /* DWORD 10 */ | ||
45 | u8 rsvd8[32]; /* DWORD 11 */ | ||
46 | u8 rsvd9[32]; /* DWORD 12 */ | ||
47 | u8 rsvd10[32]; /* DWORD 13 */ | ||
48 | u8 rsvd11[32]; /* DWORD 14 */ | ||
49 | u8 rsvd12[32]; /* DWORD 15 */ | ||
50 | } __packed; | ||
51 | struct ETX_CONTEXT_AMAP { | ||
52 | u32 dw[16]; | ||
53 | }; | ||
54 | |||
55 | #endif /* __etx_context_amap_h__ */ | ||
diff --git a/drivers/staging/benet/funcobj.c b/drivers/staging/benet/funcobj.c deleted file mode 100644 index 0f57eb58daef..000000000000 --- a/drivers/staging/benet/funcobj.c +++ /dev/null | |||
@@ -1,565 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | #include "hwlib.h" | ||
18 | #include "bestatus.h" | ||
19 | |||
20 | |||
21 | int | ||
22 | be_function_internal_query_firmware_config(struct be_function_object *pfob, | ||
23 | struct BE_FIRMWARE_CONFIG *config) | ||
24 | { | ||
25 | struct FWCMD_COMMON_FIRMWARE_CONFIG *fwcmd = NULL; | ||
26 | struct MCC_WRB_AMAP *wrb = NULL; | ||
27 | int status = 0; | ||
28 | unsigned long irql; | ||
29 | struct be_mcc_wrb_response_copy rc; | ||
30 | |||
31 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
32 | |||
33 | wrb = be_function_peek_mcc_wrb(pfob); | ||
34 | if (!wrb) { | ||
35 | TRACE(DL_ERR, "MCC wrb peek failed."); | ||
36 | status = BE_STATUS_NO_MCC_WRB; | ||
37 | goto error; | ||
38 | } | ||
39 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
40 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_FIRMWARE_CONFIG); | ||
41 | |||
42 | rc.length = FIELD_SIZEOF(struct FWCMD_COMMON_FIRMWARE_CONFIG, | ||
43 | params.response); | ||
44 | rc.fwcmd_offset = offsetof(struct FWCMD_COMMON_FIRMWARE_CONFIG, | ||
45 | params.response); | ||
46 | rc.va = config; | ||
47 | |||
48 | /* Post the f/w command */ | ||
49 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, | ||
50 | NULL, NULL, NULL, fwcmd, &rc); | ||
51 | error: | ||
52 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
53 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
54 | pfob->pend_queue_driving = 0; | ||
55 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
56 | } | ||
57 | return status; | ||
58 | } | ||
59 | |||
60 | /* | ||
61 | This allocates and initializes a function object based on the information | ||
62 | provided by upper layer drivers. | ||
63 | |||
64 | Returns BE_SUCCESS on success and an appropriate int on failure. | ||
65 | |||
66 | A function object represents a single BladeEngine (logical) PCI function. | ||
67 | That is a function object either represents | ||
68 | the networking side of BladeEngine or the iSCSI side of BladeEngine. | ||
69 | |||
70 | This routine will also detect and create an appropriate PD object for the | ||
71 | PCI function as needed. | ||
72 | */ | ||
73 | int | ||
74 | be_function_object_create(u8 __iomem *csr_va, u8 __iomem *db_va, | ||
75 | u8 __iomem *pci_va, u32 function_type, | ||
76 | struct ring_desc *mailbox, struct be_function_object *pfob) | ||
77 | { | ||
78 | int status; | ||
79 | |||
80 | ASSERT(pfob); /* not a magic assert */ | ||
81 | ASSERT(function_type <= 2); | ||
82 | |||
83 | TRACE(DL_INFO, "Create function object. type:%s object:0x%p", | ||
84 | (function_type == BE_FUNCTION_TYPE_ISCSI ? "iSCSI" : | ||
85 | (function_type == BE_FUNCTION_TYPE_NETWORK ? "Network" : | ||
86 | "Arm")), pfob); | ||
87 | |||
88 | memset(pfob, 0, sizeof(*pfob)); | ||
89 | |||
90 | pfob->type = function_type; | ||
91 | pfob->csr_va = csr_va; | ||
92 | pfob->db_va = db_va; | ||
93 | pfob->pci_va = pci_va; | ||
94 | |||
95 | spin_lock_init(&pfob->cq_lock); | ||
96 | spin_lock_init(&pfob->post_lock); | ||
97 | spin_lock_init(&pfob->mcc_context_lock); | ||
98 | |||
99 | |||
100 | pfob->pci_function_number = 1; | ||
101 | |||
102 | |||
103 | pfob->emulate = false; | ||
104 | TRACE(DL_NOTE, "Non-emulation mode"); | ||
105 | status = be_drive_POST(pfob); | ||
106 | if (status != BE_SUCCESS) { | ||
107 | TRACE(DL_ERR, "BladeEngine POST failed."); | ||
108 | goto error; | ||
109 | } | ||
110 | |||
111 | /* Initialize the mailbox */ | ||
112 | status = be_mpu_init_mailbox(pfob, mailbox); | ||
113 | if (status != BE_SUCCESS) { | ||
114 | TRACE(DL_ERR, "Failed to initialize mailbox."); | ||
115 | goto error; | ||
116 | } | ||
117 | /* | ||
118 | * Cache the firmware config for ASSERTs in hwclib and later | ||
119 | * driver queries. | ||
120 | */ | ||
121 | status = be_function_internal_query_firmware_config(pfob, | ||
122 | &pfob->fw_config); | ||
123 | if (status != BE_SUCCESS) { | ||
124 | TRACE(DL_ERR, "Failed to query firmware config."); | ||
125 | goto error; | ||
126 | } | ||
127 | |||
128 | error: | ||
129 | if (status != BE_SUCCESS) { | ||
130 | /* No cleanup necessary */ | ||
131 | TRACE(DL_ERR, "Failed to create function."); | ||
132 | memset(pfob, 0, sizeof(*pfob)); | ||
133 | } | ||
134 | return status; | ||
135 | } | ||
136 | |||
137 | /* | ||
138 | This routine drops the reference count on a given function object. Once | ||
139 | the reference count falls to zero, the function object is destroyed and all | ||
140 | resources held are freed. | ||
141 | |||
142 | FunctionObject - The function object to drop the reference to. | ||
143 | */ | ||
144 | int be_function_object_destroy(struct be_function_object *pfob) | ||
145 | { | ||
146 | TRACE(DL_INFO, "Destroy pfob. Object:0x%p", | ||
147 | pfob); | ||
148 | |||
149 | |||
150 | ASSERT(pfob->mcc == NULL); | ||
151 | |||
152 | return BE_SUCCESS; | ||
153 | } | ||
154 | |||
155 | int be_function_cleanup(struct be_function_object *pfob) | ||
156 | { | ||
157 | int status = 0; | ||
158 | u32 isr; | ||
159 | u32 host_intr; | ||
160 | struct PCICFG_HOST_TIMER_INT_CTRL_CSR_AMAP ctrl; | ||
161 | |||
162 | |||
163 | if (pfob->type == BE_FUNCTION_TYPE_NETWORK) { | ||
164 | status = be_rxf_multicast_config(pfob, false, 0, | ||
165 | NULL, NULL, NULL, NULL); | ||
166 | ASSERT(status == BE_SUCCESS); | ||
167 | } | ||
168 | /* VLAN */ | ||
169 | status = be_rxf_vlan_config(pfob, false, 0, NULL, NULL, NULL, NULL); | ||
170 | ASSERT(status == BE_SUCCESS); | ||
171 | /* | ||
172 | * MCC Queue -- Switches to mailbox mode. May want to destroy | ||
173 | * all but the MCC CQ before this call if polling CQ is much better | ||
174 | * performance than polling mailbox register. | ||
175 | */ | ||
176 | if (pfob->mcc) | ||
177 | status = be_mcc_ring_destroy(pfob->mcc); | ||
178 | /* | ||
179 | * If interrupts are disabled, clear any CEV interrupt assertions that | ||
180 | * fired after we stopped processing EQs. | ||
181 | */ | ||
182 | ctrl.dw[0] = PCICFG1_READ(pfob, host_timer_int_ctrl); | ||
183 | host_intr = AMAP_GET_BITS_PTR(PCICFG_HOST_TIMER_INT_CTRL_CSR, | ||
184 | hostintr, ctrl.dw); | ||
185 | if (!host_intr) | ||
186 | if (pfob->type == BE_FUNCTION_TYPE_NETWORK) | ||
187 | isr = CSR_READ(pfob, cev.isr1); | ||
188 | else | ||
189 | isr = CSR_READ(pfob, cev.isr0); | ||
190 | else | ||
191 | /* This should never happen... */ | ||
192 | TRACE(DL_ERR, "function_cleanup called with interrupt enabled"); | ||
193 | /* Function object destroy */ | ||
194 | status = be_function_object_destroy(pfob); | ||
195 | ASSERT(status == BE_SUCCESS); | ||
196 | |||
197 | return status; | ||
198 | } | ||
199 | |||
200 | |||
201 | void * | ||
202 | be_function_prepare_embedded_fwcmd(struct be_function_object *pfob, | ||
203 | struct MCC_WRB_AMAP *wrb, u32 payld_len, u32 request_length, | ||
204 | u32 response_length, u32 opcode, u32 subsystem) | ||
205 | { | ||
206 | struct FWCMD_REQUEST_HEADER *header = NULL; | ||
207 | u32 n; | ||
208 | |||
209 | ASSERT(wrb); | ||
210 | |||
211 | n = offsetof(struct BE_MCC_WRB_AMAP, payload)/8; | ||
212 | AMAP_SET_BITS_PTR(MCC_WRB, embedded, wrb, 1); | ||
213 | AMAP_SET_BITS_PTR(MCC_WRB, payload_length, wrb, min(payld_len, n)); | ||
214 | header = (struct FWCMD_REQUEST_HEADER *)((u8 *)wrb + n); | ||
215 | |||
216 | header->timeout = 0; | ||
217 | header->domain = 0; | ||
218 | header->request_length = max(request_length, response_length); | ||
219 | header->opcode = opcode; | ||
220 | header->subsystem = subsystem; | ||
221 | |||
222 | return header; | ||
223 | } | ||
224 | |||
225 | void * | ||
226 | be_function_prepare_nonembedded_fwcmd(struct be_function_object *pfob, | ||
227 | struct MCC_WRB_AMAP *wrb, | ||
228 | void *fwcmd_va, u64 fwcmd_pa, | ||
229 | u32 payld_len, | ||
230 | u32 request_length, | ||
231 | u32 response_length, | ||
232 | u32 opcode, u32 subsystem) | ||
233 | { | ||
234 | struct FWCMD_REQUEST_HEADER *header = NULL; | ||
235 | u32 n; | ||
236 | struct MCC_WRB_PAYLOAD_AMAP *plp; | ||
237 | |||
238 | ASSERT(wrb); | ||
239 | ASSERT(fwcmd_va); | ||
240 | |||
241 | header = (struct FWCMD_REQUEST_HEADER *) fwcmd_va; | ||
242 | |||
243 | AMAP_SET_BITS_PTR(MCC_WRB, embedded, wrb, 0); | ||
244 | AMAP_SET_BITS_PTR(MCC_WRB, payload_length, wrb, payld_len); | ||
245 | |||
246 | /* | ||
247 | * Assume one fragment. The caller may override the SGL by | ||
248 | * rewriting the 0th length and adding more entries. They | ||
249 | * will also need to update the sge_count. | ||
250 | */ | ||
251 | AMAP_SET_BITS_PTR(MCC_WRB, sge_count, wrb, 1); | ||
252 | |||
253 | n = offsetof(struct BE_MCC_WRB_AMAP, payload)/8; | ||
254 | plp = (struct MCC_WRB_PAYLOAD_AMAP *)((u8 *)wrb + n); | ||
255 | AMAP_SET_BITS_PTR(MCC_WRB_PAYLOAD, sgl[0].length, plp, payld_len); | ||
256 | AMAP_SET_BITS_PTR(MCC_WRB_PAYLOAD, sgl[0].pa_lo, plp, (u32)fwcmd_pa); | ||
257 | AMAP_SET_BITS_PTR(MCC_WRB_PAYLOAD, sgl[0].pa_hi, plp, | ||
258 | upper_32_bits(fwcmd_pa)); | ||
259 | |||
260 | header->timeout = 0; | ||
261 | header->domain = 0; | ||
262 | header->request_length = max(request_length, response_length); | ||
263 | header->opcode = opcode; | ||
264 | header->subsystem = subsystem; | ||
265 | |||
266 | return header; | ||
267 | } | ||
268 | |||
269 | struct MCC_WRB_AMAP * | ||
270 | be_function_peek_mcc_wrb(struct be_function_object *pfob) | ||
271 | { | ||
272 | struct MCC_WRB_AMAP *wrb = NULL; | ||
273 | u32 offset; | ||
274 | |||
275 | if (pfob->mcc) | ||
276 | wrb = _be_mpu_peek_ring_wrb(pfob->mcc, false); | ||
277 | else { | ||
278 | offset = offsetof(struct BE_MCC_MAILBOX_AMAP, wrb)/8; | ||
279 | wrb = (struct MCC_WRB_AMAP *) ((u8 *) pfob->mailbox.va + | ||
280 | offset); | ||
281 | } | ||
282 | |||
283 | if (wrb) | ||
284 | memset(wrb, 0, sizeof(struct MCC_WRB_AMAP)); | ||
285 | |||
286 | return wrb; | ||
287 | } | ||
288 | |||
289 | #if defined(BE_DEBUG) | ||
290 | void be_function_debug_print_wrb(struct be_function_object *pfob, | ||
291 | struct MCC_WRB_AMAP *wrb, void *optional_fwcmd_va, | ||
292 | struct be_mcc_wrb_context *wrb_context) | ||
293 | { | ||
294 | |||
295 | struct FWCMD_REQUEST_HEADER *header = NULL; | ||
296 | u8 embedded; | ||
297 | u32 n; | ||
298 | |||
299 | embedded = AMAP_GET_BITS_PTR(MCC_WRB, embedded, wrb); | ||
300 | |||
301 | if (embedded) { | ||
302 | n = offsetof(struct BE_MCC_WRB_AMAP, payload)/8; | ||
303 | header = (struct FWCMD_REQUEST_HEADER *)((u8 *)wrb + n); | ||
304 | } else { | ||
305 | header = (struct FWCMD_REQUEST_HEADER *) optional_fwcmd_va; | ||
306 | } | ||
307 | |||
308 | /* Save the completed count before posting for a debug assert. */ | ||
309 | |||
310 | if (header) { | ||
311 | wrb_context->opcode = header->opcode; | ||
312 | wrb_context->subsystem = header->subsystem; | ||
313 | |||
314 | } else { | ||
315 | wrb_context->opcode = 0; | ||
316 | wrb_context->subsystem = 0; | ||
317 | } | ||
318 | } | ||
319 | #else | ||
320 | #define be_function_debug_print_wrb(a_, b_, c_, d_) | ||
321 | #endif | ||
322 | |||
323 | int | ||
324 | be_function_post_mcc_wrb(struct be_function_object *pfob, | ||
325 | struct MCC_WRB_AMAP *wrb, | ||
326 | struct be_generic_q_ctxt *q_ctxt, | ||
327 | mcc_wrb_cqe_callback cb, void *cb_context, | ||
328 | mcc_wrb_cqe_callback internal_cb, | ||
329 | void *internal_cb_context, void *optional_fwcmd_va, | ||
330 | struct be_mcc_wrb_response_copy *rc) | ||
331 | { | ||
332 | int status; | ||
333 | struct be_mcc_wrb_context *wrb_context = NULL; | ||
334 | u64 *p; | ||
335 | |||
336 | if (q_ctxt) { | ||
337 | /* Initialize context. */ | ||
338 | q_ctxt->context.internal_cb = internal_cb; | ||
339 | q_ctxt->context.internal_cb_context = internal_cb_context; | ||
340 | q_ctxt->context.cb = cb; | ||
341 | q_ctxt->context.cb_context = cb_context; | ||
342 | if (rc) { | ||
343 | q_ctxt->context.copy.length = rc->length; | ||
344 | q_ctxt->context.copy.fwcmd_offset = rc->fwcmd_offset; | ||
345 | q_ctxt->context.copy.va = rc->va; | ||
346 | } else | ||
347 | q_ctxt->context.copy.length = 0; | ||
348 | |||
349 | q_ctxt->context.optional_fwcmd_va = optional_fwcmd_va; | ||
350 | |||
351 | /* Queue this request */ | ||
352 | status = be_function_queue_mcc_wrb(pfob, q_ctxt); | ||
353 | |||
354 | goto Error; | ||
355 | } | ||
356 | /* | ||
357 | * Allocate a WRB context struct to hold the callback pointers, | ||
358 | * status, etc. This is required if commands complete out of order. | ||
359 | */ | ||
360 | wrb_context = _be_mcc_allocate_wrb_context(pfob); | ||
361 | if (!wrb_context) { | ||
362 | TRACE(DL_WARN, "Failed to allocate MCC WRB context."); | ||
363 | status = BE_STATUS_SYSTEM_RESOURCES; | ||
364 | goto Error; | ||
365 | } | ||
366 | /* Initialize context. */ | ||
367 | memset(wrb_context, 0, sizeof(*wrb_context)); | ||
368 | wrb_context->internal_cb = internal_cb; | ||
369 | wrb_context->internal_cb_context = internal_cb_context; | ||
370 | wrb_context->cb = cb; | ||
371 | wrb_context->cb_context = cb_context; | ||
372 | if (rc) { | ||
373 | wrb_context->copy.length = rc->length; | ||
374 | wrb_context->copy.fwcmd_offset = rc->fwcmd_offset; | ||
375 | wrb_context->copy.va = rc->va; | ||
376 | } else | ||
377 | wrb_context->copy.length = 0; | ||
378 | wrb_context->wrb = wrb; | ||
379 | |||
380 | /* | ||
381 | * Copy the context pointer into the WRB opaque tag field. | ||
382 | * Verify assumption of 64-bit tag with a compile time assert. | ||
383 | */ | ||
384 | p = (u64 *) ((u8 *)wrb + offsetof(struct BE_MCC_WRB_AMAP, tag)/8); | ||
385 | *p = (u64)(size_t)wrb_context; | ||
386 | |||
387 | /* Print info about this FWCMD for debug builds. */ | ||
388 | be_function_debug_print_wrb(pfob, wrb, optional_fwcmd_va, wrb_context); | ||
389 | |||
390 | /* | ||
391 | * issue the WRB to the MPU as appropriate | ||
392 | */ | ||
393 | if (pfob->mcc) { | ||
394 | /* | ||
395 | * we're in WRB mode, pass to the mcc layer | ||
396 | */ | ||
397 | status = _be_mpu_post_wrb_ring(pfob->mcc, wrb, wrb_context); | ||
398 | } else { | ||
399 | /* | ||
400 | * we're in mailbox mode | ||
401 | */ | ||
402 | status = _be_mpu_post_wrb_mailbox(pfob, wrb, wrb_context); | ||
403 | |||
404 | /* mailbox mode always completes synchronously */ | ||
405 | ASSERT(status != BE_STATUS_PENDING); | ||
406 | } | ||
407 | |||
408 | Error: | ||
409 | |||
410 | return status; | ||
411 | } | ||
412 | |||
413 | int | ||
414 | be_function_ring_destroy(struct be_function_object *pfob, | ||
415 | u32 id, u32 ring_type, mcc_wrb_cqe_callback cb, | ||
416 | void *cb_context, mcc_wrb_cqe_callback internal_cb, | ||
417 | void *internal_cb_context) | ||
418 | { | ||
419 | |||
420 | struct FWCMD_COMMON_RING_DESTROY *fwcmd = NULL; | ||
421 | struct MCC_WRB_AMAP *wrb = NULL; | ||
422 | int status = 0; | ||
423 | unsigned long irql; | ||
424 | |||
425 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
426 | |||
427 | TRACE(DL_INFO, "Destroy ring id:%d type:%d", id, ring_type); | ||
428 | |||
429 | wrb = be_function_peek_mcc_wrb(pfob); | ||
430 | if (!wrb) { | ||
431 | ASSERT(wrb); | ||
432 | TRACE(DL_ERR, "No free MCC WRBs in destroy ring."); | ||
433 | status = BE_STATUS_NO_MCC_WRB; | ||
434 | goto Error; | ||
435 | } | ||
436 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
437 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_RING_DESTROY); | ||
438 | |||
439 | fwcmd->params.request.id = id; | ||
440 | fwcmd->params.request.ring_type = ring_type; | ||
441 | |||
442 | /* Post the f/w command */ | ||
443 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, cb, cb_context, | ||
444 | internal_cb, internal_cb_context, fwcmd, NULL); | ||
445 | if (status != BE_SUCCESS && status != BE_PENDING) { | ||
446 | TRACE(DL_ERR, "Ring destroy fwcmd failed. id:%d ring_type:%d", | ||
447 | id, ring_type); | ||
448 | goto Error; | ||
449 | } | ||
450 | |||
451 | Error: | ||
452 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
453 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
454 | pfob->pend_queue_driving = 0; | ||
455 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
456 | } | ||
457 | return status; | ||
458 | } | ||
459 | |||
460 | void | ||
461 | be_rd_to_pa_list(struct ring_desc *rd, struct PHYS_ADDR *pa_list, u32 max_num) | ||
462 | { | ||
463 | u32 num_pages = PAGES_SPANNED(rd->va, rd->length); | ||
464 | u32 i = 0; | ||
465 | u64 pa = rd->pa; | ||
466 | __le64 lepa; | ||
467 | |||
468 | ASSERT(pa_list); | ||
469 | ASSERT(pa); | ||
470 | |||
471 | for (i = 0; i < min(num_pages, max_num); i++) { | ||
472 | lepa = cpu_to_le64(pa); | ||
473 | pa_list[i].lo = (u32)lepa; | ||
474 | pa_list[i].hi = upper_32_bits(lepa); | ||
475 | pa += PAGE_SIZE; | ||
476 | } | ||
477 | } | ||
478 | |||
479 | |||
480 | |||
481 | /*----------------------------------------------------------------------------- | ||
482 | * Function: be_function_get_fw_version | ||
483 | * Retrieves the firmware version on the adpater. If the callback is | ||
484 | * NULL this call executes synchronously. If the callback is not NULL, | ||
485 | * the returned status will be BE_PENDING if the command was issued | ||
486 | * successfully. | ||
487 | * pfob - | ||
488 | * fwv - Pointer to response buffer if callback is NULL. | ||
489 | * cb - Callback function invoked when the FWCMD completes. | ||
490 | * cb_context - Passed to the callback function. | ||
491 | * return pend_status - BE_SUCCESS (0) on success. | ||
492 | * BE_PENDING (postive value) if the FWCMD | ||
493 | * completion is pending. Negative error code on failure. | ||
494 | *--------------------------------------------------------------------------- | ||
495 | */ | ||
496 | int | ||
497 | be_function_get_fw_version(struct be_function_object *pfob, | ||
498 | struct FWCMD_COMMON_GET_FW_VERSION_RESPONSE_PAYLOAD *fwv, | ||
499 | mcc_wrb_cqe_callback cb, void *cb_context) | ||
500 | { | ||
501 | int status = BE_SUCCESS; | ||
502 | struct MCC_WRB_AMAP *wrb = NULL; | ||
503 | struct FWCMD_COMMON_GET_FW_VERSION *fwcmd = NULL; | ||
504 | unsigned long irql; | ||
505 | struct be_mcc_wrb_response_copy rc; | ||
506 | |||
507 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
508 | |||
509 | wrb = be_function_peek_mcc_wrb(pfob); | ||
510 | if (!wrb) { | ||
511 | TRACE(DL_ERR, "MCC wrb peek failed."); | ||
512 | status = BE_STATUS_NO_MCC_WRB; | ||
513 | goto Error; | ||
514 | } | ||
515 | |||
516 | if (!cb && !fwv) { | ||
517 | TRACE(DL_ERR, "callback and response buffer NULL!"); | ||
518 | status = BE_NOT_OK; | ||
519 | goto Error; | ||
520 | } | ||
521 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
522 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_GET_FW_VERSION); | ||
523 | |||
524 | rc.length = FIELD_SIZEOF(struct FWCMD_COMMON_GET_FW_VERSION, | ||
525 | params.response); | ||
526 | rc.fwcmd_offset = offsetof(struct FWCMD_COMMON_GET_FW_VERSION, | ||
527 | params.response); | ||
528 | rc.va = fwv; | ||
529 | |||
530 | /* Post the f/w command */ | ||
531 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, cb, | ||
532 | cb_context, NULL, NULL, fwcmd, &rc); | ||
533 | |||
534 | Error: | ||
535 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
536 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
537 | pfob->pend_queue_driving = 0; | ||
538 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
539 | } | ||
540 | return status; | ||
541 | } | ||
542 | |||
543 | int | ||
544 | be_function_queue_mcc_wrb(struct be_function_object *pfob, | ||
545 | struct be_generic_q_ctxt *q_ctxt) | ||
546 | { | ||
547 | int status; | ||
548 | |||
549 | ASSERT(q_ctxt); | ||
550 | |||
551 | /* | ||
552 | * issue the WRB to the MPU as appropriate | ||
553 | */ | ||
554 | if (pfob->mcc) { | ||
555 | |||
556 | /* We're in ring mode. Queue this item. */ | ||
557 | pfob->mcc->backlog_length++; | ||
558 | list_add_tail(&q_ctxt->context.list, &pfob->mcc->backlog); | ||
559 | status = BE_PENDING; | ||
560 | } else { | ||
561 | status = BE_NOT_OK; | ||
562 | } | ||
563 | return status; | ||
564 | } | ||
565 | |||
diff --git a/drivers/staging/benet/fwcmd_common.h b/drivers/staging/benet/fwcmd_common.h deleted file mode 100644 index 406e0d6fa985..000000000000 --- a/drivers/staging/benet/fwcmd_common.h +++ /dev/null | |||
@@ -1,222 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __fwcmd_common_amap_h__ | ||
21 | #define __fwcmd_common_amap_h__ | ||
22 | #include "host_struct.h" | ||
23 | |||
24 | /* --- PHY_LINK_DUPLEX_ENUM --- */ | ||
25 | #define PHY_LINK_DUPLEX_NONE (0) | ||
26 | #define PHY_LINK_DUPLEX_HALF (1) | ||
27 | #define PHY_LINK_DUPLEX_FULL (2) | ||
28 | |||
29 | /* --- PHY_LINK_SPEED_ENUM --- */ | ||
30 | #define PHY_LINK_SPEED_ZERO (0) /* No link. */ | ||
31 | #define PHY_LINK_SPEED_10MBPS (1) /* 10 Mbps */ | ||
32 | #define PHY_LINK_SPEED_100MBPS (2) /* 100 Mbps */ | ||
33 | #define PHY_LINK_SPEED_1GBPS (3) /* 1 Gbps */ | ||
34 | #define PHY_LINK_SPEED_10GBPS (4) /* 10 Gbps */ | ||
35 | |||
36 | /* --- PHY_LINK_FAULT_ENUM --- */ | ||
37 | #define PHY_LINK_FAULT_NONE (0) /* No fault status | ||
38 | available or detected */ | ||
39 | #define PHY_LINK_FAULT_LOCAL (1) /* Local fault detected */ | ||
40 | #define PHY_LINK_FAULT_REMOTE (2) /* Remote fault detected */ | ||
41 | |||
42 | /* --- BE_ULP_MASK --- */ | ||
43 | #define BE_ULP0_MASK (1) | ||
44 | #define BE_ULP1_MASK (2) | ||
45 | #define BE_ULP2_MASK (4) | ||
46 | |||
47 | /* --- NTWK_ACTIVE_PORT --- */ | ||
48 | #define NTWK_PORT_A (0) /* Port A is currently active */ | ||
49 | #define NTWK_PORT_B (1) /* Port B is currently active */ | ||
50 | #define NTWK_NO_ACTIVE_PORT (15) /* Both ports have lost link */ | ||
51 | |||
52 | /* --- NTWK_LINK_TYPE --- */ | ||
53 | #define NTWK_LINK_TYPE_PHYSICAL (0) /* link up/down event | ||
54 | applies to BladeEngine's | ||
55 | Physical Ports | ||
56 | */ | ||
57 | #define NTWK_LINK_TYPE_VIRTUAL (1) /* Virtual link up/down event | ||
58 | reported by BladeExchange. | ||
59 | This applies only when the | ||
60 | VLD feature is enabled | ||
61 | */ | ||
62 | |||
63 | /* | ||
64 | * --- FWCMD_MAC_TYPE_ENUM --- | ||
65 | * This enum defines the types of MAC addresses in the RXF MAC Address Table. | ||
66 | */ | ||
67 | #define MAC_ADDRESS_TYPE_STORAGE (0) /* Storage MAC Address */ | ||
68 | #define MAC_ADDRESS_TYPE_NETWORK (1) /* Network MAC Address */ | ||
69 | #define MAC_ADDRESS_TYPE_PD (2) /* Protection Domain MAC Addr */ | ||
70 | #define MAC_ADDRESS_TYPE_MANAGEMENT (3) /* Managment MAC Address */ | ||
71 | |||
72 | |||
73 | /* --- FWCMD_RING_TYPE_ENUM --- */ | ||
74 | #define FWCMD_RING_TYPE_ETH_RX (1) /* Ring created with */ | ||
75 | /* FWCMD_COMMON_ETH_RX_CREATE. */ | ||
76 | #define FWCMD_RING_TYPE_ETH_TX (2) /* Ring created with */ | ||
77 | /* FWCMD_COMMON_ETH_TX_CREATE. */ | ||
78 | #define FWCMD_RING_TYPE_ISCSI_WRBQ (3) /* Ring created with */ | ||
79 | /* FWCMD_COMMON_ISCSI_WRBQ_CREATE. */ | ||
80 | #define FWCMD_RING_TYPE_ISCSI_DEFQ (4) /* Ring created with */ | ||
81 | /* FWCMD_COMMON_ISCSI_DEFQ_CREATE. */ | ||
82 | #define FWCMD_RING_TYPE_TPM_WRBQ (5) /* Ring created with */ | ||
83 | /* FWCMD_COMMON_TPM_WRBQ_CREATE. */ | ||
84 | #define FWCMD_RING_TYPE_TPM_DEFQ (6) /* Ring created with */ | ||
85 | /* FWCMD_COMMONTPM_TDEFQ_CREATE. */ | ||
86 | #define FWCMD_RING_TYPE_TPM_RQ (7) /* Ring created with */ | ||
87 | /* FWCMD_COMMON_TPM_RQ_CREATE. */ | ||
88 | #define FWCMD_RING_TYPE_MCC (8) /* Ring created with */ | ||
89 | /* FWCMD_COMMON_MCC_CREATE. */ | ||
90 | #define FWCMD_RING_TYPE_CQ (9) /* Ring created with */ | ||
91 | /* FWCMD_COMMON_CQ_CREATE. */ | ||
92 | #define FWCMD_RING_TYPE_EQ (10) /* Ring created with */ | ||
93 | /* FWCMD_COMMON_EQ_CREATE. */ | ||
94 | #define FWCMD_RING_TYPE_QP (11) /* Ring created with */ | ||
95 | /* FWCMD_RDMA_QP_CREATE. */ | ||
96 | |||
97 | |||
98 | /* --- ETH_TX_RING_TYPE_ENUM --- */ | ||
99 | #define ETH_TX_RING_TYPE_FORWARDING (1) /* Ethernet ring for | ||
100 | forwarding packets */ | ||
101 | #define ETH_TX_RING_TYPE_STANDARD (2) /* Ethernet ring for sending | ||
102 | network packets. */ | ||
103 | #define ETH_TX_RING_TYPE_BOUND (3) /* Ethernet ring bound to the | ||
104 | port specified in the command | ||
105 | header.port_number field. | ||
106 | Rings of this type are | ||
107 | NOT subject to the | ||
108 | failover logic implemented | ||
109 | in the BladeEngine. | ||
110 | */ | ||
111 | |||
112 | /* --- FWCMD_COMMON_QOS_TYPE_ENUM --- */ | ||
113 | #define QOS_BITS_NIC (1) /* max_bits_per_second_NIC */ | ||
114 | /* field is valid. */ | ||
115 | #define QOS_PKTS_NIC (2) /* max_packets_per_second_NIC */ | ||
116 | /* field is valid. */ | ||
117 | #define QOS_IOPS_ISCSI (4) /* max_ios_per_second_iSCSI */ | ||
118 | /*field is valid. */ | ||
119 | #define QOS_VLAN_TAG (8) /* domain_VLAN_tag field | ||
120 | is valid. */ | ||
121 | #define QOS_FABRIC_ID (16) /* fabric_domain_ID field | ||
122 | is valid. */ | ||
123 | #define QOS_OEM_PARAMS (32) /* qos_params_oem field | ||
124 | is valid. */ | ||
125 | #define QOS_TPUT_ISCSI (64) /* max_bytes_per_second_iSCSI | ||
126 | field is valid. */ | ||
127 | |||
128 | |||
129 | /* | ||
130 | * --- FAILOVER_CONFIG_ENUM --- | ||
131 | * Failover configuration setting used in FWCMD_COMMON_FORCE_FAILOVER | ||
132 | */ | ||
133 | #define FAILOVER_CONFIG_NO_CHANGE (0) /* No change to automatic */ | ||
134 | /* port failover setting. */ | ||
135 | #define FAILOVER_CONFIG_ON (1) /* Automatic port failover | ||
136 | on link down is enabled. */ | ||
137 | #define FAILOVER_CONFIG_OFF (2) /* Automatic port failover | ||
138 | on link down is disabled. */ | ||
139 | |||
140 | /* | ||
141 | * --- FAILOVER_PORT_ENUM --- | ||
142 | * Failover port setting used in FWCMD_COMMON_FORCE_FAILOVER | ||
143 | */ | ||
144 | #define FAILOVER_PORT_A (0) /* Selects port A. */ | ||
145 | #define FAILOVER_PORT_B (1) /* Selects port B. */ | ||
146 | #define FAILOVER_PORT_NONE (15) /* No port change requested. */ | ||
147 | |||
148 | |||
149 | /* | ||
150 | * --- MGMT_FLASHROM_OPCODE --- | ||
151 | * Flash ROM operation code | ||
152 | */ | ||
153 | #define MGMT_FLASHROM_OPCODE_FLASH (1) /* Commit downloaded data | ||
154 | to Flash ROM */ | ||
155 | #define MGMT_FLASHROM_OPCODE_SAVE (2) /* Save downloaded data to | ||
156 | ARM's DDR - do not flash */ | ||
157 | #define MGMT_FLASHROM_OPCODE_CLEAR (3) /* Erase specified component | ||
158 | from FlashROM */ | ||
159 | #define MGMT_FLASHROM_OPCODE_REPORT (4) /* Read specified component | ||
160 | from Flash ROM */ | ||
161 | #define MGMT_FLASHROM_OPCODE_IMAGE_INFO (5) /* Returns size of a | ||
162 | component */ | ||
163 | |||
164 | /* | ||
165 | * --- MGMT_FLASHROM_OPTYPE --- | ||
166 | * Flash ROM operation type | ||
167 | */ | ||
168 | #define MGMT_FLASHROM_OPTYPE_CODE_FIRMWARE (0) /* Includes ARM firmware, | ||
169 | IPSec (optional) and EP | ||
170 | firmware */ | ||
171 | #define MGMT_FLASHROM_OPTYPE_CODE_REDBOOT (1) | ||
172 | #define MGMT_FLASHROM_OPTYPE_CODE_BIOS (2) | ||
173 | #define MGMT_FLASHROM_OPTYPE_CODE_PXE_BIOS (3) | ||
174 | #define MGMT_FLASHROM_OPTYPE_CODE_CTRLS (4) | ||
175 | #define MGMT_FLASHROM_OPTYPE_CFG_IPSEC (5) | ||
176 | #define MGMT_FLASHROM_OPTYPE_CFG_INI (6) | ||
177 | #define MGMT_FLASHROM_OPTYPE_ROM_OFFSET_SPECIFIED (7) | ||
178 | |||
179 | /* | ||
180 | * --- FLASHROM_TYPE --- | ||
181 | * Flash ROM manufacturers supported in the f/w | ||
182 | */ | ||
183 | #define INTEL (0) | ||
184 | #define SPANSION (1) | ||
185 | #define MICRON (2) | ||
186 | |||
187 | /* --- DDR_CAS_TYPE --- */ | ||
188 | #define CAS_3 (0) | ||
189 | #define CAS_4 (1) | ||
190 | #define CAS_5 (2) | ||
191 | |||
192 | /* --- DDR_SIZE_TYPE --- */ | ||
193 | #define SIZE_256MB (0) | ||
194 | #define SIZE_512MB (1) | ||
195 | |||
196 | /* --- DDR_MODE_TYPE --- */ | ||
197 | #define DDR_NO_ECC (0) | ||
198 | #define DDR_ECC (1) | ||
199 | |||
200 | /* --- INTERFACE_10GB_TYPE --- */ | ||
201 | #define CX4_TYPE (0) | ||
202 | #define XFP_TYPE (1) | ||
203 | |||
204 | /* --- BE_CHIP_MAX_MTU --- */ | ||
205 | #define CHIP_MAX_MTU (9000) | ||
206 | |||
207 | /* --- XAUI_STATE_ENUM --- */ | ||
208 | #define XAUI_STATE_ENABLE (0) /* This MUST be the default | ||
209 | value for all requests | ||
210 | which set/change | ||
211 | equalization parameter. */ | ||
212 | #define XAUI_STATE_DISABLE (255) /* The XAUI for both ports | ||
213 | may be disabled for EMI | ||
214 | tests. There is no | ||
215 | provision for turning off | ||
216 | individual ports. | ||
217 | */ | ||
218 | /* --- BE_ASIC_REVISION --- */ | ||
219 | #define BE_ASIC_REV_A0 (1) | ||
220 | #define BE_ASIC_REV_A1 (2) | ||
221 | |||
222 | #endif /* __fwcmd_common_amap_h__ */ | ||
diff --git a/drivers/staging/benet/fwcmd_common_bmap.h b/drivers/staging/benet/fwcmd_common_bmap.h deleted file mode 100644 index a007cf276500..000000000000 --- a/drivers/staging/benet/fwcmd_common_bmap.h +++ /dev/null | |||
@@ -1,717 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __fwcmd_common_bmap_h__ | ||
21 | #define __fwcmd_common_bmap_h__ | ||
22 | #include "fwcmd_types_bmap.h" | ||
23 | #include "fwcmd_hdr_bmap.h" | ||
24 | |||
25 | #if defined(__BIG_ENDIAN) | ||
26 | /* Physical Address. */ | ||
27 | struct PHYS_ADDR { | ||
28 | union { | ||
29 | struct { | ||
30 | u32 lo; /* DWORD 0 */ | ||
31 | u32 hi; /* DWORD 1 */ | ||
32 | } __packed; /* unnamed struct */ | ||
33 | u32 dw[2]; /* dword union */ | ||
34 | }; /* unnamed union */ | ||
35 | } __packed ; | ||
36 | |||
37 | |||
38 | #else | ||
39 | /* Physical Address. */ | ||
40 | struct PHYS_ADDR { | ||
41 | union { | ||
42 | struct { | ||
43 | u32 lo; /* DWORD 0 */ | ||
44 | u32 hi; /* DWORD 1 */ | ||
45 | } __packed; /* unnamed struct */ | ||
46 | u32 dw[2]; /* dword union */ | ||
47 | }; /* unnamed union */ | ||
48 | } __packed ; | ||
49 | |||
50 | struct BE_LINK_STATUS { | ||
51 | u8 mac0_duplex; | ||
52 | u8 mac0_speed; | ||
53 | u8 mac1_duplex; | ||
54 | u8 mac1_speed; | ||
55 | u8 mgmt_mac_duplex; | ||
56 | u8 mgmt_mac_speed; | ||
57 | u8 active_port; | ||
58 | u8 rsvd0; | ||
59 | u8 mac0_fault; | ||
60 | u8 mac1_fault; | ||
61 | u16 rsvd1; | ||
62 | } __packed; | ||
63 | #endif | ||
64 | |||
65 | struct FWCMD_COMMON_ANON_170_REQUEST { | ||
66 | u32 rsvd0; | ||
67 | } __packed; | ||
68 | |||
69 | union LINK_STATUS_QUERY_PARAMS { | ||
70 | struct BE_LINK_STATUS response; | ||
71 | struct FWCMD_COMMON_ANON_170_REQUEST request; | ||
72 | } __packed; | ||
73 | |||
74 | /* | ||
75 | * Queries the the link status for all ports. The valid values below | ||
76 | * DO NOT indicate that a particular duplex or speed is supported by | ||
77 | * BladeEngine. These enumerations simply list all possible duplexes | ||
78 | * and speeds for any port. Consult BladeEngine product documentation | ||
79 | * for the supported parameters. | ||
80 | */ | ||
81 | struct FWCMD_COMMON_NTWK_LINK_STATUS_QUERY { | ||
82 | union FWCMD_HEADER header; | ||
83 | union LINK_STATUS_QUERY_PARAMS params; | ||
84 | } __packed; | ||
85 | |||
86 | struct FWCMD_COMMON_ANON_171_REQUEST { | ||
87 | u8 type; | ||
88 | u8 port; | ||
89 | u8 mac1; | ||
90 | u8 permanent; | ||
91 | } __packed; | ||
92 | |||
93 | struct FWCMD_COMMON_ANON_172_RESPONSE { | ||
94 | struct MAC_ADDRESS_FORMAT mac; | ||
95 | } __packed; | ||
96 | |||
97 | union NTWK_MAC_QUERY_PARAMS { | ||
98 | struct FWCMD_COMMON_ANON_171_REQUEST request; | ||
99 | struct FWCMD_COMMON_ANON_172_RESPONSE response; | ||
100 | } __packed; | ||
101 | |||
102 | /* Queries one MAC address. */ | ||
103 | struct FWCMD_COMMON_NTWK_MAC_QUERY { | ||
104 | union FWCMD_HEADER header; | ||
105 | union NTWK_MAC_QUERY_PARAMS params; | ||
106 | } __packed; | ||
107 | |||
108 | struct MAC_SET_PARAMS_IN { | ||
109 | u8 type; | ||
110 | u8 port; | ||
111 | u8 mac1; | ||
112 | u8 invalidate; | ||
113 | struct MAC_ADDRESS_FORMAT mac; | ||
114 | } __packed; | ||
115 | |||
116 | struct MAC_SET_PARAMS_OUT { | ||
117 | u32 rsvd0; | ||
118 | } __packed; | ||
119 | |||
120 | union MAC_SET_PARAMS { | ||
121 | struct MAC_SET_PARAMS_IN request; | ||
122 | struct MAC_SET_PARAMS_OUT response; | ||
123 | } __packed; | ||
124 | |||
125 | /* Sets a MAC address. */ | ||
126 | struct FWCMD_COMMON_NTWK_MAC_SET { | ||
127 | union FWCMD_HEADER header; | ||
128 | union MAC_SET_PARAMS params; | ||
129 | } __packed; | ||
130 | |||
131 | /* MAC address list. */ | ||
132 | struct NTWK_MULTICAST_MAC_LIST { | ||
133 | u8 byte[6]; | ||
134 | } __packed; | ||
135 | |||
136 | struct FWCMD_COMMON_NTWK_MULTICAST_SET_REQUEST_PAYLOAD { | ||
137 | u16 num_mac; | ||
138 | u8 promiscuous; | ||
139 | u8 rsvd0; | ||
140 | struct NTWK_MULTICAST_MAC_LIST mac[32]; | ||
141 | } __packed; | ||
142 | |||
143 | struct FWCMD_COMMON_ANON_174_RESPONSE { | ||
144 | u32 rsvd0; | ||
145 | } __packed; | ||
146 | |||
147 | union FWCMD_COMMON_ANON_173_PARAMS { | ||
148 | struct FWCMD_COMMON_NTWK_MULTICAST_SET_REQUEST_PAYLOAD request; | ||
149 | struct FWCMD_COMMON_ANON_174_RESPONSE response; | ||
150 | } __packed; | ||
151 | |||
152 | /* | ||
153 | * Sets multicast address hash. The MPU will merge the MAC address lists | ||
154 | * from all clients, including the networking and storage functions. | ||
155 | * This command may fail if the final merged list of MAC addresses exceeds | ||
156 | * 32 entries. | ||
157 | */ | ||
158 | struct FWCMD_COMMON_NTWK_MULTICAST_SET { | ||
159 | union FWCMD_HEADER header; | ||
160 | union FWCMD_COMMON_ANON_173_PARAMS params; | ||
161 | } __packed; | ||
162 | |||
163 | struct FWCMD_COMMON_NTWK_VLAN_CONFIG_REQUEST_PAYLOAD { | ||
164 | u16 num_vlan; | ||
165 | u8 promiscuous; | ||
166 | u8 rsvd0; | ||
167 | u16 vlan_tag[32]; | ||
168 | } __packed; | ||
169 | |||
170 | struct FWCMD_COMMON_ANON_176_RESPONSE { | ||
171 | u32 rsvd0; | ||
172 | } __packed; | ||
173 | |||
174 | union FWCMD_COMMON_ANON_175_PARAMS { | ||
175 | struct FWCMD_COMMON_NTWK_VLAN_CONFIG_REQUEST_PAYLOAD request; | ||
176 | struct FWCMD_COMMON_ANON_176_RESPONSE response; | ||
177 | } __packed; | ||
178 | |||
179 | /* | ||
180 | * Sets VLAN tag filter. The MPU will merge the VLAN tag list from all | ||
181 | * clients, including the networking and storage functions. This command | ||
182 | * may fail if the final vlan_tag array (from all functions) is longer | ||
183 | * than 32 entries. | ||
184 | */ | ||
185 | struct FWCMD_COMMON_NTWK_VLAN_CONFIG { | ||
186 | union FWCMD_HEADER header; | ||
187 | union FWCMD_COMMON_ANON_175_PARAMS params; | ||
188 | } __packed; | ||
189 | |||
190 | struct RING_DESTROY_REQUEST { | ||
191 | u16 ring_type; | ||
192 | u16 id; | ||
193 | u8 bypass_flush; | ||
194 | u8 rsvd0; | ||
195 | u16 rsvd1; | ||
196 | } __packed; | ||
197 | |||
198 | struct FWCMD_COMMON_ANON_190_RESPONSE { | ||
199 | u32 rsvd0; | ||
200 | } __packed; | ||
201 | |||
202 | union FWCMD_COMMON_ANON_189_PARAMS { | ||
203 | struct RING_DESTROY_REQUEST request; | ||
204 | struct FWCMD_COMMON_ANON_190_RESPONSE response; | ||
205 | } __packed; | ||
206 | /* | ||
207 | * Command for destroying any ring. The connection(s) using the ring should | ||
208 | * be quiesced before destroying the ring. | ||
209 | */ | ||
210 | struct FWCMD_COMMON_RING_DESTROY { | ||
211 | union FWCMD_HEADER header; | ||
212 | union FWCMD_COMMON_ANON_189_PARAMS params; | ||
213 | } __packed; | ||
214 | |||
215 | struct FWCMD_COMMON_ANON_192_REQUEST { | ||
216 | u16 num_pages; | ||
217 | u16 rsvd0; | ||
218 | struct CQ_CONTEXT_AMAP context; | ||
219 | struct PHYS_ADDR pages[4]; | ||
220 | } __packed ; | ||
221 | |||
222 | struct FWCMD_COMMON_ANON_193_RESPONSE { | ||
223 | u16 cq_id; | ||
224 | } __packed ; | ||
225 | |||
226 | union FWCMD_COMMON_ANON_191_PARAMS { | ||
227 | struct FWCMD_COMMON_ANON_192_REQUEST request; | ||
228 | struct FWCMD_COMMON_ANON_193_RESPONSE response; | ||
229 | } __packed ; | ||
230 | |||
231 | /* | ||
232 | * Command for creating a completion queue. A Completion Queue must span | ||
233 | * at least 1 page and at most 4 pages. Each completion queue entry | ||
234 | * is 16 bytes regardless of CQ entry format. Thus the ring must be | ||
235 | * at least 256 entries deep (corresponding to 1 page) and can be at | ||
236 | * most 1024 entries deep (corresponding to 4 pages). The number of | ||
237 | * pages posted must contain the CQ ring size as encoded in the context. | ||
238 | * | ||
239 | */ | ||
240 | struct FWCMD_COMMON_CQ_CREATE { | ||
241 | union FWCMD_HEADER header; | ||
242 | union FWCMD_COMMON_ANON_191_PARAMS params; | ||
243 | } __packed ; | ||
244 | |||
245 | struct FWCMD_COMMON_ANON_198_REQUEST { | ||
246 | u16 num_pages; | ||
247 | u16 rsvd0; | ||
248 | struct EQ_CONTEXT_AMAP context; | ||
249 | struct PHYS_ADDR pages[8]; | ||
250 | } __packed ; | ||
251 | |||
252 | struct FWCMD_COMMON_ANON_199_RESPONSE { | ||
253 | u16 eq_id; | ||
254 | } __packed ; | ||
255 | |||
256 | union FWCMD_COMMON_ANON_197_PARAMS { | ||
257 | struct FWCMD_COMMON_ANON_198_REQUEST request; | ||
258 | struct FWCMD_COMMON_ANON_199_RESPONSE response; | ||
259 | } __packed ; | ||
260 | |||
261 | /* | ||
262 | * Command for creating a event queue. An Event Queue must span at least | ||
263 | * 1 page and at most 8 pages. The number of pages posted must contain | ||
264 | * the EQ ring. The ring is defined by the size of the EQ entries (encoded | ||
265 | * in the context) and the number of EQ entries (also encoded in the | ||
266 | * context). | ||
267 | */ | ||
268 | struct FWCMD_COMMON_EQ_CREATE { | ||
269 | union FWCMD_HEADER header; | ||
270 | union FWCMD_COMMON_ANON_197_PARAMS params; | ||
271 | } __packed ; | ||
272 | |||
273 | struct FWCMD_COMMON_ANON_201_REQUEST { | ||
274 | u16 cq_id; | ||
275 | u16 bcmc_cq_id; | ||
276 | u16 num_pages; | ||
277 | u16 rsvd0; | ||
278 | struct PHYS_ADDR pages[2]; | ||
279 | } __packed; | ||
280 | |||
281 | struct FWCMD_COMMON_ANON_202_RESPONSE { | ||
282 | u16 id; | ||
283 | } __packed; | ||
284 | |||
285 | union FWCMD_COMMON_ANON_200_PARAMS { | ||
286 | struct FWCMD_COMMON_ANON_201_REQUEST request; | ||
287 | struct FWCMD_COMMON_ANON_202_RESPONSE response; | ||
288 | } __packed; | ||
289 | |||
290 | /* | ||
291 | * Command for creating Ethernet receive ring. An ERX ring contains ETH_RX_D | ||
292 | * entries (8 bytes each). An ERX ring must be 1024 entries deep | ||
293 | * (corresponding to 2 pages). | ||
294 | */ | ||
295 | struct FWCMD_COMMON_ETH_RX_CREATE { | ||
296 | union FWCMD_HEADER header; | ||
297 | union FWCMD_COMMON_ANON_200_PARAMS params; | ||
298 | } __packed; | ||
299 | |||
300 | struct FWCMD_COMMON_ANON_204_REQUEST { | ||
301 | u16 num_pages; | ||
302 | u8 ulp_num; | ||
303 | u8 type; | ||
304 | struct ETX_CONTEXT_AMAP context; | ||
305 | struct PHYS_ADDR pages[8]; | ||
306 | } __packed ; | ||
307 | |||
308 | struct FWCMD_COMMON_ANON_205_RESPONSE { | ||
309 | u16 cid; | ||
310 | u8 ulp_num; | ||
311 | u8 rsvd0; | ||
312 | } __packed ; | ||
313 | |||
314 | union FWCMD_COMMON_ANON_203_PARAMS { | ||
315 | struct FWCMD_COMMON_ANON_204_REQUEST request; | ||
316 | struct FWCMD_COMMON_ANON_205_RESPONSE response; | ||
317 | } __packed ; | ||
318 | |||
319 | /* | ||
320 | * Command for creating an Ethernet transmit ring. An ETX ring contains | ||
321 | * ETH_WRB entries (16 bytes each). An ETX ring must be at least 256 | ||
322 | * entries deep (corresponding to 1 page) and at most 2k entries deep | ||
323 | * (corresponding to 8 pages). | ||
324 | */ | ||
325 | struct FWCMD_COMMON_ETH_TX_CREATE { | ||
326 | union FWCMD_HEADER header; | ||
327 | union FWCMD_COMMON_ANON_203_PARAMS params; | ||
328 | } __packed ; | ||
329 | |||
330 | struct FWCMD_COMMON_ANON_222_REQUEST { | ||
331 | u16 num_pages; | ||
332 | u16 rsvd0; | ||
333 | struct MCC_RING_CONTEXT_AMAP context; | ||
334 | struct PHYS_ADDR pages[8]; | ||
335 | } __packed ; | ||
336 | |||
337 | struct FWCMD_COMMON_ANON_223_RESPONSE { | ||
338 | u16 id; | ||
339 | } __packed ; | ||
340 | |||
341 | union FWCMD_COMMON_ANON_221_PARAMS { | ||
342 | struct FWCMD_COMMON_ANON_222_REQUEST request; | ||
343 | struct FWCMD_COMMON_ANON_223_RESPONSE response; | ||
344 | } __packed ; | ||
345 | |||
346 | /* | ||
347 | * Command for creating the MCC ring. An MCC ring must be at least 16 | ||
348 | * entries deep (corresponding to 1 page) and at most 128 entries deep | ||
349 | * (corresponding to 8 pages). | ||
350 | */ | ||
351 | struct FWCMD_COMMON_MCC_CREATE { | ||
352 | union FWCMD_HEADER header; | ||
353 | union FWCMD_COMMON_ANON_221_PARAMS params; | ||
354 | } __packed ; | ||
355 | |||
356 | struct GET_QOS_IN { | ||
357 | u32 qos_params_rsvd; | ||
358 | } __packed; | ||
359 | |||
360 | struct GET_QOS_OUT { | ||
361 | u32 max_bits_per_second_NIC; | ||
362 | u32 max_packets_per_second_NIC; | ||
363 | u32 max_ios_per_second_iSCSI; | ||
364 | u32 max_bytes_per_second_iSCSI; | ||
365 | u16 domain_VLAN_tag; | ||
366 | u16 fabric_domain_ID; | ||
367 | u32 qos_params_oem[4]; | ||
368 | } __packed; | ||
369 | |||
370 | union GET_QOS_PARAMS { | ||
371 | struct GET_QOS_IN request; | ||
372 | struct GET_QOS_OUT response; | ||
373 | } __packed; | ||
374 | |||
375 | /* QOS/Bandwidth settings per domain. Applicable only in VMs. */ | ||
376 | struct FWCMD_COMMON_GET_QOS { | ||
377 | union FWCMD_HEADER header; | ||
378 | union GET_QOS_PARAMS params; | ||
379 | } __packed; | ||
380 | |||
381 | struct SET_QOS_IN { | ||
382 | u32 valid_flags; | ||
383 | u32 max_bits_per_second_NIC; | ||
384 | u32 max_packets_per_second_NIC; | ||
385 | u32 max_ios_per_second_iSCSI; | ||
386 | u32 max_bytes_per_second_iSCSI; | ||
387 | u16 domain_VLAN_tag; | ||
388 | u16 fabric_domain_ID; | ||
389 | u32 qos_params_oem[4]; | ||
390 | } __packed; | ||
391 | |||
392 | struct SET_QOS_OUT { | ||
393 | u32 qos_params_rsvd; | ||
394 | } __packed; | ||
395 | |||
396 | union SET_QOS_PARAMS { | ||
397 | struct SET_QOS_IN request; | ||
398 | struct SET_QOS_OUT response; | ||
399 | } __packed; | ||
400 | |||
401 | /* QOS/Bandwidth settings per domain. Applicable only in VMs. */ | ||
402 | struct FWCMD_COMMON_SET_QOS { | ||
403 | union FWCMD_HEADER header; | ||
404 | union SET_QOS_PARAMS params; | ||
405 | } __packed; | ||
406 | |||
407 | struct SET_FRAME_SIZE_IN { | ||
408 | u32 max_tx_frame_size; | ||
409 | u32 max_rx_frame_size; | ||
410 | } __packed; | ||
411 | |||
412 | struct SET_FRAME_SIZE_OUT { | ||
413 | u32 chip_max_tx_frame_size; | ||
414 | u32 chip_max_rx_frame_size; | ||
415 | } __packed; | ||
416 | |||
417 | union SET_FRAME_SIZE_PARAMS { | ||
418 | struct SET_FRAME_SIZE_IN request; | ||
419 | struct SET_FRAME_SIZE_OUT response; | ||
420 | } __packed; | ||
421 | |||
422 | /* Set frame size command. Only host domain may issue this command. */ | ||
423 | struct FWCMD_COMMON_SET_FRAME_SIZE { | ||
424 | union FWCMD_HEADER header; | ||
425 | union SET_FRAME_SIZE_PARAMS params; | ||
426 | } __packed; | ||
427 | |||
428 | struct FORCE_FAILOVER_IN { | ||
429 | u32 move_to_port; | ||
430 | u32 failover_config; | ||
431 | } __packed; | ||
432 | |||
433 | struct FWCMD_COMMON_ANON_231_RESPONSE { | ||
434 | u32 rsvd0; | ||
435 | } __packed; | ||
436 | |||
437 | union FWCMD_COMMON_ANON_230_PARAMS { | ||
438 | struct FORCE_FAILOVER_IN request; | ||
439 | struct FWCMD_COMMON_ANON_231_RESPONSE response; | ||
440 | } __packed; | ||
441 | |||
442 | /* | ||
443 | * Use this command to control failover in BladeEngine. It may be used | ||
444 | * to failback to a restored port or to forcibly move traffic from | ||
445 | * one port to another. It may also be used to enable or disable the | ||
446 | * automatic failover feature. This command can only be issued by domain | ||
447 | * 0. | ||
448 | */ | ||
449 | struct FWCMD_COMMON_FORCE_FAILOVER { | ||
450 | union FWCMD_HEADER header; | ||
451 | union FWCMD_COMMON_ANON_230_PARAMS params; | ||
452 | } __packed; | ||
453 | |||
454 | struct FWCMD_COMMON_ANON_240_REQUEST { | ||
455 | u64 context; | ||
456 | } __packed; | ||
457 | |||
458 | struct FWCMD_COMMON_ANON_241_RESPONSE { | ||
459 | u64 context; | ||
460 | } __packed; | ||
461 | |||
462 | union FWCMD_COMMON_ANON_239_PARAMS { | ||
463 | struct FWCMD_COMMON_ANON_240_REQUEST request; | ||
464 | struct FWCMD_COMMON_ANON_241_RESPONSE response; | ||
465 | } __packed; | ||
466 | |||
467 | /* | ||
468 | * This command can be used by clients as a no-operation request. Typical | ||
469 | * uses for drivers are as a heartbeat mechanism, or deferred processing | ||
470 | * catalyst. The ARM will always complete this command with a good completion. | ||
471 | * The 64-bit parameter is not touched by the ARM processor. | ||
472 | */ | ||
473 | struct FWCMD_COMMON_NOP { | ||
474 | union FWCMD_HEADER header; | ||
475 | union FWCMD_COMMON_ANON_239_PARAMS params; | ||
476 | } __packed; | ||
477 | |||
478 | struct NTWK_RX_FILTER_SETTINGS { | ||
479 | u8 promiscuous; | ||
480 | u8 ip_cksum; | ||
481 | u8 tcp_cksum; | ||
482 | u8 udp_cksum; | ||
483 | u8 pass_err; | ||
484 | u8 pass_ckerr; | ||
485 | u8 strip_crc; | ||
486 | u8 mcast_en; | ||
487 | u8 bcast_en; | ||
488 | u8 mcast_promiscuous_en; | ||
489 | u8 unicast_en; | ||
490 | u8 vlan_promiscuous; | ||
491 | } __packed; | ||
492 | |||
493 | union FWCMD_COMMON_ANON_242_PARAMS { | ||
494 | struct NTWK_RX_FILTER_SETTINGS request; | ||
495 | struct NTWK_RX_FILTER_SETTINGS response; | ||
496 | } __packed; | ||
497 | |||
498 | /* | ||
499 | * This command is used to modify the ethernet receive filter configuration. | ||
500 | * Only domain 0 network function drivers may issue this command. The | ||
501 | * applied configuration is returned in the response payload. Note: | ||
502 | * Some receive packet filter settings are global on BladeEngine and | ||
503 | * can affect both the storage and network function clients that the | ||
504 | * BladeEngine hardware and firmware serve. Additionaly, depending | ||
505 | * on the revision of BladeEngine, some ethernet receive filter settings | ||
506 | * are dependent on others. If a dependency exists between settings | ||
507 | * for the BladeEngine revision, and the command request settings do | ||
508 | * not meet the dependency requirement, the invalid settings will not | ||
509 | * be applied despite the comand succeeding. For example: a driver may | ||
510 | * request to enable broadcast packets, but not enable multicast packets. | ||
511 | * On early revisions of BladeEngine, there may be no distinction between | ||
512 | * broadcast and multicast filters, so broadcast could not be enabled | ||
513 | * without enabling multicast. In this scenario, the comand would still | ||
514 | * succeed, but the response payload would indicate the previously | ||
515 | * configured broadcast and multicast setting. | ||
516 | */ | ||
517 | struct FWCMD_COMMON_NTWK_RX_FILTER { | ||
518 | union FWCMD_HEADER header; | ||
519 | union FWCMD_COMMON_ANON_242_PARAMS params; | ||
520 | } __packed; | ||
521 | |||
522 | |||
523 | struct FWCMD_COMMON_ANON_244_REQUEST { | ||
524 | u32 rsvd0; | ||
525 | } __packed; | ||
526 | |||
527 | struct FWCMD_COMMON_GET_FW_VERSION_RESPONSE_PAYLOAD { | ||
528 | u8 firmware_version_string[32]; | ||
529 | u8 fw_on_flash_version_string[32]; | ||
530 | } __packed; | ||
531 | |||
532 | union FWCMD_COMMON_ANON_243_PARAMS { | ||
533 | struct FWCMD_COMMON_ANON_244_REQUEST request; | ||
534 | struct FWCMD_COMMON_GET_FW_VERSION_RESPONSE_PAYLOAD response; | ||
535 | } __packed; | ||
536 | |||
537 | /* This comand retrieves the firmware version. */ | ||
538 | struct FWCMD_COMMON_GET_FW_VERSION { | ||
539 | union FWCMD_HEADER header; | ||
540 | union FWCMD_COMMON_ANON_243_PARAMS params; | ||
541 | } __packed; | ||
542 | |||
543 | struct FWCMD_COMMON_ANON_246_REQUEST { | ||
544 | u16 tx_flow_control; | ||
545 | u16 rx_flow_control; | ||
546 | } __packed; | ||
547 | |||
548 | struct FWCMD_COMMON_ANON_247_RESPONSE { | ||
549 | u32 rsvd0; | ||
550 | } __packed; | ||
551 | |||
552 | union FWCMD_COMMON_ANON_245_PARAMS { | ||
553 | struct FWCMD_COMMON_ANON_246_REQUEST request; | ||
554 | struct FWCMD_COMMON_ANON_247_RESPONSE response; | ||
555 | } __packed; | ||
556 | |||
557 | /* | ||
558 | * This comand is used to program BladeEngine flow control behavior. | ||
559 | * Only the host networking driver is allowed to use this comand. | ||
560 | */ | ||
561 | struct FWCMD_COMMON_SET_FLOW_CONTROL { | ||
562 | union FWCMD_HEADER header; | ||
563 | union FWCMD_COMMON_ANON_245_PARAMS params; | ||
564 | } __packed; | ||
565 | |||
566 | struct FWCMD_COMMON_ANON_249_REQUEST { | ||
567 | u32 rsvd0; | ||
568 | } __packed; | ||
569 | |||
570 | struct FWCMD_COMMON_ANON_250_RESPONSE { | ||
571 | u16 tx_flow_control; | ||
572 | u16 rx_flow_control; | ||
573 | } __packed; | ||
574 | |||
575 | union FWCMD_COMMON_ANON_248_PARAMS { | ||
576 | struct FWCMD_COMMON_ANON_249_REQUEST request; | ||
577 | struct FWCMD_COMMON_ANON_250_RESPONSE response; | ||
578 | } __packed; | ||
579 | |||
580 | /* This comand is used to read BladeEngine flow control settings. */ | ||
581 | struct FWCMD_COMMON_GET_FLOW_CONTROL { | ||
582 | union FWCMD_HEADER header; | ||
583 | union FWCMD_COMMON_ANON_248_PARAMS params; | ||
584 | } __packed; | ||
585 | |||
586 | struct EQ_DELAY_PARAMS { | ||
587 | u32 eq_id; | ||
588 | u32 delay_in_microseconds; | ||
589 | } __packed; | ||
590 | |||
591 | struct FWCMD_COMMON_ANON_257_REQUEST { | ||
592 | u32 num_eq; | ||
593 | u32 rsvd0; | ||
594 | struct EQ_DELAY_PARAMS delay[16]; | ||
595 | } __packed; | ||
596 | |||
597 | struct FWCMD_COMMON_ANON_258_RESPONSE { | ||
598 | u32 delay_resolution_in_microseconds; | ||
599 | u32 delay_max_in_microseconds; | ||
600 | } __packed; | ||
601 | |||
602 | union MODIFY_EQ_DELAY_PARAMS { | ||
603 | struct FWCMD_COMMON_ANON_257_REQUEST request; | ||
604 | struct FWCMD_COMMON_ANON_258_RESPONSE response; | ||
605 | } __packed; | ||
606 | |||
607 | /* This comand changes the EQ delay for a given set of EQs. */ | ||
608 | struct FWCMD_COMMON_MODIFY_EQ_DELAY { | ||
609 | union FWCMD_HEADER header; | ||
610 | union MODIFY_EQ_DELAY_PARAMS params; | ||
611 | } __packed; | ||
612 | |||
613 | struct FWCMD_COMMON_ANON_260_REQUEST { | ||
614 | u32 rsvd0; | ||
615 | } __packed; | ||
616 | |||
617 | struct BE_FIRMWARE_CONFIG { | ||
618 | u16 be_config_number; | ||
619 | u16 asic_revision; | ||
620 | u32 nic_ulp_mask; | ||
621 | u32 tulp_mask; | ||
622 | u32 iscsi_ulp_mask; | ||
623 | u32 rdma_ulp_mask; | ||
624 | u32 rsvd0[4]; | ||
625 | u32 eth_tx_id_start; | ||
626 | u32 eth_tx_id_count; | ||
627 | u32 eth_rx_id_start; | ||
628 | u32 eth_rx_id_count; | ||
629 | u32 tpm_wrbq_id_start; | ||
630 | u32 tpm_wrbq_id_count; | ||
631 | u32 tpm_defq_id_start; | ||
632 | u32 tpm_defq_id_count; | ||
633 | u32 iscsi_wrbq_id_start; | ||
634 | u32 iscsi_wrbq_id_count; | ||
635 | u32 iscsi_defq_id_start; | ||
636 | u32 iscsi_defq_id_count; | ||
637 | u32 rdma_qp_id_start; | ||
638 | u32 rdma_qp_id_count; | ||
639 | u32 rsvd1[8]; | ||
640 | } __packed; | ||
641 | |||
642 | union FWCMD_COMMON_ANON_259_PARAMS { | ||
643 | struct FWCMD_COMMON_ANON_260_REQUEST request; | ||
644 | struct BE_FIRMWARE_CONFIG response; | ||
645 | } __packed; | ||
646 | |||
647 | /* | ||
648 | * This comand queries the current firmware configuration parameters. | ||
649 | * The static configuration type is defined by be_config_number. This | ||
650 | * differentiates different BladeEngine builds, such as iSCSI Initiator | ||
651 | * versus iSCSI Target. For a given static configuration, the Upper | ||
652 | * Layer Protocol (ULP) processors may be reconfigured to support different | ||
653 | * protocols. Each ULP processor supports one or more protocols. The | ||
654 | * masks indicate which processors are configured for each protocol. | ||
655 | * For a given static configuration, the number of TCP connections | ||
656 | * supported for each protocol may vary. The *_id_start and *_id_count | ||
657 | * variables define a linear range of IDs that are available for each | ||
658 | * supported protocol. The *_id_count may be used by the driver to allocate | ||
659 | * the appropriate number of connection resources. The *_id_start may | ||
660 | * be used to map the arbitrary range of IDs to a zero-based range | ||
661 | * of indices. | ||
662 | */ | ||
663 | struct FWCMD_COMMON_FIRMWARE_CONFIG { | ||
664 | union FWCMD_HEADER header; | ||
665 | union FWCMD_COMMON_ANON_259_PARAMS params; | ||
666 | } __packed; | ||
667 | |||
668 | struct FWCMD_COMMON_PORT_EQUALIZATION_PARAMS { | ||
669 | u32 emph_lev_sel_port0; | ||
670 | u32 emph_lev_sel_port1; | ||
671 | u8 xaui_vo_sel; | ||
672 | u8 xaui_state; | ||
673 | u16 rsvd0; | ||
674 | u32 xaui_eq_vector; | ||
675 | } __packed; | ||
676 | |||
677 | struct FWCMD_COMMON_ANON_262_REQUEST { | ||
678 | u32 rsvd0; | ||
679 | } __packed; | ||
680 | |||
681 | union FWCMD_COMMON_ANON_261_PARAMS { | ||
682 | struct FWCMD_COMMON_ANON_262_REQUEST request; | ||
683 | struct FWCMD_COMMON_PORT_EQUALIZATION_PARAMS response; | ||
684 | } __packed; | ||
685 | |||
686 | /* | ||
687 | * This comand can be used to read XAUI equalization parameters. The | ||
688 | * ARM firmware applies default equalization parameters during initialization. | ||
689 | * These parameters may be customer-specific when derived from the | ||
690 | * SEEPROM. See SEEPROM_DATA for equalization specific fields. | ||
691 | */ | ||
692 | struct FWCMD_COMMON_GET_PORT_EQUALIZATION { | ||
693 | union FWCMD_HEADER header; | ||
694 | union FWCMD_COMMON_ANON_261_PARAMS params; | ||
695 | } __packed; | ||
696 | |||
697 | struct FWCMD_COMMON_ANON_264_RESPONSE { | ||
698 | u32 rsvd0; | ||
699 | } __packed; | ||
700 | |||
701 | union FWCMD_COMMON_ANON_263_PARAMS { | ||
702 | struct FWCMD_COMMON_PORT_EQUALIZATION_PARAMS request; | ||
703 | struct FWCMD_COMMON_ANON_264_RESPONSE response; | ||
704 | } __packed; | ||
705 | |||
706 | /* | ||
707 | * This comand can be used to set XAUI equalization parameters. The ARM | ||
708 | * firmware applies default equalization parameters during initialization. | ||
709 | * These parameters may be customer-specific when derived from the | ||
710 | * SEEPROM. See SEEPROM_DATA for equalization specific fields. | ||
711 | */ | ||
712 | struct FWCMD_COMMON_SET_PORT_EQUALIZATION { | ||
713 | union FWCMD_HEADER header; | ||
714 | union FWCMD_COMMON_ANON_263_PARAMS params; | ||
715 | } __packed; | ||
716 | |||
717 | #endif /* __fwcmd_common_bmap_h__ */ | ||
diff --git a/drivers/staging/benet/fwcmd_eth_bmap.h b/drivers/staging/benet/fwcmd_eth_bmap.h deleted file mode 100644 index 234b179eace6..000000000000 --- a/drivers/staging/benet/fwcmd_eth_bmap.h +++ /dev/null | |||
@@ -1,280 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __fwcmd_eth_bmap_h__ | ||
21 | #define __fwcmd_eth_bmap_h__ | ||
22 | #include "fwcmd_hdr_bmap.h" | ||
23 | #include "fwcmd_types_bmap.h" | ||
24 | |||
25 | struct MIB_ETH_STATISTICS_PARAMS_IN { | ||
26 | u32 rsvd0; | ||
27 | } __packed; | ||
28 | |||
29 | struct BE_RXF_STATS { | ||
30 | u32 p0recvdtotalbytesLSD; /* DWORD 0 */ | ||
31 | u32 p0recvdtotalbytesMSD; /* DWORD 1 */ | ||
32 | u32 p0recvdtotalframes; /* DWORD 2 */ | ||
33 | u32 p0recvdunicastframes; /* DWORD 3 */ | ||
34 | u32 p0recvdmulticastframes; /* DWORD 4 */ | ||
35 | u32 p0recvdbroadcastframes; /* DWORD 5 */ | ||
36 | u32 p0crcerrors; /* DWORD 6 */ | ||
37 | u32 p0alignmentsymerrs; /* DWORD 7 */ | ||
38 | u32 p0pauseframesrecvd; /* DWORD 8 */ | ||
39 | u32 p0controlframesrecvd; /* DWORD 9 */ | ||
40 | u32 p0inrangelenerrors; /* DWORD 10 */ | ||
41 | u32 p0outrangeerrors; /* DWORD 11 */ | ||
42 | u32 p0frametoolongerrors; /* DWORD 12 */ | ||
43 | u32 p0droppedaddressmatch; /* DWORD 13 */ | ||
44 | u32 p0droppedvlanmismatch; /* DWORD 14 */ | ||
45 | u32 p0ipdroppedtoosmall; /* DWORD 15 */ | ||
46 | u32 p0ipdroppedtooshort; /* DWORD 16 */ | ||
47 | u32 p0ipdroppedhdrtoosmall; /* DWORD 17 */ | ||
48 | u32 p0tcpdroppedlen; /* DWORD 18 */ | ||
49 | u32 p0droppedrunt; /* DWORD 19 */ | ||
50 | u32 p0recvd64; /* DWORD 20 */ | ||
51 | u32 p0recvd65_127; /* DWORD 21 */ | ||
52 | u32 p0recvd128_256; /* DWORD 22 */ | ||
53 | u32 p0recvd256_511; /* DWORD 23 */ | ||
54 | u32 p0recvd512_1023; /* DWORD 24 */ | ||
55 | u32 p0recvd1518_1522; /* DWORD 25 */ | ||
56 | u32 p0recvd1522_2047; /* DWORD 26 */ | ||
57 | u32 p0recvd2048_4095; /* DWORD 27 */ | ||
58 | u32 p0recvd4096_8191; /* DWORD 28 */ | ||
59 | u32 p0recvd8192_9216; /* DWORD 29 */ | ||
60 | u32 p0rcvdipcksmerrs; /* DWORD 30 */ | ||
61 | u32 p0recvdtcpcksmerrs; /* DWORD 31 */ | ||
62 | u32 p0recvdudpcksmerrs; /* DWORD 32 */ | ||
63 | u32 p0recvdnonrsspackets; /* DWORD 33 */ | ||
64 | u32 p0recvdippackets; /* DWORD 34 */ | ||
65 | u32 p0recvdchute1packets; /* DWORD 35 */ | ||
66 | u32 p0recvdchute2packets; /* DWORD 36 */ | ||
67 | u32 p0recvdchute3packets; /* DWORD 37 */ | ||
68 | u32 p0recvdipsecpackets; /* DWORD 38 */ | ||
69 | u32 p0recvdmanagementpackets; /* DWORD 39 */ | ||
70 | u32 p0xmitbyteslsd; /* DWORD 40 */ | ||
71 | u32 p0xmitbytesmsd; /* DWORD 41 */ | ||
72 | u32 p0xmitunicastframes; /* DWORD 42 */ | ||
73 | u32 p0xmitmulticastframes; /* DWORD 43 */ | ||
74 | u32 p0xmitbroadcastframes; /* DWORD 44 */ | ||
75 | u32 p0xmitpauseframes; /* DWORD 45 */ | ||
76 | u32 p0xmitcontrolframes; /* DWORD 46 */ | ||
77 | u32 p0xmit64; /* DWORD 47 */ | ||
78 | u32 p0xmit65_127; /* DWORD 48 */ | ||
79 | u32 p0xmit128_256; /* DWORD 49 */ | ||
80 | u32 p0xmit256_511; /* DWORD 50 */ | ||
81 | u32 p0xmit512_1023; /* DWORD 51 */ | ||
82 | u32 p0xmit1518_1522; /* DWORD 52 */ | ||
83 | u32 p0xmit1522_2047; /* DWORD 53 */ | ||
84 | u32 p0xmit2048_4095; /* DWORD 54 */ | ||
85 | u32 p0xmit4096_8191; /* DWORD 55 */ | ||
86 | u32 p0xmit8192_9216; /* DWORD 56 */ | ||
87 | u32 p0rxfifooverflowdropped; /* DWORD 57 */ | ||
88 | u32 p0ipseclookupfaileddropped; /* DWORD 58 */ | ||
89 | u32 p1recvdtotalbytesLSD; /* DWORD 59 */ | ||
90 | u32 p1recvdtotalbytesMSD; /* DWORD 60 */ | ||
91 | u32 p1recvdtotalframes; /* DWORD 61 */ | ||
92 | u32 p1recvdunicastframes; /* DWORD 62 */ | ||
93 | u32 p1recvdmulticastframes; /* DWORD 63 */ | ||
94 | u32 p1recvdbroadcastframes; /* DWORD 64 */ | ||
95 | u32 p1crcerrors; /* DWORD 65 */ | ||
96 | u32 p1alignmentsymerrs; /* DWORD 66 */ | ||
97 | u32 p1pauseframesrecvd; /* DWORD 67 */ | ||
98 | u32 p1controlframesrecvd; /* DWORD 68 */ | ||
99 | u32 p1inrangelenerrors; /* DWORD 69 */ | ||
100 | u32 p1outrangeerrors; /* DWORD 70 */ | ||
101 | u32 p1frametoolongerrors; /* DWORD 71 */ | ||
102 | u32 p1droppedaddressmatch; /* DWORD 72 */ | ||
103 | u32 p1droppedvlanmismatch; /* DWORD 73 */ | ||
104 | u32 p1ipdroppedtoosmall; /* DWORD 74 */ | ||
105 | u32 p1ipdroppedtooshort; /* DWORD 75 */ | ||
106 | u32 p1ipdroppedhdrtoosmall; /* DWORD 76 */ | ||
107 | u32 p1tcpdroppedlen; /* DWORD 77 */ | ||
108 | u32 p1droppedrunt; /* DWORD 78 */ | ||
109 | u32 p1recvd64; /* DWORD 79 */ | ||
110 | u32 p1recvd65_127; /* DWORD 80 */ | ||
111 | u32 p1recvd128_256; /* DWORD 81 */ | ||
112 | u32 p1recvd256_511; /* DWORD 82 */ | ||
113 | u32 p1recvd512_1023; /* DWORD 83 */ | ||
114 | u32 p1recvd1518_1522; /* DWORD 84 */ | ||
115 | u32 p1recvd1522_2047; /* DWORD 85 */ | ||
116 | u32 p1recvd2048_4095; /* DWORD 86 */ | ||
117 | u32 p1recvd4096_8191; /* DWORD 87 */ | ||
118 | u32 p1recvd8192_9216; /* DWORD 88 */ | ||
119 | u32 p1rcvdipcksmerrs; /* DWORD 89 */ | ||
120 | u32 p1recvdtcpcksmerrs; /* DWORD 90 */ | ||
121 | u32 p1recvdudpcksmerrs; /* DWORD 91 */ | ||
122 | u32 p1recvdnonrsspackets; /* DWORD 92 */ | ||
123 | u32 p1recvdippackets; /* DWORD 93 */ | ||
124 | u32 p1recvdchute1packets; /* DWORD 94 */ | ||
125 | u32 p1recvdchute2packets; /* DWORD 95 */ | ||
126 | u32 p1recvdchute3packets; /* DWORD 96 */ | ||
127 | u32 p1recvdipsecpackets; /* DWORD 97 */ | ||
128 | u32 p1recvdmanagementpackets; /* DWORD 98 */ | ||
129 | u32 p1xmitbyteslsd; /* DWORD 99 */ | ||
130 | u32 p1xmitbytesmsd; /* DWORD 100 */ | ||
131 | u32 p1xmitunicastframes; /* DWORD 101 */ | ||
132 | u32 p1xmitmulticastframes; /* DWORD 102 */ | ||
133 | u32 p1xmitbroadcastframes; /* DWORD 103 */ | ||
134 | u32 p1xmitpauseframes; /* DWORD 104 */ | ||
135 | u32 p1xmitcontrolframes; /* DWORD 105 */ | ||
136 | u32 p1xmit64; /* DWORD 106 */ | ||
137 | u32 p1xmit65_127; /* DWORD 107 */ | ||
138 | u32 p1xmit128_256; /* DWORD 108 */ | ||
139 | u32 p1xmit256_511; /* DWORD 109 */ | ||
140 | u32 p1xmit512_1023; /* DWORD 110 */ | ||
141 | u32 p1xmit1518_1522; /* DWORD 111 */ | ||
142 | u32 p1xmit1522_2047; /* DWORD 112 */ | ||
143 | u32 p1xmit2048_4095; /* DWORD 113 */ | ||
144 | u32 p1xmit4096_8191; /* DWORD 114 */ | ||
145 | u32 p1xmit8192_9216; /* DWORD 115 */ | ||
146 | u32 p1rxfifooverflowdropped; /* DWORD 116 */ | ||
147 | u32 p1ipseclookupfaileddropped; /* DWORD 117 */ | ||
148 | u32 pxdroppednopbuf; /* DWORD 118 */ | ||
149 | u32 pxdroppednotxpb; /* DWORD 119 */ | ||
150 | u32 pxdroppednoipsecbuf; /* DWORD 120 */ | ||
151 | u32 pxdroppednoerxdescr; /* DWORD 121 */ | ||
152 | u32 pxdroppednotpredescr; /* DWORD 122 */ | ||
153 | u32 pxrecvdmanagementportpackets; /* DWORD 123 */ | ||
154 | u32 pxrecvdmanagementportbytes; /* DWORD 124 */ | ||
155 | u32 pxrecvdmanagementportpauseframes; /* DWORD 125 */ | ||
156 | u32 pxrecvdmanagementporterrors; /* DWORD 126 */ | ||
157 | u32 pxxmitmanagementportpackets; /* DWORD 127 */ | ||
158 | u32 pxxmitmanagementportbytes; /* DWORD 128 */ | ||
159 | u32 pxxmitmanagementportpause; /* DWORD 129 */ | ||
160 | u32 pxxmitmanagementportrxfifooverflow; /* DWORD 130 */ | ||
161 | u32 pxrecvdipsecipcksmerrs; /* DWORD 131 */ | ||
162 | u32 pxrecvdtcpsecipcksmerrs; /* DWORD 132 */ | ||
163 | u32 pxrecvdudpsecipcksmerrs; /* DWORD 133 */ | ||
164 | u32 pxipsecrunt; /* DWORD 134 */ | ||
165 | u32 pxipsecaddressmismatchdropped; /* DWORD 135 */ | ||
166 | u32 pxipsecrxfifooverflowdropped; /* DWORD 136 */ | ||
167 | u32 pxipsecframestoolong; /* DWORD 137 */ | ||
168 | u32 pxipsectotalipframes; /* DWORD 138 */ | ||
169 | u32 pxipseciptoosmall; /* DWORD 139 */ | ||
170 | u32 pxipseciptooshort; /* DWORD 140 */ | ||
171 | u32 pxipseciphdrtoosmall; /* DWORD 141 */ | ||
172 | u32 pxipsectcphdrbad; /* DWORD 142 */ | ||
173 | u32 pxrecvdipsecchute1; /* DWORD 143 */ | ||
174 | u32 pxrecvdipsecchute2; /* DWORD 144 */ | ||
175 | u32 pxrecvdipsecchute3; /* DWORD 145 */ | ||
176 | u32 pxdropped7frags; /* DWORD 146 */ | ||
177 | u32 pxdroppedfrags; /* DWORD 147 */ | ||
178 | u32 pxdroppedinvalidfragring; /* DWORD 148 */ | ||
179 | u32 pxnumforwardedpackets; /* DWORD 149 */ | ||
180 | } __packed; | ||
181 | |||
182 | union MIB_ETH_STATISTICS_PARAMS { | ||
183 | struct MIB_ETH_STATISTICS_PARAMS_IN request; | ||
184 | struct BE_RXF_STATS response; | ||
185 | } __packed; | ||
186 | |||
187 | /* | ||
188 | * Query ethernet statistics. All domains may issue this command. The | ||
189 | * host domain drivers may optionally reset internal statistic counters | ||
190 | * with a query. | ||
191 | */ | ||
192 | struct FWCMD_ETH_GET_STATISTICS { | ||
193 | union FWCMD_HEADER header; | ||
194 | union MIB_ETH_STATISTICS_PARAMS params; | ||
195 | } __packed; | ||
196 | |||
197 | |||
198 | struct FWCMD_ETH_ANON_175_REQUEST { | ||
199 | u8 port0_promiscuous; | ||
200 | u8 port1_promiscuous; | ||
201 | u16 rsvd0; | ||
202 | } __packed; | ||
203 | |||
204 | struct FWCMD_ETH_ANON_176_RESPONSE { | ||
205 | u32 rsvd0; | ||
206 | } __packed; | ||
207 | |||
208 | union FWCMD_ETH_ANON_174_PARAMS { | ||
209 | struct FWCMD_ETH_ANON_175_REQUEST request; | ||
210 | struct FWCMD_ETH_ANON_176_RESPONSE response; | ||
211 | } __packed; | ||
212 | |||
213 | /* Enables/Disables promiscuous ethernet receive mode. */ | ||
214 | struct FWCMD_ETH_PROMISCUOUS { | ||
215 | union FWCMD_HEADER header; | ||
216 | union FWCMD_ETH_ANON_174_PARAMS params; | ||
217 | } __packed; | ||
218 | |||
219 | struct FWCMD_ETH_ANON_178_REQUEST { | ||
220 | u32 new_fragsize_log2; | ||
221 | } __packed; | ||
222 | |||
223 | struct FWCMD_ETH_ANON_179_RESPONSE { | ||
224 | u32 actual_fragsize_log2; | ||
225 | } __packed; | ||
226 | |||
227 | union FWCMD_ETH_ANON_177_PARAMS { | ||
228 | struct FWCMD_ETH_ANON_178_REQUEST request; | ||
229 | struct FWCMD_ETH_ANON_179_RESPONSE response; | ||
230 | } __packed; | ||
231 | |||
232 | /* | ||
233 | * Sets the Ethernet RX fragment size. Only host (domain 0) networking | ||
234 | * drivers may issue this command. This call will fail for non-host | ||
235 | * protection domains. In this situation the MCC CQ status will indicate | ||
236 | * a failure due to insufficient priviledges. The response should be | ||
237 | * ignored, and the driver should use the FWCMD_ETH_GET_FRAG_SIZE to | ||
238 | * query the existing ethernet receive fragment size. It must use this | ||
239 | * fragment size for all fragments in the ethernet receive ring. If | ||
240 | * the command succeeds, the driver must use the frag size indicated | ||
241 | * in the command response since the requested frag size may not be applied | ||
242 | * until the next reboot. When the requested fragsize matches the response | ||
243 | * fragsize, this indicates the request was applied immediately. | ||
244 | */ | ||
245 | struct FWCMD_ETH_SET_RX_FRAG_SIZE { | ||
246 | union FWCMD_HEADER header; | ||
247 | union FWCMD_ETH_ANON_177_PARAMS params; | ||
248 | } __packed; | ||
249 | |||
250 | struct FWCMD_ETH_ANON_181_REQUEST { | ||
251 | u32 rsvd0; | ||
252 | } __packed; | ||
253 | |||
254 | struct FWCMD_ETH_ANON_182_RESPONSE { | ||
255 | u32 actual_fragsize_log2; | ||
256 | } __packed; | ||
257 | |||
258 | union FWCMD_ETH_ANON_180_PARAMS { | ||
259 | struct FWCMD_ETH_ANON_181_REQUEST request; | ||
260 | struct FWCMD_ETH_ANON_182_RESPONSE response; | ||
261 | } __packed; | ||
262 | |||
263 | /* | ||
264 | * Queries the Ethernet RX fragment size. All domains may issue this | ||
265 | * command. The driver should call this command to determine the minimum | ||
266 | * required fragment size for the ethernet RX ring buffers. Drivers | ||
267 | * may choose to use a larger size for each fragment buffer, but BladeEngine | ||
268 | * will use up to the configured minimum required fragsize in each ethernet | ||
269 | * receive fragment buffer. For example, if the ethernet receive fragment | ||
270 | * size is configured to 4kB, and a driver uses 8kB fragments, a 6kB | ||
271 | * ethernet packet received by BladeEngine will be split accross two | ||
272 | * of the driver's receive framgents (4kB in one fragment buffer, and | ||
273 | * 2kB in the subsequent fragment buffer). | ||
274 | */ | ||
275 | struct FWCMD_ETH_GET_RX_FRAG_SIZE { | ||
276 | union FWCMD_HEADER header; | ||
277 | union FWCMD_ETH_ANON_180_PARAMS params; | ||
278 | } __packed; | ||
279 | |||
280 | #endif /* __fwcmd_eth_bmap_h__ */ | ||
diff --git a/drivers/staging/benet/fwcmd_hdr_bmap.h b/drivers/staging/benet/fwcmd_hdr_bmap.h deleted file mode 100644 index 28b45328fe7b..000000000000 --- a/drivers/staging/benet/fwcmd_hdr_bmap.h +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __fwcmd_hdr_bmap_h__ | ||
21 | #define __fwcmd_hdr_bmap_h__ | ||
22 | |||
23 | struct FWCMD_REQUEST_HEADER { | ||
24 | u8 opcode; | ||
25 | u8 subsystem; | ||
26 | u8 port_number; | ||
27 | u8 domain; | ||
28 | u32 timeout; | ||
29 | u32 request_length; | ||
30 | u32 rsvd0; | ||
31 | } __packed; | ||
32 | |||
33 | struct FWCMD_RESPONSE_HEADER { | ||
34 | u8 opcode; | ||
35 | u8 subsystem; | ||
36 | u8 rsvd0; | ||
37 | u8 domain; | ||
38 | u8 status; | ||
39 | u8 additional_status; | ||
40 | u16 rsvd1; | ||
41 | u32 response_length; | ||
42 | u32 actual_response_length; | ||
43 | } __packed; | ||
44 | |||
45 | /* | ||
46 | * The firmware/driver overwrites the input FWCMD_REQUEST_HEADER with | ||
47 | * the output FWCMD_RESPONSE_HEADER. | ||
48 | */ | ||
49 | union FWCMD_HEADER { | ||
50 | struct FWCMD_REQUEST_HEADER request; | ||
51 | struct FWCMD_RESPONSE_HEADER response; | ||
52 | } __packed; | ||
53 | |||
54 | #endif /* __fwcmd_hdr_bmap_h__ */ | ||
diff --git a/drivers/staging/benet/fwcmd_mcc.h b/drivers/staging/benet/fwcmd_mcc.h deleted file mode 100644 index 9eeca878c1fb..000000000000 --- a/drivers/staging/benet/fwcmd_mcc.h +++ /dev/null | |||
@@ -1,94 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __fwcmd_mcc_amap_h__ | ||
21 | #define __fwcmd_mcc_amap_h__ | ||
22 | #include "fwcmd_opcodes.h" | ||
23 | /* | ||
24 | * Where applicable, a WRB, may contain a list of Scatter-gather elements. | ||
25 | * Each element supports a 64 bit address and a 32bit length field. | ||
26 | */ | ||
27 | struct BE_MCC_SGE_AMAP { | ||
28 | u8 pa_lo[32]; /* DWORD 0 */ | ||
29 | u8 pa_hi[32]; /* DWORD 1 */ | ||
30 | u8 length[32]; /* DWORD 2 */ | ||
31 | } __packed; | ||
32 | struct MCC_SGE_AMAP { | ||
33 | u32 dw[3]; | ||
34 | }; | ||
35 | /* | ||
36 | * The design of an MCC_SGE allows up to 19 elements to be embedded | ||
37 | * in a WRB, supporting 64KB data transfers (assuming a 4KB page size). | ||
38 | */ | ||
39 | struct BE_MCC_WRB_PAYLOAD_AMAP { | ||
40 | union { | ||
41 | struct BE_MCC_SGE_AMAP sgl[19]; | ||
42 | u8 embedded[59][32]; /* DWORD 0 */ | ||
43 | }; | ||
44 | } __packed; | ||
45 | struct MCC_WRB_PAYLOAD_AMAP { | ||
46 | u32 dw[59]; | ||
47 | }; | ||
48 | |||
49 | /* | ||
50 | * This is the structure of the MCC Command WRB for commands | ||
51 | * sent to the Management Processing Unit (MPU). See section | ||
52 | * for usage in embedded and non-embedded modes. | ||
53 | */ | ||
54 | struct BE_MCC_WRB_AMAP { | ||
55 | u8 embedded; /* DWORD 0 */ | ||
56 | u8 rsvd0[2]; /* DWORD 0 */ | ||
57 | u8 sge_count[5]; /* DWORD 0 */ | ||
58 | u8 rsvd1[16]; /* DWORD 0 */ | ||
59 | u8 special[8]; /* DWORD 0 */ | ||
60 | u8 payload_length[32]; /* DWORD 1 */ | ||
61 | u8 tag[2][32]; /* DWORD 2 */ | ||
62 | u8 rsvd2[32]; /* DWORD 4 */ | ||
63 | struct BE_MCC_WRB_PAYLOAD_AMAP payload; | ||
64 | } __packed; | ||
65 | struct MCC_WRB_AMAP { | ||
66 | u32 dw[64]; | ||
67 | }; | ||
68 | |||
69 | /* This is the structure of the MCC Completion queue entry */ | ||
70 | struct BE_MCC_CQ_ENTRY_AMAP { | ||
71 | u8 completion_status[16]; /* DWORD 0 */ | ||
72 | u8 extended_status[16]; /* DWORD 0 */ | ||
73 | u8 mcc_tag[2][32]; /* DWORD 1 */ | ||
74 | u8 rsvd0[27]; /* DWORD 3 */ | ||
75 | u8 consumed; /* DWORD 3 */ | ||
76 | u8 completed; /* DWORD 3 */ | ||
77 | u8 hpi_buffer_completion; /* DWORD 3 */ | ||
78 | u8 async_event; /* DWORD 3 */ | ||
79 | u8 valid; /* DWORD 3 */ | ||
80 | } __packed; | ||
81 | struct MCC_CQ_ENTRY_AMAP { | ||
82 | u32 dw[4]; | ||
83 | }; | ||
84 | |||
85 | /* Mailbox structures used by the MPU during bootstrap */ | ||
86 | struct BE_MCC_MAILBOX_AMAP { | ||
87 | struct BE_MCC_WRB_AMAP wrb; | ||
88 | struct BE_MCC_CQ_ENTRY_AMAP cq; | ||
89 | } __packed; | ||
90 | struct MCC_MAILBOX_AMAP { | ||
91 | u32 dw[68]; | ||
92 | }; | ||
93 | |||
94 | #endif /* __fwcmd_mcc_amap_h__ */ | ||
diff --git a/drivers/staging/benet/fwcmd_opcodes.h b/drivers/staging/benet/fwcmd_opcodes.h deleted file mode 100644 index 23d569386b46..000000000000 --- a/drivers/staging/benet/fwcmd_opcodes.h +++ /dev/null | |||
@@ -1,244 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __fwcmd_opcodes_amap_h__ | ||
21 | #define __fwcmd_opcodes_amap_h__ | ||
22 | |||
23 | /* | ||
24 | * --- FWCMD_SUBSYSTEMS --- | ||
25 | * The commands are grouped into the following subsystems. The subsystem | ||
26 | * code along with the opcode uniquely identify a particular fwcmd. | ||
27 | */ | ||
28 | #define FWCMD_SUBSYSTEM_RSVD (0) /* This subsystem is reserved. It is */ | ||
29 | /* never used. */ | ||
30 | #define FWCMD_SUBSYSTEM_COMMON (1) /* CMDs in this group are common to | ||
31 | * all subsystems. See | ||
32 | * COMMON_SUBSYSTEM_OPCODES for opcodes | ||
33 | * and Common Host Configuration CMDs | ||
34 | * for the FWCMD descriptions. | ||
35 | */ | ||
36 | #define FWCMD_SUBSYSTEM_COMMON_ISCSI (2) /* CMDs in this group are */ | ||
37 | /* | ||
38 | * common to Initiator and Target. See | ||
39 | * COMMON_ISCSI_SUBSYSTEM_OPCODES and | ||
40 | * Common iSCSI Initiator and Target | ||
41 | * CMDs for the command descriptions. | ||
42 | */ | ||
43 | #define FWCMD_SUBSYSTEM_ETH (3) /* This subsystem is used to | ||
44 | execute Ethernet commands. */ | ||
45 | |||
46 | #define FWCMD_SUBSYSTEM_TPM (4) /* This subsystem is used | ||
47 | to execute TPM commands. */ | ||
48 | #define FWCMD_SUBSYSTEM_PXE_UNDI (5) /* This subsystem is used | ||
49 | * to execute PXE | ||
50 | * and UNDI specific commands. | ||
51 | */ | ||
52 | |||
53 | #define FWCMD_SUBSYSTEM_ISCSI_INI (6) /* This subsystem is used to | ||
54 | execute ISCSI Initiator | ||
55 | specific commands. | ||
56 | */ | ||
57 | #define FWCMD_SUBSYSTEM_ISCSI_TGT (7) /* This subsystem is used | ||
58 | to execute iSCSI Target | ||
59 | specific commands.between | ||
60 | PTL and ARM firmware. | ||
61 | */ | ||
62 | #define FWCMD_SUBSYSTEM_MILI_PTL (8) /* This subsystem is used to | ||
63 | execute iSCSI Target specific | ||
64 | commands.between MILI | ||
65 | and PTL. */ | ||
66 | #define FWCMD_SUBSYSTEM_MILI_TMD (9) /* This subsystem is used to | ||
67 | execute iSCSI Target specific | ||
68 | commands between MILI | ||
69 | and TMD. */ | ||
70 | #define FWCMD_SUBSYSTEM_PROXY (11) /* This subsystem is used | ||
71 | to execute proxied commands | ||
72 | within the host at the | ||
73 | explicit request of a | ||
74 | non priviledged domain. | ||
75 | This 'subsystem' is entirely | ||
76 | virtual from the controller | ||
77 | and firmware perspective as | ||
78 | it is implemented in host | ||
79 | drivers. | ||
80 | */ | ||
81 | |||
82 | /* | ||
83 | * --- COMMON_SUBSYSTEM_OPCODES --- | ||
84 | * These opcodes are common to both networking and storage PCI | ||
85 | * functions. They are used to reserve resources and configure | ||
86 | * BladeEngine. These opcodes all use the FWCMD_SUBSYSTEM_COMMON | ||
87 | * subsystem code. | ||
88 | */ | ||
89 | #define OPCODE_COMMON_NTWK_MAC_QUERY (1) | ||
90 | #define SUBSYSTEM_COMMON_NTWK_MAC_QUERY (1) | ||
91 | #define SUBSYSTEM_COMMON_NTWK_MAC_SET (1) | ||
92 | #define SUBSYSTEM_COMMON_NTWK_MULTICAST_SET (1) | ||
93 | #define SUBSYSTEM_COMMON_NTWK_VLAN_CONFIG (1) | ||
94 | #define SUBSYSTEM_COMMON_NTWK_LINK_STATUS_QUERY (1) | ||
95 | #define SUBSYSTEM_COMMON_READ_FLASHROM (1) | ||
96 | #define SUBSYSTEM_COMMON_WRITE_FLASHROM (1) | ||
97 | #define SUBSYSTEM_COMMON_QUERY_MAX_FWCMD_BUFFER_SIZE (1) | ||
98 | #define SUBSYSTEM_COMMON_ADD_PAGE_TABLES (1) | ||
99 | #define SUBSYSTEM_COMMON_REMOVE_PAGE_TABLES (1) | ||
100 | #define SUBSYSTEM_COMMON_RING_DESTROY (1) | ||
101 | #define SUBSYSTEM_COMMON_CQ_CREATE (1) | ||
102 | #define SUBSYSTEM_COMMON_EQ_CREATE (1) | ||
103 | #define SUBSYSTEM_COMMON_ETH_RX_CREATE (1) | ||
104 | #define SUBSYSTEM_COMMON_ETH_TX_CREATE (1) | ||
105 | #define SUBSYSTEM_COMMON_ISCSI_DEFQ_CREATE (1) | ||
106 | #define SUBSYSTEM_COMMON_ISCSI_WRBQ_CREATE (1) | ||
107 | #define SUBSYSTEM_COMMON_MCC_CREATE (1) | ||
108 | #define SUBSYSTEM_COMMON_JELL_CONFIG (1) | ||
109 | #define SUBSYSTEM_COMMON_FORCE_FAILOVER (1) | ||
110 | #define SUBSYSTEM_COMMON_ADD_TEMPLATE_HEADER_BUFFERS (1) | ||
111 | #define SUBSYSTEM_COMMON_REMOVE_TEMPLATE_HEADER_BUFFERS (1) | ||
112 | #define SUBSYSTEM_COMMON_POST_ZERO_BUFFER (1) | ||
113 | #define SUBSYSTEM_COMMON_GET_QOS (1) | ||
114 | #define SUBSYSTEM_COMMON_SET_QOS (1) | ||
115 | #define SUBSYSTEM_COMMON_TCP_GET_STATISTICS (1) | ||
116 | #define SUBSYSTEM_COMMON_SEEPROM_READ (1) | ||
117 | #define SUBSYSTEM_COMMON_TCP_STATE_QUERY (1) | ||
118 | #define SUBSYSTEM_COMMON_GET_CNTL_ATTRIBUTES (1) | ||
119 | #define SUBSYSTEM_COMMON_NOP (1) | ||
120 | #define SUBSYSTEM_COMMON_NTWK_RX_FILTER (1) | ||
121 | #define SUBSYSTEM_COMMON_GET_FW_VERSION (1) | ||
122 | #define SUBSYSTEM_COMMON_SET_FLOW_CONTROL (1) | ||
123 | #define SUBSYSTEM_COMMON_GET_FLOW_CONTROL (1) | ||
124 | #define SUBSYSTEM_COMMON_SET_TCP_PARAMETERS (1) | ||
125 | #define SUBSYSTEM_COMMON_SET_FRAME_SIZE (1) | ||
126 | #define SUBSYSTEM_COMMON_GET_FAT (1) | ||
127 | #define SUBSYSTEM_COMMON_MODIFY_EQ_DELAY (1) | ||
128 | #define SUBSYSTEM_COMMON_FIRMWARE_CONFIG (1) | ||
129 | #define SUBSYSTEM_COMMON_ENABLE_DISABLE_DOMAINS (1) | ||
130 | #define SUBSYSTEM_COMMON_GET_DOMAIN_CONFIG (1) | ||
131 | #define SUBSYSTEM_COMMON_SET_VLD_CONFIG (1) | ||
132 | #define SUBSYSTEM_COMMON_GET_VLD_CONFIG (1) | ||
133 | #define SUBSYSTEM_COMMON_GET_PORT_EQUALIZATION (1) | ||
134 | #define SUBSYSTEM_COMMON_SET_PORT_EQUALIZATION (1) | ||
135 | #define SUBSYSTEM_COMMON_RED_CONFIG (1) | ||
136 | #define OPCODE_COMMON_NTWK_MAC_SET (2) | ||
137 | #define OPCODE_COMMON_NTWK_MULTICAST_SET (3) | ||
138 | #define OPCODE_COMMON_NTWK_VLAN_CONFIG (4) | ||
139 | #define OPCODE_COMMON_NTWK_LINK_STATUS_QUERY (5) | ||
140 | #define OPCODE_COMMON_READ_FLASHROM (6) | ||
141 | #define OPCODE_COMMON_WRITE_FLASHROM (7) | ||
142 | #define OPCODE_COMMON_QUERY_MAX_FWCMD_BUFFER_SIZE (8) | ||
143 | #define OPCODE_COMMON_ADD_PAGE_TABLES (9) | ||
144 | #define OPCODE_COMMON_REMOVE_PAGE_TABLES (10) | ||
145 | #define OPCODE_COMMON_RING_DESTROY (11) | ||
146 | #define OPCODE_COMMON_CQ_CREATE (12) | ||
147 | #define OPCODE_COMMON_EQ_CREATE (13) | ||
148 | #define OPCODE_COMMON_ETH_RX_CREATE (14) | ||
149 | #define OPCODE_COMMON_ETH_TX_CREATE (15) | ||
150 | #define OPCODE_COMMON_NET_RESERVED0 (16) /* Reserved */ | ||
151 | #define OPCODE_COMMON_NET_RESERVED1 (17) /* Reserved */ | ||
152 | #define OPCODE_COMMON_NET_RESERVED2 (18) /* Reserved */ | ||
153 | #define OPCODE_COMMON_ISCSI_DEFQ_CREATE (19) | ||
154 | #define OPCODE_COMMON_ISCSI_WRBQ_CREATE (20) | ||
155 | #define OPCODE_COMMON_MCC_CREATE (21) | ||
156 | #define OPCODE_COMMON_JELL_CONFIG (22) | ||
157 | #define OPCODE_COMMON_FORCE_FAILOVER (23) | ||
158 | #define OPCODE_COMMON_ADD_TEMPLATE_HEADER_BUFFERS (24) | ||
159 | #define OPCODE_COMMON_REMOVE_TEMPLATE_HEADER_BUFFERS (25) | ||
160 | #define OPCODE_COMMON_POST_ZERO_BUFFER (26) | ||
161 | #define OPCODE_COMMON_GET_QOS (27) | ||
162 | #define OPCODE_COMMON_SET_QOS (28) | ||
163 | #define OPCODE_COMMON_TCP_GET_STATISTICS (29) | ||
164 | #define OPCODE_COMMON_SEEPROM_READ (30) | ||
165 | #define OPCODE_COMMON_TCP_STATE_QUERY (31) | ||
166 | #define OPCODE_COMMON_GET_CNTL_ATTRIBUTES (32) | ||
167 | #define OPCODE_COMMON_NOP (33) | ||
168 | #define OPCODE_COMMON_NTWK_RX_FILTER (34) | ||
169 | #define OPCODE_COMMON_GET_FW_VERSION (35) | ||
170 | #define OPCODE_COMMON_SET_FLOW_CONTROL (36) | ||
171 | #define OPCODE_COMMON_GET_FLOW_CONTROL (37) | ||
172 | #define OPCODE_COMMON_SET_TCP_PARAMETERS (38) | ||
173 | #define OPCODE_COMMON_SET_FRAME_SIZE (39) | ||
174 | #define OPCODE_COMMON_GET_FAT (40) | ||
175 | #define OPCODE_COMMON_MODIFY_EQ_DELAY (41) | ||
176 | #define OPCODE_COMMON_FIRMWARE_CONFIG (42) | ||
177 | #define OPCODE_COMMON_ENABLE_DISABLE_DOMAINS (43) | ||
178 | #define OPCODE_COMMON_GET_DOMAIN_CONFIG (44) | ||
179 | #define OPCODE_COMMON_SET_VLD_CONFIG (45) | ||
180 | #define OPCODE_COMMON_GET_VLD_CONFIG (46) | ||
181 | #define OPCODE_COMMON_GET_PORT_EQUALIZATION (47) | ||
182 | #define OPCODE_COMMON_SET_PORT_EQUALIZATION (48) | ||
183 | #define OPCODE_COMMON_RED_CONFIG (49) | ||
184 | |||
185 | |||
186 | |||
187 | /* | ||
188 | * --- ETH_SUBSYSTEM_OPCODES --- | ||
189 | * These opcodes are used for configuring the Ethernet interfaces. These | ||
190 | * opcodes all use the FWCMD_SUBSYSTEM_ETH subsystem code. | ||
191 | */ | ||
192 | #define OPCODE_ETH_RSS_CONFIG (1) | ||
193 | #define OPCODE_ETH_ACPI_CONFIG (2) | ||
194 | #define SUBSYSTEM_ETH_RSS_CONFIG (3) | ||
195 | #define SUBSYSTEM_ETH_ACPI_CONFIG (3) | ||
196 | #define OPCODE_ETH_PROMISCUOUS (3) | ||
197 | #define SUBSYSTEM_ETH_PROMISCUOUS (3) | ||
198 | #define SUBSYSTEM_ETH_GET_STATISTICS (3) | ||
199 | #define SUBSYSTEM_ETH_GET_RX_FRAG_SIZE (3) | ||
200 | #define SUBSYSTEM_ETH_SET_RX_FRAG_SIZE (3) | ||
201 | #define OPCODE_ETH_GET_STATISTICS (4) | ||
202 | #define OPCODE_ETH_GET_RX_FRAG_SIZE (5) | ||
203 | #define OPCODE_ETH_SET_RX_FRAG_SIZE (6) | ||
204 | |||
205 | |||
206 | |||
207 | |||
208 | |||
209 | /* | ||
210 | * --- MCC_STATUS_CODE --- | ||
211 | * These are the global status codes used by all subsystems | ||
212 | */ | ||
213 | #define MCC_STATUS_SUCCESS (0) /* Indicates a successful | ||
214 | completion of the command */ | ||
215 | #define MCC_STATUS_INSUFFICIENT_PRIVILEGES (1) /* The client does not have | ||
216 | sufficient privileges to | ||
217 | execute the command */ | ||
218 | #define MCC_STATUS_INVALID_PARAMETER (2) /* A parameter in the command | ||
219 | was invalid. The extended | ||
220 | status contains the index | ||
221 | of the parameter */ | ||
222 | #define MCC_STATUS_INSUFFICIENT_RESOURCES (3) /* There are insufficient | ||
223 | chip resources to execute | ||
224 | the command */ | ||
225 | #define MCC_STATUS_QUEUE_FLUSHING (4) /* The command is completing | ||
226 | because the queue was | ||
227 | getting flushed */ | ||
228 | #define MCC_STATUS_DMA_FAILED (5) /* The command is completing | ||
229 | with a DMA error */ | ||
230 | |||
231 | /* | ||
232 | * --- MGMT_ERROR_CODES --- | ||
233 | * Error Codes returned in the status field of the FWCMD response header | ||
234 | */ | ||
235 | #define MGMT_STATUS_SUCCESS (0) /* The FWCMD completed | ||
236 | without errors */ | ||
237 | #define MGMT_STATUS_FAILED (1) /* Error status in the Status | ||
238 | field of the | ||
239 | struct FWCMD_RESPONSE_HEADER */ | ||
240 | #define MGMT_STATUS_ILLEGAL_REQUEST (2) /* Invalid FWCMD opcode */ | ||
241 | #define MGMT_STATUS_ILLEGAL_FIELD (3) /* Invalid parameter in | ||
242 | the FWCMD payload */ | ||
243 | |||
244 | #endif /* __fwcmd_opcodes_amap_h__ */ | ||
diff --git a/drivers/staging/benet/fwcmd_types_bmap.h b/drivers/staging/benet/fwcmd_types_bmap.h deleted file mode 100644 index 92217aff3a16..000000000000 --- a/drivers/staging/benet/fwcmd_types_bmap.h +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __fwcmd_types_bmap_h__ | ||
21 | #define __fwcmd_types_bmap_h__ | ||
22 | |||
23 | /* MAC address format */ | ||
24 | struct MAC_ADDRESS_FORMAT { | ||
25 | u16 SizeOfStructure; | ||
26 | u8 MACAddress[6]; | ||
27 | } __packed; | ||
28 | |||
29 | #endif /* __fwcmd_types_bmap_h__ */ | ||
diff --git a/drivers/staging/benet/host_struct.h b/drivers/staging/benet/host_struct.h deleted file mode 100644 index 3de6722b980f..000000000000 --- a/drivers/staging/benet/host_struct.h +++ /dev/null | |||
@@ -1,182 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __host_struct_amap_h__ | ||
21 | #define __host_struct_amap_h__ | ||
22 | #include "be_cm.h" | ||
23 | #include "be_common.h" | ||
24 | #include "descriptors.h" | ||
25 | |||
26 | /* --- EQ_COMPLETION_MAJOR_CODE_ENUM --- */ | ||
27 | #define EQ_MAJOR_CODE_COMPLETION (0) /* Completion event on a */ | ||
28 | /* qcompletion ueue. */ | ||
29 | #define EQ_MAJOR_CODE_ETH (1) /* Affiliated Ethernet Event. */ | ||
30 | #define EQ_MAJOR_CODE_RESERVED (2) /* Reserved */ | ||
31 | #define EQ_MAJOR_CODE_RDMA (3) /* Affiliated RDMA Event. */ | ||
32 | #define EQ_MAJOR_CODE_ISCSI (4) /* Affiliated ISCSI Event */ | ||
33 | #define EQ_MAJOR_CODE_UNAFFILIATED (5) /* Unaffiliated Event */ | ||
34 | |||
35 | /* --- EQ_COMPLETION_MINOR_CODE_ENUM --- */ | ||
36 | #define EQ_MINOR_CODE_COMPLETION (0) /* Completion event on a */ | ||
37 | /* completion queue. */ | ||
38 | #define EQ_MINOR_CODE_OTHER (1) /* Other Event (TBD). */ | ||
39 | |||
40 | /* Queue Entry Definition for all 4 byte event queue types. */ | ||
41 | struct BE_EQ_ENTRY_AMAP { | ||
42 | u8 Valid; /* DWORD 0 */ | ||
43 | u8 MajorCode[3]; /* DWORD 0 */ | ||
44 | u8 MinorCode[12]; /* DWORD 0 */ | ||
45 | u8 ResourceID[16]; /* DWORD 0 */ | ||
46 | } __packed; | ||
47 | struct EQ_ENTRY_AMAP { | ||
48 | u32 dw[1]; | ||
49 | }; | ||
50 | |||
51 | /* | ||
52 | * --- ETH_EVENT_CODE --- | ||
53 | * These codes are returned by the MPU when one of these events has occurred, | ||
54 | * and the event is configured to report to an Event Queue when an event | ||
55 | * is detected. | ||
56 | */ | ||
57 | #define ETH_EQ_LINK_STATUS (0) /* Link status change event */ | ||
58 | /* detected. */ | ||
59 | #define ETH_EQ_WATERMARK (1) /* watermark event detected. */ | ||
60 | #define ETH_EQ_MAGIC_PKT (2) /* magic pkt event detected. */ | ||
61 | #define ETH_EQ_ACPI_PKT0 (3) /* ACPI interesting packet */ | ||
62 | /* detected. */ | ||
63 | #define ETH_EQ_ACPI_PKT1 (3) /* ACPI interesting packet */ | ||
64 | /* detected. */ | ||
65 | #define ETH_EQ_ACPI_PKT2 (3) /* ACPI interesting packet */ | ||
66 | /* detected. */ | ||
67 | #define ETH_EQ_ACPI_PKT3 (3) /* ACPI interesting packet */ | ||
68 | /* detected. */ | ||
69 | |||
70 | /* | ||
71 | * --- ETH_TX_COMPL_STATUS_ENUM --- | ||
72 | * Status codes contained in Ethernet TX completion descriptors. | ||
73 | */ | ||
74 | #define ETH_COMP_VALID (0) | ||
75 | #define ETH_COMP_ERROR (1) | ||
76 | #define ETH_COMP_INVALID (15) | ||
77 | |||
78 | /* | ||
79 | * --- ETH_TX_COMPL_PORT_ENUM --- | ||
80 | * Port indicator contained in Ethernet TX completion descriptors. | ||
81 | */ | ||
82 | #define ETH_COMP_PORT0 (0) | ||
83 | #define ETH_COMP_PORT1 (1) | ||
84 | #define ETH_COMP_MGMT (2) | ||
85 | |||
86 | /* | ||
87 | * --- ETH_TX_COMPL_CT_ENUM --- | ||
88 | * Completion type indicator contained in Ethernet TX completion descriptors. | ||
89 | */ | ||
90 | #define ETH_COMP_ETH (0) | ||
91 | |||
92 | /* | ||
93 | * Work request block that the driver issues to the chip for | ||
94 | * Ethernet transmissions. All control fields must be valid in each WRB for | ||
95 | * a message. The controller, as specified by the flags, optionally writes | ||
96 | * an entry to the Completion Ring and generate an event. | ||
97 | */ | ||
98 | struct BE_ETH_WRB_AMAP { | ||
99 | u8 frag_pa_hi[32]; /* DWORD 0 */ | ||
100 | u8 frag_pa_lo[32]; /* DWORD 1 */ | ||
101 | u8 complete; /* DWORD 2 */ | ||
102 | u8 event; /* DWORD 2 */ | ||
103 | u8 crc; /* DWORD 2 */ | ||
104 | u8 forward; /* DWORD 2 */ | ||
105 | u8 ipsec; /* DWORD 2 */ | ||
106 | u8 mgmt; /* DWORD 2 */ | ||
107 | u8 ipcs; /* DWORD 2 */ | ||
108 | u8 udpcs; /* DWORD 2 */ | ||
109 | u8 tcpcs; /* DWORD 2 */ | ||
110 | u8 lso; /* DWORD 2 */ | ||
111 | u8 last; /* DWORD 2 */ | ||
112 | u8 vlan; /* DWORD 2 */ | ||
113 | u8 dbg[3]; /* DWORD 2 */ | ||
114 | u8 hash_val[3]; /* DWORD 2 */ | ||
115 | u8 lso_mss[14]; /* DWORD 2 */ | ||
116 | u8 frag_len[16]; /* DWORD 3 */ | ||
117 | u8 vlan_tag[16]; /* DWORD 3 */ | ||
118 | } __packed; | ||
119 | struct ETH_WRB_AMAP { | ||
120 | u32 dw[4]; | ||
121 | }; | ||
122 | |||
123 | /* This is an Ethernet transmit completion descriptor */ | ||
124 | struct BE_ETH_TX_COMPL_AMAP { | ||
125 | u8 user_bytes[16]; /* DWORD 0 */ | ||
126 | u8 nwh_bytes[8]; /* DWORD 0 */ | ||
127 | u8 lso; /* DWORD 0 */ | ||
128 | u8 rsvd0[7]; /* DWORD 0 */ | ||
129 | u8 wrb_index[16]; /* DWORD 1 */ | ||
130 | u8 ct[2]; /* DWORD 1 */ | ||
131 | u8 port[2]; /* DWORD 1 */ | ||
132 | u8 rsvd1[8]; /* DWORD 1 */ | ||
133 | u8 status[4]; /* DWORD 1 */ | ||
134 | u8 rsvd2[16]; /* DWORD 2 */ | ||
135 | u8 ringid[11]; /* DWORD 2 */ | ||
136 | u8 hash_val[4]; /* DWORD 2 */ | ||
137 | u8 valid; /* DWORD 2 */ | ||
138 | u8 rsvd3[32]; /* DWORD 3 */ | ||
139 | } __packed; | ||
140 | struct ETH_TX_COMPL_AMAP { | ||
141 | u32 dw[4]; | ||
142 | }; | ||
143 | |||
144 | /* Ethernet Receive Buffer descriptor */ | ||
145 | struct BE_ETH_RX_D_AMAP { | ||
146 | u8 fragpa_hi[32]; /* DWORD 0 */ | ||
147 | u8 fragpa_lo[32]; /* DWORD 1 */ | ||
148 | } __packed; | ||
149 | struct ETH_RX_D_AMAP { | ||
150 | u32 dw[2]; | ||
151 | }; | ||
152 | |||
153 | /* This is an Ethernet Receive Completion Descriptor */ | ||
154 | struct BE_ETH_RX_COMPL_AMAP { | ||
155 | u8 vlan_tag[16]; /* DWORD 0 */ | ||
156 | u8 pktsize[14]; /* DWORD 0 */ | ||
157 | u8 port; /* DWORD 0 */ | ||
158 | u8 rsvd0; /* DWORD 0 */ | ||
159 | u8 err; /* DWORD 1 */ | ||
160 | u8 rsshp; /* DWORD 1 */ | ||
161 | u8 ipf; /* DWORD 1 */ | ||
162 | u8 tcpf; /* DWORD 1 */ | ||
163 | u8 udpf; /* DWORD 1 */ | ||
164 | u8 ipcksm; /* DWORD 1 */ | ||
165 | u8 tcpcksm; /* DWORD 1 */ | ||
166 | u8 udpcksm; /* DWORD 1 */ | ||
167 | u8 macdst[6]; /* DWORD 1 */ | ||
168 | u8 vtp; /* DWORD 1 */ | ||
169 | u8 vtm; /* DWORD 1 */ | ||
170 | u8 fragndx[10]; /* DWORD 1 */ | ||
171 | u8 ct[2]; /* DWORD 1 */ | ||
172 | u8 ipsec; /* DWORD 1 */ | ||
173 | u8 numfrags[3]; /* DWORD 1 */ | ||
174 | u8 rsvd1[31]; /* DWORD 2 */ | ||
175 | u8 valid; /* DWORD 2 */ | ||
176 | u8 rsshash[32]; /* DWORD 3 */ | ||
177 | } __packed; | ||
178 | struct ETH_RX_COMPL_AMAP { | ||
179 | u32 dw[4]; | ||
180 | }; | ||
181 | |||
182 | #endif /* __host_struct_amap_h__ */ | ||
diff --git a/drivers/staging/benet/hwlib.h b/drivers/staging/benet/hwlib.h deleted file mode 100644 index afedf4dc5903..000000000000 --- a/drivers/staging/benet/hwlib.h +++ /dev/null | |||
@@ -1,830 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | #ifndef __hwlib_h__ | ||
18 | #define __hwlib_h__ | ||
19 | |||
20 | #include <linux/module.h> | ||
21 | #include <linux/io.h> | ||
22 | #include <linux/list.h> | ||
23 | #include <linux/spinlock.h> | ||
24 | |||
25 | #include "regmap.h" /* srcgen array map output */ | ||
26 | |||
27 | #include "asyncmesg.h" | ||
28 | #include "fwcmd_opcodes.h" | ||
29 | #include "post_codes.h" | ||
30 | #include "fwcmd_mcc.h" | ||
31 | |||
32 | #include "fwcmd_types_bmap.h" | ||
33 | #include "fwcmd_common_bmap.h" | ||
34 | #include "fwcmd_eth_bmap.h" | ||
35 | #include "bestatus.h" | ||
36 | /* | ||
37 | * | ||
38 | * Macros for reading/writing a protection domain or CSR registers | ||
39 | * in BladeEngine. | ||
40 | */ | ||
41 | #define PD_READ(fo, field) ioread32((fo)->db_va + \ | ||
42 | offsetof(struct BE_PROTECTION_DOMAIN_DBMAP_AMAP, field)/8) | ||
43 | |||
44 | #define PD_WRITE(fo, field, val) iowrite32(val, (fo)->db_va + \ | ||
45 | offsetof(struct BE_PROTECTION_DOMAIN_DBMAP_AMAP, field)/8) | ||
46 | |||
47 | #define CSR_READ(fo, field) ioread32((fo)->csr_va + \ | ||
48 | offsetof(struct BE_BLADE_ENGINE_CSRMAP_AMAP, field)/8) | ||
49 | |||
50 | #define CSR_WRITE(fo, field, val) iowrite32(val, (fo)->csr_va + \ | ||
51 | offsetof(struct BE_BLADE_ENGINE_CSRMAP_AMAP, field)/8) | ||
52 | |||
53 | #define PCICFG0_READ(fo, field) ioread32((fo)->pci_va + \ | ||
54 | offsetof(struct BE_PCICFG0_CSRMAP_AMAP, field)/8) | ||
55 | |||
56 | #define PCICFG0_WRITE(fo, field, val) iowrite32(val, (fo)->pci_va + \ | ||
57 | offsetof(struct BE_PCICFG0_CSRMAP_AMAP, field)/8) | ||
58 | |||
59 | #define PCICFG1_READ(fo, field) ioread32((fo)->pci_va + \ | ||
60 | offsetof(struct BE_PCICFG1_CSRMAP_AMAP, field)/8) | ||
61 | |||
62 | #define PCICFG1_WRITE(fo, field, val) iowrite32(val, (fo)->pci_va + \ | ||
63 | offsetof(struct BE_PCICFG1_CSRMAP_AMAP, field)/8) | ||
64 | |||
65 | #ifdef BE_DEBUG | ||
66 | #define ASSERT(c) BUG_ON(!(c)); | ||
67 | #else | ||
68 | #define ASSERT(c) | ||
69 | #endif | ||
70 | |||
71 | /* debug levels */ | ||
72 | enum BE_DEBUG_LEVELS { | ||
73 | DL_ALWAYS = 0, /* cannot be masked */ | ||
74 | DL_ERR = 0x1, /* errors that should never happen */ | ||
75 | DL_WARN = 0x2, /* something questionable. | ||
76 | recoverable errors */ | ||
77 | DL_NOTE = 0x4, /* infrequent, important debug info */ | ||
78 | DL_INFO = 0x8, /* debug information */ | ||
79 | DL_VERBOSE = 0x10, /* detailed info, such as buffer traces */ | ||
80 | BE_DL_MIN_VALUE = 0x1, /* this is the min value used */ | ||
81 | BE_DL_MAX_VALUE = 0x80 /* this is the higheset value used */ | ||
82 | } ; | ||
83 | |||
84 | extern unsigned int trace_level; | ||
85 | |||
86 | #define TRACE(lm, fmt, args...) { \ | ||
87 | if (trace_level & lm) { \ | ||
88 | printk(KERN_NOTICE "BE: %s:%d \n" fmt, \ | ||
89 | __FILE__ , __LINE__ , ## args); \ | ||
90 | } \ | ||
91 | } | ||
92 | |||
93 | static inline unsigned int be_trace_set_level(unsigned int level) | ||
94 | { | ||
95 | unsigned int old_level = trace_level; | ||
96 | trace_level = level; | ||
97 | return old_level; | ||
98 | } | ||
99 | |||
100 | #define be_trace_get_level() trace_level | ||
101 | /* | ||
102 | * Returns number of pages spanned by the size of data | ||
103 | * starting at the given address. | ||
104 | */ | ||
105 | #define PAGES_SPANNED(_address, _size) \ | ||
106 | ((u32)((((size_t)(_address) & (PAGE_SIZE - 1)) + \ | ||
107 | (_size) + (PAGE_SIZE - 1)) >> PAGE_SHIFT)) | ||
108 | /* Byte offset into the page corresponding to given address */ | ||
109 | #define OFFSET_IN_PAGE(_addr_) ((size_t)(_addr_) & (PAGE_SIZE-1)) | ||
110 | |||
111 | /* | ||
112 | * circular subtract. | ||
113 | * Returns a - b assuming a circular number system, where a and b are | ||
114 | * in range (0, maxValue-1). If a==b, zero is returned so the | ||
115 | * highest value possible with this subtraction is maxValue-1. | ||
116 | */ | ||
117 | static inline u32 be_subc(u32 a, u32 b, u32 max) | ||
118 | { | ||
119 | ASSERT(a <= max && b <= max); | ||
120 | ASSERT(max > 0); | ||
121 | return a >= b ? (a - b) : (max - b + a); | ||
122 | } | ||
123 | |||
124 | static inline u32 be_addc(u32 a, u32 b, u32 max) | ||
125 | { | ||
126 | ASSERT(a < max); | ||
127 | ASSERT(max > 0); | ||
128 | return (max - a > b) ? (a + b) : (b + a - max); | ||
129 | } | ||
130 | |||
131 | /* descriptor for a physically contiguous memory used for ring */ | ||
132 | struct ring_desc { | ||
133 | u32 length; /* length in bytes */ | ||
134 | void *va; /* virtual address */ | ||
135 | u64 pa; /* bus address */ | ||
136 | } ; | ||
137 | |||
138 | /* | ||
139 | * This structure stores information about a ring shared between hardware | ||
140 | * and software. Each ring is allocated by the driver in the uncached | ||
141 | * extension and mapped into BladeEngine's unified table. | ||
142 | */ | ||
143 | struct mp_ring { | ||
144 | u32 pages; /* queue size in pages */ | ||
145 | u32 id; /* queue id assigned by beklib */ | ||
146 | u32 num; /* number of elements in queue */ | ||
147 | u32 cidx; /* consumer index */ | ||
148 | u32 pidx; /* producer index -- not used by most rings */ | ||
149 | u32 itemSize; /* size in bytes of one object */ | ||
150 | |||
151 | void *va; /* The virtual address of the ring. | ||
152 | This should be last to allow 32 & 64 | ||
153 | bit debugger extensions to work. */ | ||
154 | } ; | ||
155 | |||
156 | /*----------- amap bit filed get / set macros and functions -----*/ | ||
157 | /* | ||
158 | * Structures defined in the map header files (under fw/amap/) with names | ||
159 | * in the format BE_<name>_AMAP are pseudo structures with members | ||
160 | * of type u8. These structures are templates that are used in | ||
161 | * conjuntion with the structures with names in the format | ||
162 | * <name>_AMAP to calculate the bit masks and bit offsets to get or set | ||
163 | * bit fields in structures. The structures <name>_AMAP are arrays | ||
164 | * of 32 bits words and have the correct size. The following macros | ||
165 | * provide convenient ways to get and set the various members | ||
166 | * in the structures without using strucctures with bit fields. | ||
167 | * Always use the macros AMAP_GET_BITS_PTR and AMAP_SET_BITS_PTR | ||
168 | * macros to extract and set various members. | ||
169 | */ | ||
170 | |||
171 | /* | ||
172 | * Returns the a bit mask for the register that is NOT shifted into location. | ||
173 | * That means return values always look like: 0x1, 0xFF, 0x7FF, etc... | ||
174 | */ | ||
175 | static inline u32 amap_mask(u32 bit_size) | ||
176 | { | ||
177 | return bit_size == 32 ? 0xFFFFFFFF : (1 << bit_size) - 1; | ||
178 | } | ||
179 | |||
180 | #define AMAP_BIT_MASK(_struct_, field) \ | ||
181 | amap_mask(AMAP_BIT_SIZE(_struct_, field)) | ||
182 | |||
183 | /* | ||
184 | * non-optimized set bits function. First clears the bits and then assigns them. | ||
185 | * This does not require knowledge of the particular DWORD you are setting. | ||
186 | * e.g. AMAP_SET_BITS_PTR (struct, field1, &contextMemory, 123); | ||
187 | */ | ||
188 | static inline void | ||
189 | amap_set(void *ptr, u32 dw_offset, u32 mask, u32 offset, u32 value) | ||
190 | { | ||
191 | u32 *dw = (u32 *)ptr; | ||
192 | *(dw + dw_offset) &= ~(mask << offset); | ||
193 | *(dw + dw_offset) |= (mask & value) << offset; | ||
194 | } | ||
195 | |||
196 | #define AMAP_SET_BITS_PTR(_struct_, field, _structPtr_, val) \ | ||
197 | amap_set(_structPtr_, AMAP_WORD_OFFSET(_struct_, field),\ | ||
198 | AMAP_BIT_MASK(_struct_, field), \ | ||
199 | AMAP_BIT_OFFSET(_struct_, field), val) | ||
200 | /* | ||
201 | * Non-optimized routine that gets the bits without knowing the correct DWORD. | ||
202 | * e.g. fieldValue = AMAP_GET_BITS_PTR (struct, field1, &contextMemory); | ||
203 | */ | ||
204 | static inline u32 | ||
205 | amap_get(void *ptr, u32 dw_offset, u32 mask, u32 offset) | ||
206 | { | ||
207 | u32 *dw = (u32 *)ptr; | ||
208 | return mask & (*(dw + dw_offset) >> offset); | ||
209 | } | ||
210 | #define AMAP_GET_BITS_PTR(_struct_, field, _structPtr_) \ | ||
211 | amap_get(_structPtr_, AMAP_WORD_OFFSET(_struct_, field), \ | ||
212 | AMAP_BIT_MASK(_struct_, field), \ | ||
213 | AMAP_BIT_OFFSET(_struct_, field)) | ||
214 | |||
215 | /* Returns 0-31 representing bit offset within a DWORD of a bitfield. */ | ||
216 | #define AMAP_BIT_OFFSET(_struct_, field) \ | ||
217 | (offsetof(struct BE_ ## _struct_ ## _AMAP, field) % 32) | ||
218 | |||
219 | /* Returns 0-n representing DWORD offset of bitfield within the structure. */ | ||
220 | #define AMAP_WORD_OFFSET(_struct_, field) \ | ||
221 | (offsetof(struct BE_ ## _struct_ ## _AMAP, field)/32) | ||
222 | |||
223 | /* Returns size of bitfield in bits. */ | ||
224 | #define AMAP_BIT_SIZE(_struct_, field) \ | ||
225 | sizeof(((struct BE_ ## _struct_ ## _AMAP*)0)->field) | ||
226 | |||
227 | struct be_mcc_wrb_response_copy { | ||
228 | u16 length; /* bytes in response */ | ||
229 | u16 fwcmd_offset; /* offset within the wrb of the response */ | ||
230 | void *va; /* user's va to copy response into */ | ||
231 | |||
232 | } ; | ||
233 | typedef void (*mcc_wrb_cqe_callback) (void *context, int status, | ||
234 | struct MCC_WRB_AMAP *optional_wrb); | ||
235 | struct be_mcc_wrb_context { | ||
236 | |||
237 | mcc_wrb_cqe_callback internal_cb; /* Function to call on | ||
238 | completion */ | ||
239 | void *internal_cb_context; /* Parameter to pass | ||
240 | to completion function */ | ||
241 | |||
242 | mcc_wrb_cqe_callback cb; /* Function to call on completion */ | ||
243 | void *cb_context; /* Parameter to pass to completion function */ | ||
244 | |||
245 | int *users_final_status; /* pointer to a local | ||
246 | variable for synchronous | ||
247 | commands */ | ||
248 | struct MCC_WRB_AMAP *wrb; /* pointer to original wrb for embedded | ||
249 | commands only */ | ||
250 | struct list_head next; /* links context structs together in | ||
251 | free list */ | ||
252 | |||
253 | struct be_mcc_wrb_response_copy copy; /* Optional parameters to copy | ||
254 | embedded response to user's va */ | ||
255 | |||
256 | #if defined(BE_DEBUG) | ||
257 | u16 subsystem, opcode; /* Track this FWCMD for debug builds. */ | ||
258 | struct MCC_WRB_AMAP *ring_wrb; | ||
259 | u32 consumed_count; | ||
260 | #endif | ||
261 | } ; | ||
262 | |||
263 | /* | ||
264 | Represents a function object for network or storage. This | ||
265 | is used to manage per-function resources like MCC CQs, etc. | ||
266 | */ | ||
267 | struct be_function_object { | ||
268 | |||
269 | u32 magic; /*!< magic for detecting memory corruption. */ | ||
270 | |||
271 | /* PCI BAR mapped addresses */ | ||
272 | u8 __iomem *csr_va; /* CSR */ | ||
273 | u8 __iomem *db_va; /* Door Bell */ | ||
274 | u8 __iomem *pci_va; /* PCI config space */ | ||
275 | u32 emulate; /* if set, MPU is not available. | ||
276 | Emulate everything. */ | ||
277 | u32 pend_queue_driving; /* if set, drive the queued WRBs | ||
278 | after releasing the WRB lock */ | ||
279 | |||
280 | spinlock_t post_lock; /* lock for verifying one thread posting wrbs */ | ||
281 | spinlock_t cq_lock; /* lock for verifying one thread | ||
282 | processing cq */ | ||
283 | spinlock_t mcc_context_lock; /* lock for protecting mcc | ||
284 | context free list */ | ||
285 | unsigned long post_irq; | ||
286 | unsigned long cq_irq; | ||
287 | |||
288 | u32 type; | ||
289 | u32 pci_function_number; | ||
290 | |||
291 | struct be_mcc_object *mcc; /* mcc rings. */ | ||
292 | |||
293 | struct { | ||
294 | struct MCC_MAILBOX_AMAP *va; /* VA to the mailbox */ | ||
295 | u64 pa; /* PA to the mailbox */ | ||
296 | u32 length; /* byte length of mailbox */ | ||
297 | |||
298 | /* One default context struct used for posting at | ||
299 | * least one MCC_WRB | ||
300 | */ | ||
301 | struct be_mcc_wrb_context default_context; | ||
302 | bool default_context_allocated; | ||
303 | } mailbox; | ||
304 | |||
305 | struct { | ||
306 | |||
307 | /* Wake on lans configured. */ | ||
308 | u32 wol_bitmask; /* bits 0,1,2,3 are set if | ||
309 | corresponding index is enabled */ | ||
310 | } config; | ||
311 | |||
312 | |||
313 | struct BE_FIRMWARE_CONFIG fw_config; | ||
314 | } ; | ||
315 | |||
316 | /* | ||
317 | Represents an Event Queue | ||
318 | */ | ||
319 | struct be_eq_object { | ||
320 | u32 magic; | ||
321 | atomic_t ref_count; | ||
322 | |||
323 | struct be_function_object *parent_function; | ||
324 | |||
325 | struct list_head eq_list; | ||
326 | struct list_head cq_list_head; | ||
327 | |||
328 | u32 eq_id; | ||
329 | void *cb_context; | ||
330 | |||
331 | } ; | ||
332 | |||
333 | /* | ||
334 | Manages a completion queue | ||
335 | */ | ||
336 | struct be_cq_object { | ||
337 | u32 magic; | ||
338 | atomic_t ref_count; | ||
339 | |||
340 | struct be_function_object *parent_function; | ||
341 | struct be_eq_object *eq_object; | ||
342 | |||
343 | struct list_head cq_list; | ||
344 | struct list_head cqlist_for_eq; | ||
345 | |||
346 | void *va; | ||
347 | u32 num_entries; | ||
348 | |||
349 | void *cb_context; | ||
350 | |||
351 | u32 cq_id; | ||
352 | |||
353 | } ; | ||
354 | |||
355 | /* | ||
356 | Manages an ethernet send queue | ||
357 | */ | ||
358 | struct be_ethsq_object { | ||
359 | u32 magic; | ||
360 | |||
361 | struct list_head list; | ||
362 | |||
363 | struct be_function_object *parent_function; | ||
364 | struct be_cq_object *cq_object; | ||
365 | u32 bid; | ||
366 | |||
367 | } ; | ||
368 | |||
369 | /* | ||
370 | @brief | ||
371 | Manages an ethernet receive queue | ||
372 | */ | ||
373 | struct be_ethrq_object { | ||
374 | u32 magic; | ||
375 | struct list_head list; | ||
376 | struct be_function_object *parent_function; | ||
377 | u32 rid; | ||
378 | struct be_cq_object *cq_object; | ||
379 | struct be_cq_object *rss_cq_object[4]; | ||
380 | |||
381 | } ; | ||
382 | |||
383 | /* | ||
384 | Manages an MCC | ||
385 | */ | ||
386 | typedef void (*mcc_async_event_callback) (void *context, u32 event_code, | ||
387 | void *event); | ||
388 | struct be_mcc_object { | ||
389 | u32 magic; | ||
390 | |||
391 | struct be_function_object *parent_function; | ||
392 | struct list_head mcc_list; | ||
393 | |||
394 | struct be_cq_object *cq_object; | ||
395 | |||
396 | /* Async event callback for MCC CQ. */ | ||
397 | mcc_async_event_callback async_cb; | ||
398 | void *async_context; | ||
399 | |||
400 | struct { | ||
401 | struct be_mcc_wrb_context *base; | ||
402 | u32 num; | ||
403 | struct list_head list_head; | ||
404 | } wrb_context; | ||
405 | |||
406 | struct { | ||
407 | struct ring_desc *rd; | ||
408 | struct mp_ring ring; | ||
409 | } sq; | ||
410 | |||
411 | struct { | ||
412 | struct mp_ring ring; | ||
413 | } cq; | ||
414 | |||
415 | u32 processing; /* flag indicating that one thread | ||
416 | is processing CQ */ | ||
417 | u32 rearm; /* doorbell rearm setting to make | ||
418 | sure the active processing thread */ | ||
419 | /* rearms the CQ if any of the threads requested it. */ | ||
420 | |||
421 | struct list_head backlog; | ||
422 | u32 backlog_length; | ||
423 | u32 driving_backlog; | ||
424 | u32 consumed_index; | ||
425 | |||
426 | } ; | ||
427 | |||
428 | |||
429 | /* Queue context header -- the required software information for | ||
430 | * queueing a WRB. | ||
431 | */ | ||
432 | struct be_queue_driver_context { | ||
433 | mcc_wrb_cqe_callback internal_cb; /* Function to call on | ||
434 | completion */ | ||
435 | void *internal_cb_context; /* Parameter to pass | ||
436 | to completion function */ | ||
437 | |||
438 | mcc_wrb_cqe_callback cb; /* Function to call on completion */ | ||
439 | void *cb_context; /* Parameter to pass to completion function */ | ||
440 | |||
441 | struct be_mcc_wrb_response_copy copy; /* Optional parameters to copy | ||
442 | embedded response to user's va */ | ||
443 | void *optional_fwcmd_va; | ||
444 | struct list_head list; | ||
445 | u32 bytes; | ||
446 | } ; | ||
447 | |||
448 | /* | ||
449 | * Common MCC WRB header that all commands require. | ||
450 | */ | ||
451 | struct be_mcc_wrb_header { | ||
452 | u8 rsvd[offsetof(struct BE_MCC_WRB_AMAP, payload)/8]; | ||
453 | } ; | ||
454 | |||
455 | /* | ||
456 | * All non embedded commands supported by hwlib functions only allow | ||
457 | * 1 SGE. This queue context handles them all. | ||
458 | */ | ||
459 | struct be_nonembedded_q_ctxt { | ||
460 | struct be_queue_driver_context context; | ||
461 | struct be_mcc_wrb_header wrb_header; | ||
462 | struct MCC_SGE_AMAP sge[1]; | ||
463 | } ; | ||
464 | |||
465 | /* | ||
466 | * ------------------------------------------------------------------------ | ||
467 | * This section contains the specific queue struct for each command. | ||
468 | * The user could always provide a be_generic_q_ctxt but this is a | ||
469 | * rather large struct. By using the specific struct, memory consumption | ||
470 | * can be reduced. | ||
471 | * ------------------------------------------------------------------------ | ||
472 | */ | ||
473 | |||
474 | struct be_link_status_q_ctxt { | ||
475 | struct be_queue_driver_context context; | ||
476 | struct be_mcc_wrb_header wrb_header; | ||
477 | struct FWCMD_COMMON_NTWK_LINK_STATUS_QUERY fwcmd; | ||
478 | } ; | ||
479 | |||
480 | struct be_multicast_q_ctxt { | ||
481 | struct be_queue_driver_context context; | ||
482 | struct be_mcc_wrb_header wrb_header; | ||
483 | struct FWCMD_COMMON_NTWK_MULTICAST_SET fwcmd; | ||
484 | } ; | ||
485 | |||
486 | |||
487 | struct be_vlan_q_ctxt { | ||
488 | struct be_queue_driver_context context; | ||
489 | struct be_mcc_wrb_header wrb_header; | ||
490 | struct FWCMD_COMMON_NTWK_VLAN_CONFIG fwcmd; | ||
491 | } ; | ||
492 | |||
493 | struct be_promiscuous_q_ctxt { | ||
494 | struct be_queue_driver_context context; | ||
495 | struct be_mcc_wrb_header wrb_header; | ||
496 | struct FWCMD_ETH_PROMISCUOUS fwcmd; | ||
497 | } ; | ||
498 | |||
499 | struct be_force_failover_q_ctxt { | ||
500 | struct be_queue_driver_context context; | ||
501 | struct be_mcc_wrb_header wrb_header; | ||
502 | struct FWCMD_COMMON_FORCE_FAILOVER fwcmd; | ||
503 | } ; | ||
504 | |||
505 | |||
506 | struct be_rxf_filter_q_ctxt { | ||
507 | struct be_queue_driver_context context; | ||
508 | struct be_mcc_wrb_header wrb_header; | ||
509 | struct FWCMD_COMMON_NTWK_RX_FILTER fwcmd; | ||
510 | } ; | ||
511 | |||
512 | struct be_eq_modify_delay_q_ctxt { | ||
513 | struct be_queue_driver_context context; | ||
514 | struct be_mcc_wrb_header wrb_header; | ||
515 | struct FWCMD_COMMON_MODIFY_EQ_DELAY fwcmd; | ||
516 | } ; | ||
517 | |||
518 | /* | ||
519 | * The generic context is the largest size that would be required. | ||
520 | * It is the software context plus an entire WRB. | ||
521 | */ | ||
522 | struct be_generic_q_ctxt { | ||
523 | struct be_queue_driver_context context; | ||
524 | struct be_mcc_wrb_header wrb_header; | ||
525 | struct MCC_WRB_PAYLOAD_AMAP payload; | ||
526 | } ; | ||
527 | |||
528 | /* | ||
529 | * Types for the BE_QUEUE_CONTEXT object. | ||
530 | */ | ||
531 | #define BE_QUEUE_INVALID (0) | ||
532 | #define BE_QUEUE_LINK_STATUS (0xA006) | ||
533 | #define BE_QUEUE_ETH_STATS (0xA007) | ||
534 | #define BE_QUEUE_TPM_STATS (0xA008) | ||
535 | #define BE_QUEUE_TCP_STATS (0xA009) | ||
536 | #define BE_QUEUE_MULTICAST (0xA00A) | ||
537 | #define BE_QUEUE_VLAN (0xA00B) | ||
538 | #define BE_QUEUE_RSS (0xA00C) | ||
539 | #define BE_QUEUE_FORCE_FAILOVER (0xA00D) | ||
540 | #define BE_QUEUE_PROMISCUOUS (0xA00E) | ||
541 | #define BE_QUEUE_WAKE_ON_LAN (0xA00F) | ||
542 | #define BE_QUEUE_NOP (0xA010) | ||
543 | |||
544 | /* --- BE_FUNCTION_ENUM --- */ | ||
545 | #define BE_FUNCTION_TYPE_ISCSI (0) | ||
546 | #define BE_FUNCTION_TYPE_NETWORK (1) | ||
547 | #define BE_FUNCTION_TYPE_ARM (2) | ||
548 | |||
549 | /* --- BE_ETH_TX_RING_TYPE_ENUM --- */ | ||
550 | #define BE_ETH_TX_RING_TYPE_FORWARDING (1) /* Ether ring for forwarding */ | ||
551 | #define BE_ETH_TX_RING_TYPE_STANDARD (2) /* Ether ring for sending */ | ||
552 | /* network packets. */ | ||
553 | #define BE_ETH_TX_RING_TYPE_BOUND (3) /* Ethernet ring for sending */ | ||
554 | /* network packets, bound */ | ||
555 | /* to a physical port. */ | ||
556 | /* | ||
557 | * ---------------------------------------------------------------------- | ||
558 | * API MACROS | ||
559 | * ---------------------------------------------------------------------- | ||
560 | */ | ||
561 | #define BE_FWCMD_NAME(_short_name_) struct FWCMD_##_short_name_ | ||
562 | #define BE_OPCODE_NAME(_short_name_) OPCODE_##_short_name_ | ||
563 | #define BE_SUBSYSTEM_NAME(_short_name_) SUBSYSTEM_##_short_name_ | ||
564 | |||
565 | |||
566 | #define BE_PREPARE_EMBEDDED_FWCMD(_pfob_, _wrb_, _short_name_) \ | ||
567 | ((BE_FWCMD_NAME(_short_name_) *) \ | ||
568 | be_function_prepare_embedded_fwcmd(_pfob_, _wrb_, \ | ||
569 | sizeof(BE_FWCMD_NAME(_short_name_)), \ | ||
570 | FIELD_SIZEOF(BE_FWCMD_NAME(_short_name_), params.request), \ | ||
571 | FIELD_SIZEOF(BE_FWCMD_NAME(_short_name_), params.response), \ | ||
572 | BE_OPCODE_NAME(_short_name_), \ | ||
573 | BE_SUBSYSTEM_NAME(_short_name_))); | ||
574 | |||
575 | #define BE_PREPARE_NONEMBEDDED_FWCMD(_pfob_, _wrb_, _iva_, _ipa_, _short_name_)\ | ||
576 | ((BE_FWCMD_NAME(_short_name_) *) \ | ||
577 | be_function_prepare_nonembedded_fwcmd(_pfob_, _wrb_, (_iva_), (_ipa_), \ | ||
578 | sizeof(BE_FWCMD_NAME(_short_name_)), \ | ||
579 | FIELD_SIZEOF(BE_FWCMD_NAME(_short_name_), params.request), \ | ||
580 | FIELD_SIZEOF(BE_FWCMD_NAME(_short_name_), params.response), \ | ||
581 | BE_OPCODE_NAME(_short_name_), \ | ||
582 | BE_SUBSYSTEM_NAME(_short_name_))); | ||
583 | |||
584 | int be_function_object_create(u8 __iomem *csr_va, u8 __iomem *db_va, | ||
585 | u8 __iomem *pci_va, u32 function_type, struct ring_desc *mailbox_rd, | ||
586 | struct be_function_object *pfob); | ||
587 | |||
588 | int be_function_object_destroy(struct be_function_object *pfob); | ||
589 | int be_function_cleanup(struct be_function_object *pfob); | ||
590 | |||
591 | |||
592 | int be_function_get_fw_version(struct be_function_object *pfob, | ||
593 | struct FWCMD_COMMON_GET_FW_VERSION_RESPONSE_PAYLOAD *fw_version, | ||
594 | mcc_wrb_cqe_callback cb, void *cb_context); | ||
595 | |||
596 | |||
597 | int be_eq_modify_delay(struct be_function_object *pfob, | ||
598 | u32 num_eq, struct be_eq_object **eq_array, | ||
599 | u32 *eq_delay_array, mcc_wrb_cqe_callback cb, | ||
600 | void *cb_context, | ||
601 | struct be_eq_modify_delay_q_ctxt *q_ctxt); | ||
602 | |||
603 | |||
604 | |||
605 | int be_eq_create(struct be_function_object *pfob, | ||
606 | struct ring_desc *rd, u32 eqe_size, u32 num_entries, | ||
607 | u32 watermark, u32 timer_delay, struct be_eq_object *eq_object); | ||
608 | |||
609 | int be_eq_destroy(struct be_eq_object *eq); | ||
610 | |||
611 | int be_cq_create(struct be_function_object *pfob, | ||
612 | struct ring_desc *rd, u32 length, | ||
613 | bool solicited_eventable, bool no_delay, | ||
614 | u32 wm_thresh, struct be_eq_object *eq_object, | ||
615 | struct be_cq_object *cq_object); | ||
616 | |||
617 | int be_cq_destroy(struct be_cq_object *cq); | ||
618 | |||
619 | int be_mcc_ring_create(struct be_function_object *pfob, | ||
620 | struct ring_desc *rd, u32 length, | ||
621 | struct be_mcc_wrb_context *context_array, | ||
622 | u32 num_context_entries, | ||
623 | struct be_cq_object *cq, struct be_mcc_object *mcc); | ||
624 | int be_mcc_ring_destroy(struct be_mcc_object *mcc_object); | ||
625 | |||
626 | int be_mcc_process_cq(struct be_mcc_object *mcc_object, bool rearm); | ||
627 | |||
628 | int be_mcc_add_async_event_callback(struct be_mcc_object *mcc_object, | ||
629 | mcc_async_event_callback cb, void *cb_context); | ||
630 | |||
631 | int be_pci_soft_reset(struct be_function_object *pfob); | ||
632 | |||
633 | |||
634 | int be_drive_POST(struct be_function_object *pfob); | ||
635 | |||
636 | |||
637 | int be_eth_sq_create(struct be_function_object *pfob, | ||
638 | struct ring_desc *rd, u32 length_in_bytes, | ||
639 | u32 type, u32 ulp, struct be_cq_object *cq_object, | ||
640 | struct be_ethsq_object *eth_sq); | ||
641 | |||
642 | struct be_eth_sq_parameters { | ||
643 | u32 port; | ||
644 | u32 rsvd0[2]; | ||
645 | } ; | ||
646 | |||
647 | int be_eth_sq_create_ex(struct be_function_object *pfob, | ||
648 | struct ring_desc *rd, u32 length_in_bytes, | ||
649 | u32 type, u32 ulp, struct be_cq_object *cq_object, | ||
650 | struct be_eth_sq_parameters *ex_parameters, | ||
651 | struct be_ethsq_object *eth_sq); | ||
652 | int be_eth_sq_destroy(struct be_ethsq_object *eth_sq); | ||
653 | |||
654 | int be_eth_set_flow_control(struct be_function_object *pfob, | ||
655 | bool txfc_enable, bool rxfc_enable); | ||
656 | |||
657 | int be_eth_get_flow_control(struct be_function_object *pfob, | ||
658 | bool *txfc_enable, bool *rxfc_enable); | ||
659 | int be_eth_set_qos(struct be_function_object *pfob, u32 max_bps, u32 max_pps); | ||
660 | |||
661 | int be_eth_get_qos(struct be_function_object *pfob, u32 *max_bps, u32 *max_pps); | ||
662 | |||
663 | int be_eth_set_frame_size(struct be_function_object *pfob, | ||
664 | u32 *tx_frame_size, u32 *rx_frame_size); | ||
665 | |||
666 | int be_eth_rq_create(struct be_function_object *pfob, | ||
667 | struct ring_desc *rd, struct be_cq_object *cq_object, | ||
668 | struct be_cq_object *bcmc_cq_object, | ||
669 | struct be_ethrq_object *eth_rq); | ||
670 | |||
671 | int be_eth_rq_destroy(struct be_ethrq_object *eth_rq); | ||
672 | |||
673 | int be_eth_rq_destroy_options(struct be_ethrq_object *eth_rq, bool flush, | ||
674 | mcc_wrb_cqe_callback cb, void *cb_context); | ||
675 | int be_eth_rq_set_frag_size(struct be_function_object *pfob, | ||
676 | u32 new_frag_size_bytes, u32 *actual_frag_size_bytes); | ||
677 | int be_eth_rq_get_frag_size(struct be_function_object *pfob, | ||
678 | u32 *frag_size_bytes); | ||
679 | |||
680 | void *be_function_prepare_embedded_fwcmd(struct be_function_object *pfob, | ||
681 | struct MCC_WRB_AMAP *wrb, | ||
682 | u32 payload_length, u32 request_length, | ||
683 | u32 response_length, u32 opcode, u32 subsystem); | ||
684 | void *be_function_prepare_nonembedded_fwcmd(struct be_function_object *pfob, | ||
685 | struct MCC_WRB_AMAP *wrb, void *fwcmd_header_va, u64 fwcmd_header_pa, | ||
686 | u32 payload_length, u32 request_length, u32 response_length, | ||
687 | u32 opcode, u32 subsystem); | ||
688 | |||
689 | |||
690 | struct MCC_WRB_AMAP * | ||
691 | be_function_peek_mcc_wrb(struct be_function_object *pfob); | ||
692 | |||
693 | int be_rxf_mac_address_read_write(struct be_function_object *pfob, | ||
694 | bool port1, bool mac1, bool mgmt, | ||
695 | bool write, bool permanent, u8 *mac_address, | ||
696 | mcc_wrb_cqe_callback cb, | ||
697 | void *cb_context); | ||
698 | |||
699 | int be_rxf_multicast_config(struct be_function_object *pfob, | ||
700 | bool promiscuous, u32 num, u8 *mac_table, | ||
701 | mcc_wrb_cqe_callback cb, | ||
702 | void *cb_context, | ||
703 | struct be_multicast_q_ctxt *q_ctxt); | ||
704 | |||
705 | int be_rxf_vlan_config(struct be_function_object *pfob, | ||
706 | bool promiscuous, u32 num, u16 *vlan_tag_array, | ||
707 | mcc_wrb_cqe_callback cb, void *cb_context, | ||
708 | struct be_vlan_q_ctxt *q_ctxt); | ||
709 | |||
710 | |||
711 | int be_rxf_link_status(struct be_function_object *pfob, | ||
712 | struct BE_LINK_STATUS *link_status, | ||
713 | mcc_wrb_cqe_callback cb, | ||
714 | void *cb_context, | ||
715 | struct be_link_status_q_ctxt *q_ctxt); | ||
716 | |||
717 | |||
718 | int be_rxf_query_eth_statistics(struct be_function_object *pfob, | ||
719 | struct FWCMD_ETH_GET_STATISTICS *va_for_fwcmd, | ||
720 | u64 pa_for_fwcmd, mcc_wrb_cqe_callback cb, | ||
721 | void *cb_context, | ||
722 | struct be_nonembedded_q_ctxt *q_ctxt); | ||
723 | |||
724 | int be_rxf_promiscuous(struct be_function_object *pfob, | ||
725 | bool enable_port0, bool enable_port1, | ||
726 | mcc_wrb_cqe_callback cb, void *cb_context, | ||
727 | struct be_promiscuous_q_ctxt *q_ctxt); | ||
728 | |||
729 | |||
730 | int be_rxf_filter_config(struct be_function_object *pfob, | ||
731 | struct NTWK_RX_FILTER_SETTINGS *settings, | ||
732 | mcc_wrb_cqe_callback cb, | ||
733 | void *cb_context, | ||
734 | struct be_rxf_filter_q_ctxt *q_ctxt); | ||
735 | |||
736 | /* | ||
737 | * ------------------------------------------------------ | ||
738 | * internal functions used by hwlib | ||
739 | * ------------------------------------------------------ | ||
740 | */ | ||
741 | |||
742 | |||
743 | int be_function_ring_destroy(struct be_function_object *pfob, | ||
744 | u32 id, u32 ring_type, mcc_wrb_cqe_callback cb, | ||
745 | void *cb_context, | ||
746 | mcc_wrb_cqe_callback internal_cb, | ||
747 | void *internal_callback_context); | ||
748 | |||
749 | int be_function_post_mcc_wrb(struct be_function_object *pfob, | ||
750 | struct MCC_WRB_AMAP *wrb, | ||
751 | struct be_generic_q_ctxt *q_ctxt, | ||
752 | mcc_wrb_cqe_callback cb, void *cb_context, | ||
753 | mcc_wrb_cqe_callback internal_cb, | ||
754 | void *internal_cb_context, void *optional_fwcmd_va, | ||
755 | struct be_mcc_wrb_response_copy *response_copy); | ||
756 | |||
757 | int be_function_queue_mcc_wrb(struct be_function_object *pfob, | ||
758 | struct be_generic_q_ctxt *q_ctxt); | ||
759 | |||
760 | /* | ||
761 | * ------------------------------------------------------ | ||
762 | * MCC QUEUE | ||
763 | * ------------------------------------------------------ | ||
764 | */ | ||
765 | |||
766 | int be_mpu_init_mailbox(struct be_function_object *pfob, struct ring_desc *rd); | ||
767 | |||
768 | |||
769 | struct MCC_WRB_AMAP * | ||
770 | _be_mpu_peek_ring_wrb(struct be_mcc_object *mcc, bool driving_queue); | ||
771 | |||
772 | struct be_mcc_wrb_context * | ||
773 | _be_mcc_allocate_wrb_context(struct be_function_object *pfob); | ||
774 | |||
775 | void _be_mcc_free_wrb_context(struct be_function_object *pfob, | ||
776 | struct be_mcc_wrb_context *context); | ||
777 | |||
778 | int _be_mpu_post_wrb_mailbox(struct be_function_object *pfob, | ||
779 | struct MCC_WRB_AMAP *wrb, struct be_mcc_wrb_context *wrb_context); | ||
780 | |||
781 | int _be_mpu_post_wrb_ring(struct be_mcc_object *mcc, | ||
782 | struct MCC_WRB_AMAP *wrb, struct be_mcc_wrb_context *wrb_context); | ||
783 | |||
784 | void be_drive_mcc_wrb_queue(struct be_mcc_object *mcc); | ||
785 | |||
786 | |||
787 | /* | ||
788 | * ------------------------------------------------------ | ||
789 | * Ring Sizes | ||
790 | * ------------------------------------------------------ | ||
791 | */ | ||
792 | static inline u32 be_ring_encoding_to_length(u32 encoding, u32 object_size) | ||
793 | { | ||
794 | |||
795 | ASSERT(encoding != 1); /* 1 is rsvd */ | ||
796 | ASSERT(encoding < 16); | ||
797 | ASSERT(object_size > 0); | ||
798 | |||
799 | if (encoding == 0) /* 32k deep */ | ||
800 | encoding = 16; | ||
801 | |||
802 | return (1 << (encoding - 1)) * object_size; | ||
803 | } | ||
804 | |||
805 | static inline | ||
806 | u32 be_ring_length_to_encoding(u32 length_in_bytes, u32 object_size) | ||
807 | { | ||
808 | |||
809 | u32 count, encoding; | ||
810 | |||
811 | ASSERT(object_size > 0); | ||
812 | ASSERT(length_in_bytes % object_size == 0); | ||
813 | |||
814 | count = length_in_bytes / object_size; | ||
815 | |||
816 | ASSERT(count > 1); | ||
817 | ASSERT(count <= 32 * 1024); | ||
818 | ASSERT(length_in_bytes <= 8 * PAGE_SIZE); /* max ring size in UT */ | ||
819 | |||
820 | encoding = __ilog2_u32(count) + 1; | ||
821 | |||
822 | if (encoding == 16) | ||
823 | encoding = 0; /* 32k deep */ | ||
824 | |||
825 | return encoding; | ||
826 | } | ||
827 | |||
828 | void be_rd_to_pa_list(struct ring_desc *rd, struct PHYS_ADDR *pa_list, | ||
829 | u32 max_num); | ||
830 | #endif /* __hwlib_h__ */ | ||
diff --git a/drivers/staging/benet/mpu.c b/drivers/staging/benet/mpu.c deleted file mode 100644 index 269cc11d3055..000000000000 --- a/drivers/staging/benet/mpu.c +++ /dev/null | |||
@@ -1,1364 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | #include <linux/delay.h> | ||
18 | #include "hwlib.h" | ||
19 | #include "bestatus.h" | ||
20 | |||
21 | static | ||
22 | inline void mp_ring_create(struct mp_ring *ring, u32 num, u32 size, void *va) | ||
23 | { | ||
24 | ASSERT(ring); | ||
25 | memset(ring, 0, sizeof(struct mp_ring)); | ||
26 | ring->num = num; | ||
27 | ring->pages = DIV_ROUND_UP(num * size, PAGE_SIZE); | ||
28 | ring->itemSize = size; | ||
29 | ring->va = va; | ||
30 | } | ||
31 | |||
32 | /* | ||
33 | * ----------------------------------------------------------------------- | ||
34 | * Interface for 2 index rings. i.e. consumer/producer rings | ||
35 | * -------------------------------------------------------------------------- | ||
36 | */ | ||
37 | |||
38 | /* Returns number items pending on ring. */ | ||
39 | static inline u32 mp_ring_num_pending(struct mp_ring *ring) | ||
40 | { | ||
41 | ASSERT(ring); | ||
42 | if (ring->num == 0) | ||
43 | return 0; | ||
44 | return be_subc(ring->pidx, ring->cidx, ring->num); | ||
45 | } | ||
46 | |||
47 | /* Returns number items free on ring. */ | ||
48 | static inline u32 mp_ring_num_empty(struct mp_ring *ring) | ||
49 | { | ||
50 | ASSERT(ring); | ||
51 | return ring->num - 1 - mp_ring_num_pending(ring); | ||
52 | } | ||
53 | |||
54 | /* Consume 1 item */ | ||
55 | static inline void mp_ring_consume(struct mp_ring *ring) | ||
56 | { | ||
57 | ASSERT(ring); | ||
58 | ASSERT(ring->pidx != ring->cidx); | ||
59 | |||
60 | ring->cidx = be_addc(ring->cidx, 1, ring->num); | ||
61 | } | ||
62 | |||
63 | /* Produce 1 item */ | ||
64 | static inline void mp_ring_produce(struct mp_ring *ring) | ||
65 | { | ||
66 | ASSERT(ring); | ||
67 | ring->pidx = be_addc(ring->pidx, 1, ring->num); | ||
68 | } | ||
69 | |||
70 | /* Consume count items */ | ||
71 | static inline void mp_ring_consume_multiple(struct mp_ring *ring, u32 count) | ||
72 | { | ||
73 | ASSERT(ring); | ||
74 | ASSERT(mp_ring_num_pending(ring) >= count); | ||
75 | ring->cidx = be_addc(ring->cidx, count, ring->num); | ||
76 | } | ||
77 | |||
78 | static inline void *mp_ring_item(struct mp_ring *ring, u32 index) | ||
79 | { | ||
80 | ASSERT(ring); | ||
81 | ASSERT(index < ring->num); | ||
82 | ASSERT(ring->itemSize > 0); | ||
83 | return (u8 *) ring->va + index * ring->itemSize; | ||
84 | } | ||
85 | |||
86 | /* Ptr to produce item */ | ||
87 | static inline void *mp_ring_producer_ptr(struct mp_ring *ring) | ||
88 | { | ||
89 | ASSERT(ring); | ||
90 | return mp_ring_item(ring, ring->pidx); | ||
91 | } | ||
92 | |||
93 | /* | ||
94 | * Returns a pointer to the current location in the ring. | ||
95 | * This is used for rings with 1 index. | ||
96 | */ | ||
97 | static inline void *mp_ring_current(struct mp_ring *ring) | ||
98 | { | ||
99 | ASSERT(ring); | ||
100 | ASSERT(ring->pidx == 0); /* not used */ | ||
101 | |||
102 | return mp_ring_item(ring, ring->cidx); | ||
103 | } | ||
104 | |||
105 | /* | ||
106 | * Increment index for rings with only 1 index. | ||
107 | * This is used for rings with 1 index. | ||
108 | */ | ||
109 | static inline void *mp_ring_next(struct mp_ring *ring) | ||
110 | { | ||
111 | ASSERT(ring); | ||
112 | ASSERT(ring->num > 0); | ||
113 | ASSERT(ring->pidx == 0); /* not used */ | ||
114 | |||
115 | ring->cidx = be_addc(ring->cidx, 1, ring->num); | ||
116 | return mp_ring_current(ring); | ||
117 | } | ||
118 | |||
119 | /* | ||
120 | This routine waits for a previously posted mailbox WRB to be completed. | ||
121 | Specifically it waits for the mailbox to say that it's ready to accept | ||
122 | more data by setting the LSB of the mailbox pd register to 1. | ||
123 | |||
124 | pcontroller - The function object to post this data to | ||
125 | |||
126 | IRQL < DISPATCH_LEVEL | ||
127 | */ | ||
128 | static void be_mcc_mailbox_wait(struct be_function_object *pfob) | ||
129 | { | ||
130 | struct MPU_MAILBOX_DB_AMAP mailbox_db; | ||
131 | u32 i = 0; | ||
132 | u32 ready; | ||
133 | |||
134 | if (pfob->emulate) { | ||
135 | /* No waiting for mailbox in emulated mode. */ | ||
136 | return; | ||
137 | } | ||
138 | |||
139 | mailbox_db.dw[0] = PD_READ(pfob, mcc_bootstrap_db); | ||
140 | ready = AMAP_GET_BITS_PTR(MPU_MAILBOX_DB, ready, &mailbox_db); | ||
141 | |||
142 | while (ready == false) { | ||
143 | if ((++i & 0x3FFFF) == 0) { | ||
144 | TRACE(DL_WARN, "Waiting for mailbox ready - %dk polls", | ||
145 | i / 1000); | ||
146 | } | ||
147 | udelay(1); | ||
148 | mailbox_db.dw[0] = PD_READ(pfob, mcc_bootstrap_db); | ||
149 | ready = AMAP_GET_BITS_PTR(MPU_MAILBOX_DB, ready, &mailbox_db); | ||
150 | } | ||
151 | } | ||
152 | |||
153 | /* | ||
154 | This routine tells the MCC mailbox that there is data to processed | ||
155 | in the mailbox. It does this by setting the physical address for the | ||
156 | mailbox location and clearing the LSB. This routine returns immediately | ||
157 | and does not wait for the WRB to be processed. | ||
158 | |||
159 | pcontroller - The function object to post this data to | ||
160 | |||
161 | IRQL < DISPATCH_LEVEL | ||
162 | |||
163 | */ | ||
164 | static void be_mcc_mailbox_notify(struct be_function_object *pfob) | ||
165 | { | ||
166 | struct MPU_MAILBOX_DB_AMAP mailbox_db; | ||
167 | u32 pa; | ||
168 | |||
169 | ASSERT(pfob->mailbox.pa); | ||
170 | ASSERT(pfob->mailbox.va); | ||
171 | |||
172 | /* If emulated, do not ring the mailbox */ | ||
173 | if (pfob->emulate) { | ||
174 | TRACE(DL_WARN, "MPU disabled. Skipping mailbox notify."); | ||
175 | return; | ||
176 | } | ||
177 | |||
178 | /* form the higher bits in the address */ | ||
179 | mailbox_db.dw[0] = 0; /* init */ | ||
180 | AMAP_SET_BITS_PTR(MPU_MAILBOX_DB, hi, &mailbox_db, 1); | ||
181 | AMAP_SET_BITS_PTR(MPU_MAILBOX_DB, ready, &mailbox_db, 0); | ||
182 | |||
183 | /* bits 34 to 63 */ | ||
184 | pa = (u32) (pfob->mailbox.pa >> 34); | ||
185 | AMAP_SET_BITS_PTR(MPU_MAILBOX_DB, address, &mailbox_db, pa); | ||
186 | |||
187 | /* Wait for the MPU to be ready */ | ||
188 | be_mcc_mailbox_wait(pfob); | ||
189 | |||
190 | /* Ring doorbell 1st time */ | ||
191 | PD_WRITE(pfob, mcc_bootstrap_db, mailbox_db.dw[0]); | ||
192 | |||
193 | /* Wait for 1st write to be acknowledged. */ | ||
194 | be_mcc_mailbox_wait(pfob); | ||
195 | |||
196 | /* lower bits 30 bits from 4th bit (bits 4 to 33)*/ | ||
197 | pa = (u32) (pfob->mailbox.pa >> 4) & 0x3FFFFFFF; | ||
198 | |||
199 | AMAP_SET_BITS_PTR(MPU_MAILBOX_DB, hi, &mailbox_db, 0); | ||
200 | AMAP_SET_BITS_PTR(MPU_MAILBOX_DB, ready, &mailbox_db, 0); | ||
201 | AMAP_SET_BITS_PTR(MPU_MAILBOX_DB, address, &mailbox_db, pa); | ||
202 | |||
203 | /* Ring doorbell 2nd time */ | ||
204 | PD_WRITE(pfob, mcc_bootstrap_db, mailbox_db.dw[0]); | ||
205 | } | ||
206 | |||
207 | /* | ||
208 | This routine tells the MCC mailbox that there is data to processed | ||
209 | in the mailbox. It does this by setting the physical address for the | ||
210 | mailbox location and clearing the LSB. This routine spins until the | ||
211 | MPU writes a 1 into the LSB indicating that the data has been received | ||
212 | and is ready to be processed. | ||
213 | |||
214 | pcontroller - The function object to post this data to | ||
215 | |||
216 | IRQL < DISPATCH_LEVEL | ||
217 | */ | ||
218 | static void | ||
219 | be_mcc_mailbox_notify_and_wait(struct be_function_object *pfob) | ||
220 | { | ||
221 | /* | ||
222 | * Notify it | ||
223 | */ | ||
224 | be_mcc_mailbox_notify(pfob); | ||
225 | /* | ||
226 | * Now wait for completion of WRB | ||
227 | */ | ||
228 | be_mcc_mailbox_wait(pfob); | ||
229 | } | ||
230 | |||
231 | void | ||
232 | be_mcc_process_cqe(struct be_function_object *pfob, | ||
233 | struct MCC_CQ_ENTRY_AMAP *cqe) | ||
234 | { | ||
235 | struct be_mcc_wrb_context *wrb_context = NULL; | ||
236 | u32 offset, status; | ||
237 | u8 *p; | ||
238 | |||
239 | ASSERT(cqe); | ||
240 | /* | ||
241 | * A command completed. Commands complete out-of-order. | ||
242 | * Determine which command completed from the TAG. | ||
243 | */ | ||
244 | offset = offsetof(struct BE_MCC_CQ_ENTRY_AMAP, mcc_tag)/8; | ||
245 | p = (u8 *) cqe + offset; | ||
246 | wrb_context = (struct be_mcc_wrb_context *)(void *)(size_t)(*(u64 *)p); | ||
247 | ASSERT(wrb_context); | ||
248 | |||
249 | /* | ||
250 | * Perform a response copy if requested. | ||
251 | * Only copy data if the FWCMD is successful. | ||
252 | */ | ||
253 | status = AMAP_GET_BITS_PTR(MCC_CQ_ENTRY, completion_status, cqe); | ||
254 | if (status == MGMT_STATUS_SUCCESS && wrb_context->copy.length > 0) { | ||
255 | ASSERT(wrb_context->wrb); | ||
256 | ASSERT(wrb_context->copy.va); | ||
257 | p = (u8 *)wrb_context->wrb + | ||
258 | offsetof(struct BE_MCC_WRB_AMAP, payload)/8; | ||
259 | memcpy(wrb_context->copy.va, | ||
260 | (u8 *)p + wrb_context->copy.fwcmd_offset, | ||
261 | wrb_context->copy.length); | ||
262 | } | ||
263 | |||
264 | if (status) | ||
265 | status = BE_NOT_OK; | ||
266 | /* internal callback */ | ||
267 | if (wrb_context->internal_cb) { | ||
268 | wrb_context->internal_cb(wrb_context->internal_cb_context, | ||
269 | status, wrb_context->wrb); | ||
270 | } | ||
271 | |||
272 | /* callback */ | ||
273 | if (wrb_context->cb) { | ||
274 | wrb_context->cb(wrb_context->cb_context, | ||
275 | status, wrb_context->wrb); | ||
276 | } | ||
277 | /* Free the context structure */ | ||
278 | _be_mcc_free_wrb_context(pfob, wrb_context); | ||
279 | } | ||
280 | |||
281 | void be_drive_mcc_wrb_queue(struct be_mcc_object *mcc) | ||
282 | { | ||
283 | struct be_function_object *pfob = NULL; | ||
284 | int status = BE_PENDING; | ||
285 | struct be_generic_q_ctxt *q_ctxt; | ||
286 | struct MCC_WRB_AMAP *wrb; | ||
287 | struct MCC_WRB_AMAP *queue_wrb; | ||
288 | u32 length, payload_length, sge_count, embedded; | ||
289 | unsigned long irql; | ||
290 | |||
291 | BUILD_BUG_ON((sizeof(struct be_generic_q_ctxt) < | ||
292 | sizeof(struct be_queue_driver_context) + | ||
293 | sizeof(struct MCC_WRB_AMAP))); | ||
294 | pfob = mcc->parent_function; | ||
295 | |||
296 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
297 | |||
298 | if (mcc->driving_backlog) { | ||
299 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
300 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
301 | pfob->pend_queue_driving = 0; | ||
302 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
303 | } | ||
304 | return; | ||
305 | } | ||
306 | /* Acquire the flag to limit 1 thread to redrive posts. */ | ||
307 | mcc->driving_backlog = 1; | ||
308 | |||
309 | while (!list_empty(&mcc->backlog)) { | ||
310 | wrb = _be_mpu_peek_ring_wrb(mcc, true); /* Driving the queue */ | ||
311 | if (!wrb) | ||
312 | break; /* No space in the ring yet. */ | ||
313 | /* Get the next queued entry to process. */ | ||
314 | q_ctxt = list_first_entry(&mcc->backlog, | ||
315 | struct be_generic_q_ctxt, context.list); | ||
316 | list_del(&q_ctxt->context.list); | ||
317 | pfob->mcc->backlog_length--; | ||
318 | /* | ||
319 | * Compute the required length of the WRB. | ||
320 | * Since the queue element may be smaller than | ||
321 | * the complete WRB, copy only the required number of bytes. | ||
322 | */ | ||
323 | queue_wrb = (struct MCC_WRB_AMAP *) &q_ctxt->wrb_header; | ||
324 | embedded = AMAP_GET_BITS_PTR(MCC_WRB, embedded, queue_wrb); | ||
325 | if (embedded) { | ||
326 | payload_length = AMAP_GET_BITS_PTR(MCC_WRB, | ||
327 | payload_length, queue_wrb); | ||
328 | length = sizeof(struct be_mcc_wrb_header) + | ||
329 | payload_length; | ||
330 | } else { | ||
331 | sge_count = AMAP_GET_BITS_PTR(MCC_WRB, sge_count, | ||
332 | queue_wrb); | ||
333 | ASSERT(sge_count == 1); /* only 1 frag. */ | ||
334 | length = sizeof(struct be_mcc_wrb_header) + | ||
335 | sge_count * sizeof(struct MCC_SGE_AMAP); | ||
336 | } | ||
337 | |||
338 | /* | ||
339 | * Truncate the length based on the size of the | ||
340 | * queue element. Some elements that have output parameters | ||
341 | * can be smaller than the payload_length field would | ||
342 | * indicate. We really only need to copy the request | ||
343 | * parameters, not the response. | ||
344 | */ | ||
345 | length = min(length, (u32) (q_ctxt->context.bytes - | ||
346 | offsetof(struct be_generic_q_ctxt, wrb_header))); | ||
347 | |||
348 | /* Copy the queue element WRB into the ring. */ | ||
349 | memcpy(wrb, &q_ctxt->wrb_header, length); | ||
350 | |||
351 | /* Post the wrb. This should not fail assuming we have | ||
352 | * enough context structs. */ | ||
353 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, | ||
354 | q_ctxt->context.cb, q_ctxt->context.cb_context, | ||
355 | q_ctxt->context.internal_cb, | ||
356 | q_ctxt->context.internal_cb_context, | ||
357 | q_ctxt->context.optional_fwcmd_va, | ||
358 | &q_ctxt->context.copy); | ||
359 | |||
360 | if (status == BE_SUCCESS) { | ||
361 | /* | ||
362 | * Synchronous completion. Since it was queued, | ||
363 | * we will invoke the callback. | ||
364 | * To the user, this is an asynchronous request. | ||
365 | */ | ||
366 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
367 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
368 | pfob->pend_queue_driving = 0; | ||
369 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
370 | } | ||
371 | |||
372 | ASSERT(q_ctxt->context.cb); | ||
373 | |||
374 | q_ctxt->context.cb( | ||
375 | q_ctxt->context.cb_context, | ||
376 | BE_SUCCESS, NULL); | ||
377 | |||
378 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
379 | |||
380 | } else if (status != BE_PENDING) { | ||
381 | /* | ||
382 | * Another resource failed. Should never happen | ||
383 | * if we have sufficient MCC_WRB_CONTEXT structs. | ||
384 | * Return to head of the queue. | ||
385 | */ | ||
386 | TRACE(DL_WARN, "Failed to post a queued WRB. 0x%x", | ||
387 | status); | ||
388 | list_add(&q_ctxt->context.list, &mcc->backlog); | ||
389 | pfob->mcc->backlog_length++; | ||
390 | break; | ||
391 | } | ||
392 | } | ||
393 | |||
394 | /* Free the flag to limit 1 thread to redrive posts. */ | ||
395 | mcc->driving_backlog = 0; | ||
396 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
397 | } | ||
398 | |||
399 | /* This function asserts that the WRB was consumed in order. */ | ||
400 | #ifdef BE_DEBUG | ||
401 | u32 be_mcc_wrb_consumed_in_order(struct be_mcc_object *mcc, | ||
402 | struct MCC_CQ_ENTRY_AMAP *cqe) | ||
403 | { | ||
404 | struct be_mcc_wrb_context *wrb_context = NULL; | ||
405 | u32 wrb_index; | ||
406 | u32 wrb_consumed_in_order; | ||
407 | u32 offset; | ||
408 | u8 *p; | ||
409 | |||
410 | ASSERT(cqe); | ||
411 | /* | ||
412 | * A command completed. Commands complete out-of-order. | ||
413 | * Determine which command completed from the TAG. | ||
414 | */ | ||
415 | offset = offsetof(struct BE_MCC_CQ_ENTRY_AMAP, mcc_tag)/8; | ||
416 | p = (u8 *) cqe + offset; | ||
417 | wrb_context = (struct be_mcc_wrb_context *)(void *)(size_t)(*(u64 *)p); | ||
418 | |||
419 | ASSERT(wrb_context); | ||
420 | |||
421 | wrb_index = (u32) (((u64)(size_t)wrb_context->ring_wrb - | ||
422 | (u64)(size_t)mcc->sq.ring.va) / sizeof(struct MCC_WRB_AMAP)); | ||
423 | |||
424 | ASSERT(wrb_index < mcc->sq.ring.num); | ||
425 | |||
426 | wrb_consumed_in_order = (u32) (wrb_index == mcc->consumed_index); | ||
427 | mcc->consumed_index = be_addc(mcc->consumed_index, 1, mcc->sq.ring.num); | ||
428 | return wrb_consumed_in_order; | ||
429 | } | ||
430 | #endif | ||
431 | |||
432 | int be_mcc_process_cq(struct be_mcc_object *mcc, bool rearm) | ||
433 | { | ||
434 | struct be_function_object *pfob = NULL; | ||
435 | struct MCC_CQ_ENTRY_AMAP *cqe; | ||
436 | struct CQ_DB_AMAP db; | ||
437 | struct mp_ring *cq_ring = &mcc->cq.ring; | ||
438 | struct mp_ring *mp_ring = &mcc->sq.ring; | ||
439 | u32 num_processed = 0; | ||
440 | u32 consumed = 0, valid, completed, cqe_consumed, async_event; | ||
441 | |||
442 | pfob = mcc->parent_function; | ||
443 | |||
444 | spin_lock_irqsave(&pfob->cq_lock, pfob->cq_irq); | ||
445 | |||
446 | /* | ||
447 | * Verify that only one thread is processing the CQ at once. | ||
448 | * We cannot hold the lock while processing the CQ due to | ||
449 | * the callbacks into the OS. Therefore, this flag is used | ||
450 | * to control it. If any of the threads want to | ||
451 | * rearm the CQ, we need to honor that. | ||
452 | */ | ||
453 | if (mcc->processing != 0) { | ||
454 | mcc->rearm = mcc->rearm || rearm; | ||
455 | goto Error; | ||
456 | } else { | ||
457 | mcc->processing = 1; /* lock processing for this thread. */ | ||
458 | mcc->rearm = rearm; /* set our rearm setting */ | ||
459 | } | ||
460 | |||
461 | spin_unlock_irqrestore(&pfob->cq_lock, pfob->cq_irq); | ||
462 | |||
463 | cqe = mp_ring_current(cq_ring); | ||
464 | valid = AMAP_GET_BITS_PTR(MCC_CQ_ENTRY, valid, cqe); | ||
465 | while (valid) { | ||
466 | |||
467 | if (num_processed >= 8) { | ||
468 | /* coalesce doorbells, but free space in cq | ||
469 | * ring while processing. */ | ||
470 | db.dw[0] = 0; /* clear */ | ||
471 | AMAP_SET_BITS_PTR(CQ_DB, qid, &db, cq_ring->id); | ||
472 | AMAP_SET_BITS_PTR(CQ_DB, rearm, &db, false); | ||
473 | AMAP_SET_BITS_PTR(CQ_DB, event, &db, false); | ||
474 | AMAP_SET_BITS_PTR(CQ_DB, num_popped, &db, | ||
475 | num_processed); | ||
476 | num_processed = 0; | ||
477 | |||
478 | PD_WRITE(pfob, cq_db, db.dw[0]); | ||
479 | } | ||
480 | |||
481 | async_event = AMAP_GET_BITS_PTR(MCC_CQ_ENTRY, async_event, cqe); | ||
482 | if (async_event) { | ||
483 | /* This is an asynchronous event. */ | ||
484 | struct ASYNC_EVENT_TRAILER_AMAP *async_trailer = | ||
485 | (struct ASYNC_EVENT_TRAILER_AMAP *) | ||
486 | ((u8 *) cqe + sizeof(struct MCC_CQ_ENTRY_AMAP) - | ||
487 | sizeof(struct ASYNC_EVENT_TRAILER_AMAP)); | ||
488 | u32 event_code; | ||
489 | async_event = AMAP_GET_BITS_PTR(ASYNC_EVENT_TRAILER, | ||
490 | async_event, async_trailer); | ||
491 | ASSERT(async_event == 1); | ||
492 | |||
493 | |||
494 | valid = AMAP_GET_BITS_PTR(ASYNC_EVENT_TRAILER, | ||
495 | valid, async_trailer); | ||
496 | ASSERT(valid == 1); | ||
497 | |||
498 | /* Call the async event handler if it is installed. */ | ||
499 | if (mcc->async_cb) { | ||
500 | event_code = | ||
501 | AMAP_GET_BITS_PTR(ASYNC_EVENT_TRAILER, | ||
502 | event_code, async_trailer); | ||
503 | mcc->async_cb(mcc->async_context, | ||
504 | (u32) event_code, (void *) cqe); | ||
505 | } | ||
506 | |||
507 | } else { | ||
508 | /* This is a completion entry. */ | ||
509 | |||
510 | /* No vm forwarding in this driver. */ | ||
511 | |||
512 | cqe_consumed = AMAP_GET_BITS_PTR(MCC_CQ_ENTRY, | ||
513 | consumed, cqe); | ||
514 | if (cqe_consumed) { | ||
515 | /* | ||
516 | * A command on the MCC ring was consumed. | ||
517 | * Update the consumer index. | ||
518 | * These occur in order. | ||
519 | */ | ||
520 | ASSERT(be_mcc_wrb_consumed_in_order(mcc, cqe)); | ||
521 | consumed++; | ||
522 | } | ||
523 | |||
524 | completed = AMAP_GET_BITS_PTR(MCC_CQ_ENTRY, | ||
525 | completed, cqe); | ||
526 | if (completed) { | ||
527 | /* A command completed. Use tag to | ||
528 | * determine which command. */ | ||
529 | be_mcc_process_cqe(pfob, cqe); | ||
530 | } | ||
531 | } | ||
532 | |||
533 | /* Reset the CQE */ | ||
534 | AMAP_SET_BITS_PTR(MCC_CQ_ENTRY, valid, cqe, false); | ||
535 | num_processed++; | ||
536 | |||
537 | /* Update our tracking for the CQ ring. */ | ||
538 | cqe = mp_ring_next(cq_ring); | ||
539 | valid = AMAP_GET_BITS_PTR(MCC_CQ_ENTRY, valid, cqe); | ||
540 | } | ||
541 | |||
542 | TRACE(DL_INFO, "num_processed:0x%x, and consumed:0x%x", | ||
543 | num_processed, consumed); | ||
544 | /* | ||
545 | * Grab the CQ lock to synchronize the "rearm" setting for | ||
546 | * the doorbell, and for clearing the "processing" flag. | ||
547 | */ | ||
548 | spin_lock_irqsave(&pfob->cq_lock, pfob->cq_irq); | ||
549 | |||
550 | /* | ||
551 | * Rearm the cq. This is done based on the global mcc->rearm | ||
552 | * flag which combines the rearm parameter from the current | ||
553 | * call to process_cq and any other threads | ||
554 | * that tried to process the CQ while this one was active. | ||
555 | * This handles the situation where a sync. fwcmd was processing | ||
556 | * the CQ while the interrupt/dpc tries to process it. | ||
557 | * The sync process gets to continue -- but it is now | ||
558 | * responsible for the rearming. | ||
559 | */ | ||
560 | if (num_processed > 0 || mcc->rearm == true) { | ||
561 | db.dw[0] = 0; /* clear */ | ||
562 | AMAP_SET_BITS_PTR(CQ_DB, qid, &db, cq_ring->id); | ||
563 | AMAP_SET_BITS_PTR(CQ_DB, rearm, &db, mcc->rearm); | ||
564 | AMAP_SET_BITS_PTR(CQ_DB, event, &db, false); | ||
565 | AMAP_SET_BITS_PTR(CQ_DB, num_popped, &db, num_processed); | ||
566 | |||
567 | PD_WRITE(pfob, cq_db, db.dw[0]); | ||
568 | } | ||
569 | /* | ||
570 | * Update the consumer index after ringing the CQ doorbell. | ||
571 | * We don't want another thread to post more WRBs before we | ||
572 | * have CQ space available. | ||
573 | */ | ||
574 | mp_ring_consume_multiple(mp_ring, consumed); | ||
575 | |||
576 | /* Clear the processing flag. */ | ||
577 | mcc->processing = 0; | ||
578 | |||
579 | Error: | ||
580 | spin_unlock_irqrestore(&pfob->cq_lock, pfob->cq_irq); | ||
581 | /* | ||
582 | * Use the local variable to detect if the current thread | ||
583 | * holds the WRB post lock. If rearm is false, this is | ||
584 | * either a synchronous command, or the upper layer driver is polling | ||
585 | * from a thread. We do not drive the queue from that | ||
586 | * context since the driver may hold the | ||
587 | * wrb post lock already. | ||
588 | */ | ||
589 | if (rearm) | ||
590 | be_drive_mcc_wrb_queue(mcc); | ||
591 | else | ||
592 | pfob->pend_queue_driving = 1; | ||
593 | |||
594 | return BE_SUCCESS; | ||
595 | } | ||
596 | |||
597 | /* | ||
598 | *============================================================================ | ||
599 | * P U B L I C R O U T I N E S | ||
600 | *============================================================================ | ||
601 | */ | ||
602 | |||
603 | /* | ||
604 | This routine creates an MCC object. This object contains an MCC send queue | ||
605 | and a CQ private to the MCC. | ||
606 | |||
607 | pcontroller - Handle to a function object | ||
608 | |||
609 | EqObject - EQ object that will be used to dispatch this MCC | ||
610 | |||
611 | ppMccObject - Pointer to an internal Mcc Object returned. | ||
612 | |||
613 | Returns BE_SUCCESS if successfull,, otherwise a useful error code | ||
614 | is returned. | ||
615 | |||
616 | IRQL < DISPATCH_LEVEL | ||
617 | |||
618 | */ | ||
619 | int | ||
620 | be_mcc_ring_create(struct be_function_object *pfob, | ||
621 | struct ring_desc *rd, u32 length, | ||
622 | struct be_mcc_wrb_context *context_array, | ||
623 | u32 num_context_entries, | ||
624 | struct be_cq_object *cq, struct be_mcc_object *mcc) | ||
625 | { | ||
626 | int status = 0; | ||
627 | |||
628 | struct FWCMD_COMMON_MCC_CREATE *fwcmd = NULL; | ||
629 | struct MCC_WRB_AMAP *wrb = NULL; | ||
630 | u32 num_entries_encoded, n, i; | ||
631 | void *va = NULL; | ||
632 | unsigned long irql; | ||
633 | |||
634 | if (length < sizeof(struct MCC_WRB_AMAP) * 2) { | ||
635 | TRACE(DL_ERR, "Invalid MCC ring length:%d", length); | ||
636 | return BE_NOT_OK; | ||
637 | } | ||
638 | /* | ||
639 | * Reduce the actual ring size to be less than the number | ||
640 | * of context entries. This ensures that we run out of | ||
641 | * ring WRBs first so the queuing works correctly. We never | ||
642 | * queue based on context structs. | ||
643 | */ | ||
644 | if (num_context_entries + 1 < | ||
645 | length / sizeof(struct MCC_WRB_AMAP) - 1) { | ||
646 | |||
647 | u32 max_length = | ||
648 | (num_context_entries + 2) * sizeof(struct MCC_WRB_AMAP); | ||
649 | |||
650 | if (is_power_of_2(max_length)) | ||
651 | length = __roundup_pow_of_two(max_length+1) / 2; | ||
652 | else | ||
653 | length = __roundup_pow_of_two(max_length) / 2; | ||
654 | |||
655 | ASSERT(length <= max_length); | ||
656 | |||
657 | TRACE(DL_WARN, | ||
658 | "MCC ring length reduced based on context entries." | ||
659 | " length:%d wrbs:%d context_entries:%d", length, | ||
660 | (int) (length / sizeof(struct MCC_WRB_AMAP)), | ||
661 | num_context_entries); | ||
662 | } | ||
663 | |||
664 | spin_lock_irqsave(&pfob->post_lock, irql); | ||
665 | |||
666 | num_entries_encoded = | ||
667 | be_ring_length_to_encoding(length, sizeof(struct MCC_WRB_AMAP)); | ||
668 | |||
669 | /* Init MCC object. */ | ||
670 | memset(mcc, 0, sizeof(*mcc)); | ||
671 | mcc->parent_function = pfob; | ||
672 | mcc->cq_object = cq; | ||
673 | |||
674 | INIT_LIST_HEAD(&mcc->backlog); | ||
675 | |||
676 | wrb = be_function_peek_mcc_wrb(pfob); | ||
677 | if (!wrb) { | ||
678 | ASSERT(wrb); | ||
679 | TRACE(DL_ERR, "No free MCC WRBs in create EQ."); | ||
680 | status = BE_STATUS_NO_MCC_WRB; | ||
681 | goto error; | ||
682 | } | ||
683 | /* Prepares an embedded fwcmd, including request/response sizes. */ | ||
684 | fwcmd = BE_PREPARE_EMBEDDED_FWCMD(pfob, wrb, COMMON_MCC_CREATE); | ||
685 | |||
686 | fwcmd->params.request.num_pages = DIV_ROUND_UP(length, PAGE_SIZE); | ||
687 | /* | ||
688 | * Program MCC ring context | ||
689 | */ | ||
690 | AMAP_SET_BITS_PTR(MCC_RING_CONTEXT, pdid, | ||
691 | &fwcmd->params.request.context, 0); | ||
692 | AMAP_SET_BITS_PTR(MCC_RING_CONTEXT, invalid, | ||
693 | &fwcmd->params.request.context, false); | ||
694 | AMAP_SET_BITS_PTR(MCC_RING_CONTEXT, ring_size, | ||
695 | &fwcmd->params.request.context, num_entries_encoded); | ||
696 | |||
697 | n = cq->cq_id; | ||
698 | AMAP_SET_BITS_PTR(MCC_RING_CONTEXT, | ||
699 | cq_id, &fwcmd->params.request.context, n); | ||
700 | be_rd_to_pa_list(rd, fwcmd->params.request.pages, | ||
701 | ARRAY_SIZE(fwcmd->params.request.pages)); | ||
702 | /* Post the f/w command */ | ||
703 | status = be_function_post_mcc_wrb(pfob, wrb, NULL, NULL, NULL, | ||
704 | NULL, NULL, fwcmd, NULL); | ||
705 | if (status != BE_SUCCESS) { | ||
706 | TRACE(DL_ERR, "MCC to create CQ failed."); | ||
707 | goto error; | ||
708 | } | ||
709 | /* | ||
710 | * Create a linked list of context structures | ||
711 | */ | ||
712 | mcc->wrb_context.base = context_array; | ||
713 | mcc->wrb_context.num = num_context_entries; | ||
714 | INIT_LIST_HEAD(&mcc->wrb_context.list_head); | ||
715 | memset(context_array, 0, | ||
716 | sizeof(struct be_mcc_wrb_context) * num_context_entries); | ||
717 | for (i = 0; i < mcc->wrb_context.num; i++) { | ||
718 | list_add_tail(&context_array[i].next, | ||
719 | &mcc->wrb_context.list_head); | ||
720 | } | ||
721 | |||
722 | /* | ||
723 | * | ||
724 | * Create an mcc_ring for tracking WRB hw ring | ||
725 | */ | ||
726 | va = rd->va; | ||
727 | ASSERT(va); | ||
728 | mp_ring_create(&mcc->sq.ring, length / sizeof(struct MCC_WRB_AMAP), | ||
729 | sizeof(struct MCC_WRB_AMAP), va); | ||
730 | mcc->sq.ring.id = fwcmd->params.response.id; | ||
731 | /* | ||
732 | * Init a mcc_ring for tracking the MCC CQ. | ||
733 | */ | ||
734 | ASSERT(cq->va); | ||
735 | mp_ring_create(&mcc->cq.ring, cq->num_entries, | ||
736 | sizeof(struct MCC_CQ_ENTRY_AMAP), cq->va); | ||
737 | mcc->cq.ring.id = cq->cq_id; | ||
738 | |||
739 | /* Force zeroing of CQ. */ | ||
740 | memset(cq->va, 0, cq->num_entries * sizeof(struct MCC_CQ_ENTRY_AMAP)); | ||
741 | |||
742 | /* Initialize debug index. */ | ||
743 | mcc->consumed_index = 0; | ||
744 | |||
745 | atomic_inc(&cq->ref_count); | ||
746 | pfob->mcc = mcc; | ||
747 | |||
748 | TRACE(DL_INFO, "MCC ring created. id:%d bytes:%d cq_id:%d cq_entries:%d" | ||
749 | " num_context:%d", mcc->sq.ring.id, length, | ||
750 | cq->cq_id, cq->num_entries, num_context_entries); | ||
751 | |||
752 | error: | ||
753 | spin_unlock_irqrestore(&pfob->post_lock, irql); | ||
754 | if (pfob->pend_queue_driving && pfob->mcc) { | ||
755 | pfob->pend_queue_driving = 0; | ||
756 | be_drive_mcc_wrb_queue(pfob->mcc); | ||
757 | } | ||
758 | return status; | ||
759 | } | ||
760 | |||
761 | /* | ||
762 | This routine destroys an MCC send queue | ||
763 | |||
764 | MccObject - Internal Mcc Object to be destroyed. | ||
765 | |||
766 | Returns BE_SUCCESS if successfull, otherwise an error code is returned. | ||
767 | |||
768 | IRQL < DISPATCH_LEVEL | ||
769 | |||
770 | The caller of this routine must ensure that no other WRB may be posted | ||
771 | until this routine returns. | ||
772 | |||
773 | */ | ||
774 | int be_mcc_ring_destroy(struct be_mcc_object *mcc) | ||
775 | { | ||
776 | int status = 0; | ||
777 | struct be_function_object *pfob = mcc->parent_function; | ||
778 | |||
779 | |||
780 | ASSERT(mcc->processing == 0); | ||
781 | |||
782 | /* | ||
783 | * Remove the ring from the function object. | ||
784 | * This transitions back to mailbox mode. | ||
785 | */ | ||
786 | pfob->mcc = NULL; | ||
787 | |||
788 | /* Send fwcmd to destroy the queue. (Using the mailbox.) */ | ||
789 | status = be_function_ring_destroy(mcc->parent_function, mcc->sq.ring.id, | ||
790 | FWCMD_RING_TYPE_MCC, NULL, NULL, NULL, NULL); | ||
791 | ASSERT(status == 0); | ||
792 | |||
793 | /* Release the SQ reference to the CQ */ | ||
794 | atomic_dec(&mcc->cq_object->ref_count); | ||
795 | |||
796 | return status; | ||
797 | } | ||
798 | |||
799 | static void | ||
800 | mcc_wrb_sync_cb(void *context, int staus, struct MCC_WRB_AMAP *wrb) | ||
801 | { | ||
802 | struct be_mcc_wrb_context *wrb_context = | ||
803 | (struct be_mcc_wrb_context *) context; | ||
804 | ASSERT(wrb_context); | ||
805 | *wrb_context->users_final_status = staus; | ||
806 | } | ||
807 | |||
808 | /* | ||
809 | This routine posts a command to the MCC send queue | ||
810 | |||
811 | mcc - Internal Mcc Object to be destroyed. | ||
812 | |||
813 | wrb - wrb to post. | ||
814 | |||
815 | Returns BE_SUCCESS if successfull, otherwise an error code is returned. | ||
816 | |||
817 | IRQL < DISPATCH_LEVEL if CompletionCallback is not NULL | ||
818 | IRQL <=DISPATCH_LEVEL if CompletionCallback is NULL | ||
819 | |||
820 | If this routine is called with CompletionCallback != NULL the | ||
821 | call is considered to be asynchronous and will return as soon | ||
822 | as the WRB is posted to the MCC with BE_PENDING. | ||
823 | |||
824 | If CompletionCallback is NULL, then this routine will not return until | ||
825 | a completion for this MCC command has been processed. | ||
826 | If called at DISPATCH_LEVEL the CompletionCallback must be NULL. | ||
827 | |||
828 | This routine should only be called if the MPU has been boostraped past | ||
829 | mailbox mode. | ||
830 | |||
831 | |||
832 | */ | ||
833 | int | ||
834 | _be_mpu_post_wrb_ring(struct be_mcc_object *mcc, struct MCC_WRB_AMAP *wrb, | ||
835 | struct be_mcc_wrb_context *wrb_context) | ||
836 | { | ||
837 | |||
838 | struct MCC_WRB_AMAP *ring_wrb = NULL; | ||
839 | int status = BE_PENDING; | ||
840 | int final_status = BE_PENDING; | ||
841 | mcc_wrb_cqe_callback cb = NULL; | ||
842 | struct MCC_DB_AMAP mcc_db; | ||
843 | u32 embedded; | ||
844 | |||
845 | ASSERT(mp_ring_num_empty(&mcc->sq.ring) > 0); | ||
846 | /* | ||
847 | * Input wrb is most likely the next wrb in the ring, since the client | ||
848 | * can peek at the address. | ||
849 | */ | ||
850 | ring_wrb = mp_ring_producer_ptr(&mcc->sq.ring); | ||
851 | if (wrb != ring_wrb) { | ||
852 | /* If not equal, copy it into the ring. */ | ||
853 | memcpy(ring_wrb, wrb, sizeof(struct MCC_WRB_AMAP)); | ||
854 | } | ||
855 | #ifdef BE_DEBUG | ||
856 | wrb_context->ring_wrb = ring_wrb; | ||
857 | #endif | ||
858 | embedded = AMAP_GET_BITS_PTR(MCC_WRB, embedded, ring_wrb); | ||
859 | if (embedded) { | ||
860 | /* embedded commands will have the response within the WRB. */ | ||
861 | wrb_context->wrb = ring_wrb; | ||
862 | } else { | ||
863 | /* | ||
864 | * non-embedded commands will not have the response | ||
865 | * within the WRB, and they may complete out-of-order. | ||
866 | * The WRB will not be valid to inspect | ||
867 | * during the completion. | ||
868 | */ | ||
869 | wrb_context->wrb = NULL; | ||
870 | } | ||
871 | cb = wrb_context->cb; | ||
872 | |||
873 | if (cb == NULL) { | ||
874 | /* Assign our internal callback if this is a | ||
875 | * synchronous call. */ | ||
876 | wrb_context->cb = mcc_wrb_sync_cb; | ||
877 | wrb_context->cb_context = wrb_context; | ||
878 | wrb_context->users_final_status = &final_status; | ||
879 | } | ||
880 | /* Increment producer index */ | ||
881 | |||
882 | mcc_db.dw[0] = 0; /* initialize */ | ||
883 | AMAP_SET_BITS_PTR(MCC_DB, rid, &mcc_db, mcc->sq.ring.id); | ||
884 | AMAP_SET_BITS_PTR(MCC_DB, numPosted, &mcc_db, 1); | ||
885 | |||
886 | mp_ring_produce(&mcc->sq.ring); | ||
887 | PD_WRITE(mcc->parent_function, mpu_mcc_db, mcc_db.dw[0]); | ||
888 | TRACE(DL_INFO, "pidx: %x and cidx: %x.", mcc->sq.ring.pidx, | ||
889 | mcc->sq.ring.cidx); | ||
890 | |||
891 | if (cb == NULL) { | ||
892 | int polls = 0; /* At >= 1 us per poll */ | ||
893 | /* Wait until this command completes, polling the CQ. */ | ||
894 | do { | ||
895 | TRACE(DL_INFO, "FWCMD submitted in the poll mode."); | ||
896 | /* Do not rearm CQ in this context. */ | ||
897 | be_mcc_process_cq(mcc, false); | ||
898 | |||
899 | if (final_status == BE_PENDING) { | ||
900 | if ((++polls & 0x7FFFF) == 0) { | ||
901 | TRACE(DL_WARN, | ||
902 | "Warning : polling MCC CQ for %d" | ||
903 | "ms.", polls / 1000); | ||
904 | } | ||
905 | |||
906 | udelay(1); | ||
907 | } | ||
908 | |||
909 | /* final_status changed when the command completes */ | ||
910 | } while (final_status == BE_PENDING); | ||
911 | |||
912 | status = final_status; | ||
913 | } | ||
914 | |||
915 | return status; | ||
916 | } | ||
917 | |||
918 | struct MCC_WRB_AMAP * | ||
919 | _be_mpu_peek_ring_wrb(struct be_mcc_object *mcc, bool driving_queue) | ||
920 | { | ||
921 | /* If we have queued items, do not allow a post to bypass the queue. */ | ||
922 | if (!driving_queue && !list_empty(&mcc->backlog)) | ||
923 | return NULL; | ||
924 | |||
925 | if (mp_ring_num_empty(&mcc->sq.ring) <= 0) | ||
926 | return NULL; | ||
927 | return (struct MCC_WRB_AMAP *) mp_ring_producer_ptr(&mcc->sq.ring); | ||
928 | } | ||
929 | |||
930 | int | ||
931 | be_mpu_init_mailbox(struct be_function_object *pfob, struct ring_desc *mailbox) | ||
932 | { | ||
933 | ASSERT(mailbox); | ||
934 | pfob->mailbox.va = mailbox->va; | ||
935 | pfob->mailbox.pa = cpu_to_le64(mailbox->pa); | ||
936 | pfob->mailbox.length = mailbox->length; | ||
937 | |||
938 | ASSERT(((u32)(size_t)pfob->mailbox.va & 0xf) == 0); | ||
939 | ASSERT(((u32)(size_t)pfob->mailbox.pa & 0xf) == 0); | ||
940 | /* | ||
941 | * Issue the WRB to set MPU endianness | ||
942 | */ | ||
943 | { | ||
944 | u64 *endian_check = (u64 *) (pfob->mailbox.va + | ||
945 | offsetof(struct BE_MCC_MAILBOX_AMAP, wrb)/8); | ||
946 | *endian_check = 0xFF1234FFFF5678FFULL; | ||
947 | } | ||
948 | |||
949 | be_mcc_mailbox_notify_and_wait(pfob); | ||
950 | |||
951 | return BE_SUCCESS; | ||
952 | } | ||
953 | |||
954 | |||
955 | /* | ||
956 | This routine posts a command to the MCC mailbox. | ||
957 | |||
958 | FuncObj - Function Object to post the WRB on behalf of. | ||
959 | wrb - wrb to post. | ||
960 | CompletionCallback - Address of a callback routine to invoke once the WRB | ||
961 | is completed. | ||
962 | CompletionCallbackContext - Opaque context to be passed during the call to | ||
963 | the CompletionCallback. | ||
964 | Returns BE_SUCCESS if successfull, otherwise an error code is returned. | ||
965 | |||
966 | IRQL <=DISPATCH_LEVEL if CompletionCallback is NULL | ||
967 | |||
968 | This routine will block until a completion for this MCC command has been | ||
969 | processed. If called at DISPATCH_LEVEL the CompletionCallback must be NULL. | ||
970 | |||
971 | This routine should only be called if the MPU has not been boostraped past | ||
972 | mailbox mode. | ||
973 | */ | ||
974 | int | ||
975 | _be_mpu_post_wrb_mailbox(struct be_function_object *pfob, | ||
976 | struct MCC_WRB_AMAP *wrb, struct be_mcc_wrb_context *wrb_context) | ||
977 | { | ||
978 | struct MCC_MAILBOX_AMAP *mailbox = NULL; | ||
979 | struct MCC_WRB_AMAP *mb_wrb; | ||
980 | struct MCC_CQ_ENTRY_AMAP *mb_cq; | ||
981 | u32 offset, status; | ||
982 | |||
983 | ASSERT(pfob->mcc == NULL); | ||
984 | mailbox = pfob->mailbox.va; | ||
985 | ASSERT(mailbox); | ||
986 | |||
987 | offset = offsetof(struct BE_MCC_MAILBOX_AMAP, wrb)/8; | ||
988 | mb_wrb = (struct MCC_WRB_AMAP *) (u8 *)mailbox + offset; | ||
989 | if (mb_wrb != wrb) { | ||
990 | memset(mailbox, 0, sizeof(*mailbox)); | ||
991 | memcpy(mb_wrb, wrb, sizeof(struct MCC_WRB_AMAP)); | ||
992 | } | ||
993 | /* The callback can inspect the final WRB to get output parameters. */ | ||
994 | wrb_context->wrb = mb_wrb; | ||
995 | |||
996 | be_mcc_mailbox_notify_and_wait(pfob); | ||
997 | |||
998 | /* A command completed. Use tag to determine which command. */ | ||
999 | offset = offsetof(struct BE_MCC_MAILBOX_AMAP, cq)/8; | ||
1000 | mb_cq = (struct MCC_CQ_ENTRY_AMAP *) ((u8 *)mailbox + offset); | ||
1001 | be_mcc_process_cqe(pfob, mb_cq); | ||
1002 | |||
1003 | status = AMAP_GET_BITS_PTR(MCC_CQ_ENTRY, completion_status, mb_cq); | ||
1004 | if (status) | ||
1005 | status = BE_NOT_OK; | ||
1006 | return status; | ||
1007 | } | ||
1008 | |||
1009 | struct be_mcc_wrb_context * | ||
1010 | _be_mcc_allocate_wrb_context(struct be_function_object *pfob) | ||
1011 | { | ||
1012 | struct be_mcc_wrb_context *context = NULL; | ||
1013 | unsigned long irq; | ||
1014 | |||
1015 | spin_lock_irqsave(&pfob->mcc_context_lock, irq); | ||
1016 | |||
1017 | if (!pfob->mailbox.default_context_allocated) { | ||
1018 | /* Use the single default context that we | ||
1019 | * always have allocated. */ | ||
1020 | pfob->mailbox.default_context_allocated = true; | ||
1021 | context = &pfob->mailbox.default_context; | ||
1022 | } else if (pfob->mcc) { | ||
1023 | /* Get a context from the free list. If any are available. */ | ||
1024 | if (!list_empty(&pfob->mcc->wrb_context.list_head)) { | ||
1025 | context = list_first_entry( | ||
1026 | &pfob->mcc->wrb_context.list_head, | ||
1027 | struct be_mcc_wrb_context, next); | ||
1028 | } | ||
1029 | } | ||
1030 | |||
1031 | spin_unlock_irqrestore(&pfob->mcc_context_lock, irq); | ||
1032 | |||
1033 | return context; | ||
1034 | } | ||
1035 | |||
1036 | void | ||
1037 | _be_mcc_free_wrb_context(struct be_function_object *pfob, | ||
1038 | struct be_mcc_wrb_context *context) | ||
1039 | { | ||
1040 | unsigned long irq; | ||
1041 | |||
1042 | ASSERT(context); | ||
1043 | /* | ||
1044 | * Zero during free to try and catch any bugs where the context | ||
1045 | * is accessed after a free. | ||
1046 | */ | ||
1047 | memset(context, 0, sizeof(context)); | ||
1048 | |||
1049 | spin_lock_irqsave(&pfob->mcc_context_lock, irq); | ||
1050 | |||
1051 | if (context == &pfob->mailbox.default_context) { | ||
1052 | /* Free the default context. */ | ||
1053 | ASSERT(pfob->mailbox.default_context_allocated); | ||
1054 | pfob->mailbox.default_context_allocated = false; | ||
1055 | } else { | ||
1056 | /* Add to free list. */ | ||
1057 | ASSERT(pfob->mcc); | ||
1058 | list_add_tail(&context->next, | ||
1059 | &pfob->mcc->wrb_context.list_head); | ||
1060 | } | ||
1061 | |||
1062 | spin_unlock_irqrestore(&pfob->mcc_context_lock, irq); | ||
1063 | } | ||
1064 | |||
1065 | int | ||
1066 | be_mcc_add_async_event_callback(struct be_mcc_object *mcc_object, | ||
1067 | mcc_async_event_callback cb, void *cb_context) | ||
1068 | { | ||
1069 | /* Lock against anyone trying to change the callback/context pointers | ||
1070 | * while being used. */ | ||
1071 | spin_lock_irqsave(&mcc_object->parent_function->cq_lock, | ||
1072 | mcc_object->parent_function->cq_irq); | ||
1073 | |||
1074 | /* Assign the async callback. */ | ||
1075 | mcc_object->async_context = cb_context; | ||
1076 | mcc_object->async_cb = cb; | ||
1077 | |||
1078 | spin_unlock_irqrestore(&mcc_object->parent_function->cq_lock, | ||
1079 | mcc_object->parent_function->cq_irq); | ||
1080 | |||
1081 | return BE_SUCCESS; | ||
1082 | } | ||
1083 | |||
1084 | #define MPU_EP_CONTROL 0 | ||
1085 | #define MPU_EP_SEMAPHORE 0xac | ||
1086 | |||
1087 | /* | ||
1088 | *------------------------------------------------------------------- | ||
1089 | * Function: be_wait_for_POST_complete | ||
1090 | * Waits until the BladeEngine POST completes (either in error or success). | ||
1091 | * pfob - | ||
1092 | * return status - BE_SUCCESS (0) on success. Negative error code on failure. | ||
1093 | *------------------------------------------------------------------- | ||
1094 | */ | ||
1095 | static int be_wait_for_POST_complete(struct be_function_object *pfob) | ||
1096 | { | ||
1097 | struct MGMT_HBA_POST_STATUS_STRUCT_AMAP status; | ||
1098 | int s; | ||
1099 | u32 post_error, post_stage; | ||
1100 | |||
1101 | const u32 us_per_loop = 1000; /* 1000us */ | ||
1102 | const u32 print_frequency_loops = 1000000 / us_per_loop; | ||
1103 | const u32 max_loops = 60 * print_frequency_loops; | ||
1104 | u32 loops = 0; | ||
1105 | |||
1106 | /* | ||
1107 | * Wait for arm fw indicating it is done or a fatal error happened. | ||
1108 | * Note: POST can take some time to complete depending on configuration | ||
1109 | * settings (consider ARM attempts to acquire an IP address | ||
1110 | * over DHCP!!!). | ||
1111 | * | ||
1112 | */ | ||
1113 | do { | ||
1114 | status.dw[0] = ioread32(pfob->csr_va + MPU_EP_SEMAPHORE); | ||
1115 | post_error = AMAP_GET_BITS_PTR(MGMT_HBA_POST_STATUS_STRUCT, | ||
1116 | error, &status); | ||
1117 | post_stage = AMAP_GET_BITS_PTR(MGMT_HBA_POST_STATUS_STRUCT, | ||
1118 | stage, &status); | ||
1119 | if (0 == (loops % print_frequency_loops)) { | ||
1120 | /* Print current status */ | ||
1121 | TRACE(DL_INFO, "POST status = 0x%x (stage = 0x%x)", | ||
1122 | status.dw[0], post_stage); | ||
1123 | } | ||
1124 | udelay(us_per_loop); | ||
1125 | } while ((post_error != 1) && | ||
1126 | (post_stage != POST_STAGE_ARMFW_READY) && | ||
1127 | (++loops < max_loops)); | ||
1128 | |||
1129 | if (post_error == 1) { | ||
1130 | TRACE(DL_ERR, "POST error! Status = 0x%x (stage = 0x%x)", | ||
1131 | status.dw[0], post_stage); | ||
1132 | s = BE_NOT_OK; | ||
1133 | } else if (post_stage != POST_STAGE_ARMFW_READY) { | ||
1134 | TRACE(DL_ERR, "POST time-out! Status = 0x%x (stage = 0x%x)", | ||
1135 | status.dw[0], post_stage); | ||
1136 | s = BE_NOT_OK; | ||
1137 | } else { | ||
1138 | s = BE_SUCCESS; | ||
1139 | } | ||
1140 | return s; | ||
1141 | } | ||
1142 | |||
1143 | /* | ||
1144 | *------------------------------------------------------------------- | ||
1145 | * Function: be_kickoff_and_wait_for_POST | ||
1146 | * Interacts with the BladeEngine management processor to initiate POST, and | ||
1147 | * subsequently waits until POST completes (either in error or success). | ||
1148 | * The caller must acquire the reset semaphore before initiating POST | ||
1149 | * to prevent multiple drivers interacting with the management processor. | ||
1150 | * Once POST is complete the caller must release the reset semaphore. | ||
1151 | * Callers who only want to wait for POST complete may call | ||
1152 | * be_wait_for_POST_complete. | ||
1153 | * pfob - | ||
1154 | * return status - BE_SUCCESS (0) on success. Negative error code on failure. | ||
1155 | *------------------------------------------------------------------- | ||
1156 | */ | ||
1157 | static int | ||
1158 | be_kickoff_and_wait_for_POST(struct be_function_object *pfob) | ||
1159 | { | ||
1160 | struct MGMT_HBA_POST_STATUS_STRUCT_AMAP status; | ||
1161 | int s; | ||
1162 | |||
1163 | const u32 us_per_loop = 1000; /* 1000us */ | ||
1164 | const u32 print_frequency_loops = 1000000 / us_per_loop; | ||
1165 | const u32 max_loops = 5 * print_frequency_loops; | ||
1166 | u32 loops = 0; | ||
1167 | u32 post_error, post_stage; | ||
1168 | |||
1169 | /* Wait for arm fw awaiting host ready or a fatal error happened. */ | ||
1170 | TRACE(DL_INFO, "Wait for BladeEngine ready to POST"); | ||
1171 | do { | ||
1172 | status.dw[0] = ioread32(pfob->csr_va + MPU_EP_SEMAPHORE); | ||
1173 | post_error = AMAP_GET_BITS_PTR(MGMT_HBA_POST_STATUS_STRUCT, | ||
1174 | error, &status); | ||
1175 | post_stage = AMAP_GET_BITS_PTR(MGMT_HBA_POST_STATUS_STRUCT, | ||
1176 | stage, &status); | ||
1177 | if (0 == (loops % print_frequency_loops)) { | ||
1178 | /* Print current status */ | ||
1179 | TRACE(DL_INFO, "POST status = 0x%x (stage = 0x%x)", | ||
1180 | status.dw[0], post_stage); | ||
1181 | } | ||
1182 | udelay(us_per_loop); | ||
1183 | } while ((post_error != 1) && | ||
1184 | (post_stage < POST_STAGE_AWAITING_HOST_RDY) && | ||
1185 | (++loops < max_loops)); | ||
1186 | |||
1187 | if (post_error == 1) { | ||
1188 | TRACE(DL_ERR, "Pre-POST error! Status = 0x%x (stage = 0x%x)", | ||
1189 | status.dw[0], post_stage); | ||
1190 | s = BE_NOT_OK; | ||
1191 | } else if (post_stage == POST_STAGE_AWAITING_HOST_RDY) { | ||
1192 | iowrite32(POST_STAGE_HOST_RDY, pfob->csr_va + MPU_EP_SEMAPHORE); | ||
1193 | |||
1194 | /* Wait for POST to complete */ | ||
1195 | s = be_wait_for_POST_complete(pfob); | ||
1196 | } else { | ||
1197 | /* | ||
1198 | * Either a timeout waiting for host ready signal or POST has | ||
1199 | * moved ahead without requiring a host ready signal. | ||
1200 | * Might as well give POST a chance to complete | ||
1201 | * (or timeout again). | ||
1202 | */ | ||
1203 | s = be_wait_for_POST_complete(pfob); | ||
1204 | } | ||
1205 | return s; | ||
1206 | } | ||
1207 | |||
1208 | /* | ||
1209 | *------------------------------------------------------------------- | ||
1210 | * Function: be_pci_soft_reset | ||
1211 | * This function is called to issue a BladeEngine soft reset. | ||
1212 | * Callers should acquire the soft reset semaphore before calling this | ||
1213 | * function. Additionaly, callers should ensure they cannot be pre-empted | ||
1214 | * while the routine executes. Upon completion of this routine, callers | ||
1215 | * should release the reset semaphore. This routine implicitly waits | ||
1216 | * for BladeEngine POST to complete. | ||
1217 | * pfob - | ||
1218 | * return status - BE_SUCCESS (0) on success. Negative error code on failure. | ||
1219 | *------------------------------------------------------------------- | ||
1220 | */ | ||
1221 | int be_pci_soft_reset(struct be_function_object *pfob) | ||
1222 | { | ||
1223 | struct PCICFG_SOFT_RESET_CSR_AMAP soft_reset; | ||
1224 | struct PCICFG_ONLINE0_CSR_AMAP pciOnline0; | ||
1225 | struct PCICFG_ONLINE1_CSR_AMAP pciOnline1; | ||
1226 | struct EP_CONTROL_CSR_AMAP epControlCsr; | ||
1227 | int status = BE_SUCCESS; | ||
1228 | u32 i, soft_reset_bit; | ||
1229 | |||
1230 | TRACE(DL_NOTE, "PCI reset..."); | ||
1231 | |||
1232 | /* Issue soft reset #1 to get BladeEngine into a known state. */ | ||
1233 | soft_reset.dw[0] = PCICFG0_READ(pfob, soft_reset); | ||
1234 | AMAP_SET_BITS_PTR(PCICFG_SOFT_RESET_CSR, softreset, soft_reset.dw, 1); | ||
1235 | PCICFG0_WRITE(pfob, host_timer_int_ctrl, soft_reset.dw[0]); | ||
1236 | /* | ||
1237 | * wait til soft reset is deasserted - hardware | ||
1238 | * deasserts after some time. | ||
1239 | */ | ||
1240 | i = 0; | ||
1241 | do { | ||
1242 | udelay(50); | ||
1243 | soft_reset.dw[0] = PCICFG0_READ(pfob, soft_reset); | ||
1244 | soft_reset_bit = AMAP_GET_BITS_PTR(PCICFG_SOFT_RESET_CSR, | ||
1245 | softreset, soft_reset.dw); | ||
1246 | } while (soft_reset_bit && (i++ < 1024)); | ||
1247 | if (soft_reset_bit != 0) { | ||
1248 | TRACE(DL_ERR, "Soft-reset #1 did not deassert as expected."); | ||
1249 | status = BE_NOT_OK; | ||
1250 | goto Error_label; | ||
1251 | } | ||
1252 | /* Mask everything */ | ||
1253 | PCICFG0_WRITE(pfob, ue_status_low_mask, 0xFFFFFFFF); | ||
1254 | PCICFG0_WRITE(pfob, ue_status_hi_mask, 0xFFFFFFFF); | ||
1255 | /* | ||
1256 | * Set everything offline except MPU IRAM (it is offline with | ||
1257 | * the soft-reset, but soft-reset does not reset the PCICFG registers!) | ||
1258 | */ | ||
1259 | pciOnline0.dw[0] = 0; | ||
1260 | pciOnline1.dw[0] = 0; | ||
1261 | AMAP_SET_BITS_PTR(PCICFG_ONLINE1_CSR, mpu_iram_online, | ||
1262 | pciOnline1.dw, 1); | ||
1263 | PCICFG0_WRITE(pfob, online0, pciOnline0.dw[0]); | ||
1264 | PCICFG0_WRITE(pfob, online1, pciOnline1.dw[0]); | ||
1265 | |||
1266 | udelay(20000); | ||
1267 | |||
1268 | /* Issue soft reset #2. */ | ||
1269 | AMAP_SET_BITS_PTR(PCICFG_SOFT_RESET_CSR, softreset, soft_reset.dw, 1); | ||
1270 | PCICFG0_WRITE(pfob, host_timer_int_ctrl, soft_reset.dw[0]); | ||
1271 | /* | ||
1272 | * wait til soft reset is deasserted - hardware | ||
1273 | * deasserts after some time. | ||
1274 | */ | ||
1275 | i = 0; | ||
1276 | do { | ||
1277 | udelay(50); | ||
1278 | soft_reset.dw[0] = PCICFG0_READ(pfob, soft_reset); | ||
1279 | soft_reset_bit = AMAP_GET_BITS_PTR(PCICFG_SOFT_RESET_CSR, | ||
1280 | softreset, soft_reset.dw); | ||
1281 | } while (soft_reset_bit && (i++ < 1024)); | ||
1282 | if (soft_reset_bit != 0) { | ||
1283 | TRACE(DL_ERR, "Soft-reset #1 did not deassert as expected."); | ||
1284 | status = BE_NOT_OK; | ||
1285 | goto Error_label; | ||
1286 | } | ||
1287 | |||
1288 | |||
1289 | udelay(20000); | ||
1290 | |||
1291 | /* Take MPU out of reset. */ | ||
1292 | |||
1293 | epControlCsr.dw[0] = ioread32(pfob->csr_va + MPU_EP_CONTROL); | ||
1294 | AMAP_SET_BITS_PTR(EP_CONTROL_CSR, CPU_reset, &epControlCsr, 0); | ||
1295 | iowrite32((u32)epControlCsr.dw[0], pfob->csr_va + MPU_EP_CONTROL); | ||
1296 | |||
1297 | /* Kickoff BE POST and wait for completion */ | ||
1298 | status = be_kickoff_and_wait_for_POST(pfob); | ||
1299 | |||
1300 | Error_label: | ||
1301 | return status; | ||
1302 | } | ||
1303 | |||
1304 | |||
1305 | /* | ||
1306 | *------------------------------------------------------------------- | ||
1307 | * Function: be_pci_reset_required | ||
1308 | * This private function is called to detect if a host entity is | ||
1309 | * required to issue a PCI soft reset and subsequently drive | ||
1310 | * BladeEngine POST. Scenarios where this is required: | ||
1311 | * 1) BIOS-less configuration | ||
1312 | * 2) Hot-swap/plug/power-on | ||
1313 | * pfob - | ||
1314 | * return true if a reset is required, false otherwise | ||
1315 | *------------------------------------------------------------------- | ||
1316 | */ | ||
1317 | static bool be_pci_reset_required(struct be_function_object *pfob) | ||
1318 | { | ||
1319 | struct MGMT_HBA_POST_STATUS_STRUCT_AMAP status; | ||
1320 | bool do_reset = false; | ||
1321 | u32 post_error, post_stage; | ||
1322 | |||
1323 | /* | ||
1324 | * Read the POST status register | ||
1325 | */ | ||
1326 | status.dw[0] = ioread32(pfob->csr_va + MPU_EP_SEMAPHORE); | ||
1327 | post_error = AMAP_GET_BITS_PTR(MGMT_HBA_POST_STATUS_STRUCT, error, | ||
1328 | &status); | ||
1329 | post_stage = AMAP_GET_BITS_PTR(MGMT_HBA_POST_STATUS_STRUCT, stage, | ||
1330 | &status); | ||
1331 | if (post_stage <= POST_STAGE_AWAITING_HOST_RDY) { | ||
1332 | /* | ||
1333 | * If BladeEngine is waiting for host ready indication, | ||
1334 | * we want to do a PCI reset. | ||
1335 | */ | ||
1336 | do_reset = true; | ||
1337 | } | ||
1338 | |||
1339 | return do_reset; | ||
1340 | } | ||
1341 | |||
1342 | /* | ||
1343 | *------------------------------------------------------------------- | ||
1344 | * Function: be_drive_POST | ||
1345 | * This function is called to drive BladeEngine POST. The | ||
1346 | * caller should ensure they cannot be pre-empted while this routine executes. | ||
1347 | * pfob - | ||
1348 | * return status - BE_SUCCESS (0) on success. Negative error code on failure. | ||
1349 | *------------------------------------------------------------------- | ||
1350 | */ | ||
1351 | int be_drive_POST(struct be_function_object *pfob) | ||
1352 | { | ||
1353 | int status; | ||
1354 | |||
1355 | if (false != be_pci_reset_required(pfob)) { | ||
1356 | /* PCI reset is needed (implicitly starts and waits for POST) */ | ||
1357 | status = be_pci_soft_reset(pfob); | ||
1358 | } else { | ||
1359 | /* No PCI reset is needed, start POST */ | ||
1360 | status = be_kickoff_and_wait_for_POST(pfob); | ||
1361 | } | ||
1362 | |||
1363 | return status; | ||
1364 | } | ||
diff --git a/drivers/staging/benet/mpu.h b/drivers/staging/benet/mpu.h deleted file mode 100644 index 41f3f87516e5..000000000000 --- a/drivers/staging/benet/mpu.h +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __mpu_amap_h__ | ||
21 | #define __mpu_amap_h__ | ||
22 | #include "ep.h" | ||
23 | |||
24 | /* Provide control parameters for the Managment Processor Unit. */ | ||
25 | struct BE_MPU_CSRMAP_AMAP { | ||
26 | struct BE_EP_CSRMAP_AMAP ep; | ||
27 | u8 rsvd0[128]; /* DWORD 64 */ | ||
28 | u8 rsvd1[32]; /* DWORD 68 */ | ||
29 | u8 rsvd2[192]; /* DWORD 69 */ | ||
30 | u8 rsvd3[192]; /* DWORD 75 */ | ||
31 | u8 rsvd4[32]; /* DWORD 81 */ | ||
32 | u8 rsvd5[32]; /* DWORD 82 */ | ||
33 | u8 rsvd6[32]; /* DWORD 83 */ | ||
34 | u8 rsvd7[32]; /* DWORD 84 */ | ||
35 | u8 rsvd8[32]; /* DWORD 85 */ | ||
36 | u8 rsvd9[32]; /* DWORD 86 */ | ||
37 | u8 rsvd10[32]; /* DWORD 87 */ | ||
38 | u8 rsvd11[32]; /* DWORD 88 */ | ||
39 | u8 rsvd12[32]; /* DWORD 89 */ | ||
40 | u8 rsvd13[32]; /* DWORD 90 */ | ||
41 | u8 rsvd14[32]; /* DWORD 91 */ | ||
42 | u8 rsvd15[32]; /* DWORD 92 */ | ||
43 | u8 rsvd16[32]; /* DWORD 93 */ | ||
44 | u8 rsvd17[32]; /* DWORD 94 */ | ||
45 | u8 rsvd18[32]; /* DWORD 95 */ | ||
46 | u8 rsvd19[32]; /* DWORD 96 */ | ||
47 | u8 rsvd20[32]; /* DWORD 97 */ | ||
48 | u8 rsvd21[32]; /* DWORD 98 */ | ||
49 | u8 rsvd22[32]; /* DWORD 99 */ | ||
50 | u8 rsvd23[32]; /* DWORD 100 */ | ||
51 | u8 rsvd24[32]; /* DWORD 101 */ | ||
52 | u8 rsvd25[32]; /* DWORD 102 */ | ||
53 | u8 rsvd26[32]; /* DWORD 103 */ | ||
54 | u8 rsvd27[32]; /* DWORD 104 */ | ||
55 | u8 rsvd28[96]; /* DWORD 105 */ | ||
56 | u8 rsvd29[32]; /* DWORD 108 */ | ||
57 | u8 rsvd30[32]; /* DWORD 109 */ | ||
58 | u8 rsvd31[32]; /* DWORD 110 */ | ||
59 | u8 rsvd32[32]; /* DWORD 111 */ | ||
60 | u8 rsvd33[32]; /* DWORD 112 */ | ||
61 | u8 rsvd34[96]; /* DWORD 113 */ | ||
62 | u8 rsvd35[32]; /* DWORD 116 */ | ||
63 | u8 rsvd36[32]; /* DWORD 117 */ | ||
64 | u8 rsvd37[32]; /* DWORD 118 */ | ||
65 | u8 rsvd38[32]; /* DWORD 119 */ | ||
66 | u8 rsvd39[32]; /* DWORD 120 */ | ||
67 | u8 rsvd40[32]; /* DWORD 121 */ | ||
68 | u8 rsvd41[134][32]; /* DWORD 122 */ | ||
69 | } __packed; | ||
70 | struct MPU_CSRMAP_AMAP { | ||
71 | u32 dw[256]; | ||
72 | }; | ||
73 | |||
74 | #endif /* __mpu_amap_h__ */ | ||
diff --git a/drivers/staging/benet/mpu_context.h b/drivers/staging/benet/mpu_context.h deleted file mode 100644 index 8ce90f9c46c2..000000000000 --- a/drivers/staging/benet/mpu_context.h +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __mpu_context_amap_h__ | ||
21 | #define __mpu_context_amap_h__ | ||
22 | |||
23 | /* | ||
24 | * Management command and control ring context. The MPUs BTLR_CTRL1 CSR | ||
25 | * controls the writeback behavior of the producer and consumer index values. | ||
26 | */ | ||
27 | struct BE_MCC_RING_CONTEXT_AMAP { | ||
28 | u8 con_index[16]; /* DWORD 0 */ | ||
29 | u8 ring_size[4]; /* DWORD 0 */ | ||
30 | u8 cq_id[11]; /* DWORD 0 */ | ||
31 | u8 rsvd0; /* DWORD 0 */ | ||
32 | u8 prod_index[16]; /* DWORD 1 */ | ||
33 | u8 pdid[15]; /* DWORD 1 */ | ||
34 | u8 invalid; /* DWORD 1 */ | ||
35 | u8 cmd_pending_current[7]; /* DWORD 2 */ | ||
36 | u8 rsvd1[25]; /* DWORD 2 */ | ||
37 | u8 hpi_port_cq_id[11]; /* DWORD 3 */ | ||
38 | u8 rsvd2[5]; /* DWORD 3 */ | ||
39 | u8 cmd_pending_max[7]; /* DWORD 3 */ | ||
40 | u8 rsvd3[9]; /* DWORD 3 */ | ||
41 | } __packed; | ||
42 | struct MCC_RING_CONTEXT_AMAP { | ||
43 | u32 dw[4]; | ||
44 | }; | ||
45 | |||
46 | #endif /* __mpu_context_amap_h__ */ | ||
diff --git a/drivers/staging/benet/pcicfg.h b/drivers/staging/benet/pcicfg.h deleted file mode 100644 index 7c15684adf4a..000000000000 --- a/drivers/staging/benet/pcicfg.h +++ /dev/null | |||
@@ -1,825 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __pcicfg_amap_h__ | ||
21 | #define __pcicfg_amap_h__ | ||
22 | |||
23 | /* Vendor and Device ID Register. */ | ||
24 | struct BE_PCICFG_ID_CSR_AMAP { | ||
25 | u8 vendorid[16]; /* DWORD 0 */ | ||
26 | u8 deviceid[16]; /* DWORD 0 */ | ||
27 | } __packed; | ||
28 | struct PCICFG_ID_CSR_AMAP { | ||
29 | u32 dw[1]; | ||
30 | }; | ||
31 | |||
32 | /* IO Bar Register. */ | ||
33 | struct BE_PCICFG_IOBAR_CSR_AMAP { | ||
34 | u8 iospace; /* DWORD 0 */ | ||
35 | u8 rsvd0[7]; /* DWORD 0 */ | ||
36 | u8 iobar[24]; /* DWORD 0 */ | ||
37 | } __packed; | ||
38 | struct PCICFG_IOBAR_CSR_AMAP { | ||
39 | u32 dw[1]; | ||
40 | }; | ||
41 | |||
42 | /* Memory BAR 0 Register. */ | ||
43 | struct BE_PCICFG_MEMBAR0_CSR_AMAP { | ||
44 | u8 memspace; /* DWORD 0 */ | ||
45 | u8 type[2]; /* DWORD 0 */ | ||
46 | u8 pf; /* DWORD 0 */ | ||
47 | u8 rsvd0[10]; /* DWORD 0 */ | ||
48 | u8 membar0[18]; /* DWORD 0 */ | ||
49 | } __packed; | ||
50 | struct PCICFG_MEMBAR0_CSR_AMAP { | ||
51 | u32 dw[1]; | ||
52 | }; | ||
53 | |||
54 | /* Memory BAR 1 - Low Address Register. */ | ||
55 | struct BE_PCICFG_MEMBAR1_LO_CSR_AMAP { | ||
56 | u8 memspace; /* DWORD 0 */ | ||
57 | u8 type[2]; /* DWORD 0 */ | ||
58 | u8 pf; /* DWORD 0 */ | ||
59 | u8 rsvd0[13]; /* DWORD 0 */ | ||
60 | u8 membar1lo[15]; /* DWORD 0 */ | ||
61 | } __packed; | ||
62 | struct PCICFG_MEMBAR1_LO_CSR_AMAP { | ||
63 | u32 dw[1]; | ||
64 | }; | ||
65 | |||
66 | /* Memory BAR 1 - High Address Register. */ | ||
67 | struct BE_PCICFG_MEMBAR1_HI_CSR_AMAP { | ||
68 | u8 membar1hi[32]; /* DWORD 0 */ | ||
69 | } __packed; | ||
70 | struct PCICFG_MEMBAR1_HI_CSR_AMAP { | ||
71 | u32 dw[1]; | ||
72 | }; | ||
73 | |||
74 | /* Memory BAR 2 - Low Address Register. */ | ||
75 | struct BE_PCICFG_MEMBAR2_LO_CSR_AMAP { | ||
76 | u8 memspace; /* DWORD 0 */ | ||
77 | u8 type[2]; /* DWORD 0 */ | ||
78 | u8 pf; /* DWORD 0 */ | ||
79 | u8 rsvd0[17]; /* DWORD 0 */ | ||
80 | u8 membar2lo[11]; /* DWORD 0 */ | ||
81 | } __packed; | ||
82 | struct PCICFG_MEMBAR2_LO_CSR_AMAP { | ||
83 | u32 dw[1]; | ||
84 | }; | ||
85 | |||
86 | /* Memory BAR 2 - High Address Register. */ | ||
87 | struct BE_PCICFG_MEMBAR2_HI_CSR_AMAP { | ||
88 | u8 membar2hi[32]; /* DWORD 0 */ | ||
89 | } __packed; | ||
90 | struct PCICFG_MEMBAR2_HI_CSR_AMAP { | ||
91 | u32 dw[1]; | ||
92 | }; | ||
93 | |||
94 | /* Subsystem Vendor and ID (Function 0) Register. */ | ||
95 | struct BE_PCICFG_SUBSYSTEM_ID_F0_CSR_AMAP { | ||
96 | u8 subsys_vendor_id[16]; /* DWORD 0 */ | ||
97 | u8 subsys_id[16]; /* DWORD 0 */ | ||
98 | } __packed; | ||
99 | struct PCICFG_SUBSYSTEM_ID_F0_CSR_AMAP { | ||
100 | u32 dw[1]; | ||
101 | }; | ||
102 | |||
103 | /* Subsystem Vendor and ID (Function 1) Register. */ | ||
104 | struct BE_PCICFG_SUBSYSTEM_ID_F1_CSR_AMAP { | ||
105 | u8 subsys_vendor_id[16]; /* DWORD 0 */ | ||
106 | u8 subsys_id[16]; /* DWORD 0 */ | ||
107 | } __packed; | ||
108 | struct PCICFG_SUBSYSTEM_ID_F1_CSR_AMAP { | ||
109 | u32 dw[1]; | ||
110 | }; | ||
111 | |||
112 | /* Semaphore Register. */ | ||
113 | struct BE_PCICFG_SEMAPHORE_CSR_AMAP { | ||
114 | u8 locked; /* DWORD 0 */ | ||
115 | u8 rsvd0[31]; /* DWORD 0 */ | ||
116 | } __packed; | ||
117 | struct PCICFG_SEMAPHORE_CSR_AMAP { | ||
118 | u32 dw[1]; | ||
119 | }; | ||
120 | |||
121 | /* Soft Reset Register. */ | ||
122 | struct BE_PCICFG_SOFT_RESET_CSR_AMAP { | ||
123 | u8 rsvd0[7]; /* DWORD 0 */ | ||
124 | u8 softreset; /* DWORD 0 */ | ||
125 | u8 rsvd1[16]; /* DWORD 0 */ | ||
126 | u8 nec_ll_rcvdetect_i[8]; /* DWORD 0 */ | ||
127 | } __packed; | ||
128 | struct PCICFG_SOFT_RESET_CSR_AMAP { | ||
129 | u32 dw[1]; | ||
130 | }; | ||
131 | |||
132 | /* Unrecoverable Error Status (Low) Register. Each bit corresponds to | ||
133 | * an internal Unrecoverable Error. These are set by hardware and may be | ||
134 | * cleared by writing a one to the respective bit(s) to be cleared. Any | ||
135 | * bit being set that is also unmasked will result in Unrecoverable Error | ||
136 | * interrupt notification to the host CPU and/or Server Management chip | ||
137 | * and the transitioning of BladeEngine to an Offline state. | ||
138 | */ | ||
139 | struct BE_PCICFG_UE_STATUS_LOW_CSR_AMAP { | ||
140 | u8 cev_ue_status; /* DWORD 0 */ | ||
141 | u8 ctx_ue_status; /* DWORD 0 */ | ||
142 | u8 dbuf_ue_status; /* DWORD 0 */ | ||
143 | u8 erx_ue_status; /* DWORD 0 */ | ||
144 | u8 host_ue_status; /* DWORD 0 */ | ||
145 | u8 mpu_ue_status; /* DWORD 0 */ | ||
146 | u8 ndma_ue_status; /* DWORD 0 */ | ||
147 | u8 ptc_ue_status; /* DWORD 0 */ | ||
148 | u8 rdma_ue_status; /* DWORD 0 */ | ||
149 | u8 rxf_ue_status; /* DWORD 0 */ | ||
150 | u8 rxips_ue_status; /* DWORD 0 */ | ||
151 | u8 rxulp0_ue_status; /* DWORD 0 */ | ||
152 | u8 rxulp1_ue_status; /* DWORD 0 */ | ||
153 | u8 rxulp2_ue_status; /* DWORD 0 */ | ||
154 | u8 tim_ue_status; /* DWORD 0 */ | ||
155 | u8 tpost_ue_status; /* DWORD 0 */ | ||
156 | u8 tpre_ue_status; /* DWORD 0 */ | ||
157 | u8 txips_ue_status; /* DWORD 0 */ | ||
158 | u8 txulp0_ue_status; /* DWORD 0 */ | ||
159 | u8 txulp1_ue_status; /* DWORD 0 */ | ||
160 | u8 uc_ue_status; /* DWORD 0 */ | ||
161 | u8 wdma_ue_status; /* DWORD 0 */ | ||
162 | u8 txulp2_ue_status; /* DWORD 0 */ | ||
163 | u8 host1_ue_status; /* DWORD 0 */ | ||
164 | u8 p0_ob_link_ue_status; /* DWORD 0 */ | ||
165 | u8 p1_ob_link_ue_status; /* DWORD 0 */ | ||
166 | u8 host_gpio_ue_status; /* DWORD 0 */ | ||
167 | u8 mbox_netw_ue_status; /* DWORD 0 */ | ||
168 | u8 mbox_stor_ue_status; /* DWORD 0 */ | ||
169 | u8 axgmac0_ue_status; /* DWORD 0 */ | ||
170 | u8 axgmac1_ue_status; /* DWORD 0 */ | ||
171 | u8 mpu_intpend_ue_status; /* DWORD 0 */ | ||
172 | } __packed; | ||
173 | struct PCICFG_UE_STATUS_LOW_CSR_AMAP { | ||
174 | u32 dw[1]; | ||
175 | }; | ||
176 | |||
177 | /* Unrecoverable Error Status (High) Register. Each bit corresponds to | ||
178 | * an internal Unrecoverable Error. These are set by hardware and may be | ||
179 | * cleared by writing a one to the respective bit(s) to be cleared. Any | ||
180 | * bit being set that is also unmasked will result in Unrecoverable Error | ||
181 | * interrupt notification to the host CPU and/or Server Management chip; | ||
182 | * and the transitioning of BladeEngine to an Offline state. | ||
183 | */ | ||
184 | struct BE_PCICFG_UE_STATUS_HI_CSR_AMAP { | ||
185 | u8 jtag_ue_status; /* DWORD 0 */ | ||
186 | u8 lpcmemhost_ue_status; /* DWORD 0 */ | ||
187 | u8 mgmt_mac_ue_status; /* DWORD 0 */ | ||
188 | u8 mpu_iram_ue_status; /* DWORD 0 */ | ||
189 | u8 pcs0online_ue_status; /* DWORD 0 */ | ||
190 | u8 pcs1online_ue_status; /* DWORD 0 */ | ||
191 | u8 pctl0_ue_status; /* DWORD 0 */ | ||
192 | u8 pctl1_ue_status; /* DWORD 0 */ | ||
193 | u8 pmem_ue_status; /* DWORD 0 */ | ||
194 | u8 rr_ue_status; /* DWORD 0 */ | ||
195 | u8 rxpp_ue_status; /* DWORD 0 */ | ||
196 | u8 txpb_ue_status; /* DWORD 0 */ | ||
197 | u8 txp_ue_status; /* DWORD 0 */ | ||
198 | u8 xaui_ue_status; /* DWORD 0 */ | ||
199 | u8 arm_ue_status; /* DWORD 0 */ | ||
200 | u8 ipc_ue_status; /* DWORD 0 */ | ||
201 | u8 rsvd0[16]; /* DWORD 0 */ | ||
202 | } __packed; | ||
203 | struct PCICFG_UE_STATUS_HI_CSR_AMAP { | ||
204 | u32 dw[1]; | ||
205 | }; | ||
206 | |||
207 | /* Unrecoverable Error Mask (Low) Register. Each bit, when set to one, | ||
208 | * will mask the associated Unrecoverable Error status bit from notification | ||
209 | * of Unrecoverable Error to the host CPU and/or Server Managment chip and the | ||
210 | * transitioning of all BladeEngine units to an Offline state. | ||
211 | */ | ||
212 | struct BE_PCICFG_UE_STATUS_LOW_MASK_CSR_AMAP { | ||
213 | u8 cev_ue_mask; /* DWORD 0 */ | ||
214 | u8 ctx_ue_mask; /* DWORD 0 */ | ||
215 | u8 dbuf_ue_mask; /* DWORD 0 */ | ||
216 | u8 erx_ue_mask; /* DWORD 0 */ | ||
217 | u8 host_ue_mask; /* DWORD 0 */ | ||
218 | u8 mpu_ue_mask; /* DWORD 0 */ | ||
219 | u8 ndma_ue_mask; /* DWORD 0 */ | ||
220 | u8 ptc_ue_mask; /* DWORD 0 */ | ||
221 | u8 rdma_ue_mask; /* DWORD 0 */ | ||
222 | u8 rxf_ue_mask; /* DWORD 0 */ | ||
223 | u8 rxips_ue_mask; /* DWORD 0 */ | ||
224 | u8 rxulp0_ue_mask; /* DWORD 0 */ | ||
225 | u8 rxulp1_ue_mask; /* DWORD 0 */ | ||
226 | u8 rxulp2_ue_mask; /* DWORD 0 */ | ||
227 | u8 tim_ue_mask; /* DWORD 0 */ | ||
228 | u8 tpost_ue_mask; /* DWORD 0 */ | ||
229 | u8 tpre_ue_mask; /* DWORD 0 */ | ||
230 | u8 txips_ue_mask; /* DWORD 0 */ | ||
231 | u8 txulp0_ue_mask; /* DWORD 0 */ | ||
232 | u8 txulp1_ue_mask; /* DWORD 0 */ | ||
233 | u8 uc_ue_mask; /* DWORD 0 */ | ||
234 | u8 wdma_ue_mask; /* DWORD 0 */ | ||
235 | u8 txulp2_ue_mask; /* DWORD 0 */ | ||
236 | u8 host1_ue_mask; /* DWORD 0 */ | ||
237 | u8 p0_ob_link_ue_mask; /* DWORD 0 */ | ||
238 | u8 p1_ob_link_ue_mask; /* DWORD 0 */ | ||
239 | u8 host_gpio_ue_mask; /* DWORD 0 */ | ||
240 | u8 mbox_netw_ue_mask; /* DWORD 0 */ | ||
241 | u8 mbox_stor_ue_mask; /* DWORD 0 */ | ||
242 | u8 axgmac0_ue_mask; /* DWORD 0 */ | ||
243 | u8 axgmac1_ue_mask; /* DWORD 0 */ | ||
244 | u8 mpu_intpend_ue_mask; /* DWORD 0 */ | ||
245 | } __packed; | ||
246 | struct PCICFG_UE_STATUS_LOW_MASK_CSR_AMAP { | ||
247 | u32 dw[1]; | ||
248 | }; | ||
249 | |||
250 | /* Unrecoverable Error Mask (High) Register. Each bit, when set to one, | ||
251 | * will mask the associated Unrecoverable Error status bit from notification | ||
252 | * of Unrecoverable Error to the host CPU and/or Server Managment chip and the | ||
253 | * transitioning of all BladeEngine units to an Offline state. | ||
254 | */ | ||
255 | struct BE_PCICFG_UE_STATUS_HI_MASK_CSR_AMAP { | ||
256 | u8 jtag_ue_mask; /* DWORD 0 */ | ||
257 | u8 lpcmemhost_ue_mask; /* DWORD 0 */ | ||
258 | u8 mgmt_mac_ue_mask; /* DWORD 0 */ | ||
259 | u8 mpu_iram_ue_mask; /* DWORD 0 */ | ||
260 | u8 pcs0online_ue_mask; /* DWORD 0 */ | ||
261 | u8 pcs1online_ue_mask; /* DWORD 0 */ | ||
262 | u8 pctl0_ue_mask; /* DWORD 0 */ | ||
263 | u8 pctl1_ue_mask; /* DWORD 0 */ | ||
264 | u8 pmem_ue_mask; /* DWORD 0 */ | ||
265 | u8 rr_ue_mask; /* DWORD 0 */ | ||
266 | u8 rxpp_ue_mask; /* DWORD 0 */ | ||
267 | u8 txpb_ue_mask; /* DWORD 0 */ | ||
268 | u8 txp_ue_mask; /* DWORD 0 */ | ||
269 | u8 xaui_ue_mask; /* DWORD 0 */ | ||
270 | u8 arm_ue_mask; /* DWORD 0 */ | ||
271 | u8 ipc_ue_mask; /* DWORD 0 */ | ||
272 | u8 rsvd0[16]; /* DWORD 0 */ | ||
273 | } __packed; | ||
274 | struct PCICFG_UE_STATUS_HI_MASK_CSR_AMAP { | ||
275 | u32 dw[1]; | ||
276 | }; | ||
277 | |||
278 | /* Online Control Register 0. This register controls various units within | ||
279 | * BladeEngine being in an Online or Offline state. | ||
280 | */ | ||
281 | struct BE_PCICFG_ONLINE0_CSR_AMAP { | ||
282 | u8 cev_online; /* DWORD 0 */ | ||
283 | u8 ctx_online; /* DWORD 0 */ | ||
284 | u8 dbuf_online; /* DWORD 0 */ | ||
285 | u8 erx_online; /* DWORD 0 */ | ||
286 | u8 host_online; /* DWORD 0 */ | ||
287 | u8 mpu_online; /* DWORD 0 */ | ||
288 | u8 ndma_online; /* DWORD 0 */ | ||
289 | u8 ptc_online; /* DWORD 0 */ | ||
290 | u8 rdma_online; /* DWORD 0 */ | ||
291 | u8 rxf_online; /* DWORD 0 */ | ||
292 | u8 rxips_online; /* DWORD 0 */ | ||
293 | u8 rxulp0_online; /* DWORD 0 */ | ||
294 | u8 rxulp1_online; /* DWORD 0 */ | ||
295 | u8 rxulp2_online; /* DWORD 0 */ | ||
296 | u8 tim_online; /* DWORD 0 */ | ||
297 | u8 tpost_online; /* DWORD 0 */ | ||
298 | u8 tpre_online; /* DWORD 0 */ | ||
299 | u8 txips_online; /* DWORD 0 */ | ||
300 | u8 txulp0_online; /* DWORD 0 */ | ||
301 | u8 txulp1_online; /* DWORD 0 */ | ||
302 | u8 uc_online; /* DWORD 0 */ | ||
303 | u8 wdma_online; /* DWORD 0 */ | ||
304 | u8 txulp2_online; /* DWORD 0 */ | ||
305 | u8 host1_online; /* DWORD 0 */ | ||
306 | u8 p0_ob_link_online; /* DWORD 0 */ | ||
307 | u8 p1_ob_link_online; /* DWORD 0 */ | ||
308 | u8 host_gpio_online; /* DWORD 0 */ | ||
309 | u8 mbox_netw_online; /* DWORD 0 */ | ||
310 | u8 mbox_stor_online; /* DWORD 0 */ | ||
311 | u8 axgmac0_online; /* DWORD 0 */ | ||
312 | u8 axgmac1_online; /* DWORD 0 */ | ||
313 | u8 mpu_intpend_online; /* DWORD 0 */ | ||
314 | } __packed; | ||
315 | struct PCICFG_ONLINE0_CSR_AMAP { | ||
316 | u32 dw[1]; | ||
317 | }; | ||
318 | |||
319 | /* Online Control Register 1. This register controls various units within | ||
320 | * BladeEngine being in an Online or Offline state. | ||
321 | */ | ||
322 | struct BE_PCICFG_ONLINE1_CSR_AMAP { | ||
323 | u8 jtag_online; /* DWORD 0 */ | ||
324 | u8 lpcmemhost_online; /* DWORD 0 */ | ||
325 | u8 mgmt_mac_online; /* DWORD 0 */ | ||
326 | u8 mpu_iram_online; /* DWORD 0 */ | ||
327 | u8 pcs0online_online; /* DWORD 0 */ | ||
328 | u8 pcs1online_online; /* DWORD 0 */ | ||
329 | u8 pctl0_online; /* DWORD 0 */ | ||
330 | u8 pctl1_online; /* DWORD 0 */ | ||
331 | u8 pmem_online; /* DWORD 0 */ | ||
332 | u8 rr_online; /* DWORD 0 */ | ||
333 | u8 rxpp_online; /* DWORD 0 */ | ||
334 | u8 txpb_online; /* DWORD 0 */ | ||
335 | u8 txp_online; /* DWORD 0 */ | ||
336 | u8 xaui_online; /* DWORD 0 */ | ||
337 | u8 arm_online; /* DWORD 0 */ | ||
338 | u8 ipc_online; /* DWORD 0 */ | ||
339 | u8 rsvd0[16]; /* DWORD 0 */ | ||
340 | } __packed; | ||
341 | struct PCICFG_ONLINE1_CSR_AMAP { | ||
342 | u32 dw[1]; | ||
343 | }; | ||
344 | |||
345 | /* Host Timer Register. */ | ||
346 | struct BE_PCICFG_HOST_TIMER_INT_CTRL_CSR_AMAP { | ||
347 | u8 hosttimer[24]; /* DWORD 0 */ | ||
348 | u8 hostintr; /* DWORD 0 */ | ||
349 | u8 rsvd0[7]; /* DWORD 0 */ | ||
350 | } __packed; | ||
351 | struct PCICFG_HOST_TIMER_INT_CTRL_CSR_AMAP { | ||
352 | u32 dw[1]; | ||
353 | }; | ||
354 | |||
355 | /* Scratchpad Register (for software use). */ | ||
356 | struct BE_PCICFG_SCRATCHPAD_CSR_AMAP { | ||
357 | u8 scratchpad[32]; /* DWORD 0 */ | ||
358 | } __packed; | ||
359 | struct PCICFG_SCRATCHPAD_CSR_AMAP { | ||
360 | u32 dw[1]; | ||
361 | }; | ||
362 | |||
363 | /* PCI Express Capabilities Register. */ | ||
364 | struct BE_PCICFG_PCIE_CAP_CSR_AMAP { | ||
365 | u8 capid[8]; /* DWORD 0 */ | ||
366 | u8 nextcap[8]; /* DWORD 0 */ | ||
367 | u8 capver[4]; /* DWORD 0 */ | ||
368 | u8 devport[4]; /* DWORD 0 */ | ||
369 | u8 rsvd0[6]; /* DWORD 0 */ | ||
370 | u8 rsvd1[2]; /* DWORD 0 */ | ||
371 | } __packed; | ||
372 | struct PCICFG_PCIE_CAP_CSR_AMAP { | ||
373 | u32 dw[1]; | ||
374 | }; | ||
375 | |||
376 | /* PCI Express Device Capabilities Register. */ | ||
377 | struct BE_PCICFG_PCIE_DEVCAP_CSR_AMAP { | ||
378 | u8 payload[3]; /* DWORD 0 */ | ||
379 | u8 rsvd0[3]; /* DWORD 0 */ | ||
380 | u8 lo_lat[3]; /* DWORD 0 */ | ||
381 | u8 l1_lat[3]; /* DWORD 0 */ | ||
382 | u8 rsvd1[3]; /* DWORD 0 */ | ||
383 | u8 rsvd2[3]; /* DWORD 0 */ | ||
384 | u8 pwr_value[8]; /* DWORD 0 */ | ||
385 | u8 pwr_scale[2]; /* DWORD 0 */ | ||
386 | u8 rsvd3[4]; /* DWORD 0 */ | ||
387 | } __packed; | ||
388 | struct PCICFG_PCIE_DEVCAP_CSR_AMAP { | ||
389 | u32 dw[1]; | ||
390 | }; | ||
391 | |||
392 | /* PCI Express Device Control/Status Registers. */ | ||
393 | struct BE_PCICFG_PCIE_CONTROL_STATUS_CSR_AMAP { | ||
394 | u8 CorrErrReportEn; /* DWORD 0 */ | ||
395 | u8 NonFatalErrReportEn; /* DWORD 0 */ | ||
396 | u8 FatalErrReportEn; /* DWORD 0 */ | ||
397 | u8 UnsuppReqReportEn; /* DWORD 0 */ | ||
398 | u8 EnableRelaxOrder; /* DWORD 0 */ | ||
399 | u8 Max_Payload_Size[3]; /* DWORD 0 */ | ||
400 | u8 ExtendTagFieldEnable; /* DWORD 0 */ | ||
401 | u8 PhantomFnEnable; /* DWORD 0 */ | ||
402 | u8 AuxPwrPMEnable; /* DWORD 0 */ | ||
403 | u8 EnableNoSnoop; /* DWORD 0 */ | ||
404 | u8 Max_Read_Req_Size[3]; /* DWORD 0 */ | ||
405 | u8 rsvd0; /* DWORD 0 */ | ||
406 | u8 CorrErrDetect; /* DWORD 0 */ | ||
407 | u8 NonFatalErrDetect; /* DWORD 0 */ | ||
408 | u8 FatalErrDetect; /* DWORD 0 */ | ||
409 | u8 UnsuppReqDetect; /* DWORD 0 */ | ||
410 | u8 AuxPwrDetect; /* DWORD 0 */ | ||
411 | u8 TransPending; /* DWORD 0 */ | ||
412 | u8 rsvd1[10]; /* DWORD 0 */ | ||
413 | } __packed; | ||
414 | struct PCICFG_PCIE_CONTROL_STATUS_CSR_AMAP { | ||
415 | u32 dw[1]; | ||
416 | }; | ||
417 | |||
418 | /* PCI Express Link Capabilities Register. */ | ||
419 | struct BE_PCICFG_PCIE_LINK_CAP_CSR_AMAP { | ||
420 | u8 MaxLinkSpeed[4]; /* DWORD 0 */ | ||
421 | u8 MaxLinkWidth[6]; /* DWORD 0 */ | ||
422 | u8 ASPMSupport[2]; /* DWORD 0 */ | ||
423 | u8 L0sExitLat[3]; /* DWORD 0 */ | ||
424 | u8 L1ExitLat[3]; /* DWORD 0 */ | ||
425 | u8 rsvd0[6]; /* DWORD 0 */ | ||
426 | u8 PortNum[8]; /* DWORD 0 */ | ||
427 | } __packed; | ||
428 | struct PCICFG_PCIE_LINK_CAP_CSR_AMAP { | ||
429 | u32 dw[1]; | ||
430 | }; | ||
431 | |||
432 | /* PCI Express Link Status Register. */ | ||
433 | struct BE_PCICFG_PCIE_LINK_STATUS_CSR_AMAP { | ||
434 | u8 ASPMCtl[2]; /* DWORD 0 */ | ||
435 | u8 rsvd0; /* DWORD 0 */ | ||
436 | u8 ReadCmplBndry; /* DWORD 0 */ | ||
437 | u8 LinkDisable; /* DWORD 0 */ | ||
438 | u8 RetrainLink; /* DWORD 0 */ | ||
439 | u8 CommonClkConfig; /* DWORD 0 */ | ||
440 | u8 ExtendSync; /* DWORD 0 */ | ||
441 | u8 rsvd1[8]; /* DWORD 0 */ | ||
442 | u8 LinkSpeed[4]; /* DWORD 0 */ | ||
443 | u8 NegLinkWidth[6]; /* DWORD 0 */ | ||
444 | u8 LinkTrainErr; /* DWORD 0 */ | ||
445 | u8 LinkTrain; /* DWORD 0 */ | ||
446 | u8 SlotClkConfig; /* DWORD 0 */ | ||
447 | u8 rsvd2[3]; /* DWORD 0 */ | ||
448 | } __packed; | ||
449 | struct PCICFG_PCIE_LINK_STATUS_CSR_AMAP { | ||
450 | u32 dw[1]; | ||
451 | }; | ||
452 | |||
453 | /* PCI Express MSI Configuration Register. */ | ||
454 | struct BE_PCICFG_MSI_CSR_AMAP { | ||
455 | u8 capid[8]; /* DWORD 0 */ | ||
456 | u8 nextptr[8]; /* DWORD 0 */ | ||
457 | u8 tablesize[11]; /* DWORD 0 */ | ||
458 | u8 rsvd0[3]; /* DWORD 0 */ | ||
459 | u8 funcmask; /* DWORD 0 */ | ||
460 | u8 en; /* DWORD 0 */ | ||
461 | } __packed; | ||
462 | struct PCICFG_MSI_CSR_AMAP { | ||
463 | u32 dw[1]; | ||
464 | }; | ||
465 | |||
466 | /* MSI-X Table Offset Register. */ | ||
467 | struct BE_PCICFG_MSIX_TABLE_CSR_AMAP { | ||
468 | u8 tablebir[3]; /* DWORD 0 */ | ||
469 | u8 offset[29]; /* DWORD 0 */ | ||
470 | } __packed; | ||
471 | struct PCICFG_MSIX_TABLE_CSR_AMAP { | ||
472 | u32 dw[1]; | ||
473 | }; | ||
474 | |||
475 | /* MSI-X PBA Offset Register. */ | ||
476 | struct BE_PCICFG_MSIX_PBA_CSR_AMAP { | ||
477 | u8 pbabir[3]; /* DWORD 0 */ | ||
478 | u8 offset[29]; /* DWORD 0 */ | ||
479 | } __packed; | ||
480 | struct PCICFG_MSIX_PBA_CSR_AMAP { | ||
481 | u32 dw[1]; | ||
482 | }; | ||
483 | |||
484 | /* PCI Express MSI-X Message Vector Control Register. */ | ||
485 | struct BE_PCICFG_MSIX_VECTOR_CONTROL_CSR_AMAP { | ||
486 | u8 vector_control; /* DWORD 0 */ | ||
487 | u8 rsvd0[31]; /* DWORD 0 */ | ||
488 | } __packed; | ||
489 | struct PCICFG_MSIX_VECTOR_CONTROL_CSR_AMAP { | ||
490 | u32 dw[1]; | ||
491 | }; | ||
492 | |||
493 | /* PCI Express MSI-X Message Data Register. */ | ||
494 | struct BE_PCICFG_MSIX_MSG_DATA_CSR_AMAP { | ||
495 | u8 data[16]; /* DWORD 0 */ | ||
496 | u8 rsvd0[16]; /* DWORD 0 */ | ||
497 | } __packed; | ||
498 | struct PCICFG_MSIX_MSG_DATA_CSR_AMAP { | ||
499 | u32 dw[1]; | ||
500 | }; | ||
501 | |||
502 | /* PCI Express MSI-X Message Address Register - High Part. */ | ||
503 | struct BE_PCICFG_MSIX_MSG_ADDR_HI_CSR_AMAP { | ||
504 | u8 addr[32]; /* DWORD 0 */ | ||
505 | } __packed; | ||
506 | struct PCICFG_MSIX_MSG_ADDR_HI_CSR_AMAP { | ||
507 | u32 dw[1]; | ||
508 | }; | ||
509 | |||
510 | /* PCI Express MSI-X Message Address Register - Low Part. */ | ||
511 | struct BE_PCICFG_MSIX_MSG_ADDR_LO_CSR_AMAP { | ||
512 | u8 rsvd0[2]; /* DWORD 0 */ | ||
513 | u8 addr[30]; /* DWORD 0 */ | ||
514 | } __packed; | ||
515 | struct PCICFG_MSIX_MSG_ADDR_LO_CSR_AMAP { | ||
516 | u32 dw[1]; | ||
517 | }; | ||
518 | |||
519 | struct BE_PCICFG_ANON_18_RSVD_AMAP { | ||
520 | u8 rsvd0[32]; /* DWORD 0 */ | ||
521 | } __packed; | ||
522 | struct PCICFG_ANON_18_RSVD_AMAP { | ||
523 | u32 dw[1]; | ||
524 | }; | ||
525 | |||
526 | struct BE_PCICFG_ANON_19_RSVD_AMAP { | ||
527 | u8 rsvd0[32]; /* DWORD 0 */ | ||
528 | } __packed; | ||
529 | struct PCICFG_ANON_19_RSVD_AMAP { | ||
530 | u32 dw[1]; | ||
531 | }; | ||
532 | |||
533 | struct BE_PCICFG_ANON_20_RSVD_AMAP { | ||
534 | u8 rsvd0[32]; /* DWORD 0 */ | ||
535 | u8 rsvd1[25][32]; /* DWORD 1 */ | ||
536 | } __packed; | ||
537 | struct PCICFG_ANON_20_RSVD_AMAP { | ||
538 | u32 dw[26]; | ||
539 | }; | ||
540 | |||
541 | struct BE_PCICFG_ANON_21_RSVD_AMAP { | ||
542 | u8 rsvd0[32]; /* DWORD 0 */ | ||
543 | u8 rsvd1[1919][32]; /* DWORD 1 */ | ||
544 | } __packed; | ||
545 | struct PCICFG_ANON_21_RSVD_AMAP { | ||
546 | u32 dw[1920]; | ||
547 | }; | ||
548 | |||
549 | struct BE_PCICFG_ANON_22_MESSAGE_AMAP { | ||
550 | struct BE_PCICFG_MSIX_VECTOR_CONTROL_CSR_AMAP vec_ctrl; | ||
551 | struct BE_PCICFG_MSIX_MSG_DATA_CSR_AMAP msg_data; | ||
552 | struct BE_PCICFG_MSIX_MSG_ADDR_HI_CSR_AMAP addr_hi; | ||
553 | struct BE_PCICFG_MSIX_MSG_ADDR_LO_CSR_AMAP addr_low; | ||
554 | } __packed; | ||
555 | struct PCICFG_ANON_22_MESSAGE_AMAP { | ||
556 | u32 dw[4]; | ||
557 | }; | ||
558 | |||
559 | struct BE_PCICFG_ANON_23_RSVD_AMAP { | ||
560 | u8 rsvd0[32]; /* DWORD 0 */ | ||
561 | u8 rsvd1[895][32]; /* DWORD 1 */ | ||
562 | } __packed; | ||
563 | struct PCICFG_ANON_23_RSVD_AMAP { | ||
564 | u32 dw[896]; | ||
565 | }; | ||
566 | |||
567 | /* These PCI Configuration Space registers are for the Storage Function of | ||
568 | * BladeEngine (Function 0). In the memory map of the registers below their | ||
569 | * table, | ||
570 | */ | ||
571 | struct BE_PCICFG0_CSRMAP_AMAP { | ||
572 | struct BE_PCICFG_ID_CSR_AMAP id; | ||
573 | u8 rsvd0[32]; /* DWORD 1 */ | ||
574 | u8 rsvd1[32]; /* DWORD 2 */ | ||
575 | u8 rsvd2[32]; /* DWORD 3 */ | ||
576 | struct BE_PCICFG_IOBAR_CSR_AMAP iobar; | ||
577 | struct BE_PCICFG_MEMBAR0_CSR_AMAP membar0; | ||
578 | struct BE_PCICFG_MEMBAR1_LO_CSR_AMAP membar1_lo; | ||
579 | struct BE_PCICFG_MEMBAR1_HI_CSR_AMAP membar1_hi; | ||
580 | struct BE_PCICFG_MEMBAR2_LO_CSR_AMAP membar2_lo; | ||
581 | struct BE_PCICFG_MEMBAR2_HI_CSR_AMAP membar2_hi; | ||
582 | u8 rsvd3[32]; /* DWORD 10 */ | ||
583 | struct BE_PCICFG_SUBSYSTEM_ID_F0_CSR_AMAP subsystem_id; | ||
584 | u8 rsvd4[32]; /* DWORD 12 */ | ||
585 | u8 rsvd5[32]; /* DWORD 13 */ | ||
586 | u8 rsvd6[32]; /* DWORD 14 */ | ||
587 | u8 rsvd7[32]; /* DWORD 15 */ | ||
588 | struct BE_PCICFG_SEMAPHORE_CSR_AMAP semaphore[4]; | ||
589 | struct BE_PCICFG_SOFT_RESET_CSR_AMAP soft_reset; | ||
590 | u8 rsvd8[32]; /* DWORD 21 */ | ||
591 | struct BE_PCICFG_SCRATCHPAD_CSR_AMAP scratchpad; | ||
592 | u8 rsvd9[32]; /* DWORD 23 */ | ||
593 | u8 rsvd10[32]; /* DWORD 24 */ | ||
594 | u8 rsvd11[32]; /* DWORD 25 */ | ||
595 | u8 rsvd12[32]; /* DWORD 26 */ | ||
596 | u8 rsvd13[32]; /* DWORD 27 */ | ||
597 | u8 rsvd14[2][32]; /* DWORD 28 */ | ||
598 | u8 rsvd15[32]; /* DWORD 30 */ | ||
599 | u8 rsvd16[32]; /* DWORD 31 */ | ||
600 | u8 rsvd17[8][32]; /* DWORD 32 */ | ||
601 | struct BE_PCICFG_UE_STATUS_LOW_CSR_AMAP ue_status_low; | ||
602 | struct BE_PCICFG_UE_STATUS_HI_CSR_AMAP ue_status_hi; | ||
603 | struct BE_PCICFG_UE_STATUS_LOW_MASK_CSR_AMAP ue_status_low_mask; | ||
604 | struct BE_PCICFG_UE_STATUS_HI_MASK_CSR_AMAP ue_status_hi_mask; | ||
605 | struct BE_PCICFG_ONLINE0_CSR_AMAP online0; | ||
606 | struct BE_PCICFG_ONLINE1_CSR_AMAP online1; | ||
607 | u8 rsvd18[32]; /* DWORD 46 */ | ||
608 | u8 rsvd19[32]; /* DWORD 47 */ | ||
609 | u8 rsvd20[32]; /* DWORD 48 */ | ||
610 | u8 rsvd21[32]; /* DWORD 49 */ | ||
611 | struct BE_PCICFG_HOST_TIMER_INT_CTRL_CSR_AMAP host_timer_int_ctrl; | ||
612 | u8 rsvd22[32]; /* DWORD 51 */ | ||
613 | struct BE_PCICFG_PCIE_CAP_CSR_AMAP pcie_cap; | ||
614 | struct BE_PCICFG_PCIE_DEVCAP_CSR_AMAP pcie_devcap; | ||
615 | struct BE_PCICFG_PCIE_CONTROL_STATUS_CSR_AMAP pcie_control_status; | ||
616 | struct BE_PCICFG_PCIE_LINK_CAP_CSR_AMAP pcie_link_cap; | ||
617 | struct BE_PCICFG_PCIE_LINK_STATUS_CSR_AMAP pcie_link_status; | ||
618 | struct BE_PCICFG_MSI_CSR_AMAP msi; | ||
619 | struct BE_PCICFG_MSIX_TABLE_CSR_AMAP msix_table_offset; | ||
620 | struct BE_PCICFG_MSIX_PBA_CSR_AMAP msix_pba_offset; | ||
621 | u8 rsvd23[32]; /* DWORD 60 */ | ||
622 | u8 rsvd24[32]; /* DWORD 61 */ | ||
623 | u8 rsvd25[32]; /* DWORD 62 */ | ||
624 | u8 rsvd26[32]; /* DWORD 63 */ | ||
625 | u8 rsvd27[32]; /* DWORD 64 */ | ||
626 | u8 rsvd28[32]; /* DWORD 65 */ | ||
627 | u8 rsvd29[32]; /* DWORD 66 */ | ||
628 | u8 rsvd30[32]; /* DWORD 67 */ | ||
629 | u8 rsvd31[32]; /* DWORD 68 */ | ||
630 | u8 rsvd32[32]; /* DWORD 69 */ | ||
631 | u8 rsvd33[32]; /* DWORD 70 */ | ||
632 | u8 rsvd34[32]; /* DWORD 71 */ | ||
633 | u8 rsvd35[32]; /* DWORD 72 */ | ||
634 | u8 rsvd36[32]; /* DWORD 73 */ | ||
635 | u8 rsvd37[32]; /* DWORD 74 */ | ||
636 | u8 rsvd38[32]; /* DWORD 75 */ | ||
637 | u8 rsvd39[32]; /* DWORD 76 */ | ||
638 | u8 rsvd40[32]; /* DWORD 77 */ | ||
639 | u8 rsvd41[32]; /* DWORD 78 */ | ||
640 | u8 rsvd42[32]; /* DWORD 79 */ | ||
641 | u8 rsvd43[32]; /* DWORD 80 */ | ||
642 | u8 rsvd44[32]; /* DWORD 81 */ | ||
643 | u8 rsvd45[32]; /* DWORD 82 */ | ||
644 | u8 rsvd46[32]; /* DWORD 83 */ | ||
645 | u8 rsvd47[32]; /* DWORD 84 */ | ||
646 | u8 rsvd48[32]; /* DWORD 85 */ | ||
647 | u8 rsvd49[32]; /* DWORD 86 */ | ||
648 | u8 rsvd50[32]; /* DWORD 87 */ | ||
649 | u8 rsvd51[32]; /* DWORD 88 */ | ||
650 | u8 rsvd52[32]; /* DWORD 89 */ | ||
651 | u8 rsvd53[32]; /* DWORD 90 */ | ||
652 | u8 rsvd54[32]; /* DWORD 91 */ | ||
653 | u8 rsvd55[32]; /* DWORD 92 */ | ||
654 | u8 rsvd56[832]; /* DWORD 93 */ | ||
655 | u8 rsvd57[32]; /* DWORD 119 */ | ||
656 | u8 rsvd58[32]; /* DWORD 120 */ | ||
657 | u8 rsvd59[32]; /* DWORD 121 */ | ||
658 | u8 rsvd60[32]; /* DWORD 122 */ | ||
659 | u8 rsvd61[32]; /* DWORD 123 */ | ||
660 | u8 rsvd62[32]; /* DWORD 124 */ | ||
661 | u8 rsvd63[32]; /* DWORD 125 */ | ||
662 | u8 rsvd64[32]; /* DWORD 126 */ | ||
663 | u8 rsvd65[32]; /* DWORD 127 */ | ||
664 | u8 rsvd66[61440]; /* DWORD 128 */ | ||
665 | struct BE_PCICFG_ANON_22_MESSAGE_AMAP message[32]; | ||
666 | u8 rsvd67[28672]; /* DWORD 2176 */ | ||
667 | u8 rsvd68[32]; /* DWORD 3072 */ | ||
668 | u8 rsvd69[1023][32]; /* DWORD 3073 */ | ||
669 | } __packed; | ||
670 | struct PCICFG0_CSRMAP_AMAP { | ||
671 | u32 dw[4096]; | ||
672 | }; | ||
673 | |||
674 | struct BE_PCICFG_ANON_24_RSVD_AMAP { | ||
675 | u8 rsvd0[32]; /* DWORD 0 */ | ||
676 | } __packed; | ||
677 | struct PCICFG_ANON_24_RSVD_AMAP { | ||
678 | u32 dw[1]; | ||
679 | }; | ||
680 | |||
681 | struct BE_PCICFG_ANON_25_RSVD_AMAP { | ||
682 | u8 rsvd0[32]; /* DWORD 0 */ | ||
683 | } __packed; | ||
684 | struct PCICFG_ANON_25_RSVD_AMAP { | ||
685 | u32 dw[1]; | ||
686 | }; | ||
687 | |||
688 | struct BE_PCICFG_ANON_26_RSVD_AMAP { | ||
689 | u8 rsvd0[32]; /* DWORD 0 */ | ||
690 | } __packed; | ||
691 | struct PCICFG_ANON_26_RSVD_AMAP { | ||
692 | u32 dw[1]; | ||
693 | }; | ||
694 | |||
695 | struct BE_PCICFG_ANON_27_RSVD_AMAP { | ||
696 | u8 rsvd0[32]; /* DWORD 0 */ | ||
697 | u8 rsvd1[32]; /* DWORD 1 */ | ||
698 | } __packed; | ||
699 | struct PCICFG_ANON_27_RSVD_AMAP { | ||
700 | u32 dw[2]; | ||
701 | }; | ||
702 | |||
703 | struct BE_PCICFG_ANON_28_RSVD_AMAP { | ||
704 | u8 rsvd0[32]; /* DWORD 0 */ | ||
705 | u8 rsvd1[3][32]; /* DWORD 1 */ | ||
706 | } __packed; | ||
707 | struct PCICFG_ANON_28_RSVD_AMAP { | ||
708 | u32 dw[4]; | ||
709 | }; | ||
710 | |||
711 | struct BE_PCICFG_ANON_29_RSVD_AMAP { | ||
712 | u8 rsvd0[32]; /* DWORD 0 */ | ||
713 | u8 rsvd1[36][32]; /* DWORD 1 */ | ||
714 | } __packed; | ||
715 | struct PCICFG_ANON_29_RSVD_AMAP { | ||
716 | u32 dw[37]; | ||
717 | }; | ||
718 | |||
719 | struct BE_PCICFG_ANON_30_RSVD_AMAP { | ||
720 | u8 rsvd0[32]; /* DWORD 0 */ | ||
721 | u8 rsvd1[1930][32]; /* DWORD 1 */ | ||
722 | } __packed; | ||
723 | struct PCICFG_ANON_30_RSVD_AMAP { | ||
724 | u32 dw[1931]; | ||
725 | }; | ||
726 | |||
727 | struct BE_PCICFG_ANON_31_MESSAGE_AMAP { | ||
728 | struct BE_PCICFG_MSIX_VECTOR_CONTROL_CSR_AMAP vec_ctrl; | ||
729 | struct BE_PCICFG_MSIX_MSG_DATA_CSR_AMAP msg_data; | ||
730 | struct BE_PCICFG_MSIX_MSG_ADDR_HI_CSR_AMAP addr_hi; | ||
731 | struct BE_PCICFG_MSIX_MSG_ADDR_LO_CSR_AMAP addr_low; | ||
732 | } __packed; | ||
733 | struct PCICFG_ANON_31_MESSAGE_AMAP { | ||
734 | u32 dw[4]; | ||
735 | }; | ||
736 | |||
737 | struct BE_PCICFG_ANON_32_RSVD_AMAP { | ||
738 | u8 rsvd0[32]; /* DWORD 0 */ | ||
739 | u8 rsvd1[895][32]; /* DWORD 1 */ | ||
740 | } __packed; | ||
741 | struct PCICFG_ANON_32_RSVD_AMAP { | ||
742 | u32 dw[896]; | ||
743 | }; | ||
744 | |||
745 | /* This PCI configuration space register map is for the Networking Function of | ||
746 | * BladeEngine (Function 1). | ||
747 | */ | ||
748 | struct BE_PCICFG1_CSRMAP_AMAP { | ||
749 | struct BE_PCICFG_ID_CSR_AMAP id; | ||
750 | u8 rsvd0[32]; /* DWORD 1 */ | ||
751 | u8 rsvd1[32]; /* DWORD 2 */ | ||
752 | u8 rsvd2[32]; /* DWORD 3 */ | ||
753 | struct BE_PCICFG_IOBAR_CSR_AMAP iobar; | ||
754 | struct BE_PCICFG_MEMBAR0_CSR_AMAP membar0; | ||
755 | struct BE_PCICFG_MEMBAR1_LO_CSR_AMAP membar1_lo; | ||
756 | struct BE_PCICFG_MEMBAR1_HI_CSR_AMAP membar1_hi; | ||
757 | struct BE_PCICFG_MEMBAR2_LO_CSR_AMAP membar2_lo; | ||
758 | struct BE_PCICFG_MEMBAR2_HI_CSR_AMAP membar2_hi; | ||
759 | u8 rsvd3[32]; /* DWORD 10 */ | ||
760 | struct BE_PCICFG_SUBSYSTEM_ID_F1_CSR_AMAP subsystem_id; | ||
761 | u8 rsvd4[32]; /* DWORD 12 */ | ||
762 | u8 rsvd5[32]; /* DWORD 13 */ | ||
763 | u8 rsvd6[32]; /* DWORD 14 */ | ||
764 | u8 rsvd7[32]; /* DWORD 15 */ | ||
765 | struct BE_PCICFG_SEMAPHORE_CSR_AMAP semaphore[4]; | ||
766 | struct BE_PCICFG_SOFT_RESET_CSR_AMAP soft_reset; | ||
767 | u8 rsvd8[32]; /* DWORD 21 */ | ||
768 | struct BE_PCICFG_SCRATCHPAD_CSR_AMAP scratchpad; | ||
769 | u8 rsvd9[32]; /* DWORD 23 */ | ||
770 | u8 rsvd10[32]; /* DWORD 24 */ | ||
771 | u8 rsvd11[32]; /* DWORD 25 */ | ||
772 | u8 rsvd12[32]; /* DWORD 26 */ | ||
773 | u8 rsvd13[32]; /* DWORD 27 */ | ||
774 | u8 rsvd14[2][32]; /* DWORD 28 */ | ||
775 | u8 rsvd15[32]; /* DWORD 30 */ | ||
776 | u8 rsvd16[32]; /* DWORD 31 */ | ||
777 | u8 rsvd17[8][32]; /* DWORD 32 */ | ||
778 | struct BE_PCICFG_UE_STATUS_LOW_CSR_AMAP ue_status_low; | ||
779 | struct BE_PCICFG_UE_STATUS_HI_CSR_AMAP ue_status_hi; | ||
780 | struct BE_PCICFG_UE_STATUS_LOW_MASK_CSR_AMAP ue_status_low_mask; | ||
781 | struct BE_PCICFG_UE_STATUS_HI_MASK_CSR_AMAP ue_status_hi_mask; | ||
782 | struct BE_PCICFG_ONLINE0_CSR_AMAP online0; | ||
783 | struct BE_PCICFG_ONLINE1_CSR_AMAP online1; | ||
784 | u8 rsvd18[32]; /* DWORD 46 */ | ||
785 | u8 rsvd19[32]; /* DWORD 47 */ | ||
786 | u8 rsvd20[32]; /* DWORD 48 */ | ||
787 | u8 rsvd21[32]; /* DWORD 49 */ | ||
788 | struct BE_PCICFG_HOST_TIMER_INT_CTRL_CSR_AMAP host_timer_int_ctrl; | ||
789 | u8 rsvd22[32]; /* DWORD 51 */ | ||
790 | struct BE_PCICFG_PCIE_CAP_CSR_AMAP pcie_cap; | ||
791 | struct BE_PCICFG_PCIE_DEVCAP_CSR_AMAP pcie_devcap; | ||
792 | struct BE_PCICFG_PCIE_CONTROL_STATUS_CSR_AMAP pcie_control_status; | ||
793 | struct BE_PCICFG_PCIE_LINK_CAP_CSR_AMAP pcie_link_cap; | ||
794 | struct BE_PCICFG_PCIE_LINK_STATUS_CSR_AMAP pcie_link_status; | ||
795 | struct BE_PCICFG_MSI_CSR_AMAP msi; | ||
796 | struct BE_PCICFG_MSIX_TABLE_CSR_AMAP msix_table_offset; | ||
797 | struct BE_PCICFG_MSIX_PBA_CSR_AMAP msix_pba_offset; | ||
798 | u8 rsvd23[64]; /* DWORD 60 */ | ||
799 | u8 rsvd24[32]; /* DWORD 62 */ | ||
800 | u8 rsvd25[32]; /* DWORD 63 */ | ||
801 | u8 rsvd26[32]; /* DWORD 64 */ | ||
802 | u8 rsvd27[32]; /* DWORD 65 */ | ||
803 | u8 rsvd28[32]; /* DWORD 66 */ | ||
804 | u8 rsvd29[32]; /* DWORD 67 */ | ||
805 | u8 rsvd30[32]; /* DWORD 68 */ | ||
806 | u8 rsvd31[32]; /* DWORD 69 */ | ||
807 | u8 rsvd32[32]; /* DWORD 70 */ | ||
808 | u8 rsvd33[32]; /* DWORD 71 */ | ||
809 | u8 rsvd34[32]; /* DWORD 72 */ | ||
810 | u8 rsvd35[32]; /* DWORD 73 */ | ||
811 | u8 rsvd36[32]; /* DWORD 74 */ | ||
812 | u8 rsvd37[128]; /* DWORD 75 */ | ||
813 | u8 rsvd38[32]; /* DWORD 79 */ | ||
814 | u8 rsvd39[1184]; /* DWORD 80 */ | ||
815 | u8 rsvd40[61792]; /* DWORD 117 */ | ||
816 | struct BE_PCICFG_ANON_31_MESSAGE_AMAP message[32]; | ||
817 | u8 rsvd41[28672]; /* DWORD 2176 */ | ||
818 | u8 rsvd42[32]; /* DWORD 3072 */ | ||
819 | u8 rsvd43[1023][32]; /* DWORD 3073 */ | ||
820 | } __packed; | ||
821 | struct PCICFG1_CSRMAP_AMAP { | ||
822 | u32 dw[4096]; | ||
823 | }; | ||
824 | |||
825 | #endif /* __pcicfg_amap_h__ */ | ||
diff --git a/drivers/staging/benet/post_codes.h b/drivers/staging/benet/post_codes.h deleted file mode 100644 index 6d1621f5f5fb..000000000000 --- a/drivers/staging/benet/post_codes.h +++ /dev/null | |||
@@ -1,111 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __post_codes_amap_h__ | ||
21 | #define __post_codes_amap_h__ | ||
22 | |||
23 | /* --- MGMT_HBA_POST_STAGE_ENUM --- */ | ||
24 | #define POST_STAGE_POWER_ON_RESET (0) /* State after a cold or warm boot. */ | ||
25 | #define POST_STAGE_AWAITING_HOST_RDY (1) /* ARM boot code awaiting a | ||
26 | go-ahed from the host. */ | ||
27 | #define POST_STAGE_HOST_RDY (2) /* Host has given go-ahed to ARM. */ | ||
28 | #define POST_STAGE_BE_RESET (3) /* Host wants to reset chip, this is a chip | ||
29 | workaround */ | ||
30 | #define POST_STAGE_SEEPROM_CS_START (256) /* SEEPROM checksum | ||
31 | test start. */ | ||
32 | #define POST_STAGE_SEEPROM_CS_DONE (257) /* SEEPROM checksum test | ||
33 | done. */ | ||
34 | #define POST_STAGE_DDR_CONFIG_START (512) /* DDR configuration start. */ | ||
35 | #define POST_STAGE_DDR_CONFIG_DONE (513) /* DDR configuration done. */ | ||
36 | #define POST_STAGE_DDR_CALIBRATE_START (768) /* DDR calibration start. */ | ||
37 | #define POST_STAGE_DDR_CALIBRATE_DONE (769) /* DDR calibration done. */ | ||
38 | #define POST_STAGE_DDR_TEST_START (1024) /* DDR memory test start. */ | ||
39 | #define POST_STAGE_DDR_TEST_DONE (1025) /* DDR memory test done. */ | ||
40 | #define POST_STAGE_REDBOOT_INIT_START (1536) /* Redboot starts execution. */ | ||
41 | #define POST_STAGE_REDBOOT_INIT_DONE (1537) /* Redboot done execution. */ | ||
42 | #define POST_STAGE_FW_IMAGE_LOAD_START (1792) /* Firmware image load to | ||
43 | DDR start. */ | ||
44 | #define POST_STAGE_FW_IMAGE_LOAD_DONE (1793) /* Firmware image load | ||
45 | to DDR done. */ | ||
46 | #define POST_STAGE_ARMFW_START (2048) /* ARMfw runtime code | ||
47 | starts execution. */ | ||
48 | #define POST_STAGE_DHCP_QUERY_START (2304) /* DHCP server query start. */ | ||
49 | #define POST_STAGE_DHCP_QUERY_DONE (2305) /* DHCP server query done. */ | ||
50 | #define POST_STAGE_BOOT_TARGET_DISCOVERY_START (2560) /* Boot Target | ||
51 | Discovery Start. */ | ||
52 | #define POST_STAGE_BOOT_TARGET_DISCOVERY_DONE (2561) /* Boot Target | ||
53 | Discovery Done. */ | ||
54 | #define POST_STAGE_RC_OPTION_SET (2816) /* Remote configuration | ||
55 | option is set in SEEPROM */ | ||
56 | #define POST_STAGE_SWITCH_LINK (2817) /* Wait for link up on switch */ | ||
57 | #define POST_STAGE_SEND_ICDS_MESSAGE (2818) /* Send the ICDS message | ||
58 | to switch */ | ||
59 | #define POST_STAGE_PERFROM_TFTP (2819) /* Download xml using TFTP */ | ||
60 | #define POST_STAGE_PARSE_XML (2820) /* Parse XML file */ | ||
61 | #define POST_STAGE_DOWNLOAD_IMAGE (2821) /* Download IMAGE from | ||
62 | TFTP server */ | ||
63 | #define POST_STAGE_FLASH_IMAGE (2822) /* Flash the IMAGE */ | ||
64 | #define POST_STAGE_RC_DONE (2823) /* Remote configuration | ||
65 | complete */ | ||
66 | #define POST_STAGE_REBOOT_SYSTEM (2824) /* Upgrade IMAGE done, | ||
67 | reboot required */ | ||
68 | #define POST_STAGE_MAC_ADDRESS (3072) /* MAC Address Check */ | ||
69 | #define POST_STAGE_ARMFW_READY (49152) /* ARMfw is done with POST | ||
70 | and ready. */ | ||
71 | #define POST_STAGE_ARMFW_UE (61440) /* ARMfw has asserted an | ||
72 | unrecoverable error. The | ||
73 | lower 3 hex digits of the | ||
74 | stage code identify the | ||
75 | unique error code. | ||
76 | */ | ||
77 | |||
78 | /* This structure defines the format of the MPU semaphore | ||
79 | * register when used for POST. | ||
80 | */ | ||
81 | struct BE_MGMT_HBA_POST_STATUS_STRUCT_AMAP { | ||
82 | u8 stage[16]; /* DWORD 0 */ | ||
83 | u8 rsvd0[10]; /* DWORD 0 */ | ||
84 | u8 iscsi_driver_loaded; /* DWORD 0 */ | ||
85 | u8 option_rom_installed; /* DWORD 0 */ | ||
86 | u8 iscsi_ip_conflict; /* DWORD 0 */ | ||
87 | u8 iscsi_no_ip; /* DWORD 0 */ | ||
88 | u8 backup_fw; /* DWORD 0 */ | ||
89 | u8 error; /* DWORD 0 */ | ||
90 | } __packed; | ||
91 | struct MGMT_HBA_POST_STATUS_STRUCT_AMAP { | ||
92 | u32 dw[1]; | ||
93 | }; | ||
94 | |||
95 | /* --- MGMT_HBA_POST_DUMMY_BITS_ENUM --- */ | ||
96 | #define POST_BIT_ISCSI_LOADED (26) | ||
97 | #define POST_BIT_OPTROM_INST (27) | ||
98 | #define POST_BIT_BAD_IP_ADDR (28) | ||
99 | #define POST_BIT_NO_IP_ADDR (29) | ||
100 | #define POST_BIT_BACKUP_FW (30) | ||
101 | #define POST_BIT_ERROR (31) | ||
102 | |||
103 | /* --- MGMT_HBA_POST_DUMMY_VALUES_ENUM --- */ | ||
104 | #define POST_ISCSI_DRIVER_LOADED (67108864) | ||
105 | #define POST_OPTROM_INSTALLED (134217728) | ||
106 | #define POST_ISCSI_IP_ADDRESS_CONFLICT (268435456) | ||
107 | #define POST_ISCSI_NO_IP_ADDRESS (536870912) | ||
108 | #define POST_BACKUP_FW_LOADED (1073741824) | ||
109 | #define POST_FATAL_ERROR (2147483648) | ||
110 | |||
111 | #endif /* __post_codes_amap_h__ */ | ||
diff --git a/drivers/staging/benet/regmap.h b/drivers/staging/benet/regmap.h deleted file mode 100644 index e816ba210e83..000000000000 --- a/drivers/staging/benet/regmap.h +++ /dev/null | |||
@@ -1,68 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2005 - 2008 ServerEngines | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU General Public License version 2 | ||
7 | * as published by the Free Software Foundation. The full GNU General | ||
8 | * Public License is included in this distribution in the file called COPYING. | ||
9 | * | ||
10 | * Contact Information: | ||
11 | * linux-drivers@serverengines.com | ||
12 | * | ||
13 | * ServerEngines | ||
14 | * 209 N. Fair Oaks Ave | ||
15 | * Sunnyvale, CA 94085 | ||
16 | */ | ||
17 | /* | ||
18 | * Autogenerated by srcgen version: 0127 | ||
19 | */ | ||
20 | #ifndef __regmap_amap_h__ | ||
21 | #define __regmap_amap_h__ | ||
22 | #include "pcicfg.h" | ||
23 | #include "ep.h" | ||
24 | #include "cev.h" | ||
25 | #include "mpu.h" | ||
26 | #include "doorbells.h" | ||
27 | |||
28 | /* | ||
29 | * This is the control and status register map for BladeEngine, showing | ||
30 | * the relative size and offset of each sub-module. The CSR registers | ||
31 | * are identical for the network and storage PCI functions. The | ||
32 | * CSR map is shown below, followed by details of each block, | ||
33 | * in sub-sections. The sub-sections begin with a description | ||
34 | * of CSRs that are instantiated in multiple blocks. | ||
35 | */ | ||
36 | struct BE_BLADE_ENGINE_CSRMAP_AMAP { | ||
37 | struct BE_MPU_CSRMAP_AMAP mpu; | ||
38 | u8 rsvd0[8192]; /* DWORD 256 */ | ||
39 | u8 rsvd1[8192]; /* DWORD 512 */ | ||
40 | struct BE_CEV_CSRMAP_AMAP cev; | ||
41 | u8 rsvd2[8192]; /* DWORD 1024 */ | ||
42 | u8 rsvd3[8192]; /* DWORD 1280 */ | ||
43 | u8 rsvd4[8192]; /* DWORD 1536 */ | ||
44 | u8 rsvd5[8192]; /* DWORD 1792 */ | ||
45 | u8 rsvd6[8192]; /* DWORD 2048 */ | ||
46 | u8 rsvd7[8192]; /* DWORD 2304 */ | ||
47 | u8 rsvd8[8192]; /* DWORD 2560 */ | ||
48 | u8 rsvd9[8192]; /* DWORD 2816 */ | ||
49 | u8 rsvd10[8192]; /* DWORD 3072 */ | ||
50 | u8 rsvd11[8192]; /* DWORD 3328 */ | ||
51 | u8 rsvd12[8192]; /* DWORD 3584 */ | ||
52 | u8 rsvd13[8192]; /* DWORD 3840 */ | ||
53 | u8 rsvd14[8192]; /* DWORD 4096 */ | ||
54 | u8 rsvd15[8192]; /* DWORD 4352 */ | ||
55 | u8 rsvd16[8192]; /* DWORD 4608 */ | ||
56 | u8 rsvd17[8192]; /* DWORD 4864 */ | ||
57 | u8 rsvd18[8192]; /* DWORD 5120 */ | ||
58 | u8 rsvd19[8192]; /* DWORD 5376 */ | ||
59 | u8 rsvd20[8192]; /* DWORD 5632 */ | ||
60 | u8 rsvd21[8192]; /* DWORD 5888 */ | ||
61 | u8 rsvd22[8192]; /* DWORD 6144 */ | ||
62 | u8 rsvd23[17152][32]; /* DWORD 6400 */ | ||
63 | } __packed; | ||
64 | struct BLADE_ENGINE_CSRMAP_AMAP { | ||
65 | u32 dw[23552]; | ||
66 | }; | ||
67 | |||
68 | #endif /* __regmap_amap_h__ */ | ||
diff --git a/drivers/usb/atm/cxacru.c b/drivers/usb/atm/cxacru.c index 5ed4ae07bac1..6789089e2461 100644 --- a/drivers/usb/atm/cxacru.c +++ b/drivers/usb/atm/cxacru.c | |||
@@ -485,7 +485,7 @@ static int cxacru_cm(struct cxacru_data *instance, enum cxacru_cm_request cm, | |||
485 | usb_err(instance->usbatm, "requested transfer size too large (%d, %d)\n", | 485 | usb_err(instance->usbatm, "requested transfer size too large (%d, %d)\n", |
486 | wbuflen, rbuflen); | 486 | wbuflen, rbuflen); |
487 | ret = -ENOMEM; | 487 | ret = -ENOMEM; |
488 | goto fail; | 488 | goto err; |
489 | } | 489 | } |
490 | 490 | ||
491 | mutex_lock(&instance->cm_serialize); | 491 | mutex_lock(&instance->cm_serialize); |
@@ -565,6 +565,7 @@ static int cxacru_cm(struct cxacru_data *instance, enum cxacru_cm_request cm, | |||
565 | dbg("cm %#x", cm); | 565 | dbg("cm %#x", cm); |
566 | fail: | 566 | fail: |
567 | mutex_unlock(&instance->cm_serialize); | 567 | mutex_unlock(&instance->cm_serialize); |
568 | err: | ||
568 | return ret; | 569 | return ret; |
569 | } | 570 | } |
570 | 571 | ||
diff --git a/drivers/usb/class/usbtmc.c b/drivers/usb/class/usbtmc.c index 0f5c05f6f9df..c40a9b284cc9 100644 --- a/drivers/usb/class/usbtmc.c +++ b/drivers/usb/class/usbtmc.c | |||
@@ -50,6 +50,7 @@ | |||
50 | 50 | ||
51 | static struct usb_device_id usbtmc_devices[] = { | 51 | static struct usb_device_id usbtmc_devices[] = { |
52 | { USB_INTERFACE_INFO(USB_CLASS_APP_SPEC, 3, 0), }, | 52 | { USB_INTERFACE_INFO(USB_CLASS_APP_SPEC, 3, 0), }, |
53 | { USB_INTERFACE_INFO(USB_CLASS_APP_SPEC, 3, 1), }, | ||
53 | { 0, } /* terminating entry */ | 54 | { 0, } /* terminating entry */ |
54 | }; | 55 | }; |
55 | MODULE_DEVICE_TABLE(usb, usbtmc_devices); | 56 | MODULE_DEVICE_TABLE(usb, usbtmc_devices); |
@@ -106,12 +107,13 @@ static int usbtmc_open(struct inode *inode, struct file *filp) | |||
106 | { | 107 | { |
107 | struct usb_interface *intf; | 108 | struct usb_interface *intf; |
108 | struct usbtmc_device_data *data; | 109 | struct usbtmc_device_data *data; |
109 | int retval = -ENODEV; | 110 | int retval = 0; |
110 | 111 | ||
111 | intf = usb_find_interface(&usbtmc_driver, iminor(inode)); | 112 | intf = usb_find_interface(&usbtmc_driver, iminor(inode)); |
112 | if (!intf) { | 113 | if (!intf) { |
113 | printk(KERN_ERR KBUILD_MODNAME | 114 | printk(KERN_ERR KBUILD_MODNAME |
114 | ": can not find device for minor %d", iminor(inode)); | 115 | ": can not find device for minor %d", iminor(inode)); |
116 | retval = -ENODEV; | ||
115 | goto exit; | 117 | goto exit; |
116 | } | 118 | } |
117 | 119 | ||
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 7513bb083c15..6585f527e381 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c | |||
@@ -359,11 +359,6 @@ static void destroy_async(struct dev_state *ps, struct list_head *list) | |||
359 | spin_lock_irqsave(&ps->lock, flags); | 359 | spin_lock_irqsave(&ps->lock, flags); |
360 | } | 360 | } |
361 | spin_unlock_irqrestore(&ps->lock, flags); | 361 | spin_unlock_irqrestore(&ps->lock, flags); |
362 | as = async_getcompleted(ps); | ||
363 | while (as) { | ||
364 | free_async(as); | ||
365 | as = async_getcompleted(ps); | ||
366 | } | ||
367 | } | 362 | } |
368 | 363 | ||
369 | static void destroy_async_on_interface(struct dev_state *ps, | 364 | static void destroy_async_on_interface(struct dev_state *ps, |
@@ -643,6 +638,7 @@ static int usbdev_release(struct inode *inode, struct file *file) | |||
643 | struct dev_state *ps = file->private_data; | 638 | struct dev_state *ps = file->private_data; |
644 | struct usb_device *dev = ps->dev; | 639 | struct usb_device *dev = ps->dev; |
645 | unsigned int ifnum; | 640 | unsigned int ifnum; |
641 | struct async *as; | ||
646 | 642 | ||
647 | usb_lock_device(dev); | 643 | usb_lock_device(dev); |
648 | 644 | ||
@@ -661,6 +657,12 @@ static int usbdev_release(struct inode *inode, struct file *file) | |||
661 | usb_unlock_device(dev); | 657 | usb_unlock_device(dev); |
662 | usb_put_dev(dev); | 658 | usb_put_dev(dev); |
663 | put_pid(ps->disc_pid); | 659 | put_pid(ps->disc_pid); |
660 | |||
661 | as = async_getcompleted(ps); | ||
662 | while (as) { | ||
663 | free_async(as); | ||
664 | as = async_getcompleted(ps); | ||
665 | } | ||
664 | kfree(ps); | 666 | kfree(ps); |
665 | return 0; | 667 | return 0; |
666 | } | 668 | } |
diff --git a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c index 3712b925b315..ecc9b66c03cd 100644 --- a/drivers/usb/host/ehci-q.c +++ b/drivers/usb/host/ehci-q.c | |||
@@ -1095,7 +1095,8 @@ static void start_unlink_async (struct ehci_hcd *ehci, struct ehci_qh *qh) | |||
1095 | prev->qh_next = qh->qh_next; | 1095 | prev->qh_next = qh->qh_next; |
1096 | wmb (); | 1096 | wmb (); |
1097 | 1097 | ||
1098 | if (unlikely (ehci_to_hcd(ehci)->state == HC_STATE_HALT)) { | 1098 | /* If the controller isn't running, we don't have to wait for it */ |
1099 | if (unlikely(!HC_IS_RUNNING(ehci_to_hcd(ehci)->state))) { | ||
1099 | /* if (unlikely (qh->reclaim != 0)) | 1100 | /* if (unlikely (qh->reclaim != 0)) |
1100 | * this will recurse, probably not much | 1101 | * this will recurse, probably not much |
1101 | */ | 1102 | */ |
diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c index 07bcb931021b..1d0b49e3f192 100644 --- a/drivers/usb/host/ehci-sched.c +++ b/drivers/usb/host/ehci-sched.c | |||
@@ -1536,7 +1536,7 @@ itd_link_urb ( | |||
1536 | struct ehci_itd, itd_list); | 1536 | struct ehci_itd, itd_list); |
1537 | list_move_tail (&itd->itd_list, &stream->td_list); | 1537 | list_move_tail (&itd->itd_list, &stream->td_list); |
1538 | itd->stream = iso_stream_get (stream); | 1538 | itd->stream = iso_stream_get (stream); |
1539 | itd->urb = usb_get_urb (urb); | 1539 | itd->urb = urb; |
1540 | itd_init (ehci, stream, itd); | 1540 | itd_init (ehci, stream, itd); |
1541 | } | 1541 | } |
1542 | 1542 | ||
@@ -1645,7 +1645,7 @@ itd_complete ( | |||
1645 | (void) disable_periodic(ehci); | 1645 | (void) disable_periodic(ehci); |
1646 | ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--; | 1646 | ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--; |
1647 | 1647 | ||
1648 | if (unlikely (list_empty (&stream->td_list))) { | 1648 | if (unlikely(list_is_singular(&stream->td_list))) { |
1649 | ehci_to_hcd(ehci)->self.bandwidth_allocated | 1649 | ehci_to_hcd(ehci)->self.bandwidth_allocated |
1650 | -= stream->bandwidth; | 1650 | -= stream->bandwidth; |
1651 | ehci_vdbg (ehci, | 1651 | ehci_vdbg (ehci, |
@@ -1656,7 +1656,6 @@ itd_complete ( | |||
1656 | iso_stream_put (ehci, stream); | 1656 | iso_stream_put (ehci, stream); |
1657 | 1657 | ||
1658 | done: | 1658 | done: |
1659 | usb_put_urb(urb); | ||
1660 | itd->urb = NULL; | 1659 | itd->urb = NULL; |
1661 | if (ehci->clock_frame != itd->frame || itd->index[7] != -1) { | 1660 | if (ehci->clock_frame != itd->frame || itd->index[7] != -1) { |
1662 | /* OK to recycle this ITD now. */ | 1661 | /* OK to recycle this ITD now. */ |
@@ -1949,7 +1948,7 @@ sitd_link_urb ( | |||
1949 | struct ehci_sitd, sitd_list); | 1948 | struct ehci_sitd, sitd_list); |
1950 | list_move_tail (&sitd->sitd_list, &stream->td_list); | 1949 | list_move_tail (&sitd->sitd_list, &stream->td_list); |
1951 | sitd->stream = iso_stream_get (stream); | 1950 | sitd->stream = iso_stream_get (stream); |
1952 | sitd->urb = usb_get_urb (urb); | 1951 | sitd->urb = urb; |
1953 | 1952 | ||
1954 | sitd_patch(ehci, stream, sitd, sched, packet); | 1953 | sitd_patch(ehci, stream, sitd, sched, packet); |
1955 | sitd_link (ehci, (next_uframe >> 3) % ehci->periodic_size, | 1954 | sitd_link (ehci, (next_uframe >> 3) % ehci->periodic_size, |
@@ -2034,7 +2033,7 @@ sitd_complete ( | |||
2034 | (void) disable_periodic(ehci); | 2033 | (void) disable_periodic(ehci); |
2035 | ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--; | 2034 | ehci_to_hcd(ehci)->self.bandwidth_isoc_reqs--; |
2036 | 2035 | ||
2037 | if (list_empty (&stream->td_list)) { | 2036 | if (list_is_singular(&stream->td_list)) { |
2038 | ehci_to_hcd(ehci)->self.bandwidth_allocated | 2037 | ehci_to_hcd(ehci)->self.bandwidth_allocated |
2039 | -= stream->bandwidth; | 2038 | -= stream->bandwidth; |
2040 | ehci_vdbg (ehci, | 2039 | ehci_vdbg (ehci, |
@@ -2045,7 +2044,6 @@ sitd_complete ( | |||
2045 | iso_stream_put (ehci, stream); | 2044 | iso_stream_put (ehci, stream); |
2046 | /* OK to recycle this SITD now that its completion callback ran. */ | 2045 | /* OK to recycle this SITD now that its completion callback ran. */ |
2047 | done: | 2046 | done: |
2048 | usb_put_urb(urb); | ||
2049 | sitd->urb = NULL; | 2047 | sitd->urb = NULL; |
2050 | sitd->stream = NULL; | 2048 | sitd->stream = NULL; |
2051 | list_move(&sitd->sitd_list, &stream->free_list); | 2049 | list_move(&sitd->sitd_list, &stream->free_list); |
diff --git a/drivers/usb/image/mdc800.c b/drivers/usb/image/mdc800.c index 878c77ca086e..972f20b3406c 100644 --- a/drivers/usb/image/mdc800.c +++ b/drivers/usb/image/mdc800.c | |||
@@ -499,6 +499,7 @@ static int mdc800_usb_probe (struct usb_interface *intf, | |||
499 | retval = usb_register_dev(intf, &mdc800_class); | 499 | retval = usb_register_dev(intf, &mdc800_class); |
500 | if (retval) { | 500 | if (retval) { |
501 | dev_err(&intf->dev, "Not able to get a minor for this device.\n"); | 501 | dev_err(&intf->dev, "Not able to get a minor for this device.\n"); |
502 | mutex_unlock(&mdc800->io_lock); | ||
502 | return -ENODEV; | 503 | return -ENODEV; |
503 | } | 504 | } |
504 | 505 | ||
diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c index 7b6922e08ed1..203526542013 100644 --- a/drivers/usb/misc/adutux.c +++ b/drivers/usb/misc/adutux.c | |||
@@ -376,7 +376,7 @@ static int adu_release(struct inode *inode, struct file *file) | |||
376 | if (dev->open_count <= 0) { | 376 | if (dev->open_count <= 0) { |
377 | dbg(1," %s : device not opened", __func__); | 377 | dbg(1," %s : device not opened", __func__); |
378 | retval = -ENODEV; | 378 | retval = -ENODEV; |
379 | goto exit; | 379 | goto unlock; |
380 | } | 380 | } |
381 | 381 | ||
382 | adu_release_internal(dev); | 382 | adu_release_internal(dev); |
@@ -385,9 +385,9 @@ static int adu_release(struct inode *inode, struct file *file) | |||
385 | if (!dev->open_count) /* ... and we're the last user */ | 385 | if (!dev->open_count) /* ... and we're the last user */ |
386 | adu_delete(dev); | 386 | adu_delete(dev); |
387 | } | 387 | } |
388 | 388 | unlock: | |
389 | exit: | ||
390 | mutex_unlock(&adutux_mutex); | 389 | mutex_unlock(&adutux_mutex); |
390 | exit: | ||
391 | dbg(2," %s : leave, return value %d", __func__, retval); | 391 | dbg(2," %s : leave, return value %d", __func__, retval); |
392 | return retval; | 392 | return retval; |
393 | } | 393 | } |
diff --git a/drivers/usb/misc/vstusb.c b/drivers/usb/misc/vstusb.c index 63dff9ba73c5..f26ea8dc1577 100644 --- a/drivers/usb/misc/vstusb.c +++ b/drivers/usb/misc/vstusb.c | |||
@@ -401,6 +401,7 @@ static ssize_t vstusb_write(struct file *file, const char __user *buffer, | |||
401 | } | 401 | } |
402 | 402 | ||
403 | if (copy_from_user(buf, buffer, count)) { | 403 | if (copy_from_user(buf, buffer, count)) { |
404 | mutex_unlock(&vstdev->lock); | ||
404 | dev_err(&dev->dev, "%s: can't copy_from_user\n", __func__); | 405 | dev_err(&dev->dev, "%s: can't copy_from_user\n", __func__); |
405 | retval = -EFAULT; | 406 | retval = -EFAULT; |
406 | goto exit; | 407 | goto exit; |
diff --git a/drivers/usb/serial/cp2101.c b/drivers/usb/serial/cp2101.c index 027f4b7dde86..9b4082b58c5b 100644 --- a/drivers/usb/serial/cp2101.c +++ b/drivers/usb/serial/cp2101.c | |||
@@ -79,6 +79,7 @@ static struct usb_device_id id_table [] = { | |||
79 | { USB_DEVICE(0x10C4, 0x814A) }, /* West Mountain Radio RIGblaster P&P */ | 79 | { USB_DEVICE(0x10C4, 0x814A) }, /* West Mountain Radio RIGblaster P&P */ |
80 | { USB_DEVICE(0x10C4, 0x814B) }, /* West Mountain Radio RIGtalk */ | 80 | { USB_DEVICE(0x10C4, 0x814B) }, /* West Mountain Radio RIGtalk */ |
81 | { USB_DEVICE(0x10C4, 0x815E) }, /* Helicomm IP-Link 1220-DVM */ | 81 | { USB_DEVICE(0x10C4, 0x815E) }, /* Helicomm IP-Link 1220-DVM */ |
82 | { USB_DEVICE(0x10C4, 0x819F) }, /* MJS USB Toslink Switcher */ | ||
82 | { USB_DEVICE(0x10C4, 0x81A6) }, /* ThinkOptics WavIt */ | 83 | { USB_DEVICE(0x10C4, 0x81A6) }, /* ThinkOptics WavIt */ |
83 | { USB_DEVICE(0x10C4, 0x81AC) }, /* MSD Dash Hawk */ | 84 | { USB_DEVICE(0x10C4, 0x81AC) }, /* MSD Dash Hawk */ |
84 | { USB_DEVICE(0x10C4, 0x81C8) }, /* Lipowsky Industrie Elektronik GmbH, Baby-JTAG */ | 85 | { USB_DEVICE(0x10C4, 0x81C8) }, /* Lipowsky Industrie Elektronik GmbH, Baby-JTAG */ |
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index f92f4d773374..ae84c326a540 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -663,6 +663,11 @@ static struct usb_device_id id_table_combined [] = { | |||
663 | { USB_DEVICE(ALTI2_VID, ALTI2_N3_PID) }, | 663 | { USB_DEVICE(ALTI2_VID, ALTI2_N3_PID) }, |
664 | { USB_DEVICE(FTDI_VID, DIEBOLD_BCS_SE923_PID) }, | 664 | { USB_DEVICE(FTDI_VID, DIEBOLD_BCS_SE923_PID) }, |
665 | { USB_DEVICE(FTDI_VID, FTDI_NDI_HUC_PID) }, | 665 | { USB_DEVICE(FTDI_VID, FTDI_NDI_HUC_PID) }, |
666 | { USB_DEVICE(ATMEL_VID, STK541_PID) }, | ||
667 | { USB_DEVICE(DE_VID, STB_PID) }, | ||
668 | { USB_DEVICE(DE_VID, WHT_PID) }, | ||
669 | { USB_DEVICE(ADI_VID, ADI_GNICE_PID), | ||
670 | .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, | ||
666 | { }, /* Optional parameter entry */ | 671 | { }, /* Optional parameter entry */ |
667 | { } /* Terminating entry */ | 672 | { } /* Terminating entry */ |
668 | }; | 673 | }; |
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h index e300c840f8ca..daaf63db0b50 100644 --- a/drivers/usb/serial/ftdi_sio.h +++ b/drivers/usb/serial/ftdi_sio.h | |||
@@ -893,6 +893,26 @@ | |||
893 | #define DIEBOLD_BCS_SE923_PID 0xfb99 | 893 | #define DIEBOLD_BCS_SE923_PID 0xfb99 |
894 | 894 | ||
895 | /* | 895 | /* |
896 | * Atmel STK541 | ||
897 | */ | ||
898 | #define ATMEL_VID 0x03eb /* Vendor ID */ | ||
899 | #define STK541_PID 0x2109 /* Zigbee Controller */ | ||
900 | |||
901 | /* | ||
902 | * Dresden Elektronic Sensor Terminal Board | ||
903 | */ | ||
904 | #define DE_VID 0x1cf1 /* Vendor ID */ | ||
905 | #define STB_PID 0x0001 /* Sensor Terminal Board */ | ||
906 | #define WHT_PID 0x0004 /* Wireless Handheld Terminal */ | ||
907 | |||
908 | /* | ||
909 | * Blackfin gnICE JTAG | ||
910 | * http://docs.blackfin.uclinux.org/doku.php?id=hw:jtag:gnice | ||
911 | */ | ||
912 | #define ADI_VID 0x0456 | ||
913 | #define ADI_GNICE_PID 0xF000 | ||
914 | |||
915 | /* | ||
896 | * BmRequestType: 1100 0000b | 916 | * BmRequestType: 1100 0000b |
897 | * bRequest: FTDI_E2_READ | 917 | * bRequest: FTDI_E2_READ |
898 | * wValue: 0 | 918 | * wValue: 0 |
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index b7c132bded7f..61ebddc48497 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c | |||
@@ -89,6 +89,7 @@ static int option_send_setup(struct tty_struct *tty, struct usb_serial_port *po | |||
89 | #define OPTION_PRODUCT_ETNA_MODEM_GT 0x7041 | 89 | #define OPTION_PRODUCT_ETNA_MODEM_GT 0x7041 |
90 | #define OPTION_PRODUCT_ETNA_MODEM_EX 0x7061 | 90 | #define OPTION_PRODUCT_ETNA_MODEM_EX 0x7061 |
91 | #define OPTION_PRODUCT_ETNA_KOI_MODEM 0x7100 | 91 | #define OPTION_PRODUCT_ETNA_KOI_MODEM 0x7100 |
92 | #define OPTION_PRODUCT_GTM380_MODEM 0x7201 | ||
92 | 93 | ||
93 | #define HUAWEI_VENDOR_ID 0x12D1 | 94 | #define HUAWEI_VENDOR_ID 0x12D1 |
94 | #define HUAWEI_PRODUCT_E600 0x1001 | 95 | #define HUAWEI_PRODUCT_E600 0x1001 |
@@ -197,6 +198,7 @@ static int option_send_setup(struct tty_struct *tty, struct usb_serial_port *po | |||
197 | /* OVATION PRODUCTS */ | 198 | /* OVATION PRODUCTS */ |
198 | #define NOVATELWIRELESS_PRODUCT_MC727 0x4100 | 199 | #define NOVATELWIRELESS_PRODUCT_MC727 0x4100 |
199 | #define NOVATELWIRELESS_PRODUCT_MC950D 0x4400 | 200 | #define NOVATELWIRELESS_PRODUCT_MC950D 0x4400 |
201 | #define NOVATELWIRELESS_PRODUCT_U727 0x5010 | ||
200 | 202 | ||
201 | /* FUTURE NOVATEL PRODUCTS */ | 203 | /* FUTURE NOVATEL PRODUCTS */ |
202 | #define NOVATELWIRELESS_PRODUCT_EVDO_FULLSPEED 0X6000 | 204 | #define NOVATELWIRELESS_PRODUCT_EVDO_FULLSPEED 0X6000 |
@@ -288,15 +290,11 @@ static int option_send_setup(struct tty_struct *tty, struct usb_serial_port *po | |||
288 | 290 | ||
289 | /* ZTE PRODUCTS */ | 291 | /* ZTE PRODUCTS */ |
290 | #define ZTE_VENDOR_ID 0x19d2 | 292 | #define ZTE_VENDOR_ID 0x19d2 |
293 | #define ZTE_PRODUCT_MF622 0x0001 | ||
291 | #define ZTE_PRODUCT_MF628 0x0015 | 294 | #define ZTE_PRODUCT_MF628 0x0015 |
292 | #define ZTE_PRODUCT_MF626 0x0031 | 295 | #define ZTE_PRODUCT_MF626 0x0031 |
293 | #define ZTE_PRODUCT_CDMA_TECH 0xfffe | 296 | #define ZTE_PRODUCT_CDMA_TECH 0xfffe |
294 | 297 | ||
295 | /* Ericsson products */ | ||
296 | #define ERICSSON_VENDOR_ID 0x0bdb | ||
297 | #define ERICSSON_PRODUCT_F3507G_1 0x1900 | ||
298 | #define ERICSSON_PRODUCT_F3507G_2 0x1902 | ||
299 | |||
300 | #define BENQ_VENDOR_ID 0x04a5 | 298 | #define BENQ_VENDOR_ID 0x04a5 |
301 | #define BENQ_PRODUCT_H10 0x4068 | 299 | #define BENQ_PRODUCT_H10 0x4068 |
302 | 300 | ||
@@ -325,6 +323,7 @@ static struct usb_device_id option_ids[] = { | |||
325 | { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_MODEM_GT) }, | 323 | { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_MODEM_GT) }, |
326 | { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_MODEM_EX) }, | 324 | { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_MODEM_EX) }, |
327 | { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_KOI_MODEM) }, | 325 | { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_KOI_MODEM) }, |
326 | { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_GTM380_MODEM) }, | ||
328 | { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_Q101) }, | 327 | { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_Q101) }, |
329 | { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_Q111) }, | 328 | { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_Q111) }, |
330 | { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GLX) }, | 329 | { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GLX) }, |
@@ -415,6 +414,7 @@ static struct usb_device_id option_ids[] = { | |||
415 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EU870D) }, /* Novatel EU850D/EU860D/EU870D */ | 414 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EU870D) }, /* Novatel EU850D/EU860D/EU870D */ |
416 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC950D) }, /* Novatel MC930D/MC950D */ | 415 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC950D) }, /* Novatel MC930D/MC950D */ |
417 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC727) }, /* Novatel MC727/U727/USB727 */ | 416 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC727) }, /* Novatel MC727/U727/USB727 */ |
417 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_U727) }, /* Novatel MC727/U727/USB727 */ | ||
418 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EVDO_FULLSPEED) }, /* Novatel EVDO product */ | 418 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EVDO_FULLSPEED) }, /* Novatel EVDO product */ |
419 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_FULLSPEED) }, /* Novatel HSPA product */ | 419 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_FULLSPEED) }, /* Novatel HSPA product */ |
420 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EVDO_EMBEDDED_FULLSPEED) }, /* Novatel EVDO Embedded product */ | 420 | { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EVDO_EMBEDDED_FULLSPEED) }, /* Novatel EVDO Embedded product */ |
@@ -442,7 +442,6 @@ static struct usb_device_id option_ids[] = { | |||
442 | { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5520_MINICARD_CINGULAR) }, /* Dell Wireless HSDPA 5520 == Novatel Expedite EU860D */ | 442 | { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5520_MINICARD_CINGULAR) }, /* Dell Wireless HSDPA 5520 == Novatel Expedite EU860D */ |
443 | { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5520_MINICARD_GENERIC_L) }, /* Dell Wireless HSDPA 5520 */ | 443 | { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5520_MINICARD_GENERIC_L) }, /* Dell Wireless HSDPA 5520 */ |
444 | { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5520_MINICARD_GENERIC_I) }, /* Dell Wireless 5520 Voda I Mobile Broadband (3G HSDPA) Minicard */ | 444 | { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5520_MINICARD_GENERIC_I) }, /* Dell Wireless 5520 Voda I Mobile Broadband (3G HSDPA) Minicard */ |
445 | { USB_DEVICE(DELL_VENDOR_ID, 0x8147) }, /* Dell Wireless 5530 Mobile Broadband (3G HSPA) Mini-Card */ | ||
446 | { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5730_MINICARD_SPRINT) }, /* Dell Wireless 5730 Mobile Broadband EVDO/HSPA Mini-Card */ | 445 | { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5730_MINICARD_SPRINT) }, /* Dell Wireless 5730 Mobile Broadband EVDO/HSPA Mini-Card */ |
447 | { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5730_MINICARD_TELUS) }, /* Dell Wireless 5730 Mobile Broadband EVDO/HSPA Mini-Card */ | 446 | { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5730_MINICARD_TELUS) }, /* Dell Wireless 5730 Mobile Broadband EVDO/HSPA Mini-Card */ |
448 | { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5730_MINICARD_VZW) }, /* Dell Wireless 5730 Mobile Broadband EVDO/HSPA Mini-Card */ | 447 | { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5730_MINICARD_VZW) }, /* Dell Wireless 5730 Mobile Broadband EVDO/HSPA Mini-Card */ |
@@ -510,11 +509,10 @@ static struct usb_device_id option_ids[] = { | |||
510 | { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6613)}, /* Onda H600/ZTE MF330 */ | 509 | { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6613)}, /* Onda H600/ZTE MF330 */ |
511 | { USB_DEVICE(MAXON_VENDOR_ID, 0x6280) }, /* BP3-USB & BP3-EXT HSDPA */ | 510 | { USB_DEVICE(MAXON_VENDOR_ID, 0x6280) }, /* BP3-USB & BP3-EXT HSDPA */ |
512 | { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_UC864E) }, | 511 | { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_UC864E) }, |
512 | { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF622) }, | ||
513 | { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF626) }, | 513 | { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF626) }, |
514 | { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF628) }, | 514 | { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF628) }, |
515 | { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_CDMA_TECH) }, | 515 | { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_CDMA_TECH) }, |
516 | { USB_DEVICE(ERICSSON_VENDOR_ID, ERICSSON_PRODUCT_F3507G_1) }, | ||
517 | { USB_DEVICE(ERICSSON_VENDOR_ID, ERICSSON_PRODUCT_F3507G_2) }, | ||
518 | { USB_DEVICE(BENQ_VENDOR_ID, BENQ_PRODUCT_H10) }, | 516 | { USB_DEVICE(BENQ_VENDOR_ID, BENQ_PRODUCT_H10) }, |
519 | { USB_DEVICE(0x1da5, 0x4515) }, /* BenQ H20 */ | 517 | { USB_DEVICE(0x1da5, 0x4515) }, /* BenQ H20 */ |
520 | { } /* Terminating entry */ | 518 | { } /* Terminating entry */ |
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h index 6f59c8e510ea..cfde74a6faa3 100644 --- a/drivers/usb/storage/unusual_devs.h +++ b/drivers/usb/storage/unusual_devs.h | |||
@@ -226,7 +226,7 @@ UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610, | |||
226 | US_FL_MAX_SECTORS_64 ), | 226 | US_FL_MAX_SECTORS_64 ), |
227 | 227 | ||
228 | /* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */ | 228 | /* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */ |
229 | UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x0452, | 229 | UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999, |
230 | "Nokia", | 230 | "Nokia", |
231 | "Nokia 6233", | 231 | "Nokia 6233", |
232 | US_SC_DEVICE, US_PR_DEVICE, NULL, | 232 | US_SC_DEVICE, US_PR_DEVICE, NULL, |
@@ -951,7 +951,9 @@ UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001, | |||
951 | US_FL_FIX_CAPACITY ), | 951 | US_FL_FIX_CAPACITY ), |
952 | 952 | ||
953 | /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */ | 953 | /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */ |
954 | UNUSUAL_DEV( 0x067b, 0x2507, 0x0100, 0x0100, | 954 | /* Change to bcdDeviceMin (0x0100 to 0x0001) reported by |
955 | * Thomas Bartosik <tbartdev@gmx-topmail.de> */ | ||
956 | UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100, | ||
955 | "Prolific Technology Inc.", | 957 | "Prolific Technology Inc.", |
956 | "Mass Storage Device", | 958 | "Mass Storage Device", |
957 | US_SC_DEVICE, US_PR_DEVICE, NULL, | 959 | US_SC_DEVICE, US_PR_DEVICE, NULL, |
@@ -1390,6 +1392,16 @@ UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000, | |||
1390 | US_SC_DEVICE, US_PR_DEVICE, NULL, | 1392 | US_SC_DEVICE, US_PR_DEVICE, NULL, |
1391 | 0 ), | 1393 | 0 ), |
1392 | 1394 | ||
1395 | /* Reported by Jan Dumon <j.dumon@option.com> | ||
1396 | * This device (wrongly) has a vendor-specific device descriptor. | ||
1397 | * The entry is needed so usb-storage can bind to it's mass-storage | ||
1398 | * interface as an interface driver */ | ||
1399 | UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000, | ||
1400 | "Option", | ||
1401 | "GI 0431 SD-Card", | ||
1402 | US_SC_DEVICE, US_PR_DEVICE, NULL, | ||
1403 | 0 ), | ||
1404 | |||
1393 | /* Reported by Ben Efros <ben@pc-doctor.com> */ | 1405 | /* Reported by Ben Efros <ben@pc-doctor.com> */ |
1394 | UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000, | 1406 | UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000, |
1395 | "Seagate", | 1407 | "Seagate", |
diff --git a/drivers/usb/wusbcore/wa-xfer.c b/drivers/usb/wusbcore/wa-xfer.c index 238a96aee3a1..613a5fc490d3 100644 --- a/drivers/usb/wusbcore/wa-xfer.c +++ b/drivers/usb/wusbcore/wa-xfer.c | |||
@@ -921,8 +921,10 @@ static void wa_urb_enqueue_b(struct wa_xfer *xfer) | |||
921 | result = -ENODEV; | 921 | result = -ENODEV; |
922 | /* FIXME: segmentation broken -- kills DWA */ | 922 | /* FIXME: segmentation broken -- kills DWA */ |
923 | mutex_lock(&wusbhc->mutex); /* get a WUSB dev */ | 923 | mutex_lock(&wusbhc->mutex); /* get a WUSB dev */ |
924 | if (urb->dev == NULL) | 924 | if (urb->dev == NULL) { |
925 | mutex_unlock(&wusbhc->mutex); | ||
925 | goto error_dev_gone; | 926 | goto error_dev_gone; |
927 | } | ||
926 | wusb_dev = __wusb_dev_get_by_usb_dev(wusbhc, urb->dev); | 928 | wusb_dev = __wusb_dev_get_by_usb_dev(wusbhc, urb->dev); |
927 | if (wusb_dev == NULL) { | 929 | if (wusb_dev == NULL) { |
928 | mutex_unlock(&wusbhc->mutex); | 930 | mutex_unlock(&wusbhc->mutex); |
diff --git a/drivers/video/aty/radeon_pm.c b/drivers/video/aty/radeon_pm.c index 81603f85e17e..c6d7cc76516f 100644 --- a/drivers/video/aty/radeon_pm.c +++ b/drivers/video/aty/radeon_pm.c | |||
@@ -2507,6 +2507,25 @@ static void radeon_reinitialize_QW(struct radeonfb_info *rinfo) | |||
2507 | 2507 | ||
2508 | #endif /* CONFIG_PPC_OF */ | 2508 | #endif /* CONFIG_PPC_OF */ |
2509 | 2509 | ||
2510 | static void radeonfb_whack_power_state(struct radeonfb_info *rinfo, pci_power_t state) | ||
2511 | { | ||
2512 | u16 pwr_cmd; | ||
2513 | |||
2514 | for (;;) { | ||
2515 | pci_read_config_word(rinfo->pdev, | ||
2516 | rinfo->pm_reg+PCI_PM_CTRL, | ||
2517 | &pwr_cmd); | ||
2518 | if (pwr_cmd & 2) | ||
2519 | break; | ||
2520 | pwr_cmd = (pwr_cmd & ~PCI_PM_CTRL_STATE_MASK) | 2; | ||
2521 | pci_write_config_word(rinfo->pdev, | ||
2522 | rinfo->pm_reg+PCI_PM_CTRL, | ||
2523 | pwr_cmd); | ||
2524 | msleep(500); | ||
2525 | } | ||
2526 | rinfo->pdev->current_state = state; | ||
2527 | } | ||
2528 | |||
2510 | static void radeon_set_suspend(struct radeonfb_info *rinfo, int suspend) | 2529 | static void radeon_set_suspend(struct radeonfb_info *rinfo, int suspend) |
2511 | { | 2530 | { |
2512 | u32 tmp; | 2531 | u32 tmp; |
@@ -2558,6 +2577,11 @@ static void radeon_set_suspend(struct radeonfb_info *rinfo, int suspend) | |||
2558 | /* Switch PCI power management to D2. */ | 2577 | /* Switch PCI power management to D2. */ |
2559 | pci_disable_device(rinfo->pdev); | 2578 | pci_disable_device(rinfo->pdev); |
2560 | pci_save_state(rinfo->pdev); | 2579 | pci_save_state(rinfo->pdev); |
2580 | /* The chip seems to need us to whack the PM register | ||
2581 | * repeatedly until it sticks. We do that -prior- to | ||
2582 | * calling pci_set_power_state() | ||
2583 | */ | ||
2584 | radeonfb_whack_power_state(rinfo, PCI_D2); | ||
2561 | pci_set_power_state(rinfo->pdev, PCI_D2); | 2585 | pci_set_power_state(rinfo->pdev, PCI_D2); |
2562 | } else { | 2586 | } else { |
2563 | printk(KERN_DEBUG "radeonfb (%s): switching to D0 state...\n", | 2587 | printk(KERN_DEBUG "radeonfb (%s): switching to D0 state...\n", |
diff --git a/drivers/video/logo/logo_linux_clut224.ppm b/drivers/video/logo/logo_linux_clut224.ppm index 3c14e43b82fe..de93ff3fc1ad 100644 --- a/drivers/video/logo/logo_linux_clut224.ppm +++ b/drivers/video/logo/logo_linux_clut224.ppm | |||
@@ -1,1604 +1,2828 @@ | |||
1 | P3 | 1 | P3 |
2 | # Standard 224-color Linux logo | 2 | 145 113 |
3 | 80 80 | ||
4 | 255 | 3 | 255 |
5 | 0 0 0 0 0 0 0 0 0 0 0 0 | 4 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
6 | 0 0 0 0 0 0 0 0 0 0 0 0 | 5 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
7 | 0 0 0 0 0 0 0 0 0 0 0 0 | 6 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
8 | 0 0 0 0 0 0 0 0 0 0 0 0 | 7 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
9 | 0 0 0 0 0 0 0 0 0 0 0 0 | 8 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
10 | 0 0 0 0 0 0 0 0 0 0 0 0 | 9 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
11 | 0 0 0 0 0 0 0 0 0 0 0 0 | 10 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
12 | 0 0 0 0 0 0 0 0 0 0 0 0 | 11 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
13 | 0 0 0 0 0 0 0 0 0 0 0 0 | 12 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
14 | 6 6 6 6 6 6 10 10 10 10 10 10 | 13 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
15 | 10 10 10 6 6 6 6 6 6 6 6 6 | 14 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
16 | 0 0 0 0 0 0 0 0 0 0 0 0 | 15 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
17 | 0 0 0 0 0 0 0 0 0 0 0 0 | 16 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
18 | 0 0 0 0 0 0 0 0 0 0 0 0 | 17 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
19 | 0 0 0 0 0 0 0 0 0 0 0 0 | 18 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
20 | 0 0 0 0 0 0 0 0 0 0 0 0 | 19 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
21 | 0 0 0 0 0 0 0 0 0 0 0 0 | 20 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
22 | 0 0 0 0 0 0 0 0 0 0 0 0 | 21 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
23 | 0 0 0 0 0 0 0 0 0 0 0 0 | 22 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
24 | 0 0 0 0 0 0 0 0 0 0 0 0 | 23 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
25 | 0 0 0 0 0 0 0 0 0 0 0 0 | 24 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
26 | 0 0 0 0 0 0 0 0 0 0 0 0 | 25 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
27 | 0 0 0 0 0 0 0 0 0 0 0 0 | 26 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
28 | 0 0 0 0 0 0 0 0 0 0 0 0 | 27 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
29 | 0 0 0 0 0 0 0 0 0 0 0 0 | 28 | 0 0 0 |
30 | 0 0 0 0 0 0 0 0 0 0 0 0 | 29 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
31 | 0 0 0 0 0 0 0 0 0 0 0 0 | 30 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
32 | 0 0 0 0 0 0 0 0 0 0 0 0 | 31 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
33 | 0 0 0 6 6 6 10 10 10 14 14 14 | 32 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
34 | 22 22 22 26 26 26 30 30 30 34 34 34 | 33 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
35 | 30 30 30 30 30 30 26 26 26 18 18 18 | 34 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
36 | 14 14 14 10 10 10 6 6 6 0 0 0 | 35 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
37 | 0 0 0 0 0 0 0 0 0 0 0 0 | 36 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
38 | 0 0 0 0 0 0 0 0 0 0 0 0 | 37 | 0 0 0 0 0 0 0 0 0 0 0 0 3 4 4 6 7 7 |
39 | 0 0 0 0 0 0 0 0 0 0 0 0 | 38 | 8 10 10 8 10 10 6 8 8 6 7 7 3 4 4 2 2 2 |
40 | 0 0 0 0 0 0 0 0 0 0 0 0 | 39 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
41 | 0 0 0 0 0 0 0 0 0 0 0 0 | 40 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
42 | 0 0 0 0 0 0 0 0 0 0 0 0 | 41 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
43 | 0 0 0 0 0 0 0 0 0 0 0 0 | 42 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
44 | 0 0 0 0 0 0 0 0 0 0 0 0 | 43 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
45 | 0 0 0 0 0 0 0 0 0 0 0 0 | 44 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
46 | 0 0 0 0 0 1 0 0 1 0 0 0 | 45 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
47 | 0 0 0 0 0 0 0 0 0 0 0 0 | 46 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
48 | 0 0 0 0 0 0 0 0 0 0 0 0 | 47 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
49 | 0 0 0 0 0 0 0 0 0 0 0 0 | 48 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
50 | 0 0 0 0 0 0 0 0 0 0 0 0 | 49 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
51 | 0 0 0 0 0 0 0 0 0 0 0 0 | 50 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
52 | 0 0 0 0 0 0 0 0 0 0 0 0 | 51 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
53 | 6 6 6 14 14 14 26 26 26 42 42 42 | 52 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
54 | 54 54 54 66 66 66 78 78 78 78 78 78 | 53 | 0 0 0 |
55 | 78 78 78 74 74 74 66 66 66 54 54 54 | 54 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
56 | 42 42 42 26 26 26 18 18 18 10 10 10 | 55 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
57 | 6 6 6 0 0 0 0 0 0 0 0 0 | 56 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
58 | 0 0 0 0 0 0 0 0 0 0 0 0 | 57 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
59 | 0 0 0 0 0 0 0 0 0 0 0 0 | 58 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
60 | 0 0 0 0 0 0 0 0 0 0 0 0 | 59 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
61 | 0 0 0 0 0 0 0 0 0 0 0 0 | 60 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
62 | 0 0 0 0 0 0 0 0 0 0 0 0 | 61 | 0 0 0 0 0 0 0 0 0 0 0 0 4 5 5 17 18 17 |
63 | 0 0 0 0 0 0 0 0 0 0 0 0 | 62 | 27 29 28 35 37 36 40 43 41 43 45 43 40 43 41 37 39 37 |
64 | 0 0 0 0 0 0 0 0 0 0 0 0 | 63 | 32 34 33 27 30 29 23 25 24 17 21 21 15 18 18 12 15 15 |
65 | 0 0 0 0 0 0 0 0 0 0 0 0 | 64 | 11 13 13 8 10 10 6 7 7 3 4 4 1 1 1 0 0 0 |
66 | 0 0 1 0 0 0 0 0 0 0 0 0 | 65 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
67 | 0 0 0 0 0 0 0 0 0 0 0 0 | 66 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
68 | 0 0 0 0 0 0 0 0 0 0 0 0 | 67 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
69 | 0 0 0 0 0 0 0 0 0 0 0 0 | 68 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
70 | 0 0 0 0 0 0 0 0 0 0 0 0 | 69 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
71 | 0 0 0 0 0 0 0 0 0 0 0 0 | 70 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
72 | 0 0 0 0 0 0 0 0 0 10 10 10 | 71 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
73 | 22 22 22 42 42 42 66 66 66 86 86 86 | 72 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
74 | 66 66 66 38 38 38 38 38 38 22 22 22 | 73 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
75 | 26 26 26 34 34 34 54 54 54 66 66 66 | 74 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
76 | 86 86 86 70 70 70 46 46 46 26 26 26 | 75 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
77 | 14 14 14 6 6 6 0 0 0 0 0 0 | 76 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
78 | 0 0 0 0 0 0 0 0 0 0 0 0 | 77 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
79 | 0 0 0 0 0 0 0 0 0 0 0 0 | 78 | 0 0 0 |
80 | 0 0 0 0 0 0 0 0 0 0 0 0 | 79 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
81 | 0 0 0 0 0 0 0 0 0 0 0 0 | 80 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
82 | 0 0 0 0 0 0 0 0 0 0 0 0 | 81 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
83 | 0 0 0 0 0 0 0 0 0 0 0 0 | 82 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
84 | 0 0 0 0 0 0 0 0 0 0 0 0 | 83 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
85 | 0 0 0 0 0 0 0 0 0 0 0 0 | 84 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
86 | 0 0 1 0 0 1 0 0 1 0 0 0 | 85 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
87 | 0 0 0 0 0 0 0 0 0 0 0 0 | 86 | 0 0 0 13 13 13 32 34 33 49 51 48 60 60 56 58 59 55 |
88 | 0 0 0 0 0 0 0 0 0 0 0 0 | 87 | 55 57 54 55 56 53 49 51 48 43 45 43 39 40 39 33 37 35 |
89 | 0 0 0 0 0 0 0 0 0 0 0 0 | 88 | 28 31 30 23 27 26 20 23 23 17 20 20 14 17 17 13 16 16 |
90 | 0 0 0 0 0 0 0 0 0 0 0 0 | 89 | 11 14 14 10 13 13 10 12 12 9 11 11 8 10 10 6 7 7 |
91 | 0 0 0 0 0 0 0 0 0 0 0 0 | 90 | 2 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
92 | 0 0 0 0 0 0 10 10 10 26 26 26 | 91 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
93 | 50 50 50 82 82 82 58 58 58 6 6 6 | 92 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
94 | 2 2 6 2 2 6 2 2 6 2 2 6 | 93 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
95 | 2 2 6 2 2 6 2 2 6 2 2 6 | 94 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
96 | 6 6 6 54 54 54 86 86 86 66 66 66 | 95 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
97 | 38 38 38 18 18 18 6 6 6 0 0 0 | 96 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
98 | 0 0 0 0 0 0 0 0 0 0 0 0 | 97 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
99 | 0 0 0 0 0 0 0 0 0 0 0 0 | 98 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
100 | 0 0 0 0 0 0 0 0 0 0 0 0 | 99 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
101 | 0 0 0 0 0 0 0 0 0 0 0 0 | 100 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
102 | 0 0 0 0 0 0 0 0 0 0 0 0 | 101 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
103 | 0 0 0 0 0 0 0 0 0 0 0 0 | 102 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
104 | 0 0 0 0 0 0 0 0 0 0 0 0 | 103 | 0 0 0 |
105 | 0 0 0 0 0 0 0 0 0 0 0 0 | 104 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
106 | 0 0 0 0 0 0 0 0 0 0 0 0 | 105 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
107 | 0 0 0 0 0 0 0 0 0 0 0 0 | 106 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
108 | 0 0 0 0 0 0 0 0 0 0 0 0 | 107 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
109 | 0 0 0 0 0 0 0 0 0 0 0 0 | 108 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
110 | 0 0 0 0 0 0 0 0 0 0 0 0 | 109 | 0 0 0 0 0 0 0 0 0 0 0 0 6 7 7 12 15 15 |
111 | 0 0 0 0 0 0 0 0 0 0 0 0 | 110 | 12 15 15 8 9 9 2 3 3 0 0 0 1 1 1 25 27 26 |
112 | 0 0 0 6 6 6 22 22 22 50 50 50 | 111 | 55 56 53 68 70 65 65 66 61 65 66 61 63 64 60 63 64 60 |
113 | 78 78 78 34 34 34 2 2 6 2 2 6 | 112 | 58 59 55 51 52 50 47 48 46 41 42 42 35 37 36 30 32 31 |
114 | 2 2 6 2 2 6 2 2 6 2 2 6 | 113 | 26 28 27 20 24 24 18 22 22 16 19 19 14 17 17 13 16 16 |
115 | 2 2 6 2 2 6 2 2 6 2 2 6 | 114 | 12 15 15 11 14 14 10 13 13 10 12 12 9 11 11 8 10 10 |
116 | 2 2 6 2 2 6 6 6 6 70 70 70 | 115 | 8 9 9 6 8 8 3 3 3 0 0 0 0 0 0 0 0 0 |
117 | 78 78 78 46 46 46 22 22 22 6 6 6 | 116 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
118 | 0 0 0 0 0 0 0 0 0 0 0 0 | 117 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
119 | 0 0 0 0 0 0 0 0 0 0 0 0 | 118 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
120 | 0 0 0 0 0 0 0 0 0 0 0 0 | 119 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
121 | 0 0 0 0 0 0 0 0 0 0 0 0 | 120 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
122 | 0 0 0 0 0 0 0 0 0 0 0 0 | 121 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
123 | 0 0 0 0 0 0 0 0 0 0 0 0 | 122 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
124 | 0 0 0 0 0 0 0 0 0 0 0 0 | 123 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
125 | 0 0 0 0 0 0 0 0 0 0 0 0 | 124 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
126 | 0 0 1 0 0 1 0 0 1 0 0 0 | 125 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
127 | 0 0 0 0 0 0 0 0 0 0 0 0 | 126 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
128 | 0 0 0 0 0 0 0 0 0 0 0 0 | 127 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
129 | 0 0 0 0 0 0 0 0 0 0 0 0 | 128 | 0 0 0 |
130 | 0 0 0 0 0 0 0 0 0 0 0 0 | 129 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
131 | 0 0 0 0 0 0 0 0 0 0 0 0 | 130 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
132 | 6 6 6 18 18 18 42 42 42 82 82 82 | 131 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
133 | 26 26 26 2 2 6 2 2 6 2 2 6 | 132 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
134 | 2 2 6 2 2 6 2 2 6 2 2 6 | 133 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
135 | 2 2 6 2 2 6 2 2 6 14 14 14 | 134 | 0 0 0 0 0 0 0 0 0 6 7 7 20 24 24 23 27 26 |
136 | 46 46 46 34 34 34 6 6 6 2 2 6 | 135 | 23 27 26 18 22 22 11 13 13 23 24 24 61 63 57 72 73 67 |
137 | 42 42 42 78 78 78 42 42 42 18 18 18 | 136 | 72 73 67 68 70 65 68 70 65 68 70 65 63 64 60 58 59 55 |
138 | 6 6 6 0 0 0 0 0 0 0 0 0 | 137 | 55 56 53 47 48 46 41 42 42 35 37 36 30 32 31 26 28 27 |
139 | 0 0 0 0 0 0 0 0 0 0 0 0 | 138 | 20 24 24 18 22 22 16 20 20 15 19 19 14 17 17 13 16 16 |
140 | 0 0 0 0 0 0 0 0 0 0 0 0 | 139 | 12 15 15 12 15 15 11 14 14 10 13 13 10 12 12 9 11 11 |
141 | 0 0 0 0 0 0 0 0 0 0 0 0 | 140 | 8 10 10 8 9 9 7 9 9 6 7 7 1 2 2 0 0 0 |
142 | 0 0 0 0 0 0 0 0 0 0 0 0 | 141 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
143 | 0 0 0 0 0 0 0 0 0 0 0 0 | 142 | 0 0 0 0 0 0 1 1 1 4 5 5 5 6 5 4 5 5 |
144 | 0 0 0 0 0 0 0 0 0 0 0 0 | 143 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
145 | 0 0 0 0 0 0 0 0 0 0 0 0 | 144 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
146 | 0 0 1 0 0 0 0 0 1 0 0 0 | 145 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
147 | 0 0 0 0 0 0 0 0 0 0 0 0 | 146 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
148 | 0 0 0 0 0 0 0 0 0 0 0 0 | 147 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
149 | 0 0 0 0 0 0 0 0 0 0 0 0 | 148 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
150 | 0 0 0 0 0 0 0 0 0 0 0 0 | 149 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
151 | 0 0 0 0 0 0 0 0 0 0 0 0 | 150 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
152 | 10 10 10 30 30 30 66 66 66 58 58 58 | 151 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
153 | 2 2 6 2 2 6 2 2 6 2 2 6 | 152 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
154 | 2 2 6 2 2 6 2 2 6 2 2 6 | 153 | 0 0 0 |
155 | 2 2 6 2 2 6 2 2 6 26 26 26 | 154 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
156 | 86 86 86 101 101 101 46 46 46 10 10 10 | 155 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
157 | 2 2 6 58 58 58 70 70 70 34 34 34 | 156 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
158 | 10 10 10 0 0 0 0 0 0 0 0 0 | 157 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
159 | 0 0 0 0 0 0 0 0 0 0 0 0 | 158 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
160 | 0 0 0 0 0 0 0 0 0 0 0 0 | 159 | 0 0 0 0 0 0 0 0 0 15 19 19 40 41 39 53 55 47 |
161 | 0 0 0 0 0 0 0 0 0 0 0 0 | 160 | 33 36 34 27 30 29 51 52 50 72 73 67 72 73 67 72 73 67 |
162 | 0 0 0 0 0 0 0 0 0 0 0 0 | 161 | 72 73 67 68 70 65 68 70 65 63 64 60 58 59 55 51 52 50 |
163 | 0 0 0 0 0 0 0 0 0 0 0 0 | 162 | 47 48 46 40 43 41 33 37 35 30 32 31 26 28 27 20 24 24 |
164 | 0 0 0 0 0 0 0 0 0 0 0 0 | 163 | 18 22 22 17 21 21 16 19 19 14 18 18 14 17 17 13 17 17 |
165 | 0 0 0 0 0 0 0 0 0 0 0 0 | 164 | 13 16 16 12 15 15 12 15 15 11 14 14 10 13 13 10 12 12 |
166 | 0 0 1 0 0 1 0 0 1 0 0 0 | 165 | 9 11 11 8 10 10 8 9 9 7 9 9 6 8 8 3 4 4 |
167 | 0 0 0 0 0 0 0 0 0 0 0 0 | 166 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
168 | 0 0 0 0 0 0 0 0 0 0 0 0 | 167 | 2 2 2 6 8 8 10 12 12 10 12 12 10 12 12 10 12 12 |
169 | 0 0 0 0 0 0 0 0 0 0 0 0 | 168 | 6 8 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
170 | 0 0 0 0 0 0 0 0 0 0 0 0 | 169 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
171 | 0 0 0 0 0 0 0 0 0 0 0 0 | 170 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
172 | 14 14 14 42 42 42 86 86 86 10 10 10 | 171 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
173 | 2 2 6 2 2 6 2 2 6 2 2 6 | 172 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
174 | 2 2 6 2 2 6 2 2 6 2 2 6 | 173 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
175 | 2 2 6 2 2 6 2 2 6 30 30 30 | 174 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
176 | 94 94 94 94 94 94 58 58 58 26 26 26 | 175 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
177 | 2 2 6 6 6 6 78 78 78 54 54 54 | 176 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
178 | 22 22 22 6 6 6 0 0 0 0 0 0 | 177 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
179 | 0 0 0 0 0 0 0 0 0 0 0 0 | 178 | 0 0 0 |
180 | 0 0 0 0 0 0 0 0 0 0 0 0 | 179 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
181 | 0 0 0 0 0 0 0 0 0 0 0 0 | 180 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
182 | 0 0 0 0 0 0 0 0 0 0 0 0 | 181 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
183 | 0 0 0 0 0 0 0 0 0 0 0 0 | 182 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
184 | 0 0 0 0 0 0 0 0 0 0 0 0 | 183 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
185 | 0 0 0 0 0 0 0 0 0 0 0 0 | 184 | 0 0 0 0 0 0 0 0 0 20 23 23 71 71 57 131 127 93 |
186 | 0 0 0 0 0 0 0 0 0 0 0 0 | 185 | 115 113 82 63 64 60 72 73 67 72 73 67 72 73 67 72 73 67 |
187 | 0 0 0 0 0 0 0 0 0 0 0 0 | 186 | 68 70 65 65 66 61 61 63 57 55 57 54 49 51 48 43 45 43 |
188 | 0 0 0 0 0 0 0 0 0 0 0 0 | 187 | 39 40 39 33 36 34 28 31 30 23 27 26 20 24 24 20 23 23 |
189 | 0 0 0 0 0 0 0 0 0 0 0 0 | 188 | 17 21 21 16 20 20 15 19 19 15 18 18 14 18 18 14 17 17 |
190 | 0 0 0 0 0 0 0 0 0 0 0 0 | 189 | 13 17 17 13 16 16 12 15 15 12 15 15 11 14 14 10 13 13 |
191 | 0 0 0 0 0 0 0 0 0 6 6 6 | 190 | 10 12 12 9 11 11 8 10 10 7 9 9 7 9 9 6 8 8 |
192 | 22 22 22 62 62 62 62 62 62 2 2 6 | 191 | 4 5 5 0 0 0 0 0 0 0 0 0 1 1 1 6 7 7 |
193 | 2 2 6 2 2 6 2 2 6 2 2 6 | 192 | 10 12 12 10 12 12 10 12 12 10 12 12 10 12 12 10 12 12 |
194 | 2 2 6 2 2 6 2 2 6 2 2 6 | 193 | 10 12 12 3 4 4 0 0 0 0 0 0 0 0 0 0 0 0 |
195 | 2 2 6 2 2 6 2 2 6 26 26 26 | 194 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
196 | 54 54 54 38 38 38 18 18 18 10 10 10 | 195 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
197 | 2 2 6 2 2 6 34 34 34 82 82 82 | 196 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
198 | 38 38 38 14 14 14 0 0 0 0 0 0 | 197 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
199 | 0 0 0 0 0 0 0 0 0 0 0 0 | 198 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
200 | 0 0 0 0 0 0 0 0 0 0 0 0 | 199 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
201 | 0 0 0 0 0 0 0 0 0 0 0 0 | 200 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
202 | 0 0 0 0 0 0 0 0 0 0 0 0 | 201 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
203 | 0 0 0 0 0 0 0 0 0 0 0 0 | 202 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
204 | 0 0 0 0 0 0 0 0 0 0 0 0 | 203 | 0 0 0 |
205 | 0 0 0 0 0 0 0 0 0 0 0 0 | 204 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
206 | 0 0 0 0 0 1 0 0 1 0 0 0 | 205 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
207 | 0 0 0 0 0 0 0 0 0 0 0 0 | 206 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
208 | 0 0 0 0 0 0 0 0 0 0 0 0 | 207 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
209 | 0 0 0 0 0 0 0 0 0 0 0 0 | 208 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
210 | 0 0 0 0 0 0 0 0 0 0 0 0 | 209 | 0 0 0 0 0 0 0 0 0 18 22 22 71 71 57 144 139 99 |
211 | 0 0 0 0 0 0 0 0 0 6 6 6 | 210 | 84 83 72 68 70 65 72 73 67 72 73 67 68 70 65 65 66 61 |
212 | 30 30 30 78 78 78 30 30 30 2 2 6 | 211 | 63 64 60 55 57 54 51 52 50 47 48 46 40 43 41 35 37 36 |
213 | 2 2 6 2 2 6 2 2 6 2 2 6 | 212 | 30 32 31 27 29 28 23 27 26 20 24 24 18 22 22 17 21 21 |
214 | 2 2 6 2 2 6 2 2 6 2 2 6 | 213 | 16 20 20 15 19 19 15 19 19 15 19 19 15 18 18 14 18 18 |
215 | 2 2 6 2 2 6 2 2 6 10 10 10 | 214 | 14 17 17 13 17 17 13 16 16 12 15 15 12 15 15 11 14 14 |
216 | 10 10 10 2 2 6 2 2 6 2 2 6 | 215 | 10 13 13 9 12 12 9 11 11 8 10 10 7 9 9 6 8 8 |
217 | 2 2 6 2 2 6 2 2 6 78 78 78 | 216 | 6 8 8 3 4 4 0 0 0 2 2 2 8 10 10 10 12 12 |
218 | 50 50 50 18 18 18 6 6 6 0 0 0 | 217 | 10 12 12 10 12 12 11 13 13 36 38 35 61 61 53 48 49 45 |
219 | 0 0 0 0 0 0 0 0 0 0 0 0 | 218 | 10 12 12 7 9 9 0 0 0 0 0 0 0 0 0 0 0 0 |
220 | 0 0 0 0 0 0 0 0 0 0 0 0 | 219 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
221 | 0 0 0 0 0 0 0 0 0 0 0 0 | 220 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
222 | 0 0 0 0 0 0 0 0 0 0 0 0 | 221 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
223 | 0 0 0 0 0 0 0 0 0 0 0 0 | 222 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
224 | 0 0 0 0 0 0 0 0 0 0 0 0 | 223 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
225 | 0 0 0 0 0 0 0 0 0 0 0 0 | 224 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
226 | 0 0 1 0 0 0 0 0 0 0 0 0 | 225 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
227 | 0 0 0 0 0 0 0 0 0 0 0 0 | 226 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
228 | 0 0 0 0 0 0 0 0 0 0 0 0 | 227 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
229 | 0 0 0 0 0 0 0 0 0 0 0 0 | 228 | 0 0 0 |
230 | 0 0 0 0 0 0 0 0 0 0 0 0 | 229 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
231 | 0 0 0 0 0 0 0 0 0 10 10 10 | 230 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
232 | 38 38 38 86 86 86 14 14 14 2 2 6 | 231 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
233 | 2 2 6 2 2 6 2 2 6 2 2 6 | 232 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
234 | 2 2 6 2 2 6 2 2 6 2 2 6 | 233 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
235 | 2 2 6 2 2 6 2 2 6 2 2 6 | 234 | 0 0 0 0 0 0 0 0 0 15 19 19 61 61 53 84 83 72 |
236 | 2 2 6 2 2 6 2 2 6 2 2 6 | 235 | 68 70 65 72 73 67 68 70 65 68 70 65 63 64 60 58 59 55 |
237 | 2 2 6 2 2 6 2 2 6 54 54 54 | 236 | 51 52 50 47 48 46 41 42 42 37 39 37 32 35 33 28 31 30 |
238 | 66 66 66 26 26 26 6 6 6 0 0 0 | 237 | 23 27 26 20 24 24 20 23 23 18 22 22 17 21 21 17 21 21 |
239 | 0 0 0 0 0 0 0 0 0 0 0 0 | 238 | 17 21 21 17 21 21 17 20 20 16 20 20 16 20 20 16 19 19 |
240 | 0 0 0 0 0 0 0 0 0 0 0 0 | 239 | 15 18 18 14 18 18 13 17 17 13 16 16 12 15 15 12 15 15 |
241 | 0 0 0 0 0 0 0 0 0 0 0 0 | 240 | 11 14 14 10 13 13 9 12 12 9 11 11 8 10 10 7 9 9 |
242 | 0 0 0 0 0 0 0 0 0 0 0 0 | 241 | 6 8 8 6 8 8 5 6 5 9 11 11 10 12 12 10 12 12 |
243 | 0 0 0 0 0 0 0 0 0 0 0 0 | 242 | 19 20 18 82 81 62 149 145 103 160 154 106 142 137 94 96 95 69 |
244 | 0 0 0 0 0 0 0 0 0 0 0 0 | 243 | 10 12 12 10 12 12 1 1 1 0 0 0 0 0 0 0 0 0 |
245 | 0 0 0 0 0 0 0 0 0 0 0 0 | 244 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
246 | 0 0 0 0 0 1 0 0 1 0 0 0 | 245 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
247 | 0 0 0 0 0 0 0 0 0 0 0 0 | 246 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
248 | 0 0 0 0 0 0 0 0 0 0 0 0 | 247 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
249 | 0 0 0 0 0 0 0 0 0 0 0 0 | 248 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
250 | 0 0 0 0 0 0 0 0 0 0 0 0 | 249 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
251 | 0 0 0 0 0 0 0 0 0 14 14 14 | 250 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
252 | 42 42 42 82 82 82 2 2 6 2 2 6 | 251 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
253 | 2 2 6 6 6 6 10 10 10 2 2 6 | 252 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
254 | 2 2 6 2 2 6 2 2 6 2 2 6 | 253 | 0 0 0 |
255 | 2 2 6 2 2 6 2 2 6 6 6 6 | 254 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
256 | 14 14 14 10 10 10 2 2 6 2 2 6 | 255 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
257 | 2 2 6 2 2 6 2 2 6 18 18 18 | 256 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
258 | 82 82 82 34 34 34 10 10 10 0 0 0 | 257 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
259 | 0 0 0 0 0 0 0 0 0 0 0 0 | 258 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
260 | 0 0 0 0 0 0 0 0 0 0 0 0 | 259 | 0 0 0 0 0 0 0 0 0 10 12 12 44 46 43 68 70 65 |
261 | 0 0 0 0 0 0 0 0 0 0 0 0 | 260 | 72 73 67 68 70 65 68 70 65 63 64 60 55 57 54 49 51 48 |
262 | 0 0 0 0 0 0 0 0 0 0 0 0 | 261 | 43 45 43 39 40 39 33 37 35 30 32 31 26 28 27 23 27 26 |
263 | 0 0 0 0 0 0 0 0 0 0 0 0 | 262 | 20 24 24 18 22 22 18 22 22 18 22 22 18 22 22 20 23 23 |
264 | 0 0 0 0 0 0 0 0 0 0 0 0 | 263 | 20 24 24 23 25 24 23 25 24 22 24 23 20 23 23 18 22 22 |
265 | 0 0 0 0 0 0 0 0 0 0 0 0 | 264 | 17 20 20 15 19 19 15 18 18 14 17 17 13 16 16 12 15 15 |
266 | 0 0 1 0 0 0 0 0 0 0 0 0 | 265 | 11 14 14 11 13 13 10 12 12 9 11 11 8 10 10 8 9 9 |
267 | 0 0 0 0 0 0 0 0 0 0 0 0 | 266 | 7 9 9 7 9 9 10 12 12 10 12 12 10 12 12 71 71 57 |
268 | 0 0 0 0 0 0 0 0 0 0 0 0 | 267 | 164 159 111 186 182 128 186 182 128 171 165 117 151 147 98 96 95 69 |
269 | 0 0 0 0 0 0 0 0 0 0 0 0 | 268 | 10 12 12 10 12 12 3 3 3 0 0 0 0 0 0 0 0 0 |
270 | 0 0 0 0 0 0 0 0 0 0 0 0 | 269 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
271 | 0 0 0 0 0 0 0 0 0 14 14 14 | 270 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
272 | 46 46 46 86 86 86 2 2 6 2 2 6 | 271 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
273 | 6 6 6 6 6 6 22 22 22 34 34 34 | 272 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
274 | 6 6 6 2 2 6 2 2 6 2 2 6 | 273 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
275 | 2 2 6 2 2 6 18 18 18 34 34 34 | 274 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
276 | 10 10 10 50 50 50 22 22 22 2 2 6 | 275 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
277 | 2 2 6 2 2 6 2 2 6 10 10 10 | 276 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
278 | 86 86 86 42 42 42 14 14 14 0 0 0 | 277 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
279 | 0 0 0 0 0 0 0 0 0 0 0 0 | 278 | 0 0 0 |
280 | 0 0 0 0 0 0 0 0 0 0 0 0 | 279 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
281 | 0 0 0 0 0 0 0 0 0 0 0 0 | 280 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
282 | 0 0 0 0 0 0 0 0 0 0 0 0 | 281 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
283 | 0 0 0 0 0 0 0 0 0 0 0 0 | 282 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
284 | 0 0 0 0 0 0 0 0 0 0 0 0 | 283 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
285 | 0 0 0 0 0 0 0 0 0 0 0 0 | 284 | 0 0 0 0 0 0 0 0 0 8 10 10 63 64 60 68 70 65 |
286 | 0 0 1 0 0 1 0 0 1 0 0 0 | 285 | 72 73 67 68 70 65 63 64 60 55 57 54 47 48 46 40 43 41 |
287 | 0 0 0 0 0 0 0 0 0 0 0 0 | 286 | 33 37 35 30 32 31 27 29 28 23 27 26 20 24 24 20 23 23 |
288 | 0 0 0 0 0 0 0 0 0 0 0 0 | 287 | 18 22 22 18 22 22 20 23 22 21 25 23 23 27 26 27 29 28 |
289 | 0 0 0 0 0 0 0 0 0 0 0 0 | 288 | 28 31 30 31 33 31 31 33 31 31 33 31 28 31 30 26 28 27 |
290 | 0 0 0 0 0 0 0 0 0 0 0 0 | 289 | 23 25 24 20 23 22 16 20 20 15 18 18 14 17 17 13 16 16 |
291 | 0 0 0 0 0 0 0 0 0 14 14 14 | 290 | 12 15 15 11 14 14 10 13 13 10 12 12 9 11 11 8 10 10 |
292 | 46 46 46 86 86 86 2 2 6 2 2 6 | 291 | 10 12 12 10 13 13 10 12 12 12 14 14 96 95 69 165 161 109 |
293 | 38 38 38 116 116 116 94 94 94 22 22 22 | 292 | 186 182 128 192 187 134 192 187 134 176 171 126 160 154 106 103 101 77 |
294 | 22 22 22 2 2 6 2 2 6 2 2 6 | 293 | 10 12 12 10 12 12 5 6 5 0 0 0 0 0 0 0 0 0 |
295 | 14 14 14 86 86 86 138 138 138 162 162 162 | 294 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
296 | 154 154 154 38 38 38 26 26 26 6 6 6 | 295 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
297 | 2 2 6 2 2 6 2 2 6 2 2 6 | 296 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
298 | 86 86 86 46 46 46 14 14 14 0 0 0 | 297 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
299 | 0 0 0 0 0 0 0 0 0 0 0 0 | 298 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
300 | 0 0 0 0 0 0 0 0 0 0 0 0 | 299 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
301 | 0 0 0 0 0 0 0 0 0 0 0 0 | 300 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
302 | 0 0 0 0 0 0 0 0 0 0 0 0 | 301 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
303 | 0 0 0 0 0 0 0 0 0 0 0 0 | 302 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
304 | 0 0 0 0 0 0 0 0 0 0 0 0 | 303 | 0 0 0 |
305 | 0 0 0 0 0 0 0 0 0 0 0 0 | 304 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
306 | 0 0 0 0 0 0 0 0 0 0 0 0 | 305 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
307 | 0 0 0 0 0 0 0 0 0 0 0 0 | 306 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
308 | 0 0 0 0 0 0 0 0 0 0 0 0 | 307 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
309 | 0 0 0 0 0 0 0 0 0 0 0 0 | 308 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
310 | 0 0 0 0 0 0 0 0 0 0 0 0 | 309 | 0 0 0 0 0 0 0 0 0 35 37 36 68 70 65 72 73 67 |
311 | 0 0 0 0 0 0 0 0 0 14 14 14 | 310 | 68 70 65 65 66 61 58 59 55 49 51 48 40 43 41 33 37 35 |
312 | 46 46 46 86 86 86 2 2 6 14 14 14 | 311 | 28 31 30 23 27 26 20 24 24 20 23 23 18 22 22 18 22 22 |
313 | 134 134 134 198 198 198 195 195 195 116 116 116 | 312 | 18 22 22 20 23 23 23 27 26 27 30 29 32 35 33 37 39 37 |
314 | 10 10 10 2 2 6 2 2 6 6 6 6 | 313 | 40 43 41 44 46 43 46 47 43 44 46 43 40 43 41 36 38 35 |
315 | 101 98 89 187 187 187 210 210 210 218 218 218 | 314 | 31 33 31 27 29 28 22 24 23 17 21 21 15 18 18 14 17 17 |
316 | 214 214 214 134 134 134 14 14 14 6 6 6 | 315 | 13 16 16 12 15 15 11 14 14 11 14 14 11 13 13 13 16 16 |
317 | 2 2 6 2 2 6 2 2 6 2 2 6 | 316 | 13 16 16 11 14 14 10 12 12 79 78 62 142 137 94 164 159 111 |
318 | 86 86 86 50 50 50 18 18 18 6 6 6 | 317 | 178 174 128 192 187 134 192 187 134 176 171 126 160 154 106 96 95 69 |
319 | 0 0 0 0 0 0 0 0 0 0 0 0 | 318 | 10 12 12 10 12 12 6 7 7 0 0 0 0 0 0 0 0 0 |
320 | 0 0 0 0 0 0 0 0 0 0 0 0 | 319 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
321 | 0 0 0 0 0 0 0 0 0 0 0 0 | 320 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
322 | 0 0 0 0 0 0 0 0 0 0 0 0 | 321 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
323 | 0 0 0 0 0 0 0 0 0 0 0 0 | 322 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
324 | 0 0 0 0 0 0 0 0 0 0 0 0 | 323 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
325 | 0 0 0 0 0 0 0 0 1 0 0 0 | 324 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
326 | 0 0 1 0 0 1 0 0 1 0 0 0 | 325 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
327 | 0 0 0 0 0 0 0 0 0 0 0 0 | 326 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
328 | 0 0 0 0 0 0 0 0 0 0 0 0 | 327 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
329 | 0 0 0 0 0 0 0 0 0 0 0 0 | 328 | 0 0 0 |
330 | 0 0 0 0 0 0 0 0 0 0 0 0 | 329 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
331 | 0 0 0 0 0 0 0 0 0 14 14 14 | 330 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
332 | 46 46 46 86 86 86 2 2 6 54 54 54 | 331 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
333 | 218 218 218 195 195 195 226 226 226 246 246 246 | 332 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
334 | 58 58 58 2 2 6 2 2 6 30 30 30 | 333 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
335 | 210 210 210 253 253 253 174 174 174 123 123 123 | 334 | 0 0 0 0 0 0 0 0 0 55 57 54 68 70 65 72 73 67 |
336 | 221 221 221 234 234 234 74 74 74 2 2 6 | 335 | 68 70 65 63 64 60 55 56 53 43 45 43 35 37 36 28 31 30 |
337 | 2 2 6 2 2 6 2 2 6 2 2 6 | 336 | 23 27 26 20 24 24 18 22 22 17 21 21 17 21 21 17 21 21 |
338 | 70 70 70 58 58 58 22 22 22 6 6 6 | 337 | 20 24 24 25 27 26 31 33 31 38 39 37 46 47 43 53 55 47 |
339 | 0 0 0 0 0 0 0 0 0 0 0 0 | 338 | 61 61 53 66 65 55 66 65 55 66 65 55 61 61 53 53 55 47 |
340 | 0 0 0 0 0 0 0 0 0 0 0 0 | 339 | 46 47 43 37 39 37 30 33 30 24 26 24 17 21 21 15 18 18 |
341 | 0 0 0 0 0 0 0 0 0 0 0 0 | 340 | 13 17 17 12 15 15 12 15 15 13 16 16 14 18 18 14 18 18 |
342 | 0 0 0 0 0 0 0 0 0 0 0 0 | 341 | 14 17 17 12 15 15 30 31 28 118 116 76 134 131 96 160 154 106 |
343 | 0 0 0 0 0 0 0 0 0 0 0 0 | 342 | 174 170 121 178 174 128 178 174 128 171 165 117 151 147 98 96 95 69 |
344 | 0 0 0 0 0 0 0 0 0 0 0 0 | 343 | 10 12 12 10 12 12 6 8 8 0 0 0 0 0 0 0 0 0 |
345 | 0 0 0 0 0 0 0 0 0 0 0 0 | 344 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
346 | 0 0 0 0 0 0 0 0 0 0 0 0 | 345 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
347 | 0 0 0 0 0 0 0 0 0 0 0 0 | 346 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
348 | 0 0 0 0 0 0 0 0 0 0 0 0 | 347 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
349 | 0 0 0 0 0 0 0 0 0 0 0 0 | 348 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
350 | 0 0 0 0 0 0 0 0 0 0 0 0 | 349 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
351 | 0 0 0 0 0 0 0 0 0 14 14 14 | 350 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
352 | 46 46 46 82 82 82 2 2 6 106 106 106 | 351 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
353 | 170 170 170 26 26 26 86 86 86 226 226 226 | 352 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
354 | 123 123 123 10 10 10 14 14 14 46 46 46 | 353 | 0 0 0 |
355 | 231 231 231 190 190 190 6 6 6 70 70 70 | 354 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
356 | 90 90 90 238 238 238 158 158 158 2 2 6 | 355 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
357 | 2 2 6 2 2 6 2 2 6 2 2 6 | 356 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
358 | 70 70 70 58 58 58 22 22 22 6 6 6 | 357 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
359 | 0 0 0 0 0 0 0 0 0 0 0 0 | 358 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
360 | 0 0 0 0 0 0 0 0 0 0 0 0 | 359 | 0 0 0 0 0 0 0 0 0 63 64 60 68 70 65 68 70 65 |
361 | 0 0 0 0 0 0 0 0 0 0 0 0 | 360 | 65 66 61 58 59 55 49 51 48 39 40 39 30 32 31 23 27 26 |
362 | 0 0 0 0 0 0 0 0 0 0 0 0 | 361 | 20 24 24 18 22 22 17 21 21 16 20 20 17 21 21 20 23 23 |
363 | 0 0 0 0 0 0 0 0 0 0 0 0 | 362 | 25 27 26 32 35 33 43 44 41 53 55 47 66 65 55 75 75 61 |
364 | 0 0 0 0 0 0 0 0 0 0 0 0 | 363 | 82 81 62 84 83 72 87 86 72 87 86 72 82 81 62 75 75 61 |
365 | 0 0 0 0 0 0 0 0 1 0 0 0 | 364 | 66 65 55 53 55 47 40 41 39 31 33 31 23 25 24 17 20 20 |
366 | 0 0 1 0 0 1 0 0 1 0 0 0 | 365 | 14 18 18 13 16 16 12 15 15 12 15 15 13 17 17 14 18 18 |
367 | 0 0 0 0 0 0 0 0 0 0 0 0 | 366 | 14 18 18 13 16 16 46 47 43 96 95 69 125 122 87 142 137 94 |
368 | 0 0 0 0 0 0 0 0 0 0 0 0 | 367 | 160 154 106 165 161 109 164 159 111 155 149 109 142 137 94 75 75 61 |
369 | 0 0 0 0 0 0 0 0 0 0 0 0 | 368 | 10 12 12 10 12 12 6 8 8 0 0 0 0 0 0 0 0 0 |
370 | 0 0 0 0 0 0 0 0 0 0 0 0 | 369 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
371 | 0 0 0 0 0 0 0 0 0 14 14 14 | 370 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
372 | 42 42 42 86 86 86 6 6 6 116 116 116 | 371 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
373 | 106 106 106 6 6 6 70 70 70 149 149 149 | 372 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
374 | 128 128 128 18 18 18 38 38 38 54 54 54 | 373 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
375 | 221 221 221 106 106 106 2 2 6 14 14 14 | 374 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
376 | 46 46 46 190 190 190 198 198 198 2 2 6 | 375 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
377 | 2 2 6 2 2 6 2 2 6 2 2 6 | 376 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
378 | 74 74 74 62 62 62 22 22 22 6 6 6 | 377 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
379 | 0 0 0 0 0 0 0 0 0 0 0 0 | 378 | 0 0 0 |
380 | 0 0 0 0 0 0 0 0 0 0 0 0 | 379 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
381 | 0 0 0 0 0 0 0 0 0 0 0 0 | 380 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
382 | 0 0 0 0 0 0 0 0 0 0 0 0 | 381 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
383 | 0 0 0 0 0 0 0 0 0 0 0 0 | 382 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
384 | 0 0 0 0 0 0 0 0 0 0 0 0 | 383 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
385 | 0 0 0 0 0 0 0 0 1 0 0 0 | 384 | 0 0 0 0 0 0 0 0 0 60 60 56 68 70 65 68 70 65 |
386 | 0 0 1 0 0 0 0 0 1 0 0 0 | 385 | 63 64 60 55 57 54 46 47 45 35 37 36 27 30 29 23 25 24 |
387 | 0 0 0 0 0 0 0 0 0 0 0 0 | 386 | 18 22 22 17 21 21 16 20 20 17 21 21 18 22 22 23 27 26 |
388 | 0 0 0 0 0 0 0 0 0 0 0 0 | 387 | 31 33 31 43 44 41 55 56 53 71 71 57 84 83 72 92 91 72 |
389 | 0 0 0 0 0 0 0 0 0 0 0 0 | 388 | 103 101 77 92 91 72 82 81 62 82 81 62 87 86 72 92 91 72 |
390 | 0 0 0 0 0 0 0 0 0 0 0 0 | 389 | 84 83 72 71 71 57 55 56 53 43 44 41 30 33 30 22 24 23 |
391 | 0 0 0 0 0 0 0 0 0 14 14 14 | 390 | 16 19 19 14 17 17 12 15 15 12 15 15 13 16 16 14 18 18 |
392 | 42 42 42 94 94 94 14 14 14 101 101 101 | 391 | 14 18 18 14 17 17 43 44 41 82 81 62 118 116 76 125 122 87 |
393 | 128 128 128 2 2 6 18 18 18 116 116 116 | 392 | 142 137 94 144 139 99 144 139 99 134 131 96 118 116 76 53 55 47 |
394 | 118 98 46 121 92 8 121 92 8 98 78 10 | 393 | 10 12 12 10 12 12 6 8 8 0 0 0 0 0 0 0 0 0 |
395 | 162 162 162 106 106 106 2 2 6 2 2 6 | 394 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
396 | 2 2 6 195 195 195 195 195 195 6 6 6 | 395 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
397 | 2 2 6 2 2 6 2 2 6 2 2 6 | 396 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
398 | 74 74 74 62 62 62 22 22 22 6 6 6 | 397 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
399 | 0 0 0 0 0 0 0 0 0 0 0 0 | 398 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
400 | 0 0 0 0 0 0 0 0 0 0 0 0 | 399 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
401 | 0 0 0 0 0 0 0 0 0 0 0 0 | 400 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
402 | 0 0 0 0 0 0 0 0 0 0 0 0 | 401 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
403 | 0 0 0 0 0 0 0 0 0 0 0 0 | 402 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
404 | 0 0 0 0 0 0 0 0 0 0 0 0 | 403 | 0 0 0 |
405 | 0 0 0 0 0 0 0 0 1 0 0 1 | 404 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
406 | 0 0 1 0 0 0 0 0 1 0 0 0 | 405 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
407 | 0 0 0 0 0 0 0 0 0 0 0 0 | 406 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
408 | 0 0 0 0 0 0 0 0 0 0 0 0 | 407 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
409 | 0 0 0 0 0 0 0 0 0 0 0 0 | 408 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
410 | 0 0 0 0 0 0 0 0 0 0 0 0 | 409 | 0 0 0 0 0 0 0 0 0 47 48 46 63 64 60 63 64 60 |
411 | 0 0 0 0 0 0 0 0 0 10 10 10 | 410 | 55 57 54 49 51 48 40 43 41 32 34 33 26 28 27 20 24 24 |
412 | 38 38 38 90 90 90 14 14 14 58 58 58 | 411 | 18 22 22 16 20 20 16 20 20 17 21 21 20 24 24 28 31 30 |
413 | 210 210 210 26 26 26 54 38 6 154 114 10 | 412 | 40 41 39 53 55 47 75 75 61 90 89 73 87 86 72 48 49 45 |
414 | 226 170 11 236 186 11 225 175 15 184 144 12 | 413 | 14 14 13 2 2 2 1 2 2 1 1 1 1 1 1 2 2 2 |
415 | 215 174 15 175 146 61 37 26 9 2 2 6 | 414 | 19 20 18 43 44 41 66 65 55 53 55 47 38 39 37 26 28 27 |
416 | 70 70 70 246 246 246 138 138 138 2 2 6 | 415 | 18 22 22 14 18 18 13 16 16 12 15 15 12 15 15 13 17 17 |
417 | 2 2 6 2 2 6 2 2 6 2 2 6 | 416 | 14 18 18 14 18 18 30 31 28 66 65 55 96 95 69 103 101 77 |
418 | 70 70 70 66 66 66 26 26 26 6 6 6 | 417 | 118 116 76 118 116 76 118 116 76 118 116 76 103 101 77 36 38 35 |
419 | 0 0 0 0 0 0 0 0 0 0 0 0 | 418 | 10 12 12 10 12 12 6 7 7 0 0 0 0 0 0 0 0 0 |
420 | 0 0 0 0 0 0 0 0 0 0 0 0 | 419 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
421 | 0 0 0 0 0 0 0 0 0 0 0 0 | 420 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
422 | 0 0 0 0 0 0 0 0 0 0 0 0 | 421 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
423 | 0 0 0 0 0 0 0 0 0 0 0 0 | 422 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
424 | 0 0 0 0 0 0 0 0 0 0 0 0 | 423 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
425 | 0 0 0 0 0 0 0 0 0 0 0 0 | 424 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
426 | 0 0 0 0 0 0 0 0 0 0 0 0 | 425 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
427 | 0 0 0 0 0 0 0 0 0 0 0 0 | 426 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
428 | 0 0 0 0 0 0 0 0 0 0 0 0 | 427 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
429 | 0 0 0 0 0 0 0 0 0 0 0 0 | 428 | 0 0 0 |
430 | 0 0 0 0 0 0 0 0 0 0 0 0 | 429 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
431 | 0 0 0 0 0 0 0 0 0 10 10 10 | 430 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
432 | 38 38 38 86 86 86 14 14 14 10 10 10 | 431 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
433 | 195 195 195 188 164 115 192 133 9 225 175 15 | 432 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
434 | 239 182 13 234 190 10 232 195 16 232 200 30 | 433 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
435 | 245 207 45 241 208 19 232 195 16 184 144 12 | 434 | 0 0 0 0 0 0 0 0 0 28 31 30 55 57 54 51 52 50 |
436 | 218 194 134 211 206 186 42 42 42 2 2 6 | 435 | 49 51 48 41 42 42 35 37 36 28 31 30 23 27 26 20 23 23 |
437 | 2 2 6 2 2 6 2 2 6 2 2 6 | 436 | 17 21 21 16 20 20 16 20 20 18 22 22 23 27 26 33 36 34 |
438 | 50 50 50 74 74 74 30 30 30 6 6 6 | 437 | 48 49 45 71 71 57 82 81 62 43 44 41 8 9 9 6 7 7 |
439 | 0 0 0 0 0 0 0 0 0 0 0 0 | 438 | 6 7 7 6 7 7 6 7 7 5 6 5 4 5 5 3 4 4 |
440 | 0 0 0 0 0 0 0 0 0 0 0 0 | 439 | 2 3 3 1 2 2 4 5 4 36 38 35 48 49 45 32 35 33 |
441 | 0 0 0 0 0 0 0 0 0 0 0 0 | 440 | 21 25 23 16 19 19 13 17 17 12 15 15 12 15 15 13 16 16 |
442 | 0 0 0 0 0 0 0 0 0 0 0 0 | 441 | 14 18 18 14 18 18 16 18 16 36 38 35 61 61 53 82 81 62 |
443 | 0 0 0 0 0 0 0 0 0 0 0 0 | 442 | 96 95 69 96 95 69 96 95 69 96 95 69 79 78 62 19 20 18 |
444 | 0 0 0 0 0 0 0 0 0 0 0 0 | 443 | 10 12 12 10 12 12 4 5 5 0 0 0 0 0 0 0 0 0 |
445 | 0 0 0 0 0 0 0 0 0 0 0 0 | 444 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
446 | 0 0 0 0 0 0 0 0 0 0 0 0 | 445 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
447 | 0 0 0 0 0 0 0 0 0 0 0 0 | 446 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
448 | 0 0 0 0 0 0 0 0 0 0 0 0 | 447 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
449 | 0 0 0 0 0 0 0 0 0 0 0 0 | 448 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
450 | 0 0 0 0 0 0 0 0 0 0 0 0 | 449 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
451 | 0 0 0 0 0 0 0 0 0 10 10 10 | 450 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
452 | 34 34 34 86 86 86 14 14 14 2 2 6 | 451 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
453 | 121 87 25 192 133 9 219 162 10 239 182 13 | 452 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
454 | 236 186 11 232 195 16 241 208 19 244 214 54 | 453 | 0 0 0 |
455 | 246 218 60 246 218 38 246 215 20 241 208 19 | 454 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
456 | 241 208 19 226 184 13 121 87 25 2 2 6 | 455 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
457 | 2 2 6 2 2 6 2 2 6 2 2 6 | 456 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
458 | 50 50 50 82 82 82 34 34 34 10 10 10 | 457 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
459 | 0 0 0 0 0 0 0 0 0 0 0 0 | 458 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
460 | 0 0 0 0 0 0 0 0 0 0 0 0 | 459 | 0 0 0 0 0 0 0 0 0 13 13 13 46 47 45 43 45 43 |
461 | 0 0 0 0 0 0 0 0 0 0 0 0 | 460 | 40 43 41 35 37 36 30 32 31 23 27 26 20 24 24 18 22 22 |
462 | 0 0 0 0 0 0 0 0 0 0 0 0 | 461 | 17 21 21 16 20 20 17 21 21 20 23 23 27 30 29 40 41 39 |
463 | 0 0 0 0 0 0 0 0 0 0 0 0 | 462 | 61 61 53 53 55 47 16 17 16 9 11 11 10 12 12 10 12 12 |
464 | 0 0 0 0 0 0 0 0 0 0 0 0 | 463 | 10 12 12 10 12 12 10 12 12 9 11 11 8 10 10 8 9 9 |
465 | 0 0 0 0 0 0 0 0 0 0 0 0 | 464 | 6 8 8 5 6 5 4 5 5 2 3 3 19 20 18 38 39 37 |
466 | 0 0 0 0 0 0 0 0 0 0 0 0 | 465 | 26 28 27 17 21 21 14 17 17 13 16 16 12 15 15 12 15 15 |
467 | 0 0 0 0 0 0 0 0 0 0 0 0 | 466 | 13 17 17 14 18 18 12 15 15 13 12 7 30 31 28 46 47 43 |
468 | 0 0 0 0 0 0 0 0 0 0 0 0 | 467 | 53 55 47 66 65 55 66 65 55 53 55 47 36 38 35 10 12 12 |
469 | 0 0 0 0 0 0 0 0 0 0 0 0 | 468 | 10 12 12 10 12 12 2 3 3 0 0 0 0 0 0 0 0 0 |
470 | 0 0 0 0 0 0 0 0 0 0 0 0 | 469 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
471 | 0 0 0 0 0 0 0 0 0 10 10 10 | 470 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
472 | 34 34 34 82 82 82 30 30 30 61 42 6 | 471 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
473 | 180 123 7 206 145 10 230 174 11 239 182 13 | 472 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
474 | 234 190 10 238 202 15 241 208 19 246 218 74 | 473 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
475 | 246 218 38 246 215 20 246 215 20 246 215 20 | 474 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
476 | 226 184 13 215 174 15 184 144 12 6 6 6 | 475 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
477 | 2 2 6 2 2 6 2 2 6 2 2 6 | 476 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
478 | 26 26 26 94 94 94 42 42 42 14 14 14 | 477 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
479 | 0 0 0 0 0 0 0 0 0 0 0 0 | 478 | 0 0 0 |
480 | 0 0 0 0 0 0 0 0 0 0 0 0 | 479 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
481 | 0 0 0 0 0 0 0 0 0 0 0 0 | 480 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
482 | 0 0 0 0 0 0 0 0 0 0 0 0 | 481 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
483 | 0 0 0 0 0 0 0 0 0 0 0 0 | 482 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
484 | 0 0 0 0 0 0 0 0 0 0 0 0 | 483 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
485 | 0 0 0 0 0 0 0 0 0 0 0 0 | 484 | 0 0 0 0 0 0 0 0 0 1 1 1 33 37 35 35 37 36 |
486 | 0 0 0 0 0 0 0 0 0 0 0 0 | 485 | 32 35 33 28 31 30 23 27 26 20 24 24 18 22 22 17 21 21 |
487 | 0 0 0 0 0 0 0 0 0 0 0 0 | 486 | 16 20 20 16 20 20 17 21 21 21 25 23 31 33 31 44 46 43 |
488 | 0 0 0 0 0 0 0 0 0 0 0 0 | 487 | 31 33 31 11 13 13 12 14 14 12 15 15 13 16 16 14 17 17 |
489 | 0 0 0 0 0 0 0 0 0 0 0 0 | 488 | 14 17 17 14 17 17 14 17 17 13 16 16 12 15 15 12 14 14 |
490 | 0 0 0 0 0 0 0 0 0 0 0 0 | 489 | 11 13 13 9 11 11 8 10 10 6 8 8 4 5 5 17 18 17 |
491 | 0 0 0 0 0 0 0 0 0 10 10 10 | 490 | 30 33 30 20 23 22 15 18 18 13 16 16 12 15 15 12 14 14 |
492 | 30 30 30 78 78 78 50 50 50 104 69 6 | 491 | 13 16 16 14 17 17 14 18 18 11 12 11 7 7 5 16 17 12 |
493 | 192 133 9 216 158 10 236 178 12 236 186 11 | 492 | 21 22 20 30 31 28 25 27 25 21 22 20 14 14 13 10 12 12 |
494 | 232 195 16 241 208 19 244 214 54 245 215 43 | 493 | 10 12 12 9 11 11 0 0 0 0 0 0 0 0 0 0 0 0 |
495 | 246 215 20 246 215 20 241 208 19 198 155 10 | 494 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
496 | 200 144 11 216 158 10 156 118 10 2 2 6 | 495 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
497 | 2 2 6 2 2 6 2 2 6 2 2 6 | 496 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
498 | 6 6 6 90 90 90 54 54 54 18 18 18 | 497 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
499 | 6 6 6 0 0 0 0 0 0 0 0 0 | 498 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
500 | 0 0 0 0 0 0 0 0 0 0 0 0 | 499 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
501 | 0 0 0 0 0 0 0 0 0 0 0 0 | 500 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
502 | 0 0 0 0 0 0 0 0 0 0 0 0 | 501 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
503 | 0 0 0 0 0 0 0 0 0 0 0 0 | 502 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
504 | 0 0 0 0 0 0 0 0 0 0 0 0 | 503 | 0 0 0 |
505 | 0 0 0 0 0 0 0 0 0 0 0 0 | 504 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
506 | 0 0 0 0 0 0 0 0 0 0 0 0 | 505 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
507 | 0 0 0 0 0 0 0 0 0 0 0 0 | 506 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
508 | 0 0 0 0 0 0 0 0 0 0 0 0 | 507 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
509 | 0 0 0 0 0 0 0 0 0 0 0 0 | 508 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
510 | 0 0 0 0 0 0 0 0 0 0 0 0 | 509 | 0 0 0 0 0 0 0 0 0 0 0 0 18 22 22 27 30 29 |
511 | 0 0 0 0 0 0 0 0 0 10 10 10 | 510 | 27 29 28 40 41 39 53 55 47 53 55 47 53 55 47 46 47 43 |
512 | 30 30 30 78 78 78 46 46 46 22 22 22 | 511 | 25 27 25 16 20 20 17 21 21 23 25 24 31 33 31 20 20 20 |
513 | 137 92 6 210 162 10 239 182 13 238 190 10 | 512 | 12 15 15 14 17 17 15 19 19 16 20 20 17 21 21 18 22 22 |
514 | 238 202 15 241 208 19 246 215 20 246 215 20 | 513 | 18 22 22 18 22 22 18 22 22 17 21 21 17 21 21 16 19 19 |
515 | 241 208 19 203 166 17 185 133 11 210 150 10 | 514 | 15 18 18 13 16 16 12 15 15 10 12 12 8 10 10 6 8 8 |
516 | 216 158 10 210 150 10 102 78 10 2 2 6 | 515 | 21 22 21 22 24 23 15 19 19 13 17 17 13 16 16 12 15 15 |
517 | 6 6 6 54 54 54 14 14 14 2 2 6 | 516 | 12 15 15 13 17 17 14 18 18 14 18 18 13 15 14 10 9 6 |
518 | 2 2 6 62 62 62 74 74 74 30 30 30 | 517 | 7 7 5 7 7 5 7 7 5 9 11 11 10 12 12 10 12 12 |
519 | 10 10 10 0 0 0 0 0 0 0 0 0 | 518 | 10 12 12 6 7 7 0 0 0 0 0 0 0 0 0 0 0 0 |
520 | 0 0 0 0 0 0 0 0 0 0 0 0 | 519 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
521 | 0 0 0 0 0 0 0 0 0 0 0 0 | 520 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
522 | 0 0 0 0 0 0 0 0 0 0 0 0 | 521 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
523 | 0 0 0 0 0 0 0 0 0 0 0 0 | 522 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
524 | 0 0 0 0 0 0 0 0 0 0 0 0 | 523 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
525 | 0 0 0 0 0 0 0 0 0 0 0 0 | 524 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
526 | 0 0 0 0 0 0 0 0 0 0 0 0 | 525 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
527 | 0 0 0 0 0 0 0 0 0 0 0 0 | 526 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
528 | 0 0 0 0 0 0 0 0 0 0 0 0 | 527 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
529 | 0 0 0 0 0 0 0 0 0 0 0 0 | 528 | 0 0 0 |
530 | 0 0 0 0 0 0 0 0 0 0 0 0 | 529 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
531 | 0 0 0 0 0 0 0 0 0 10 10 10 | 530 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
532 | 34 34 34 78 78 78 50 50 50 6 6 6 | 531 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
533 | 94 70 30 139 102 15 190 146 13 226 184 13 | 532 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
534 | 232 200 30 232 195 16 215 174 15 190 146 13 | 533 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
535 | 168 122 10 192 133 9 210 150 10 213 154 11 | 534 | 0 0 0 0 0 0 0 0 0 0 0 0 16 17 12 82 81 62 |
536 | 202 150 34 182 157 106 101 98 89 2 2 6 | 535 | 118 116 76 118 116 76 161 156 96 161 156 96 161 156 96 118 116 76 |
537 | 2 2 6 78 78 78 116 116 116 58 58 58 | 536 | 118 116 76 96 95 69 53 55 47 22 24 23 14 17 17 13 16 16 |
538 | 2 2 6 22 22 22 90 90 90 46 46 46 | 537 | 15 19 19 17 21 21 18 22 22 20 24 24 20 24 24 23 27 26 |
539 | 18 18 18 6 6 6 0 0 0 0 0 0 | 538 | 23 27 26 23 27 26 23 27 26 23 27 26 23 27 26 20 24 24 |
540 | 0 0 0 0 0 0 0 0 0 0 0 0 | 539 | 20 23 23 17 21 21 16 19 19 14 17 17 12 15 15 10 12 12 |
541 | 0 0 0 0 0 0 0 0 0 0 0 0 | 540 | 9 11 11 20 23 22 16 19 19 14 17 17 13 16 16 12 15 15 |
542 | 0 0 0 0 0 0 0 0 0 0 0 0 | 541 | 11 14 14 13 16 16 14 17 17 14 18 18 14 17 17 12 15 15 |
543 | 0 0 0 0 0 0 0 0 0 0 0 0 | 542 | 10 12 12 10 12 12 10 12 12 10 12 12 10 12 12 10 12 12 |
544 | 0 0 0 0 0 0 0 0 0 0 0 0 | 543 | 9 11 11 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 |
545 | 0 0 0 0 0 0 0 0 0 0 0 0 | 544 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
546 | 0 0 0 0 0 0 0 0 0 0 0 0 | 545 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
547 | 0 0 0 0 0 0 0 0 0 0 0 0 | 546 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
548 | 0 0 0 0 0 0 0 0 0 0 0 0 | 547 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
549 | 0 0 0 0 0 0 0 0 0 0 0 0 | 548 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
550 | 0 0 0 0 0 0 0 0 0 0 0 0 | 549 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
551 | 0 0 0 0 0 0 0 0 0 10 10 10 | 550 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
552 | 38 38 38 86 86 86 50 50 50 6 6 6 | 551 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
553 | 128 128 128 174 154 114 156 107 11 168 122 10 | 552 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
554 | 198 155 10 184 144 12 197 138 11 200 144 11 | 553 | 0 0 0 |
555 | 206 145 10 206 145 10 197 138 11 188 164 115 | 554 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
556 | 195 195 195 198 198 198 174 174 174 14 14 14 | 555 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
557 | 2 2 6 22 22 22 116 116 116 116 116 116 | 556 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
558 | 22 22 22 2 2 6 74 74 74 70 70 70 | 557 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
559 | 30 30 30 10 10 10 0 0 0 0 0 0 | 558 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
560 | 0 0 0 0 0 0 0 0 0 0 0 0 | 559 | 0 0 0 0 0 0 0 0 0 0 0 0 53 55 47 161 156 96 |
561 | 0 0 0 0 0 0 0 0 0 0 0 0 | 560 | 161 156 96 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
562 | 0 0 0 0 0 0 0 0 0 0 0 0 | 561 | 230 229 82 161 156 96 118 116 76 96 95 69 21 22 20 16 19 19 |
563 | 0 0 0 0 0 0 0 0 0 0 0 0 | 562 | 18 22 22 20 24 24 23 27 26 23 27 26 26 28 27 27 30 29 |
564 | 0 0 0 0 0 0 0 0 0 0 0 0 | 563 | 27 30 29 18 22 22 12 14 14 8 10 10 9 11 11 17 21 21 |
565 | 0 0 0 0 0 0 0 0 0 0 0 0 | 564 | 23 27 26 23 27 26 20 24 24 18 22 22 16 20 20 14 17 17 |
566 | 0 0 0 0 0 0 0 0 0 0 0 0 | 565 | 12 14 14 14 17 17 16 20 20 14 17 17 13 17 17 13 16 16 |
567 | 0 0 0 0 0 0 0 0 0 0 0 0 | 566 | 12 15 15 12 15 15 13 17 17 14 18 18 14 17 17 13 16 16 |
568 | 0 0 0 0 0 0 0 0 0 0 0 0 | 567 | 11 13 13 10 12 12 10 12 12 10 12 12 10 12 12 10 12 12 |
569 | 0 0 0 0 0 0 0 0 0 0 0 0 | 568 | 4 5 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
570 | 0 0 0 0 0 0 0 0 0 0 0 0 | 569 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
571 | 0 0 0 0 0 0 6 6 6 18 18 18 | 570 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
572 | 50 50 50 101 101 101 26 26 26 10 10 10 | 571 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
573 | 138 138 138 190 190 190 174 154 114 156 107 11 | 572 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
574 | 197 138 11 200 144 11 197 138 11 192 133 9 | 573 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
575 | 180 123 7 190 142 34 190 178 144 187 187 187 | 574 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
576 | 202 202 202 221 221 221 214 214 214 66 66 66 | 575 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
577 | 2 2 6 2 2 6 50 50 50 62 62 62 | 576 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
578 | 6 6 6 2 2 6 10 10 10 90 90 90 | 577 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
579 | 50 50 50 18 18 18 6 6 6 0 0 0 | 578 | 0 0 0 |
580 | 0 0 0 0 0 0 0 0 0 0 0 0 | 579 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
581 | 0 0 0 0 0 0 0 0 0 0 0 0 | 580 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
582 | 0 0 0 0 0 0 0 0 0 0 0 0 | 581 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
583 | 0 0 0 0 0 0 0 0 0 0 0 0 | 582 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
584 | 0 0 0 0 0 0 0 0 0 0 0 0 | 583 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
585 | 0 0 0 0 0 0 0 0 0 0 0 0 | 584 | 0 0 0 0 0 0 0 0 0 13 12 7 118 116 76 230 229 82 |
586 | 0 0 0 0 0 0 0 0 0 0 0 0 | 585 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
587 | 0 0 0 0 0 0 0 0 0 0 0 0 | 586 | 230 229 82 230 229 82 230 229 82 161 156 96 118 116 76 30 31 28 |
588 | 0 0 0 0 0 0 0 0 0 0 0 0 | 587 | 20 24 24 23 27 26 27 30 29 28 31 30 30 32 31 23 27 26 |
589 | 0 0 0 0 0 0 0 0 0 0 0 0 | 588 | 16 19 19 17 21 21 12 15 15 9 11 11 10 12 12 9 11 11 |
590 | 0 0 0 0 0 0 0 0 0 0 0 0 | 589 | 20 24 24 28 31 30 26 28 27 23 27 26 20 24 24 17 21 21 |
591 | 0 0 0 0 0 0 10 10 10 34 34 34 | 590 | 15 19 19 13 16 16 16 19 19 14 18 18 14 17 17 13 16 16 |
592 | 74 74 74 74 74 74 2 2 6 6 6 6 | 591 | 12 15 15 11 14 14 13 16 16 14 17 17 14 18 18 14 17 17 |
593 | 144 144 144 198 198 198 190 190 190 178 166 146 | 592 | 12 15 15 10 12 12 10 12 12 10 12 12 10 12 12 8 9 9 |
594 | 154 121 60 156 107 11 156 107 11 168 124 44 | 593 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
595 | 174 154 114 187 187 187 190 190 190 210 210 210 | 594 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
596 | 246 246 246 253 253 253 253 253 253 182 182 182 | 595 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
597 | 6 6 6 2 2 6 2 2 6 2 2 6 | 596 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
598 | 2 2 6 2 2 6 2 2 6 62 62 62 | 597 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
599 | 74 74 74 34 34 34 14 14 14 0 0 0 | 598 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
600 | 0 0 0 0 0 0 0 0 0 0 0 0 | 599 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
601 | 0 0 0 0 0 0 0 0 0 0 0 0 | 600 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
602 | 0 0 0 0 0 0 0 0 0 0 0 0 | 601 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
603 | 0 0 0 0 0 0 0 0 0 0 0 0 | 602 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
604 | 0 0 0 0 0 0 0 0 0 0 0 0 | 603 | 0 0 0 |
605 | 0 0 0 0 0 0 0 0 0 0 0 0 | 604 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
606 | 0 0 0 0 0 0 0 0 0 0 0 0 | 605 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
607 | 0 0 0 0 0 0 0 0 0 0 0 0 | 606 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
608 | 0 0 0 0 0 0 0 0 0 0 0 0 | 607 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
609 | 0 0 0 0 0 0 0 0 0 0 0 0 | 608 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
610 | 0 0 0 0 0 0 0 0 0 0 0 0 | 609 | 0 0 0 0 0 0 0 0 0 82 81 62 161 156 96 230 229 82 |
611 | 0 0 0 10 10 10 22 22 22 54 54 54 | 610 | 230 229 82 233 233 100 230 229 82 230 229 82 230 229 82 230 229 82 |
612 | 94 94 94 18 18 18 2 2 6 46 46 46 | 611 | 230 229 82 230 229 82 230 229 82 230 229 82 161 156 96 118 116 76 |
613 | 234 234 234 221 221 221 190 190 190 190 190 190 | 612 | 27 29 28 27 30 29 30 32 31 30 32 31 23 27 26 20 24 24 |
614 | 190 190 190 187 187 187 187 187 187 190 190 190 | 613 | 26 28 27 17 21 21 6 7 7 72 73 67 145 141 105 15 15 15 |
615 | 190 190 190 195 195 195 214 214 214 242 242 242 | 614 | 14 17 17 33 37 35 30 32 31 28 31 30 26 28 27 23 27 26 |
616 | 253 253 253 253 253 253 253 253 253 253 253 253 | 615 | 20 23 23 16 20 20 15 19 19 14 18 18 14 17 17 13 16 16 |
617 | 82 82 82 2 2 6 2 2 6 2 2 6 | 616 | 12 15 15 11 14 14 12 15 15 13 17 17 14 18 18 14 17 17 |
618 | 2 2 6 2 2 6 2 2 6 14 14 14 | 617 | 13 16 16 11 13 13 10 12 12 10 12 12 9 11 11 1 1 1 |
619 | 86 86 86 54 54 54 22 22 22 6 6 6 | 618 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
620 | 0 0 0 0 0 0 0 0 0 0 0 0 | 619 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
621 | 0 0 0 0 0 0 0 0 0 0 0 0 | 620 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
622 | 0 0 0 0 0 0 0 0 0 0 0 0 | 621 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
623 | 0 0 0 0 0 0 0 0 0 0 0 0 | 622 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
624 | 0 0 0 0 0 0 0 0 0 0 0 0 | 623 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
625 | 0 0 0 0 0 0 0 0 0 0 0 0 | 624 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
626 | 0 0 0 0 0 0 0 0 0 0 0 0 | 625 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
627 | 0 0 0 0 0 0 0 0 0 0 0 0 | 626 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
628 | 0 0 0 0 0 0 0 0 0 0 0 0 | 627 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
629 | 0 0 0 0 0 0 0 0 0 0 0 0 | 628 | 0 0 0 |
630 | 0 0 0 0 0 0 0 0 0 0 0 0 | 629 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
631 | 6 6 6 18 18 18 46 46 46 90 90 90 | 630 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
632 | 46 46 46 18 18 18 6 6 6 182 182 182 | 631 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
633 | 253 253 253 246 246 246 206 206 206 190 190 190 | 632 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
634 | 190 190 190 190 190 190 190 190 190 190 190 190 | 633 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
635 | 206 206 206 231 231 231 250 250 250 253 253 253 | 634 | 0 0 0 0 0 0 16 17 12 161 156 96 230 229 82 230 229 82 |
636 | 253 253 253 253 253 253 253 253 253 253 253 253 | 635 | 243 242 120 235 234 117 230 229 82 230 229 82 230 229 82 230 229 82 |
637 | 202 202 202 14 14 14 2 2 6 2 2 6 | 636 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 161 156 96 |
638 | 2 2 6 2 2 6 2 2 6 2 2 6 | 637 | 82 81 62 28 31 30 28 31 30 27 30 29 28 31 30 30 32 31 |
639 | 42 42 42 86 86 86 42 42 42 18 18 18 | 638 | 33 37 35 13 16 16 3 3 3 105 104 92 210 208 158 12 14 14 |
640 | 6 6 6 0 0 0 0 0 0 0 0 0 | 639 | 17 21 21 33 37 35 33 37 35 32 35 33 30 32 31 27 30 29 |
641 | 0 0 0 0 0 0 0 0 0 0 0 0 | 640 | 23 27 26 20 23 23 17 20 20 15 18 18 14 18 18 13 17 17 |
642 | 0 0 0 0 0 0 0 0 0 0 0 0 | 641 | 13 16 16 12 15 15 11 14 14 13 16 16 14 17 17 14 18 18 |
643 | 0 0 0 0 0 0 0 0 0 0 0 0 | 642 | 13 17 17 12 15 15 10 12 12 10 12 12 3 4 4 0 0 0 |
644 | 0 0 0 0 0 0 0 0 0 0 0 0 | 643 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
645 | 0 0 0 0 0 0 0 0 0 0 0 0 | 644 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
646 | 0 0 0 0 0 0 0 0 0 0 0 0 | 645 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
647 | 0 0 0 0 0 0 0 0 0 0 0 0 | 646 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
648 | 0 0 0 0 0 0 0 0 0 0 0 0 | 647 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
649 | 0 0 0 0 0 0 0 0 0 0 0 0 | 648 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
650 | 0 0 0 0 0 0 0 0 0 6 6 6 | 649 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
651 | 14 14 14 38 38 38 74 74 74 66 66 66 | 650 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
652 | 2 2 6 6 6 6 90 90 90 250 250 250 | 651 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
653 | 253 253 253 253 253 253 238 238 238 198 198 198 | 652 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
654 | 190 190 190 190 190 190 195 195 195 221 221 221 | 653 | 0 0 0 |
655 | 246 246 246 253 253 253 253 253 253 253 253 253 | 654 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
656 | 253 253 253 253 253 253 253 253 253 253 253 253 | 655 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
657 | 253 253 253 82 82 82 2 2 6 2 2 6 | 656 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
658 | 2 2 6 2 2 6 2 2 6 2 2 6 | 657 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
659 | 2 2 6 78 78 78 70 70 70 34 34 34 | 658 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
660 | 14 14 14 6 6 6 0 0 0 0 0 0 | 659 | 0 0 0 0 0 0 96 95 69 230 229 82 230 229 82 244 244 132 |
661 | 0 0 0 0 0 0 0 0 0 0 0 0 | 660 | 241 241 143 243 242 120 230 229 82 230 229 82 230 229 82 230 229 82 |
662 | 0 0 0 0 0 0 0 0 0 0 0 0 | 661 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
663 | 0 0 0 0 0 0 0 0 0 0 0 0 | 662 | 161 156 96 46 47 43 32 35 33 33 37 35 33 37 35 33 37 35 |
664 | 0 0 0 0 0 0 0 0 0 0 0 0 | 663 | 40 43 41 23 27 26 1 1 1 2 2 2 24 26 24 14 17 17 |
665 | 0 0 0 0 0 0 0 0 0 0 0 0 | 664 | 23 27 26 33 37 35 33 37 35 33 37 35 33 37 35 30 32 31 |
666 | 0 0 0 0 0 0 0 0 0 0 0 0 | 665 | 27 30 29 23 27 26 20 23 23 15 18 18 14 18 18 14 17 17 |
667 | 0 0 0 0 0 0 0 0 0 0 0 0 | 666 | 13 16 16 12 15 15 11 14 14 12 15 15 13 17 17 14 17 17 |
668 | 0 0 0 0 0 0 0 0 0 0 0 0 | 667 | 14 17 17 13 16 16 11 13 13 6 8 8 0 0 0 0 0 0 |
669 | 0 0 0 0 0 0 0 0 0 0 0 0 | 668 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
670 | 0 0 0 0 0 0 0 0 0 14 14 14 | 669 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
671 | 34 34 34 66 66 66 78 78 78 6 6 6 | 670 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
672 | 2 2 6 18 18 18 218 218 218 253 253 253 | 671 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
673 | 253 253 253 253 253 253 253 253 253 246 246 246 | 672 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
674 | 226 226 226 231 231 231 246 246 246 253 253 253 | 673 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
675 | 253 253 253 253 253 253 253 253 253 253 253 253 | 674 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
676 | 253 253 253 253 253 253 253 253 253 253 253 253 | 675 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
677 | 253 253 253 178 178 178 2 2 6 2 2 6 | 676 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
678 | 2 2 6 2 2 6 2 2 6 2 2 6 | 677 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
679 | 2 2 6 18 18 18 90 90 90 62 62 62 | 678 | 0 0 0 |
680 | 30 30 30 10 10 10 0 0 0 0 0 0 | 679 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
681 | 0 0 0 0 0 0 0 0 0 0 0 0 | 680 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
682 | 0 0 0 0 0 0 0 0 0 0 0 0 | 681 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
683 | 0 0 0 0 0 0 0 0 0 0 0 0 | 682 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
684 | 0 0 0 0 0 0 0 0 0 0 0 0 | 683 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
685 | 0 0 0 0 0 0 0 0 0 0 0 0 | 684 | 0 0 0 16 17 12 161 156 96 230 229 82 235 234 117 239 239 170 |
686 | 0 0 0 0 0 0 0 0 0 0 0 0 | 685 | 239 239 170 236 236 101 230 229 82 230 229 82 230 229 82 230 229 82 |
687 | 0 0 0 0 0 0 0 0 0 0 0 0 | 686 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
688 | 0 0 0 0 0 0 0 0 0 0 0 0 | 687 | 230 229 82 118 116 76 33 37 35 33 37 35 37 39 37 37 39 37 |
689 | 0 0 0 0 0 0 0 0 0 0 0 0 | 688 | 43 45 43 49 51 48 20 24 24 8 10 10 17 20 20 35 37 36 |
690 | 0 0 0 0 0 0 10 10 10 26 26 26 | 689 | 33 37 35 40 43 41 37 39 37 35 37 36 33 37 35 33 37 35 |
691 | 58 58 58 90 90 90 18 18 18 2 2 6 | 690 | 30 32 31 27 30 29 23 27 26 15 19 19 14 18 18 14 17 17 |
692 | 2 2 6 110 110 110 253 253 253 253 253 253 | 691 | 13 17 17 13 16 16 12 15 15 11 14 14 13 16 16 14 17 17 |
693 | 253 253 253 253 253 253 253 253 253 253 253 253 | 692 | 14 17 17 13 17 17 11 14 14 4 5 5 0 0 0 0 0 0 |
694 | 250 250 250 253 253 253 253 253 253 253 253 253 | 693 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
695 | 253 253 253 253 253 253 253 253 253 253 253 253 | 694 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
696 | 253 253 253 253 253 253 253 253 253 253 253 253 | 695 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
697 | 253 253 253 231 231 231 18 18 18 2 2 6 | 696 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
698 | 2 2 6 2 2 6 2 2 6 2 2 6 | 697 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
699 | 2 2 6 2 2 6 18 18 18 94 94 94 | 698 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
700 | 54 54 54 26 26 26 10 10 10 0 0 0 | 699 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
701 | 0 0 0 0 0 0 0 0 0 0 0 0 | 700 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
702 | 0 0 0 0 0 0 0 0 0 0 0 0 | 701 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
703 | 0 0 0 0 0 0 0 0 0 0 0 0 | 702 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
704 | 0 0 0 0 0 0 0 0 0 0 0 0 | 703 | 0 0 0 |
705 | 0 0 0 0 0 0 0 0 0 0 0 0 | 704 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
706 | 0 0 0 0 0 0 0 0 0 0 0 0 | 705 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
707 | 0 0 0 0 0 0 0 0 0 0 0 0 | 706 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
708 | 0 0 0 0 0 0 0 0 0 0 0 0 | 707 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
709 | 0 0 0 0 0 0 0 0 0 0 0 0 | 708 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
710 | 0 0 0 6 6 6 22 22 22 50 50 50 | 709 | 0 0 0 96 95 69 230 229 82 230 229 82 239 239 170 251 251 187 |
711 | 90 90 90 26 26 26 2 2 6 2 2 6 | 710 | 241 241 143 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
712 | 14 14 14 195 195 195 250 250 250 253 253 253 | 711 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
713 | 253 253 253 253 253 253 253 253 253 253 253 253 | 712 | 230 229 82 161 156 96 36 38 35 33 37 35 33 37 35 33 37 35 |
714 | 253 253 253 253 253 253 253 253 253 253 253 253 | 713 | 37 39 37 47 48 46 55 57 54 55 57 54 49 51 48 43 45 43 |
715 | 253 253 253 253 253 253 253 253 253 253 253 253 | 714 | 43 45 43 43 45 43 40 43 41 40 43 41 37 39 37 33 37 35 |
716 | 253 253 253 253 253 253 253 253 253 253 253 253 | 715 | 33 37 35 28 31 30 26 28 27 16 20 20 15 18 18 14 18 18 |
717 | 250 250 250 242 242 242 54 54 54 2 2 6 | 716 | 14 17 17 13 16 16 12 15 15 11 14 14 12 15 15 13 17 17 |
718 | 2 2 6 2 2 6 2 2 6 2 2 6 | 717 | 14 17 17 14 17 17 8 10 10 5 7 7 0 0 0 0 0 0 |
719 | 2 2 6 2 2 6 2 2 6 38 38 38 | 718 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
720 | 86 86 86 50 50 50 22 22 22 6 6 6 | 719 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
721 | 0 0 0 0 0 0 0 0 0 0 0 0 | 720 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
722 | 0 0 0 0 0 0 0 0 0 0 0 0 | 721 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
723 | 0 0 0 0 0 0 0 0 0 0 0 0 | 722 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
724 | 0 0 0 0 0 0 0 0 0 0 0 0 | 723 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
725 | 0 0 0 0 0 0 0 0 0 0 0 0 | 724 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
726 | 0 0 0 0 0 0 0 0 0 0 0 0 | 725 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
727 | 0 0 0 0 0 0 0 0 0 0 0 0 | 726 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
728 | 0 0 0 0 0 0 0 0 0 0 0 0 | 727 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
729 | 0 0 0 0 0 0 0 0 0 0 0 0 | 728 | 0 0 0 |
730 | 6 6 6 14 14 14 38 38 38 82 82 82 | 729 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
731 | 34 34 34 2 2 6 2 2 6 2 2 6 | 730 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
732 | 42 42 42 195 195 195 246 246 246 253 253 253 | 731 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
733 | 253 253 253 253 253 253 253 253 253 250 250 250 | 732 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
734 | 242 242 242 242 242 242 250 250 250 253 253 253 | 733 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
735 | 253 253 253 253 253 253 253 253 253 253 253 253 | 734 | 16 17 12 230 229 82 230 229 82 243 242 120 251 251 187 251 251 187 |
736 | 253 253 253 250 250 250 246 246 246 238 238 238 | 735 | 246 246 123 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
737 | 226 226 226 231 231 231 101 101 101 6 6 6 | 736 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
738 | 2 2 6 2 2 6 2 2 6 2 2 6 | 737 | 230 229 82 230 229 82 66 65 55 30 32 31 32 35 33 33 37 35 |
739 | 2 2 6 2 2 6 2 2 6 2 2 6 | 738 | 33 37 35 37 39 37 40 43 41 47 48 46 49 51 48 51 52 50 |
740 | 38 38 38 82 82 82 42 42 42 14 14 14 | 739 | 55 57 54 55 57 54 51 52 50 47 48 46 43 45 43 39 40 39 |
741 | 6 6 6 0 0 0 0 0 0 0 0 0 | 740 | 33 37 35 30 32 31 26 28 27 17 21 21 15 19 19 14 18 18 |
742 | 0 0 0 0 0 0 0 0 0 0 0 0 | 741 | 14 17 17 13 16 16 12 15 15 12 14 14 11 14 14 13 16 16 |
743 | 0 0 0 0 0 0 0 0 0 0 0 0 | 742 | 14 17 17 12 15 15 7 9 9 6 8 8 1 1 1 0 0 0 |
744 | 0 0 0 0 0 0 0 0 0 0 0 0 | 743 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
745 | 0 0 0 0 0 0 0 0 0 0 0 0 | 744 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
746 | 0 0 0 0 0 0 0 0 0 0 0 0 | 745 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
747 | 0 0 0 0 0 0 0 0 0 0 0 0 | 746 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
748 | 0 0 0 0 0 0 0 0 0 0 0 0 | 747 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
749 | 0 0 0 0 0 0 0 0 0 0 0 0 | 748 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
750 | 10 10 10 26 26 26 62 62 62 66 66 66 | 749 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
751 | 2 2 6 2 2 6 2 2 6 6 6 6 | 750 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
752 | 70 70 70 170 170 170 206 206 206 234 234 234 | 751 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
753 | 246 246 246 250 250 250 250 250 250 238 238 238 | 752 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
754 | 226 226 226 231 231 231 238 238 238 250 250 250 | 753 | 0 0 0 |
755 | 250 250 250 250 250 250 246 246 246 231 231 231 | 754 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
756 | 214 214 214 206 206 206 202 202 202 202 202 202 | 755 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
757 | 198 198 198 202 202 202 182 182 182 18 18 18 | 756 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
758 | 2 2 6 2 2 6 2 2 6 2 2 6 | 757 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
759 | 2 2 6 2 2 6 2 2 6 2 2 6 | 758 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
760 | 2 2 6 62 62 62 66 66 66 30 30 30 | 759 | 96 95 69 230 229 82 230 229 82 239 239 170 251 251 187 239 239 170 |
761 | 10 10 10 0 0 0 0 0 0 0 0 0 | 760 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
762 | 0 0 0 0 0 0 0 0 0 0 0 0 | 761 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
763 | 0 0 0 0 0 0 0 0 0 0 0 0 | 762 | 230 229 82 230 229 82 96 95 69 27 30 29 28 31 30 30 32 31 |
764 | 0 0 0 0 0 0 0 0 0 0 0 0 | 763 | 33 37 35 40 43 41 46 47 45 55 57 54 63 64 60 72 73 67 |
765 | 0 0 0 0 0 0 0 0 0 0 0 0 | 764 | 72 73 67 72 73 67 72 73 67 65 66 61 55 57 54 47 48 46 |
766 | 0 0 0 0 0 0 0 0 0 0 0 0 | 765 | 39 40 39 32 35 33 27 30 29 17 21 21 15 19 19 15 18 18 |
767 | 0 0 0 0 0 0 0 0 0 0 0 0 | 766 | 14 18 18 13 17 17 13 16 16 12 15 15 11 14 14 12 14 14 |
768 | 0 0 0 0 0 0 0 0 0 0 0 0 | 767 | 13 16 16 9 11 11 7 9 9 9 11 11 66 65 55 115 113 82 |
769 | 0 0 0 0 0 0 0 0 0 0 0 0 | 768 | 21 22 20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
770 | 14 14 14 42 42 42 82 82 82 18 18 18 | 769 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
771 | 2 2 6 2 2 6 2 2 6 10 10 10 | 770 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
772 | 94 94 94 182 182 182 218 218 218 242 242 242 | 771 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
773 | 250 250 250 253 253 253 253 253 253 250 250 250 | 772 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
774 | 234 234 234 253 253 253 253 253 253 253 253 253 | 773 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
775 | 253 253 253 253 253 253 253 253 253 246 246 246 | 774 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
776 | 238 238 238 226 226 226 210 210 210 202 202 202 | 775 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
777 | 195 195 195 195 195 195 210 210 210 158 158 158 | 776 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
778 | 6 6 6 14 14 14 50 50 50 14 14 14 | 777 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
779 | 2 2 6 2 2 6 2 2 6 2 2 6 | 778 | 0 0 0 |
780 | 2 2 6 6 6 6 86 86 86 46 46 46 | 779 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
781 | 18 18 18 6 6 6 0 0 0 0 0 0 | 780 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
782 | 0 0 0 0 0 0 0 0 0 0 0 0 | 781 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
783 | 0 0 0 0 0 0 0 0 0 0 0 0 | 782 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
784 | 0 0 0 0 0 0 0 0 0 0 0 0 | 783 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 13 12 7 |
785 | 0 0 0 0 0 0 0 0 0 0 0 0 | 784 | 230 229 82 230 229 82 236 236 101 251 251 187 251 251 187 246 246 123 |
786 | 0 0 0 0 0 0 0 0 0 0 0 0 | 785 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
787 | 0 0 0 0 0 0 0 0 0 0 0 0 | 786 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
788 | 0 0 0 0 0 0 0 0 0 0 0 0 | 787 | 230 229 82 230 229 82 118 116 76 23 27 26 26 28 27 32 35 33 |
789 | 0 0 0 0 0 0 0 0 0 6 6 6 | 788 | 51 52 50 90 89 73 110 109 94 145 141 105 168 163 120 177 172 135 |
790 | 22 22 22 54 54 54 70 70 70 2 2 6 | 789 | 177 172 135 188 184 146 188 184 146 181 176 137 194 191 148 188 184 146 |
791 | 2 2 6 10 10 10 2 2 6 22 22 22 | 790 | 184 179 149 188 184 146 188 184 146 156 151 111 177 172 135 181 176 137 |
792 | 166 166 166 231 231 231 250 250 250 253 253 253 | 791 | 177 172 135 168 163 120 168 163 120 158 153 112 156 151 111 158 153 112 |
793 | 253 253 253 253 253 253 253 253 253 250 250 250 | 792 | 156 151 111 158 153 112 177 172 135 188 184 146 188 184 146 194 189 146 |
794 | 242 242 242 253 253 253 253 253 253 253 253 253 | 793 | 36 38 35 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
795 | 253 253 253 253 253 253 253 253 253 253 253 253 | 794 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
796 | 253 253 253 253 253 253 253 253 253 246 246 246 | 795 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
797 | 231 231 231 206 206 206 198 198 198 226 226 226 | 796 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
798 | 94 94 94 2 2 6 6 6 6 38 38 38 | 797 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
799 | 30 30 30 2 2 6 2 2 6 2 2 6 | 798 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
800 | 2 2 6 2 2 6 62 62 62 66 66 66 | 799 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
801 | 26 26 26 10 10 10 0 0 0 0 0 0 | 800 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
802 | 0 0 0 0 0 0 0 0 0 0 0 0 | 801 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
803 | 0 0 0 0 0 0 0 0 0 0 0 0 | 802 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
804 | 0 0 0 0 0 0 0 0 0 0 0 0 | 803 | 0 0 0 |
805 | 0 0 0 0 0 0 0 0 0 0 0 0 | 804 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
806 | 0 0 0 0 0 0 0 0 0 0 0 0 | 805 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
807 | 0 0 0 0 0 0 0 0 0 0 0 0 | 806 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
808 | 0 0 0 0 0 0 0 0 0 0 0 0 | 807 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
809 | 0 0 0 0 0 0 0 0 0 10 10 10 | 808 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 82 81 62 |
810 | 30 30 30 74 74 74 50 50 50 2 2 6 | 809 | 230 229 82 230 229 82 244 244 132 251 251 187 244 244 132 230 229 82 |
811 | 26 26 26 26 26 26 2 2 6 106 106 106 | 810 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
812 | 238 238 238 253 253 253 253 253 253 253 253 253 | 811 | 230 229 82 230 229 82 230 229 82 230 229 82 161 156 96 82 81 62 |
813 | 253 253 253 253 253 253 253 253 253 253 253 253 | 812 | 96 95 69 230 229 82 181 178 103 110 109 94 156 151 111 188 184 146 |
814 | 253 253 253 253 253 253 253 253 253 253 253 253 | 813 | 188 184 146 197 193 154 188 184 146 184 181 136 188 184 146 168 163 120 |
815 | 253 253 253 253 253 253 253 253 253 253 253 253 | 814 | 168 163 120 178 174 128 156 151 111 158 153 112 174 170 121 156 151 111 |
816 | 253 253 253 253 253 253 253 253 253 253 253 253 | 815 | 156 151 111 158 153 112 156 151 111 168 163 120 178 174 128 181 176 137 |
817 | 253 253 253 246 246 246 218 218 218 202 202 202 | 816 | 176 171 126 178 174 128 184 181 136 176 171 126 178 174 128 184 181 136 |
818 | 210 210 210 14 14 14 2 2 6 2 2 6 | 817 | 176 171 126 178 174 128 184 181 136 164 159 111 155 149 109 96 95 69 |
819 | 30 30 30 22 22 22 2 2 6 2 2 6 | 818 | 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
820 | 2 2 6 2 2 6 18 18 18 86 86 86 | 819 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
821 | 42 42 42 14 14 14 0 0 0 0 0 0 | 820 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
822 | 0 0 0 0 0 0 0 0 0 0 0 0 | 821 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
823 | 0 0 0 0 0 0 0 0 0 0 0 0 | 822 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
824 | 0 0 0 0 0 0 0 0 0 0 0 0 | 823 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
825 | 0 0 0 0 0 0 0 0 0 0 0 0 | 824 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
826 | 0 0 0 0 0 0 0 0 0 0 0 0 | 825 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
827 | 0 0 0 0 0 0 0 0 0 0 0 0 | 826 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
828 | 0 0 0 0 0 0 0 0 0 0 0 0 | 827 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
829 | 0 0 0 0 0 0 0 0 0 14 14 14 | 828 | 0 0 0 |
830 | 42 42 42 90 90 90 22 22 22 2 2 6 | 829 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
831 | 42 42 42 2 2 6 18 18 18 218 218 218 | 830 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
832 | 253 253 253 253 253 253 253 253 253 253 253 253 | 831 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
833 | 253 253 253 253 253 253 253 253 253 253 253 253 | 832 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
834 | 253 253 253 253 253 253 253 253 253 253 253 253 | 833 | 0 0 0 0 0 0 0 0 0 0 0 0 2 2 1 161 156 96 |
835 | 253 253 253 253 253 253 253 253 253 253 253 253 | 834 | 230 229 82 230 229 82 244 244 132 244 244 132 236 236 101 230 229 82 |
836 | 253 253 253 253 253 253 253 253 253 253 253 253 | 835 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
837 | 253 253 253 253 253 253 250 250 250 221 221 221 | 836 | 230 229 82 230 229 82 230 229 82 230 229 82 46 47 43 82 81 62 |
838 | 218 218 218 101 101 101 2 2 6 14 14 14 | 837 | 158 153 112 197 193 154 194 189 146 184 181 136 188 184 146 168 163 120 |
839 | 18 18 18 38 38 38 10 10 10 2 2 6 | 838 | 156 151 111 137 133 100 131 127 93 137 133 100 137 133 100 158 153 112 |
840 | 2 2 6 2 2 6 2 2 6 78 78 78 | 839 | 121 119 87 137 133 100 156 151 111 145 141 105 99 98 80 84 83 72 |
841 | 58 58 58 22 22 22 6 6 6 0 0 0 | 840 | 63 64 60 52 53 49 40 43 41 33 36 34 36 38 35 36 38 35 |
842 | 0 0 0 0 0 0 0 0 0 0 0 0 | 841 | 38 39 37 43 44 41 43 44 41 46 47 43 48 49 45 48 49 45 |
843 | 0 0 0 0 0 0 0 0 0 0 0 0 | 842 | 46 47 43 36 38 35 30 31 28 19 20 18 6 7 7 0 0 0 |
844 | 0 0 0 0 0 0 0 0 0 0 0 0 | 843 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
845 | 0 0 0 0 0 0 0 0 0 0 0 0 | 844 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
846 | 0 0 0 0 0 0 0 0 0 0 0 0 | 845 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
847 | 0 0 0 0 0 0 0 0 0 0 0 0 | 846 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
848 | 0 0 0 0 0 0 0 0 0 0 0 0 | 847 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
849 | 0 0 0 0 0 0 6 6 6 18 18 18 | 848 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
850 | 54 54 54 82 82 82 2 2 6 26 26 26 | 849 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
851 | 22 22 22 2 2 6 123 123 123 253 253 253 | 850 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
852 | 253 253 253 253 253 253 253 253 253 253 253 253 | 851 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
853 | 253 253 253 253 253 253 253 253 253 253 253 253 | 852 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
854 | 253 253 253 253 253 253 253 253 253 253 253 253 | 853 | 0 0 0 |
855 | 253 253 253 253 253 253 253 253 253 253 253 253 | 854 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
856 | 253 253 253 253 253 253 253 253 253 253 253 253 | 855 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
857 | 253 253 253 253 253 253 253 253 253 250 250 250 | 856 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
858 | 238 238 238 198 198 198 6 6 6 38 38 38 | 857 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
859 | 58 58 58 26 26 26 38 38 38 2 2 6 | 858 | 0 0 0 0 0 0 0 0 0 0 0 0 36 38 35 230 229 82 |
860 | 2 2 6 2 2 6 2 2 6 46 46 46 | 859 | 230 229 82 230 229 82 246 246 123 236 236 101 230 229 82 230 229 82 |
861 | 78 78 78 30 30 30 10 10 10 0 0 0 | 860 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
862 | 0 0 0 0 0 0 0 0 0 0 0 0 | 861 | 230 229 82 230 229 82 230 229 82 230 229 82 53 55 47 121 119 87 |
863 | 0 0 0 0 0 0 0 0 0 0 0 0 | 862 | 176 171 126 171 165 117 161 156 96 82 81 62 53 55 47 33 37 35 |
864 | 0 0 0 0 0 0 0 0 0 0 0 0 | 863 | 39 40 39 63 64 60 99 98 80 121 119 87 137 133 100 177 172 135 |
865 | 0 0 0 0 0 0 0 0 0 0 0 0 | 864 | 176 171 126 184 181 136 131 127 93 131 127 93 110 109 94 84 83 72 |
866 | 0 0 0 0 0 0 0 0 0 0 0 0 | 865 | 51 52 50 39 40 39 27 29 28 18 22 22 16 19 19 15 19 19 |
867 | 0 0 0 0 0 0 0 0 0 0 0 0 | 866 | 15 19 19 14 18 18 14 17 17 13 16 16 12 15 15 11 14 14 |
868 | 0 0 0 0 0 0 0 0 0 0 0 0 | 867 | 10 13 13 9 12 12 9 11 11 8 9 9 7 9 9 1 1 1 |
869 | 0 0 0 0 0 0 10 10 10 30 30 30 | 868 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
870 | 74 74 74 58 58 58 2 2 6 42 42 42 | 869 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
871 | 2 2 6 22 22 22 231 231 231 253 253 253 | 870 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
872 | 253 253 253 253 253 253 253 253 253 253 253 253 | 871 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
873 | 253 253 253 253 253 253 253 253 253 250 250 250 | 872 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
874 | 253 253 253 253 253 253 253 253 253 253 253 253 | 873 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
875 | 253 253 253 253 253 253 253 253 253 253 253 253 | 874 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
876 | 253 253 253 253 253 253 253 253 253 253 253 253 | 875 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
877 | 253 253 253 253 253 253 253 253 253 253 253 253 | 876 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
878 | 253 253 253 246 246 246 46 46 46 38 38 38 | 877 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
879 | 42 42 42 14 14 14 38 38 38 14 14 14 | 878 | 0 0 0 |
880 | 2 2 6 2 2 6 2 2 6 6 6 6 | 879 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
881 | 86 86 86 46 46 46 14 14 14 0 0 0 | 880 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
882 | 0 0 0 0 0 0 0 0 0 0 0 0 | 881 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
883 | 0 0 0 0 0 0 0 0 0 0 0 0 | 882 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
884 | 0 0 0 0 0 0 0 0 0 0 0 0 | 883 | 0 0 0 0 0 0 0 0 0 0 0 0 118 116 76 230 229 82 |
885 | 0 0 0 0 0 0 0 0 0 0 0 0 | 884 | 230 229 82 230 229 82 236 236 101 230 229 82 230 229 82 230 229 82 |
886 | 0 0 0 0 0 0 0 0 0 0 0 0 | 885 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
887 | 0 0 0 0 0 0 0 0 0 0 0 0 | 886 | 230 229 82 230 229 82 230 229 82 230 229 82 96 95 69 71 71 57 |
888 | 0 0 0 0 0 0 0 0 0 0 0 0 | 887 | 36 38 35 118 116 76 118 116 76 12 15 15 15 18 18 20 24 24 |
889 | 0 0 0 6 6 6 14 14 14 42 42 42 | 888 | 33 37 35 55 56 53 84 83 72 110 109 94 145 141 105 110 109 94 |
890 | 90 90 90 18 18 18 18 18 18 26 26 26 | 889 | 168 163 120 121 119 87 156 151 111 131 127 93 87 86 72 61 63 57 |
891 | 2 2 6 116 116 116 253 253 253 253 253 253 | 890 | 47 48 46 28 31 30 18 22 22 15 19 19 15 18 18 15 19 19 |
892 | 253 253 253 253 253 253 253 253 253 253 253 253 | 891 | 15 19 19 14 18 18 14 17 17 13 17 17 13 16 16 12 15 15 |
893 | 253 253 253 253 253 253 250 250 250 238 238 238 | 892 | 11 13 13 10 12 12 9 11 11 8 10 10 7 9 9 3 3 3 |
894 | 253 253 253 253 253 253 253 253 253 253 253 253 | 893 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
895 | 253 253 253 253 253 253 253 253 253 253 253 253 | 894 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
896 | 253 253 253 253 253 253 253 253 253 253 253 253 | 895 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
897 | 253 253 253 253 253 253 253 253 253 253 253 253 | 896 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
898 | 253 253 253 253 253 253 94 94 94 6 6 6 | 897 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
899 | 2 2 6 2 2 6 10 10 10 34 34 34 | 898 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
900 | 2 2 6 2 2 6 2 2 6 2 2 6 | 899 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
901 | 74 74 74 58 58 58 22 22 22 6 6 6 | 900 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
902 | 0 0 0 0 0 0 0 0 0 0 0 0 | 901 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
903 | 0 0 0 0 0 0 0 0 0 0 0 0 | 902 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
904 | 0 0 0 0 0 0 0 0 0 0 0 0 | 903 | 0 0 0 |
905 | 0 0 0 0 0 0 0 0 0 0 0 0 | 904 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
906 | 0 0 0 0 0 0 0 0 0 0 0 0 | 905 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
907 | 0 0 0 0 0 0 0 0 0 0 0 0 | 906 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
908 | 0 0 0 0 0 0 0 0 0 0 0 0 | 907 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
909 | 0 0 0 10 10 10 26 26 26 66 66 66 | 908 | 0 0 0 0 0 0 0 0 0 1 1 0 230 229 82 230 229 82 |
910 | 82 82 82 2 2 6 38 38 38 6 6 6 | 909 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
911 | 14 14 14 210 210 210 253 253 253 253 253 253 | 910 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
912 | 253 253 253 253 253 253 253 253 253 253 253 253 | 911 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 161 156 96 |
913 | 253 253 253 253 253 253 246 246 246 242 242 242 | 912 | 161 156 96 230 229 82 118 116 76 11 14 14 14 17 17 18 22 22 |
914 | 253 253 253 253 253 253 253 253 253 253 253 253 | 913 | 27 30 29 40 43 41 60 60 56 84 83 72 105 104 92 110 109 94 |
915 | 253 253 253 253 253 253 253 253 253 253 253 253 | 914 | 110 109 94 110 109 94 99 98 80 90 89 73 68 70 65 47 48 46 |
916 | 253 253 253 253 253 253 253 253 253 253 253 253 | 915 | 32 34 33 23 25 24 20 23 23 17 21 21 15 19 19 14 17 17 |
917 | 253 253 253 253 253 253 253 253 253 253 253 253 | 916 | 15 19 19 15 18 18 14 18 18 13 17 17 13 16 16 12 15 15 |
918 | 253 253 253 253 253 253 144 144 144 2 2 6 | 917 | 11 14 14 10 12 12 9 11 11 8 10 10 7 9 9 4 5 5 |
919 | 2 2 6 2 2 6 2 2 6 46 46 46 | 918 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
920 | 2 2 6 2 2 6 2 2 6 2 2 6 | 919 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
921 | 42 42 42 74 74 74 30 30 30 10 10 10 | 920 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
922 | 0 0 0 0 0 0 0 0 0 0 0 0 | 921 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
923 | 0 0 0 0 0 0 0 0 0 0 0 0 | 922 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
924 | 0 0 0 0 0 0 0 0 0 0 0 0 | 923 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
925 | 0 0 0 0 0 0 0 0 0 0 0 0 | 924 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
926 | 0 0 0 0 0 0 0 0 0 0 0 0 | 925 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
927 | 0 0 0 0 0 0 0 0 0 0 0 0 | 926 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
928 | 0 0 0 0 0 0 0 0 0 0 0 0 | 927 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
929 | 6 6 6 14 14 14 42 42 42 90 90 90 | 928 | 0 0 0 |
930 | 26 26 26 6 6 6 42 42 42 2 2 6 | 929 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
931 | 74 74 74 250 250 250 253 253 253 253 253 253 | 930 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
932 | 253 253 253 253 253 253 253 253 253 253 253 253 | 931 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
933 | 253 253 253 253 253 253 242 242 242 242 242 242 | 932 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
934 | 253 253 253 253 253 253 253 253 253 253 253 253 | 933 | 0 0 0 0 0 0 0 0 0 16 17 12 230 229 82 230 229 82 |
935 | 253 253 253 253 253 253 253 253 253 253 253 253 | 934 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
936 | 253 253 253 253 253 253 253 253 253 253 253 253 | 935 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
937 | 253 253 253 253 253 253 253 253 253 253 253 253 | 936 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
938 | 253 253 253 253 253 253 182 182 182 2 2 6 | 937 | 230 229 82 161 156 96 118 116 76 11 13 13 13 16 16 15 19 19 |
939 | 2 2 6 2 2 6 2 2 6 46 46 46 | 938 | 20 24 24 30 32 31 40 43 41 51 52 50 63 64 60 72 73 67 |
940 | 2 2 6 2 2 6 2 2 6 2 2 6 | 939 | 65 66 61 65 66 61 65 66 61 55 57 54 46 47 45 33 37 35 |
941 | 10 10 10 86 86 86 38 38 38 10 10 10 | 940 | 27 29 28 20 24 24 17 21 21 16 20 20 16 20 20 15 19 19 |
942 | 0 0 0 0 0 0 0 0 0 0 0 0 | 941 | 15 19 19 15 19 19 14 18 18 14 17 17 13 16 16 12 15 15 |
943 | 0 0 0 0 0 0 0 0 0 0 0 0 | 942 | 11 14 14 10 13 13 9 12 12 8 10 10 7 9 9 6 7 7 |
944 | 0 0 0 0 0 0 0 0 0 0 0 0 | 943 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
945 | 0 0 0 0 0 0 0 0 0 0 0 0 | 944 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
946 | 0 0 0 0 0 0 0 0 0 0 0 0 | 945 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
947 | 0 0 0 0 0 0 0 0 0 0 0 0 | 946 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
948 | 0 0 0 0 0 0 0 0 0 0 0 0 | 947 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
949 | 10 10 10 26 26 26 66 66 66 82 82 82 | 948 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
950 | 2 2 6 22 22 22 18 18 18 2 2 6 | 949 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
951 | 149 149 149 253 253 253 253 253 253 253 253 253 | 950 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
952 | 253 253 253 253 253 253 253 253 253 253 253 253 | 951 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
953 | 253 253 253 253 253 253 234 234 234 242 242 242 | 952 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
954 | 253 253 253 253 253 253 253 253 253 253 253 253 | 953 | 0 0 0 |
955 | 253 253 253 253 253 253 253 253 253 253 253 253 | 954 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
956 | 253 253 253 253 253 253 253 253 253 253 253 253 | 955 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
957 | 253 253 253 253 253 253 253 253 253 253 253 253 | 956 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
958 | 253 253 253 253 253 253 206 206 206 2 2 6 | 957 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
959 | 2 2 6 2 2 6 2 2 6 38 38 38 | 958 | 0 0 0 0 0 0 0 0 0 53 55 47 230 229 82 230 229 82 |
960 | 2 2 6 2 2 6 2 2 6 2 2 6 | 959 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
961 | 6 6 6 86 86 86 46 46 46 14 14 14 | 960 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
962 | 0 0 0 0 0 0 0 0 0 0 0 0 | 961 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
963 | 0 0 0 0 0 0 0 0 0 0 0 0 | 962 | 161 156 96 118 116 76 53 55 47 10 13 13 12 15 15 14 17 17 |
964 | 0 0 0 0 0 0 0 0 0 0 0 0 | 963 | 17 20 20 20 24 24 27 29 28 32 34 33 37 39 37 40 43 41 |
965 | 0 0 0 0 0 0 0 0 0 0 0 0 | 964 | 43 45 43 41 42 42 35 37 36 30 32 31 28 31 30 23 27 26 |
966 | 0 0 0 0 0 0 0 0 0 0 0 0 | 965 | 20 23 23 17 21 21 16 20 20 16 20 20 16 20 20 16 19 19 |
967 | 0 0 0 0 0 0 0 0 0 0 0 0 | 966 | 15 19 19 15 19 19 14 18 18 14 17 17 13 16 16 12 15 15 |
968 | 0 0 0 0 0 0 0 0 0 6 6 6 | 967 | 11 14 14 10 13 13 9 12 12 9 11 11 8 10 10 10 12 12 |
969 | 18 18 18 46 46 46 86 86 86 18 18 18 | 968 | 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
970 | 2 2 6 34 34 34 10 10 10 6 6 6 | 969 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
971 | 210 210 210 253 253 253 253 253 253 253 253 253 | 970 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
972 | 253 253 253 253 253 253 253 253 253 253 253 253 | 971 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
973 | 253 253 253 253 253 253 234 234 234 242 242 242 | 972 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
974 | 253 253 253 253 253 253 253 253 253 253 253 253 | 973 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
975 | 253 253 253 253 253 253 253 253 253 253 253 253 | 974 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
976 | 253 253 253 253 253 253 253 253 253 253 253 253 | 975 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
977 | 253 253 253 253 253 253 253 253 253 253 253 253 | 976 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
978 | 253 253 253 253 253 253 221 221 221 6 6 6 | 977 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
979 | 2 2 6 2 2 6 6 6 6 30 30 30 | 978 | 0 0 0 |
980 | 2 2 6 2 2 6 2 2 6 2 2 6 | 979 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
981 | 2 2 6 82 82 82 54 54 54 18 18 18 | 980 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
982 | 6 6 6 0 0 0 0 0 0 0 0 0 | 981 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
983 | 0 0 0 0 0 0 0 0 0 0 0 0 | 982 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
984 | 0 0 0 0 0 0 0 0 0 0 0 0 | 983 | 0 0 0 0 0 0 0 0 0 82 81 62 230 229 82 230 229 82 |
985 | 0 0 0 0 0 0 0 0 0 0 0 0 | 984 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
986 | 0 0 0 0 0 0 0 0 0 0 0 0 | 985 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
987 | 0 0 0 0 0 0 0 0 0 0 0 0 | 986 | 230 229 82 230 229 82 230 229 82 230 229 82 161 156 96 161 156 96 |
988 | 0 0 0 0 0 0 0 0 0 10 10 10 | 987 | 118 116 76 82 81 62 13 14 12 10 13 13 12 15 15 13 17 17 |
989 | 26 26 26 66 66 66 62 62 62 2 2 6 | 988 | 15 19 19 16 20 20 20 23 23 20 24 24 23 27 26 26 28 27 |
990 | 2 2 6 38 38 38 10 10 10 26 26 26 | 989 | 26 28 27 26 28 27 23 27 26 18 22 22 20 23 23 17 21 21 |
991 | 238 238 238 253 253 253 253 253 253 253 253 253 | 990 | 17 21 21 16 20 20 16 20 20 16 20 20 16 20 20 16 19 19 |
992 | 253 253 253 253 253 253 253 253 253 253 253 253 | 991 | 15 19 19 15 19 19 15 18 18 14 17 17 13 17 17 13 16 16 |
993 | 253 253 253 253 253 253 231 231 231 238 238 238 | 992 | 12 15 15 12 14 14 12 14 14 12 14 14 12 14 14 23 24 24 |
994 | 253 253 253 253 253 253 253 253 253 253 253 253 | 993 | 6 8 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
995 | 253 253 253 253 253 253 253 253 253 253 253 253 | 994 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
996 | 253 253 253 253 253 253 253 253 253 253 253 253 | 995 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
997 | 253 253 253 253 253 253 253 253 253 253 253 253 | 996 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
998 | 253 253 253 253 253 253 231 231 231 6 6 6 | 997 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
999 | 2 2 6 2 2 6 10 10 10 30 30 30 | 998 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1000 | 2 2 6 2 2 6 2 2 6 2 2 6 | 999 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1001 | 2 2 6 66 66 66 58 58 58 22 22 22 | 1000 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1002 | 6 6 6 0 0 0 0 0 0 0 0 0 | 1001 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1003 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1002 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1004 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1003 | 0 0 0 |
1005 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1004 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1006 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1005 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1007 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1006 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1008 | 0 0 0 0 0 0 0 0 0 10 10 10 | 1007 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1009 | 38 38 38 78 78 78 6 6 6 2 2 6 | 1008 | 0 0 0 0 0 0 0 0 0 118 116 76 230 229 82 230 229 82 |
1010 | 2 2 6 46 46 46 14 14 14 42 42 42 | 1009 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
1011 | 246 246 246 253 253 253 253 253 253 253 253 253 | 1010 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
1012 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1011 | 230 229 82 230 229 82 230 229 82 161 156 96 161 156 96 118 116 76 |
1013 | 253 253 253 253 253 253 231 231 231 242 242 242 | 1012 | 71 71 57 13 14 12 9 12 12 10 13 13 12 15 15 13 17 17 |
1014 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1013 | 15 18 18 15 19 19 16 20 20 17 21 21 17 21 21 18 22 22 |
1015 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1014 | 18 22 22 18 22 22 17 21 21 16 19 19 15 18 18 14 18 18 |
1016 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1015 | 16 19 19 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1017 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1016 | 15 19 19 15 19 19 15 18 18 14 18 18 16 20 20 23 25 24 |
1018 | 253 253 253 253 253 253 234 234 234 10 10 10 | 1017 | 17 21 21 25 27 26 47 48 46 47 48 46 51 52 50 72 73 67 |
1019 | 2 2 6 2 2 6 22 22 22 14 14 14 | 1018 | 33 36 34 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1020 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1019 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1021 | 2 2 6 66 66 66 62 62 62 22 22 22 | 1020 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1022 | 6 6 6 0 0 0 0 0 0 0 0 0 | 1021 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1023 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1022 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1024 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1023 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1025 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1024 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1026 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1025 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1027 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1026 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1028 | 0 0 0 0 0 0 6 6 6 18 18 18 | 1027 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1029 | 50 50 50 74 74 74 2 2 6 2 2 6 | 1028 | 0 0 0 |
1030 | 14 14 14 70 70 70 34 34 34 62 62 62 | 1029 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1031 | 250 250 250 253 253 253 253 253 253 253 253 253 | 1030 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1032 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1031 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1033 | 253 253 253 253 253 253 231 231 231 246 246 246 | 1032 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1034 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1033 | 0 0 0 0 0 0 0 0 0 118 116 76 230 229 82 230 229 82 |
1035 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1034 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
1036 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1035 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
1037 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1036 | 230 229 82 230 229 82 161 156 96 118 116 76 118 116 76 46 47 43 |
1038 | 253 253 253 253 253 253 234 234 234 14 14 14 | 1037 | 9 11 11 9 11 11 10 12 12 11 13 13 12 15 15 14 17 17 |
1039 | 2 2 6 2 2 6 30 30 30 2 2 6 | 1038 | 15 18 18 15 19 19 16 20 20 16 20 20 16 20 20 16 20 20 |
1040 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1039 | 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1041 | 2 2 6 66 66 66 62 62 62 22 22 22 | 1040 | 15 19 19 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1042 | 6 6 6 0 0 0 0 0 0 0 0 0 | 1041 | 15 19 19 16 20 20 20 24 24 55 56 53 32 34 33 84 83 72 |
1043 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1042 | 90 89 73 110 109 94 110 109 94 105 104 92 110 109 94 110 109 94 |
1044 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1043 | 72 73 67 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1045 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1044 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1046 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1045 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1047 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1046 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1048 | 0 0 0 0 0 0 6 6 6 18 18 18 | 1047 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1049 | 54 54 54 62 62 62 2 2 6 2 2 6 | 1048 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1050 | 2 2 6 30 30 30 46 46 46 70 70 70 | 1049 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1051 | 250 250 250 253 253 253 253 253 253 253 253 253 | 1050 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1052 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1051 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1053 | 253 253 253 253 253 253 231 231 231 246 246 246 | 1052 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1054 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1053 | 0 0 0 |
1055 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1054 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1056 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1055 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1057 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1056 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1058 | 253 253 253 253 253 253 226 226 226 10 10 10 | 1057 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1059 | 2 2 6 6 6 6 30 30 30 2 2 6 | 1058 | 0 0 0 0 0 0 0 0 0 96 95 69 230 229 82 230 229 82 |
1060 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1059 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
1061 | 2 2 6 66 66 66 58 58 58 22 22 22 | 1060 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
1062 | 6 6 6 0 0 0 0 0 0 0 0 0 | 1061 | 230 229 82 161 156 96 118 116 76 82 81 62 16 17 12 9 11 11 |
1063 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1062 | 9 11 11 9 12 12 10 13 13 12 14 14 13 16 16 14 18 18 |
1064 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1063 | 15 19 19 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1065 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1064 | 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1066 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1065 | 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1067 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1066 | 16 19 19 33 36 34 99 98 80 156 151 111 145 141 105 184 179 149 |
1068 | 0 0 0 0 0 0 6 6 6 22 22 22 | 1067 | 168 163 120 184 179 149 177 172 135 156 151 111 145 141 105 110 109 94 |
1069 | 58 58 58 62 62 62 2 2 6 2 2 6 | 1068 | 90 89 73 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 |
1070 | 2 2 6 2 2 6 30 30 30 78 78 78 | 1069 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1071 | 250 250 250 253 253 253 253 253 253 253 253 253 | 1070 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1072 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1071 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1073 | 253 253 253 253 253 253 231 231 231 246 246 246 | 1072 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1074 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1073 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1075 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1074 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1076 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1075 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1077 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1076 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1078 | 253 253 253 253 253 253 206 206 206 2 2 6 | 1077 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1079 | 22 22 22 34 34 34 18 14 6 22 22 22 | 1078 | 0 0 0 |
1080 | 26 26 26 18 18 18 6 6 6 2 2 6 | 1079 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1081 | 2 2 6 82 82 82 54 54 54 18 18 18 | 1080 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1082 | 6 6 6 0 0 0 0 0 0 0 0 0 | 1081 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1083 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1082 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1084 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1083 | 0 0 0 0 0 0 0 0 0 71 71 57 230 229 82 230 229 82 |
1085 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1084 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 |
1086 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1085 | 230 229 82 161 156 96 230 229 82 230 229 82 230 229 82 161 156 96 |
1087 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1086 | 118 116 76 82 81 62 30 31 28 9 11 11 9 11 11 9 11 11 |
1088 | 0 0 0 0 0 0 6 6 6 26 26 26 | 1087 | 10 12 12 10 13 13 11 14 14 13 16 16 14 17 17 15 18 18 |
1089 | 62 62 62 106 106 106 74 54 14 185 133 11 | 1088 | 15 19 19 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1090 | 210 162 10 121 92 8 6 6 6 62 62 62 | 1089 | 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1091 | 238 238 238 253 253 253 253 253 253 253 253 253 | 1090 | 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1092 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1091 | 18 22 22 58 59 55 137 133 100 197 193 154 214 212 158 210 208 158 |
1093 | 253 253 253 253 253 253 231 231 231 246 246 246 | 1092 | 197 193 154 184 179 149 184 179 149 137 133 100 110 109 94 99 98 80 |
1094 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1093 | 84 83 72 10 10 9 0 0 0 0 0 0 0 0 0 0 0 0 |
1095 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1094 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1096 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1095 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1097 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1096 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1098 | 253 253 253 253 253 253 158 158 158 18 18 18 | 1097 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1099 | 14 14 14 2 2 6 2 2 6 2 2 6 | 1098 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1100 | 6 6 6 18 18 18 66 66 66 38 38 38 | 1099 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1101 | 6 6 6 94 94 94 50 50 50 18 18 18 | 1100 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1102 | 6 6 6 0 0 0 0 0 0 0 0 0 | 1101 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1103 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1102 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1104 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1103 | 0 0 0 |
1105 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1104 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1106 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1105 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1107 | 0 0 0 0 0 0 0 0 0 6 6 6 | 1106 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1108 | 10 10 10 10 10 10 18 18 18 38 38 38 | 1107 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1109 | 78 78 78 142 134 106 216 158 10 242 186 14 | 1108 | 0 0 0 0 0 0 0 0 0 16 17 12 230 229 82 230 229 82 |
1110 | 246 190 14 246 190 14 156 118 10 10 10 10 | 1109 | 230 229 82 230 229 82 230 229 82 230 229 82 230 229 82 161 156 96 |
1111 | 90 90 90 238 238 238 253 253 253 253 253 253 | 1110 | 161 156 96 161 156 96 161 156 96 161 156 96 118 116 76 71 71 57 |
1112 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1111 | 21 22 20 12 14 14 11 13 13 10 12 12 10 12 12 10 13 13 |
1113 | 253 253 253 253 253 253 231 231 231 250 250 250 | 1112 | 11 13 13 12 15 15 13 16 16 14 17 17 14 18 18 15 19 19 |
1114 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1113 | 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1115 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1114 | 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1116 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1115 | 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 17 21 21 |
1117 | 253 253 253 253 253 253 253 253 253 246 230 190 | 1116 | 23 27 26 84 83 72 184 179 149 251 251 187 210 208 158 184 179 149 |
1118 | 238 204 91 238 204 91 181 142 44 37 26 9 | 1117 | 184 179 149 156 151 111 110 109 94 84 83 72 63 64 60 51 52 50 |
1119 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1118 | 18 22 22 6 8 8 0 0 0 0 0 0 0 0 0 0 0 0 |
1120 | 2 2 6 2 2 6 38 38 38 46 46 46 | 1119 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1121 | 26 26 26 106 106 106 54 54 54 18 18 18 | 1120 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1122 | 6 6 6 0 0 0 0 0 0 0 0 0 | 1121 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1123 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1122 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1124 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1123 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1125 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1124 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1126 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1125 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1127 | 0 0 0 6 6 6 14 14 14 22 22 22 | 1126 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1128 | 30 30 30 38 38 38 50 50 50 70 70 70 | 1127 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1129 | 106 106 106 190 142 34 226 170 11 242 186 14 | 1128 | 0 0 0 |
1130 | 246 190 14 246 190 14 246 190 14 154 114 10 | 1129 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1131 | 6 6 6 74 74 74 226 226 226 253 253 253 | 1130 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1132 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1131 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1133 | 253 253 253 253 253 253 231 231 231 250 250 250 | 1132 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1134 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1133 | 0 0 0 0 0 0 0 0 0 0 0 0 118 116 76 230 229 82 |
1135 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1134 | 230 229 82 230 229 82 230 229 82 230 229 82 161 156 96 161 156 96 |
1136 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1135 | 161 156 96 161 156 96 118 116 76 53 55 47 20 23 22 16 19 19 |
1137 | 253 253 253 253 253 253 253 253 253 228 184 62 | 1136 | 13 16 16 12 15 15 12 14 14 11 14 14 11 14 14 11 14 14 |
1138 | 241 196 14 241 208 19 232 195 16 38 30 10 | 1137 | 12 15 15 13 16 16 14 17 17 15 19 19 16 20 20 17 21 21 |
1139 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1138 | 23 27 26 18 22 22 20 24 24 23 27 26 30 32 31 17 21 21 |
1140 | 2 2 6 6 6 6 30 30 30 26 26 26 | 1139 | 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1141 | 203 166 17 154 142 90 66 66 66 26 26 26 | 1140 | 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1142 | 6 6 6 0 0 0 0 0 0 0 0 0 | 1141 | 23 27 26 33 37 35 137 133 100 156 151 111 158 153 112 105 104 92 |
1143 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1142 | 105 104 92 68 70 65 39 40 39 18 22 22 12 14 14 12 15 15 |
1144 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1143 | 9 11 11 4 5 5 0 0 0 0 0 0 0 0 0 0 0 0 |
1145 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1144 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1146 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1145 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1147 | 6 6 6 18 18 18 38 38 38 58 58 58 | 1146 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1148 | 78 78 78 86 86 86 101 101 101 123 123 123 | 1147 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1149 | 175 146 61 210 150 10 234 174 13 246 186 14 | 1148 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1150 | 246 190 14 246 190 14 246 190 14 238 190 10 | 1149 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1151 | 102 78 10 2 2 6 46 46 46 198 198 198 | 1150 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1152 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1151 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1153 | 253 253 253 253 253 253 234 234 234 242 242 242 | 1152 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1154 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1153 | 0 0 0 |
1155 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1154 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1156 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1155 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1157 | 253 253 253 253 253 253 253 253 253 224 178 62 | 1156 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1158 | 242 186 14 241 196 14 210 166 10 22 18 6 | 1157 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1159 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1158 | 0 0 0 0 0 0 0 0 0 0 0 0 16 17 12 230 229 82 |
1160 | 2 2 6 2 2 6 6 6 6 121 92 8 | 1159 | 230 229 82 230 229 82 230 229 82 161 156 96 118 116 76 118 116 76 |
1161 | 238 202 15 232 195 16 82 82 82 34 34 34 | 1160 | 118 116 76 66 65 55 43 45 43 32 34 33 25 27 26 20 23 22 |
1162 | 10 10 10 0 0 0 0 0 0 0 0 0 | 1161 | 17 20 20 15 18 18 14 17 17 15 18 18 13 16 16 14 17 17 |
1163 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1162 | 14 18 18 16 20 20 32 34 33 55 57 54 58 59 55 72 73 67 |
1164 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1163 | 105 104 92 55 57 54 65 66 61 63 64 60 40 43 41 33 37 35 |
1165 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1164 | 41 42 42 20 24 24 16 20 20 16 20 20 16 20 20 16 20 20 |
1166 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1165 | 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1167 | 14 14 14 38 38 38 70 70 70 154 122 46 | 1166 | 17 21 21 26 28 27 30 32 31 35 37 36 68 70 65 39 40 39 |
1168 | 190 142 34 200 144 11 197 138 11 197 138 11 | 1167 | 23 27 26 15 18 18 13 16 16 11 14 14 9 12 12 8 10 10 |
1169 | 213 154 11 226 170 11 242 186 14 246 190 14 | 1168 | 7 9 9 6 7 7 0 0 0 0 0 0 0 0 0 0 0 0 |
1170 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1169 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1171 | 225 175 15 46 32 6 2 2 6 22 22 22 | 1170 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1172 | 158 158 158 250 250 250 253 253 253 253 253 253 | 1171 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1173 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1172 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1174 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1173 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1175 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1174 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1176 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1175 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1177 | 253 253 253 250 250 250 242 242 242 224 178 62 | 1176 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1178 | 239 182 13 236 186 11 213 154 11 46 32 6 | 1177 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1179 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1178 | 0 0 0 |
1180 | 2 2 6 2 2 6 61 42 6 225 175 15 | 1179 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1181 | 238 190 10 236 186 11 112 100 78 42 42 42 | 1180 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1182 | 14 14 14 0 0 0 0 0 0 0 0 0 | 1181 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1183 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1182 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1184 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1183 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36 38 35 |
1185 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1184 | 230 229 82 230 229 82 230 229 82 96 95 69 30 31 28 49 51 48 |
1186 | 0 0 0 0 0 0 0 0 0 6 6 6 | 1185 | 90 89 73 68 70 65 55 57 54 47 48 46 47 48 46 43 45 43 |
1187 | 22 22 22 54 54 54 154 122 46 213 154 11 | 1186 | 32 34 33 43 45 43 43 45 43 23 27 26 25 27 26 40 43 41 |
1188 | 226 170 11 230 174 11 226 170 11 226 170 11 | 1187 | 40 43 41 90 89 73 110 109 94 145 141 105 156 151 111 156 151 111 |
1189 | 236 178 12 242 186 14 246 190 14 246 190 14 | 1188 | 184 179 149 184 179 149 177 172 135 184 179 149 137 133 100 84 83 72 |
1190 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1189 | 105 104 92 63 64 60 49 51 48 47 48 46 28 31 30 18 22 22 |
1191 | 241 196 14 184 144 12 10 10 10 2 2 6 | 1190 | 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1192 | 6 6 6 116 116 116 242 242 242 253 253 253 | 1191 | 16 20 20 15 19 19 15 19 19 15 19 19 18 22 22 15 19 19 |
1193 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1192 | 13 16 16 12 15 15 11 14 14 10 13 13 9 12 12 9 11 11 |
1194 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1193 | 8 10 10 6 8 8 0 0 0 0 0 0 0 0 0 0 0 0 |
1195 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1194 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1196 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1195 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1197 | 253 253 253 231 231 231 198 198 198 214 170 54 | 1196 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1198 | 236 178 12 236 178 12 210 150 10 137 92 6 | 1197 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1199 | 18 14 6 2 2 6 2 2 6 2 2 6 | 1198 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1200 | 6 6 6 70 47 6 200 144 11 236 178 12 | 1199 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1201 | 239 182 13 239 182 13 124 112 88 58 58 58 | 1200 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1202 | 22 22 22 6 6 6 0 0 0 0 0 0 | 1201 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1203 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1202 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1204 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1203 | 0 0 0 |
1205 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1204 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1206 | 0 0 0 0 0 0 0 0 0 10 10 10 | 1205 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1207 | 30 30 30 70 70 70 180 133 36 226 170 11 | 1206 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1208 | 239 182 13 242 186 14 242 186 14 246 186 14 | 1207 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1209 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1208 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1210 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1209 | 30 31 28 230 229 82 71 71 57 2 2 1 0 0 0 58 59 55 |
1211 | 246 190 14 232 195 16 98 70 6 2 2 6 | 1210 | 105 104 92 84 83 72 65 66 61 84 83 72 110 109 94 110 109 94 |
1212 | 2 2 6 2 2 6 66 66 66 221 221 221 | 1211 | 145 141 105 105 104 92 110 109 94 110 109 94 84 83 72 110 109 94 |
1213 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1212 | 158 153 112 197 193 154 197 193 154 239 239 170 251 251 187 251 251 187 |
1214 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1213 | 251 251 187 251 251 187 251 251 187 251 251 187 210 208 158 197 193 154 |
1215 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1214 | 197 193 154 184 179 149 145 141 105 137 133 100 105 104 92 47 48 46 |
1216 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1215 | 20 23 23 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1217 | 253 253 253 206 206 206 198 198 198 214 166 58 | 1216 | 16 20 20 16 19 19 15 19 19 15 19 19 14 18 18 14 17 17 |
1218 | 230 174 11 230 174 11 216 158 10 192 133 9 | 1217 | 13 17 17 13 16 16 12 14 14 12 14 14 13 13 13 13 13 13 |
1219 | 163 110 8 116 81 8 102 78 10 116 81 8 | 1218 | 13 13 13 12 12 12 10 10 9 6 7 7 2 2 2 0 0 0 |
1220 | 167 114 7 197 138 11 226 170 11 239 182 13 | 1219 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1221 | 242 186 14 242 186 14 162 146 94 78 78 78 | 1220 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1222 | 34 34 34 14 14 14 6 6 6 0 0 0 | 1221 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1223 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1222 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1224 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1223 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1225 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1224 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1226 | 0 0 0 0 0 0 0 0 0 6 6 6 | 1225 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1227 | 30 30 30 78 78 78 190 142 34 226 170 11 | 1226 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1228 | 239 182 13 246 190 14 246 190 14 246 190 14 | 1227 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1229 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1228 | 0 0 0 |
1230 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1229 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1231 | 246 190 14 241 196 14 203 166 17 22 18 6 | 1230 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1232 | 2 2 6 2 2 6 2 2 6 38 38 38 | 1231 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1233 | 218 218 218 253 253 253 253 253 253 253 253 253 | 1232 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1234 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1233 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1235 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1234 | 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 65 66 61 |
1236 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1235 | 105 104 92 84 83 72 84 83 72 110 109 94 184 179 149 210 208 158 |
1237 | 250 250 250 206 206 206 198 198 198 202 162 69 | 1236 | 210 208 158 210 208 158 214 212 158 197 193 154 214 212 158 210 208 158 |
1238 | 226 170 11 236 178 12 224 166 10 210 150 10 | 1237 | 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 |
1239 | 200 144 11 197 138 11 192 133 9 197 138 11 | 1238 | 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 |
1240 | 210 150 10 226 170 11 242 186 14 246 190 14 | 1239 | 251 251 187 251 251 187 239 239 170 251 251 187 184 179 149 84 83 72 |
1241 | 246 190 14 246 186 14 225 175 15 124 112 88 | 1240 | 26 28 27 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1242 | 62 62 62 30 30 30 14 14 14 6 6 6 | 1241 | 16 20 20 16 20 20 15 19 19 15 19 19 15 18 18 14 18 18 |
1243 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1242 | 13 17 17 13 16 16 15 15 15 14 14 13 14 14 13 14 14 13 |
1244 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1243 | 13 13 13 13 13 13 12 12 12 12 12 12 12 12 12 3 4 4 |
1245 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1244 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1246 | 0 0 0 0 0 0 0 0 0 10 10 10 | 1245 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1247 | 30 30 30 78 78 78 174 135 50 224 166 10 | 1246 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1248 | 239 182 13 246 190 14 246 190 14 246 190 14 | 1247 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1249 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1248 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1250 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1249 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1251 | 246 190 14 246 190 14 241 196 14 139 102 15 | 1250 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1252 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1251 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1253 | 78 78 78 250 250 250 253 253 253 253 253 253 | 1252 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1254 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1253 | 0 0 0 |
1255 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1254 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1256 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1255 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1257 | 250 250 250 214 214 214 198 198 198 190 150 46 | 1256 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1258 | 219 162 10 236 178 12 234 174 13 224 166 10 | 1257 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1259 | 216 158 10 213 154 11 213 154 11 216 158 10 | 1258 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1260 | 226 170 11 239 182 13 246 190 14 246 190 14 | 1259 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 72 73 67 |
1261 | 246 190 14 246 190 14 242 186 14 206 162 42 | 1260 | 105 104 92 99 98 80 84 83 72 99 98 80 177 172 135 197 193 154 |
1262 | 101 101 101 58 58 58 30 30 30 14 14 14 | 1261 | 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 |
1263 | 6 6 6 0 0 0 0 0 0 0 0 0 | 1262 | 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 |
1264 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1263 | 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 |
1265 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1264 | 251 251 187 251 251 187 251 251 187 214 212 158 197 193 154 99 98 80 |
1266 | 0 0 0 0 0 0 0 0 0 10 10 10 | 1265 | 23 27 26 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1267 | 30 30 30 74 74 74 174 135 50 216 158 10 | 1266 | 16 20 20 16 20 20 15 19 19 15 19 19 15 18 18 14 18 18 |
1268 | 236 178 12 246 190 14 246 190 14 246 190 14 | 1267 | 14 17 17 16 16 16 16 16 16 16 16 16 15 15 15 14 14 13 |
1269 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1268 | 14 14 13 13 13 13 13 13 13 12 12 12 12 12 12 12 12 12 |
1270 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1269 | 3 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1271 | 246 190 14 246 190 14 241 196 14 226 184 13 | 1270 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1272 | 61 42 6 2 2 6 2 2 6 2 2 6 | 1271 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1273 | 22 22 22 238 238 238 253 253 253 253 253 253 | 1272 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1274 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1273 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1275 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1274 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1276 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1275 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1277 | 253 253 253 226 226 226 187 187 187 180 133 36 | 1276 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1278 | 216 158 10 236 178 12 239 182 13 236 178 12 | 1277 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1279 | 230 174 11 226 170 11 226 170 11 230 174 11 | 1278 | 0 0 0 |
1280 | 236 178 12 242 186 14 246 190 14 246 190 14 | 1279 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1281 | 246 190 14 246 190 14 246 186 14 239 182 13 | 1280 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1282 | 206 162 42 106 106 106 66 66 66 34 34 34 | 1281 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1283 | 14 14 14 6 6 6 0 0 0 0 0 0 | 1282 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1284 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1283 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1285 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1284 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 84 83 72 |
1286 | 0 0 0 0 0 0 0 0 0 6 6 6 | 1285 | 110 109 94 99 98 80 72 73 67 63 64 60 99 98 80 177 172 135 |
1287 | 26 26 26 70 70 70 163 133 67 213 154 11 | 1286 | 184 179 149 210 208 158 251 251 187 251 251 187 251 251 187 251 251 187 |
1288 | 236 178 12 246 190 14 246 190 14 246 190 14 | 1287 | 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 |
1289 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1288 | 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 |
1290 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1289 | 251 251 187 210 208 158 184 179 149 177 172 135 110 109 94 33 37 35 |
1291 | 246 190 14 246 190 14 246 190 14 241 196 14 | 1290 | 17 21 21 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1292 | 190 146 13 18 14 6 2 2 6 2 2 6 | 1291 | 16 20 20 16 20 20 15 19 19 15 19 19 15 19 19 14 18 18 |
1293 | 46 46 46 246 246 246 253 253 253 253 253 253 | 1292 | 15 18 18 18 19 18 18 19 18 17 17 17 16 16 16 15 15 15 |
1294 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1293 | 14 14 13 13 13 13 13 13 13 12 12 12 12 12 12 12 12 12 |
1295 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1294 | 10 10 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1296 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1295 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1297 | 253 253 253 221 221 221 86 86 86 156 107 11 | 1296 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1298 | 216 158 10 236 178 12 242 186 14 246 186 14 | 1297 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1299 | 242 186 14 239 182 13 239 182 13 242 186 14 | 1298 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1300 | 242 186 14 246 186 14 246 190 14 246 190 14 | 1299 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1301 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1300 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1302 | 242 186 14 225 175 15 142 122 72 66 66 66 | 1301 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1303 | 30 30 30 10 10 10 0 0 0 0 0 0 | 1302 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1304 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1303 | 0 0 0 |
1305 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1304 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1306 | 0 0 0 0 0 0 0 0 0 6 6 6 | 1305 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1307 | 26 26 26 70 70 70 163 133 67 210 150 10 | 1306 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1308 | 236 178 12 246 190 14 246 190 14 246 190 14 | 1307 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1309 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1308 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1310 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1309 | 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 105 104 92 |
1311 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1310 | 108 107 93 99 98 80 72 73 67 63 64 60 51 52 50 87 86 72 |
1312 | 232 195 16 121 92 8 34 34 34 106 106 106 | 1311 | 105 104 92 110 109 94 108 107 93 156 151 111 184 179 149 184 179 149 |
1313 | 221 221 221 253 253 253 253 253 253 253 253 253 | 1312 | 197 193 154 197 193 154 197 193 154 184 179 149 184 179 149 177 172 135 |
1314 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1313 | 197 193 154 156 151 111 177 172 135 184 179 149 168 163 120 137 133 100 |
1315 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1314 | 145 141 105 110 109 94 99 98 80 47 48 46 55 57 54 15 19 19 |
1316 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1315 | 16 19 19 16 20 20 16 20 20 16 20 20 16 20 20 16 20 20 |
1317 | 242 242 242 82 82 82 18 14 6 163 110 8 | 1316 | 17 20 20 17 21 21 16 20 20 16 19 19 15 19 19 16 19 19 |
1318 | 216 158 10 236 178 12 242 186 14 246 190 14 | 1317 | 20 20 20 21 22 21 20 20 20 19 20 19 18 19 18 16 16 16 |
1319 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1318 | 15 15 15 14 14 13 13 13 13 13 13 13 12 12 12 12 12 12 |
1320 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1319 | 12 12 12 4 5 5 0 0 0 0 0 0 0 0 0 0 0 0 |
1321 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1320 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1322 | 246 190 14 246 190 14 242 186 14 163 133 67 | 1321 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1323 | 46 46 46 18 18 18 6 6 6 0 0 0 | 1322 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1324 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1323 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1325 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1324 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1326 | 0 0 0 0 0 0 0 0 0 10 10 10 | 1325 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1327 | 30 30 30 78 78 78 163 133 67 210 150 10 | 1326 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1328 | 236 178 12 246 186 14 246 190 14 246 190 14 | 1327 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1329 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1328 | 0 0 0 |
1330 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1329 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1331 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1330 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1332 | 241 196 14 215 174 15 190 178 144 253 253 253 | 1331 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1333 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1332 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1334 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1333 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1335 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1334 | 0 0 0 0 0 0 0 0 0 0 0 0 58 59 55 110 109 94 |
1336 | 253 253 253 253 253 253 253 253 253 218 218 218 | 1335 | 105 104 92 90 89 73 72 73 67 55 57 54 43 45 43 39 40 39 |
1337 | 58 58 58 2 2 6 22 18 6 167 114 7 | 1336 | 43 45 43 46 47 45 43 45 43 68 70 65 65 66 61 63 64 60 |
1338 | 216 158 10 236 178 12 246 186 14 246 190 14 | 1337 | 108 107 93 72 73 67 105 104 92 90 89 73 72 73 67 40 43 41 |
1339 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1338 | 72 73 67 68 70 65 68 70 65 58 59 55 63 64 60 49 51 48 |
1340 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1339 | 43 45 43 33 36 34 27 30 29 20 24 24 16 20 20 15 19 19 |
1341 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1340 | 15 19 19 15 19 19 15 19 19 16 19 19 16 20 20 16 20 20 |
1342 | 246 190 14 246 186 14 242 186 14 190 150 46 | 1341 | 17 21 21 20 24 24 20 23 22 17 21 21 17 20 20 20 20 20 |
1343 | 54 54 54 22 22 22 6 6 6 0 0 0 | 1342 | 21 22 21 21 22 21 21 22 21 21 22 21 20 20 20 18 19 18 |
1344 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1343 | 16 16 16 15 15 15 13 13 13 13 13 13 12 12 12 12 12 12 |
1345 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1344 | 12 12 12 10 10 9 0 0 0 0 0 0 0 0 0 0 0 0 |
1346 | 0 0 0 0 0 0 0 0 0 14 14 14 | 1345 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1347 | 38 38 38 86 86 86 180 133 36 213 154 11 | 1346 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1348 | 236 178 12 246 186 14 246 190 14 246 190 14 | 1347 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1349 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1348 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1350 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1349 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1351 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1350 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1352 | 246 190 14 232 195 16 190 146 13 214 214 214 | 1351 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1353 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1352 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1354 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1353 | 0 0 0 |
1355 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1354 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1356 | 253 253 253 250 250 250 170 170 170 26 26 26 | 1355 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1357 | 2 2 6 2 2 6 37 26 9 163 110 8 | 1356 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1358 | 219 162 10 239 182 13 246 186 14 246 190 14 | 1357 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1359 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1358 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1360 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1359 | 0 0 0 0 0 0 0 0 0 21 22 21 110 109 94 110 109 94 |
1361 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1360 | 105 104 92 84 83 72 68 70 65 51 52 50 41 42 42 33 37 35 |
1362 | 246 186 14 236 178 12 224 166 10 142 122 72 | 1361 | 28 31 30 23 27 26 20 23 23 18 22 22 17 20 20 25 27 26 |
1363 | 46 46 46 18 18 18 6 6 6 0 0 0 | 1362 | 26 28 27 27 30 29 25 27 26 20 23 23 23 27 26 30 32 31 |
1364 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1363 | 20 24 24 17 21 21 18 22 22 15 19 19 26 28 27 20 23 23 |
1365 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1364 | 14 18 18 15 19 19 15 18 18 15 19 19 15 19 19 15 19 19 |
1366 | 0 0 0 0 0 0 6 6 6 18 18 18 | 1365 | 15 19 19 15 19 19 15 19 19 15 19 19 15 19 19 16 19 19 |
1367 | 50 50 50 109 106 95 192 133 9 224 166 10 | 1366 | 16 20 20 22 24 23 24 26 24 22 24 23 20 23 22 22 24 23 |
1368 | 242 186 14 246 190 14 246 190 14 246 190 14 | 1367 | 24 26 24 24 26 24 23 24 24 22 24 23 21 22 21 19 20 19 |
1369 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1368 | 17 17 17 15 15 15 14 14 13 13 13 13 12 12 12 12 12 12 |
1370 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1369 | 12 12 12 12 12 12 2 2 2 0 0 0 0 0 0 0 0 0 |
1371 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1370 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1372 | 242 186 14 226 184 13 210 162 10 142 110 46 | 1371 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1373 | 226 226 226 253 253 253 253 253 253 253 253 253 | 1372 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1374 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1373 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1375 | 253 253 253 253 253 253 253 253 253 253 253 253 | 1374 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1376 | 198 198 198 66 66 66 2 2 6 2 2 6 | 1375 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1377 | 2 2 6 2 2 6 50 34 6 156 107 11 | 1376 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1378 | 219 162 10 239 182 13 246 186 14 246 190 14 | 1377 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1379 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1378 | 0 0 0 |
1380 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1379 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1381 | 246 190 14 246 190 14 246 190 14 242 186 14 | 1380 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1382 | 234 174 13 213 154 11 154 122 46 66 66 66 | 1381 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1383 | 30 30 30 10 10 10 0 0 0 0 0 0 | 1382 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1384 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1383 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1385 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1384 | 0 0 0 0 0 0 2 2 2 99 98 80 110 109 94 108 107 93 |
1386 | 0 0 0 0 0 0 6 6 6 22 22 22 | 1385 | 105 104 92 84 83 72 63 64 60 49 51 48 39 40 39 32 34 33 |
1387 | 58 58 58 154 121 60 206 145 10 234 174 13 | 1386 | 27 30 29 23 25 24 20 23 23 17 20 20 15 19 19 14 18 18 |
1388 | 242 186 14 246 186 14 246 190 14 246 190 14 | 1387 | 14 17 17 13 17 17 13 17 17 13 17 17 13 17 17 13 17 17 |
1389 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1388 | 14 17 17 14 17 17 14 17 17 14 17 17 14 17 17 14 17 17 |
1390 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1389 | 14 18 18 14 18 18 14 18 18 14 18 18 15 18 18 15 19 19 |
1391 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1390 | 15 19 19 15 19 19 15 19 19 15 19 19 15 19 19 15 19 19 |
1392 | 246 186 14 236 178 12 210 162 10 163 110 8 | 1391 | 15 19 19 17 21 21 27 29 28 26 28 27 25 27 26 25 27 26 |
1393 | 61 42 6 138 138 138 218 218 218 250 250 250 | 1392 | 27 29 28 27 29 28 26 28 27 24 26 24 21 22 21 20 20 20 |
1394 | 253 253 253 253 253 253 253 253 253 250 250 250 | 1393 | 18 19 18 16 16 16 14 14 13 13 13 13 12 12 12 12 12 12 |
1395 | 242 242 242 210 210 210 144 144 144 66 66 66 | 1394 | 12 12 12 12 12 12 4 5 5 0 0 0 0 0 0 0 0 0 |
1396 | 6 6 6 2 2 6 2 2 6 2 2 6 | 1395 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1397 | 2 2 6 2 2 6 61 42 6 163 110 8 | 1396 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1398 | 216 158 10 236 178 12 246 190 14 246 190 14 | 1397 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1399 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1398 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1400 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1399 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1401 | 246 190 14 239 182 13 230 174 11 216 158 10 | 1400 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1402 | 190 142 34 124 112 88 70 70 70 38 38 38 | 1401 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1403 | 18 18 18 6 6 6 0 0 0 0 0 0 | 1402 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1404 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1403 | 0 0 0 |
1405 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1404 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1406 | 0 0 0 0 0 0 6 6 6 22 22 22 | 1405 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1407 | 62 62 62 168 124 44 206 145 10 224 166 10 | 1406 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1408 | 236 178 12 239 182 13 242 186 14 242 186 14 | 1407 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1409 | 246 186 14 246 190 14 246 190 14 246 190 14 | 1408 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1410 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1409 | 0 0 0 0 0 0 51 52 50 110 109 94 110 109 94 105 104 92 |
1411 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1410 | 90 89 73 72 73 67 55 57 54 43 45 43 35 37 36 30 32 31 |
1412 | 246 190 14 236 178 12 216 158 10 175 118 6 | 1411 | 26 28 27 20 24 24 17 21 21 16 19 19 15 18 18 14 17 17 |
1413 | 80 54 7 2 2 6 6 6 6 30 30 30 | 1412 | 13 16 16 13 16 16 13 16 16 13 16 16 13 16 16 13 16 16 |
1414 | 54 54 54 62 62 62 50 50 50 38 38 38 | 1413 | 13 16 16 13 16 16 13 16 16 13 17 17 13 17 17 14 17 17 |
1415 | 14 14 14 2 2 6 2 2 6 2 2 6 | 1414 | 14 17 17 14 17 17 14 17 17 14 18 18 14 18 18 14 18 18 |
1416 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1415 | 15 18 18 15 18 18 15 19 19 15 19 19 15 19 19 15 19 19 |
1417 | 2 2 6 6 6 6 80 54 7 167 114 7 | 1416 | 15 19 19 15 19 19 27 29 28 32 34 33 28 31 30 27 29 28 |
1418 | 213 154 11 236 178 12 246 190 14 246 190 14 | 1417 | 30 32 31 30 32 31 30 31 28 26 28 27 23 24 24 21 22 21 |
1419 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1418 | 19 20 19 16 16 16 14 14 13 13 13 13 12 12 12 12 12 12 |
1420 | 246 190 14 242 186 14 239 182 13 239 182 13 | 1419 | 12 12 12 12 12 12 6 7 7 0 0 0 0 0 0 0 0 0 |
1421 | 230 174 11 210 150 10 174 135 50 124 112 88 | 1420 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1422 | 82 82 82 54 54 54 34 34 34 18 18 18 | 1421 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1423 | 6 6 6 0 0 0 0 0 0 0 0 0 | 1422 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1424 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1423 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1425 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1424 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1426 | 0 0 0 0 0 0 6 6 6 18 18 18 | 1425 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1427 | 50 50 50 158 118 36 192 133 9 200 144 11 | 1426 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1428 | 216 158 10 219 162 10 224 166 10 226 170 11 | 1427 | 0 0 0 0 0 0 0 0 0 3 3 3 0 0 0 0 0 0 |
1429 | 230 174 11 236 178 12 239 182 13 239 182 13 | 1428 | 0 0 0 |
1430 | 242 186 14 246 186 14 246 190 14 246 190 14 | 1429 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1431 | 246 190 14 246 190 14 246 190 14 246 190 14 | 1430 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1432 | 246 186 14 230 174 11 210 150 10 163 110 8 | 1431 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1433 | 104 69 6 10 10 10 2 2 6 2 2 6 | 1432 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1434 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1433 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1435 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1434 | 0 0 0 10 10 9 108 107 93 110 109 94 108 107 93 99 98 80 |
1436 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1435 | 84 83 72 63 64 60 49 51 48 40 43 41 33 36 34 27 30 29 |
1437 | 2 2 6 6 6 6 91 60 6 167 114 7 | 1436 | 23 27 26 18 22 22 17 20 20 15 18 18 14 17 17 13 16 16 |
1438 | 206 145 10 230 174 11 242 186 14 246 190 14 | 1437 | 13 16 16 13 16 16 12 15 15 12 15 15 12 15 15 12 15 15 |
1439 | 246 190 14 246 190 14 246 186 14 242 186 14 | 1438 | 13 16 16 13 16 16 13 16 16 13 16 16 13 16 16 13 16 16 |
1440 | 239 182 13 230 174 11 224 166 10 213 154 11 | 1439 | 13 17 17 13 17 17 14 17 17 14 17 17 14 17 17 14 18 18 |
1441 | 180 133 36 124 112 88 86 86 86 58 58 58 | 1440 | 14 18 18 14 18 18 15 18 18 15 18 18 15 19 19 15 19 19 |
1442 | 38 38 38 22 22 22 10 10 10 6 6 6 | 1441 | 15 19 19 15 19 19 17 21 21 33 36 34 32 34 33 31 33 31 |
1443 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1442 | 33 36 34 33 36 34 31 33 31 27 29 28 25 27 26 21 22 21 |
1444 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1443 | 19 20 19 17 17 17 15 15 15 13 13 13 12 12 12 12 12 12 |
1445 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1444 | 12 12 12 12 12 12 8 8 7 0 0 0 0 0 0 0 0 0 |
1446 | 0 0 0 0 0 0 0 0 0 14 14 14 | 1445 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1447 | 34 34 34 70 70 70 138 110 50 158 118 36 | 1446 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1448 | 167 114 7 180 123 7 192 133 9 197 138 11 | 1447 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1449 | 200 144 11 206 145 10 213 154 11 219 162 10 | 1448 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1450 | 224 166 10 230 174 11 239 182 13 242 186 14 | 1449 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1451 | 246 186 14 246 186 14 246 186 14 246 186 14 | 1450 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1452 | 239 182 13 216 158 10 185 133 11 152 99 6 | 1451 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1453 | 104 69 6 18 14 6 2 2 6 2 2 6 | 1452 | 0 0 0 0 0 0 63 64 60 137 133 100 43 45 43 0 0 0 |
1454 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1453 | 0 0 0 |
1455 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1454 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1456 | 2 2 6 2 2 6 2 2 6 2 2 6 | 1455 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1457 | 2 2 6 6 6 6 80 54 7 152 99 6 | 1456 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1458 | 192 133 9 219 162 10 236 178 12 239 182 13 | 1457 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1459 | 246 186 14 242 186 14 239 182 13 236 178 12 | 1458 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1460 | 224 166 10 206 145 10 192 133 9 154 121 60 | 1459 | 0 0 0 68 70 65 110 109 94 110 109 94 105 104 92 84 83 72 |
1461 | 94 94 94 62 62 62 42 42 42 22 22 22 | 1460 | 68 70 65 55 57 54 43 45 43 35 37 36 30 32 31 26 28 27 |
1462 | 14 14 14 6 6 6 0 0 0 0 0 0 | 1461 | 20 24 24 17 21 21 16 19 19 14 17 17 13 16 16 12 15 15 |
1463 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1462 | 12 15 15 12 15 15 12 15 15 12 15 15 12 15 15 12 15 15 |
1464 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1463 | 12 15 15 12 15 15 12 15 15 12 15 15 12 15 15 13 16 16 |
1465 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1464 | 13 16 16 13 16 16 13 16 16 13 17 17 13 17 17 14 17 17 |
1466 | 0 0 0 0 0 0 0 0 0 6 6 6 | 1465 | 14 17 17 14 17 17 14 18 18 14 18 18 14 18 18 15 18 18 |
1467 | 18 18 18 34 34 34 58 58 58 78 78 78 | 1466 | 15 19 19 15 19 19 15 19 19 20 24 24 32 34 33 35 37 36 |
1468 | 101 98 89 124 112 88 142 110 46 156 107 11 | 1467 | 37 39 37 35 37 36 33 36 34 30 32 31 26 28 27 22 24 23 |
1469 | 163 110 8 167 114 7 175 118 6 180 123 7 | 1468 | 20 20 20 17 17 17 15 15 15 13 13 13 12 12 12 12 12 12 |
1470 | 185 133 11 197 138 11 210 150 10 219 162 10 | 1469 | 12 12 12 12 12 12 8 8 7 0 0 0 0 0 0 0 0 0 |
1471 | 226 170 11 236 178 12 236 178 12 234 174 13 | 1470 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1472 | 219 162 10 197 138 11 163 110 8 130 83 6 | 1471 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1473 | 91 60 6 10 10 10 2 2 6 2 2 6 | 1472 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1474 | 18 18 18 38 38 38 38 38 38 38 38 38 | 1473 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1475 | 38 38 38 38 38 38 38 38 38 38 38 38 | 1474 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1476 | 38 38 38 38 38 38 26 26 26 2 2 6 | 1475 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1477 | 2 2 6 6 6 6 70 47 6 137 92 6 | 1476 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1478 | 175 118 6 200 144 11 219 162 10 230 174 11 | 1477 | 1 1 1 99 98 80 184 179 149 184 179 149 68 70 65 0 0 0 |
1479 | 234 174 13 230 174 11 219 162 10 210 150 10 | 1478 | 0 0 0 |
1480 | 192 133 9 163 110 8 124 112 88 82 82 82 | 1479 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1481 | 50 50 50 30 30 30 14 14 14 6 6 6 | 1480 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1482 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1481 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1483 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1482 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1484 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1483 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1485 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1484 | 15 15 15 110 109 94 110 109 94 108 107 93 99 98 80 72 73 67 |
1486 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1485 | 61 63 57 49 51 48 39 40 39 33 36 34 27 30 29 23 25 24 |
1487 | 6 6 6 14 14 14 22 22 22 34 34 34 | 1486 | 18 22 22 16 19 19 14 17 17 13 16 16 12 15 15 12 15 15 |
1488 | 42 42 42 58 58 58 74 74 74 86 86 86 | 1487 | 11 14 14 11 14 14 11 14 14 11 14 14 11 14 14 11 14 14 |
1489 | 101 98 89 122 102 70 130 98 46 121 87 25 | 1488 | 11 14 14 11 14 14 12 14 14 12 15 15 12 15 15 12 15 15 |
1490 | 137 92 6 152 99 6 163 110 8 180 123 7 | 1489 | 12 15 15 13 16 16 13 16 16 13 16 16 13 16 16 13 16 16 |
1491 | 185 133 11 197 138 11 206 145 10 200 144 11 | 1490 | 13 17 17 14 17 17 14 17 17 14 17 17 14 18 18 14 18 18 |
1492 | 180 123 7 156 107 11 130 83 6 104 69 6 | 1491 | 14 18 18 15 18 18 15 19 19 15 19 19 30 32 31 38 39 37 |
1493 | 50 34 6 54 54 54 110 110 110 101 98 89 | 1492 | 39 40 39 39 40 39 35 37 36 31 33 31 27 29 28 22 24 23 |
1494 | 86 86 86 82 82 82 78 78 78 78 78 78 | 1493 | 20 20 20 17 17 17 15 15 15 13 13 13 12 12 12 12 12 12 |
1495 | 78 78 78 78 78 78 78 78 78 78 78 78 | 1494 | 12 12 12 12 12 12 8 8 7 0 0 0 0 0 0 0 0 0 |
1496 | 78 78 78 82 82 82 86 86 86 94 94 94 | 1495 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1497 | 106 106 106 101 101 101 86 66 34 124 80 6 | 1496 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1498 | 156 107 11 180 123 7 192 133 9 200 144 11 | 1497 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1499 | 206 145 10 200 144 11 192 133 9 175 118 6 | 1498 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1500 | 139 102 15 109 106 95 70 70 70 42 42 42 | 1499 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1501 | 22 22 22 10 10 10 0 0 0 0 0 0 | 1500 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1502 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1501 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 3 3 |
1503 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1502 | 110 109 94 197 193 154 210 208 158 184 179 149 68 70 65 0 0 0 |
1504 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1503 | 0 0 0 |
1505 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1504 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1506 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1505 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1507 | 0 0 0 0 0 0 6 6 6 10 10 10 | 1506 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1508 | 14 14 14 22 22 22 30 30 30 38 38 38 | 1507 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1509 | 50 50 50 62 62 62 74 74 74 90 90 90 | 1508 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1510 | 101 98 89 112 100 78 121 87 25 124 80 6 | 1509 | 68 70 65 110 109 94 110 109 94 105 104 92 84 83 72 65 66 61 |
1511 | 137 92 6 152 99 6 152 99 6 152 99 6 | 1510 | 51 52 50 43 45 43 35 37 36 30 32 31 25 27 26 20 23 23 |
1512 | 138 86 6 124 80 6 98 70 6 86 66 30 | 1511 | 17 20 20 15 18 18 13 16 16 12 15 15 12 15 15 11 14 14 |
1513 | 101 98 89 82 82 82 58 58 58 46 46 46 | 1512 | 11 14 14 11 14 14 11 13 13 11 13 13 11 13 13 11 13 13 |
1514 | 38 38 38 34 34 34 34 34 34 34 34 34 | 1513 | 11 14 14 11 14 14 11 14 14 11 14 14 11 14 14 11 14 14 |
1515 | 34 34 34 34 34 34 34 34 34 34 34 34 | 1514 | 12 15 15 12 15 15 12 15 15 12 15 15 13 16 16 13 16 16 |
1516 | 34 34 34 34 34 34 38 38 38 42 42 42 | 1515 | 13 16 16 13 16 16 13 17 17 13 17 17 14 17 17 14 17 17 |
1517 | 54 54 54 82 82 82 94 86 76 91 60 6 | 1516 | 14 18 18 14 18 18 14 18 18 16 19 19 37 39 37 41 42 42 |
1518 | 134 86 6 156 107 11 167 114 7 175 118 6 | 1517 | 41 42 42 41 42 42 38 39 37 32 34 33 27 29 28 23 24 24 |
1519 | 175 118 6 167 114 7 152 99 6 121 87 25 | 1518 | 21 22 21 17 17 17 15 15 15 13 13 13 12 12 12 12 12 12 |
1520 | 101 98 89 62 62 62 34 34 34 18 18 18 | 1519 | 12 12 12 12 12 12 8 8 7 0 0 0 0 0 0 0 0 0 |
1521 | 6 6 6 0 0 0 0 0 0 0 0 0 | 1520 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1522 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1521 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1523 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1522 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1524 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1523 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1525 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1524 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1526 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1525 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1527 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1526 | 0 0 0 0 0 0 0 0 0 0 0 0 11 11 11 137 133 100 |
1528 | 0 0 0 6 6 6 6 6 6 10 10 10 | 1527 | 197 193 154 251 251 187 239 239 170 184 179 149 31 33 31 0 0 0 |
1529 | 18 18 18 22 22 22 30 30 30 42 42 42 | 1528 | 0 0 0 |
1530 | 50 50 50 66 66 66 86 86 86 101 98 89 | 1529 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1531 | 106 86 58 98 70 6 104 69 6 104 69 6 | 1530 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1532 | 104 69 6 91 60 6 82 62 34 90 90 90 | 1531 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1533 | 62 62 62 38 38 38 22 22 22 14 14 14 | 1532 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1534 | 10 10 10 10 10 10 10 10 10 10 10 10 | 1533 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12 12 12 |
1535 | 10 10 10 10 10 10 6 6 6 10 10 10 | 1534 | 110 109 94 110 109 94 105 104 92 90 89 73 72 73 67 58 59 55 |
1536 | 10 10 10 10 10 10 10 10 10 14 14 14 | 1535 | 46 47 45 37 39 37 31 33 31 26 28 27 20 24 24 17 21 21 |
1537 | 22 22 22 42 42 42 70 70 70 89 81 66 | 1536 | 15 18 18 13 16 16 12 15 15 12 14 14 11 13 13 11 13 13 |
1538 | 80 54 7 104 69 6 124 80 6 137 92 6 | 1537 | 10 13 13 10 13 13 10 13 13 10 13 13 10 13 13 10 13 13 |
1539 | 134 86 6 116 81 8 100 82 52 86 86 86 | 1538 | 10 13 13 10 13 13 11 13 13 11 13 13 11 14 14 11 14 14 |
1540 | 58 58 58 30 30 30 14 14 14 6 6 6 | 1539 | 11 14 14 11 14 14 12 14 14 12 15 15 12 15 15 12 15 15 |
1541 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1540 | 13 16 16 13 16 16 13 16 16 13 16 16 13 17 17 13 17 17 |
1542 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1541 | 14 17 17 14 17 17 14 18 18 23 27 26 41 42 42 41 42 42 |
1543 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1542 | 43 45 43 41 42 42 39 40 39 33 36 34 27 29 28 23 24 24 |
1544 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1543 | 21 22 21 17 17 17 15 15 15 13 13 13 12 12 12 12 12 12 |
1545 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1544 | 12 12 12 12 12 12 6 7 7 0 0 0 0 0 0 0 0 0 |
1546 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1545 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1547 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1546 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1548 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1547 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1549 | 0 0 0 6 6 6 10 10 10 14 14 14 | 1548 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1550 | 18 18 18 26 26 26 38 38 38 54 54 54 | 1549 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1551 | 70 70 70 86 86 86 94 86 76 89 81 66 | 1550 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1552 | 89 81 66 86 86 86 74 74 74 50 50 50 | 1551 | 0 0 0 0 0 0 0 0 0 27 29 28 168 163 120 210 208 158 |
1553 | 30 30 30 14 14 14 6 6 6 0 0 0 | 1552 | 251 251 187 251 251 187 210 208 158 137 133 100 1 1 1 0 0 0 |
1554 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1553 | 0 0 0 |
1555 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1554 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1556 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1555 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1557 | 6 6 6 18 18 18 34 34 34 58 58 58 | 1556 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1558 | 82 82 82 89 81 66 89 81 66 89 81 66 | 1557 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1559 | 94 86 66 94 86 76 74 74 74 50 50 50 | 1558 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 60 60 56 |
1560 | 26 26 26 14 14 14 6 6 6 0 0 0 | 1559 | 110 109 94 105 104 92 105 104 92 84 83 72 65 66 61 51 52 50 |
1561 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1560 | 40 43 41 33 36 34 27 30 29 23 25 24 18 22 22 16 19 19 |
1562 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1561 | 14 17 17 12 15 15 11 14 14 11 14 14 10 13 13 10 13 13 |
1563 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1562 | 10 13 13 10 12 12 10 12 12 10 12 12 10 12 12 10 12 12 |
1564 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1563 | 10 12 12 10 12 12 10 13 13 10 13 13 10 13 13 11 13 13 |
1565 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1564 | 11 13 13 11 14 14 11 14 14 11 14 14 11 14 14 12 15 15 |
1566 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1565 | 12 15 15 12 15 15 12 15 15 13 16 16 13 16 16 13 16 16 |
1567 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1566 | 13 17 17 13 17 17 14 17 17 32 34 33 43 45 43 43 45 43 |
1568 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1567 | 43 45 43 43 45 43 39 40 39 33 36 34 27 29 28 23 24 24 |
1569 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1568 | 21 22 21 17 17 17 15 15 15 13 13 13 12 12 12 12 12 12 |
1570 | 6 6 6 6 6 6 14 14 14 18 18 18 | 1569 | 12 12 12 12 12 12 6 7 7 0 0 0 0 0 0 0 0 0 |
1571 | 30 30 30 38 38 38 46 46 46 54 54 54 | 1570 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1572 | 50 50 50 42 42 42 30 30 30 18 18 18 | 1571 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1573 | 10 10 10 0 0 0 0 0 0 0 0 0 | 1572 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1574 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1573 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1575 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1574 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1576 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1575 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1577 | 0 0 0 6 6 6 14 14 14 26 26 26 | 1576 | 0 0 0 1 1 1 68 70 65 184 179 149 210 208 158 251 251 187 |
1578 | 38 38 38 50 50 50 58 58 58 58 58 58 | 1577 | 251 251 187 214 212 158 184 179 149 37 39 37 0 0 0 0 0 0 |
1579 | 54 54 54 42 42 42 30 30 30 18 18 18 | 1578 | 0 0 0 |
1580 | 10 10 10 0 0 0 0 0 0 0 0 0 | 1579 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1581 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1580 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1582 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1581 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1583 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1582 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1584 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1583 | 0 0 0 0 0 0 0 0 0 0 0 0 6 7 7 105 104 92 |
1585 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1584 | 105 104 92 105 104 92 99 98 80 72 73 67 58 59 55 46 47 45 |
1586 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1585 | 35 37 36 30 32 31 25 27 26 20 23 23 16 19 19 14 17 17 |
1587 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1586 | 12 15 15 12 14 14 11 13 13 10 13 13 10 12 12 10 12 12 |
1588 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1587 | 10 12 12 10 12 12 9 12 12 9 12 12 9 12 12 9 12 12 |
1589 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1588 | 10 12 12 10 12 12 10 12 12 10 12 12 10 12 12 10 13 13 |
1590 | 0 0 0 0 0 0 0 0 0 6 6 6 | 1589 | 10 13 13 10 13 13 11 13 13 11 13 13 11 14 14 11 14 14 |
1591 | 6 6 6 10 10 10 14 14 14 18 18 18 | 1590 | 11 14 14 12 15 15 12 15 15 12 15 15 12 15 15 13 16 16 |
1592 | 18 18 18 14 14 14 10 10 10 6 6 6 | 1591 | 13 16 16 13 16 16 17 20 20 41 42 42 46 47 45 46 47 45 |
1593 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1592 | 46 47 45 43 45 43 40 41 39 33 36 34 27 29 28 23 24 24 |
1594 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1593 | 20 20 20 17 17 17 15 15 15 13 13 13 12 12 12 12 12 12 |
1595 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1594 | 12 12 12 12 12 12 4 5 5 0 0 0 0 0 0 0 0 0 |
1596 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1595 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1597 | 0 0 0 0 0 0 0 0 0 6 6 6 | 1596 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1598 | 14 14 14 18 18 18 22 22 22 22 22 22 | 1597 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1599 | 18 18 18 14 14 14 10 10 10 6 6 6 | 1598 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1600 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1599 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1601 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1600 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1602 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1601 | 15 15 15 110 109 94 197 193 154 214 212 158 251 251 187 251 251 187 |
1603 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1602 | 239 239 170 184 179 149 84 83 72 0 0 0 0 0 0 0 0 0 |
1604 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1603 | 0 0 0 |
1604 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1605 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1606 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1607 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1608 | 0 0 0 0 0 0 0 0 0 0 0 0 47 48 46 105 104 92 | ||
1609 | 105 104 92 99 98 80 84 83 72 68 70 65 51 52 50 40 43 41 | ||
1610 | 32 34 33 27 29 28 22 24 23 17 21 21 15 18 18 13 16 16 | ||
1611 | 12 15 15 11 13 13 10 13 13 10 12 12 9 12 12 9 12 12 | ||
1612 | 9 12 12 9 12 12 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1613 | 9 12 12 9 12 12 9 12 12 9 12 12 10 12 12 10 12 12 | ||
1614 | 10 12 12 10 12 12 10 13 13 10 13 13 10 13 13 11 13 13 | ||
1615 | 11 14 14 11 14 14 11 14 14 12 14 14 12 15 15 12 15 15 | ||
1616 | 12 15 15 13 16 16 28 31 30 43 45 43 47 48 46 47 48 46 | ||
1617 | 47 48 46 43 45 43 40 41 39 33 36 34 27 29 28 22 24 23 | ||
1618 | 20 20 20 17 17 17 15 15 15 13 13 13 12 12 12 12 12 12 | ||
1619 | 12 12 12 12 12 12 3 4 4 0 0 0 0 0 0 0 0 0 | ||
1620 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1621 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1622 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1623 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1624 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1625 | 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 60 60 56 | ||
1626 | 177 172 135 197 193 154 251 251 187 251 251 187 251 251 187 251 251 187 | ||
1627 | 184 179 149 110 109 94 3 4 4 0 0 0 0 0 0 0 0 0 | ||
1628 | 0 0 0 | ||
1629 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1630 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1631 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1632 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1633 | 0 0 0 0 0 0 0 0 0 1 1 1 99 98 80 105 104 92 | ||
1634 | 99 98 80 87 86 72 84 83 72 63 64 60 46 47 45 35 37 36 | ||
1635 | 30 32 31 25 27 26 18 22 22 16 19 19 14 17 17 12 15 15 | ||
1636 | 11 14 14 10 13 13 9 12 12 9 12 12 9 11 11 9 11 11 | ||
1637 | 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1638 | 9 11 11 9 11 11 9 11 11 9 11 11 9 12 12 9 12 12 | ||
1639 | 9 12 12 10 12 12 10 12 12 10 12 12 10 13 13 10 13 13 | ||
1640 | 10 13 13 11 13 13 11 14 14 11 14 14 11 14 14 12 15 15 | ||
1641 | 12 15 15 14 17 17 41 42 42 47 48 46 49 51 48 51 52 50 | ||
1642 | 47 48 46 43 45 43 40 41 39 33 36 34 27 29 28 22 24 23 | ||
1643 | 19 20 19 16 16 16 14 14 13 13 13 13 12 12 12 12 12 12 | ||
1644 | 12 12 12 12 12 12 2 2 2 0 0 0 0 0 0 0 0 0 | ||
1645 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1646 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1647 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1648 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1649 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1650 | 0 0 0 0 0 0 0 0 0 23 24 24 137 133 100 184 179 149 | ||
1651 | 210 208 158 251 251 187 251 251 187 251 251 187 251 251 187 184 179 149 | ||
1652 | 110 109 94 13 13 13 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1653 | 0 0 0 | ||
1654 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1655 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1656 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1657 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1658 | 0 0 0 0 0 0 0 0 0 30 32 31 105 104 92 99 98 80 | ||
1659 | 84 83 72 84 83 72 72 73 67 55 57 54 41 42 42 32 34 33 | ||
1660 | 27 29 28 20 24 24 17 20 20 14 17 17 13 16 16 12 14 14 | ||
1661 | 10 13 13 10 12 12 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1662 | 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1663 | 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1664 | 9 11 11 9 12 12 9 12 12 10 12 12 10 12 12 10 12 12 | ||
1665 | 10 13 13 10 13 13 10 13 13 11 13 13 11 14 14 11 14 14 | ||
1666 | 11 14 14 27 29 28 55 56 53 72 73 67 51 52 50 51 52 50 | ||
1667 | 49 51 48 43 45 43 39 40 39 32 34 33 26 28 27 21 22 21 | ||
1668 | 19 20 19 16 16 16 18 19 17 13 13 13 12 12 12 12 12 12 | ||
1669 | 12 12 12 12 12 12 1 1 1 0 0 0 0 0 0 0 0 0 | ||
1670 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1671 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1672 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1673 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1674 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1675 | 0 0 0 8 8 7 84 83 72 184 179 149 197 193 154 251 251 187 | ||
1676 | 251 251 187 251 251 187 251 251 187 251 251 187 184 179 149 145 141 105 | ||
1677 | 19 20 19 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1678 | 0 0 0 | ||
1679 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1680 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1681 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1682 | 0 0 0 14 14 13 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1683 | 0 0 0 0 0 0 0 0 0 72 73 67 105 104 92 84 83 72 | ||
1684 | 72 73 67 84 83 72 68 70 65 49 51 48 39 40 39 30 32 31 | ||
1685 | 25 27 26 18 22 22 15 18 18 13 16 16 12 15 15 11 13 13 | ||
1686 | 10 12 12 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1687 | 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1688 | 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1689 | 9 11 11 9 11 11 9 11 11 9 12 12 9 12 12 9 12 12 | ||
1690 | 10 12 12 10 12 12 10 12 12 10 13 13 10 13 13 11 13 13 | ||
1691 | 13 16 16 41 42 42 99 98 80 158 153 112 65 66 61 51 52 50 | ||
1692 | 49 51 48 43 45 43 39 40 39 31 33 31 25 27 26 21 22 21 | ||
1693 | 21 22 21 68 70 65 55 56 53 13 13 13 12 12 12 12 12 12 | ||
1694 | 12 12 12 11 11 11 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1695 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1696 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1697 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1698 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1699 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 3 3 | ||
1700 | 63 64 60 158 153 112 184 179 149 210 208 158 251 251 187 251 251 187 | ||
1701 | 251 251 187 251 251 187 251 251 187 184 179 149 137 133 100 27 29 28 | ||
1702 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1703 | 0 0 0 | ||
1704 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1705 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1706 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1707 | 21 22 21 110 109 94 5 6 5 0 0 0 0 0 0 0 0 0 | ||
1708 | 0 0 0 0 0 0 13 13 13 105 104 92 90 89 73 72 73 67 | ||
1709 | 68 70 65 84 83 72 63 64 60 46 47 45 35 37 36 27 29 28 | ||
1710 | 22 24 23 17 20 20 14 17 17 12 15 15 11 14 14 10 12 12 | ||
1711 | 10 12 12 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1712 | 9 11 11 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1713 | 8 10 10 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1714 | 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1715 | 9 12 12 9 12 12 10 12 12 10 12 12 10 13 13 10 13 13 | ||
1716 | 30 32 31 47 48 46 177 172 135 210 208 158 137 133 100 55 56 53 | ||
1717 | 49 51 48 43 45 43 38 39 37 31 33 31 25 27 26 22 24 23 | ||
1718 | 110 109 94 184 179 149 63 64 60 13 13 13 12 12 12 12 12 12 | ||
1719 | 12 12 12 8 9 9 0 0 0 1 1 1 0 0 0 0 0 0 | ||
1720 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1721 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1722 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1723 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1724 | 0 0 0 0 0 0 0 0 0 0 0 0 21 22 21 105 104 92 | ||
1725 | 184 179 149 210 208 158 251 251 187 251 251 187 251 251 187 251 251 187 | ||
1726 | 251 251 187 251 251 187 184 179 149 145 141 105 23 24 24 0 0 0 | ||
1727 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1728 | 0 0 0 | ||
1729 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1730 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1731 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1732 | 68 70 65 184 179 149 105 104 92 0 0 0 0 0 0 0 0 0 | ||
1733 | 0 0 0 0 0 0 51 52 50 99 98 80 84 83 72 63 64 60 | ||
1734 | 68 70 65 72 73 67 55 57 54 41 42 42 32 34 33 25 27 26 | ||
1735 | 20 23 23 16 19 19 13 16 16 12 14 14 10 13 13 10 12 12 | ||
1736 | 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 8 10 10 | ||
1737 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1738 | 8 10 10 8 10 10 8 10 10 8 10 10 9 11 11 9 11 11 | ||
1739 | 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1740 | 9 11 11 9 11 11 9 12 12 9 12 12 10 12 12 17 20 20 | ||
1741 | 46 47 45 72 73 67 210 208 158 251 251 187 210 208 158 63 64 60 | ||
1742 | 49 51 48 43 45 43 37 39 37 30 32 31 24 26 24 105 104 92 | ||
1743 | 210 208 158 197 193 154 47 48 46 13 13 13 12 12 12 12 12 12 | ||
1744 | 12 12 12 6 7 7 33 36 34 48 49 45 0 0 0 0 0 0 | ||
1745 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1746 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1747 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1748 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1749 | 0 0 0 0 0 0 8 8 7 23 24 24 55 56 53 110 109 94 | ||
1750 | 210 208 158 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 | ||
1751 | 251 251 187 184 179 149 110 109 94 20 20 20 0 0 0 0 0 0 | ||
1752 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1753 | 0 0 0 | ||
1754 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1755 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1756 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1757 | 110 109 94 251 251 187 210 208 158 47 48 46 0 0 0 0 0 0 | ||
1758 | 0 0 0 1 1 1 90 89 73 90 89 73 72 73 67 55 56 53 | ||
1759 | 72 73 67 68 70 65 51 52 50 37 39 37 28 31 30 23 25 24 | ||
1760 | 17 21 21 15 18 18 12 15 15 11 14 14 10 13 13 9 12 12 | ||
1761 | 9 11 11 9 11 11 9 11 11 8 10 10 8 10 10 8 10 10 | ||
1762 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1763 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1764 | 8 10 10 9 11 11 9 11 11 9 11 11 9 11 11 9 11 11 | ||
1765 | 9 11 11 9 11 11 9 11 11 9 12 12 13 16 16 41 42 42 | ||
1766 | 49 51 48 110 109 94 251 251 187 251 251 187 251 251 187 105 104 92 | ||
1767 | 49 51 48 43 45 43 35 37 36 30 31 28 47 48 46 197 193 154 | ||
1768 | 251 251 187 197 193 154 31 33 31 12 12 12 12 12 12 12 12 12 | ||
1769 | 12 12 12 51 52 50 184 179 149 72 73 67 0 0 0 0 0 0 | ||
1770 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1771 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1772 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1773 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 | ||
1774 | 11 11 11 21 22 21 30 32 31 40 41 39 60 60 56 145 141 105 | ||
1775 | 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 214 212 158 | ||
1776 | 184 179 149 110 109 94 13 13 13 0 0 0 0 0 0 0 0 0 | ||
1777 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1778 | 0 0 0 | ||
1779 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1780 | 0 0 0 0 0 0 4 5 4 61 61 53 48 49 45 3 4 3 | ||
1781 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1782 | 156 151 111 251 251 187 251 251 187 184 179 149 11 11 11 0 0 0 | ||
1783 | 0 0 0 26 28 27 99 98 80 84 83 72 60 60 56 43 45 43 | ||
1784 | 72 73 67 65 66 61 49 51 48 35 37 36 27 29 28 20 24 24 | ||
1785 | 17 20 20 14 17 17 12 15 15 11 13 13 10 12 12 9 11 11 | ||
1786 | 9 11 11 9 11 11 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1787 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1788 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1789 | 8 10 10 8 10 10 8 10 10 8 10 10 9 11 11 9 11 11 | ||
1790 | 9 11 11 9 11 11 9 11 11 11 13 13 37 39 37 47 48 46 | ||
1791 | 51 52 50 184 179 149 251 251 187 251 251 187 251 251 187 145 141 105 | ||
1792 | 47 48 46 41 42 42 35 37 36 27 29 28 137 133 100 251 251 187 | ||
1793 | 251 251 187 197 193 154 19 20 19 12 12 12 12 12 12 12 12 12 | ||
1794 | 27 29 28 184 179 149 214 212 158 63 64 60 0 0 0 0 0 0 | ||
1795 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1796 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1797 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1798 | 0 0 0 0 0 0 1 1 1 6 7 7 16 16 16 24 26 24 | ||
1799 | 30 32 31 38 39 37 47 48 46 55 57 54 68 70 65 110 109 94 | ||
1800 | 197 193 154 251 251 187 251 251 187 251 251 187 210 208 158 184 179 149 | ||
1801 | 105 104 92 8 8 7 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1802 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1803 | 0 0 0 | ||
1804 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1805 | 0 0 0 0 0 0 0 0 0 65 66 61 184 179 149 156 151 111 | ||
1806 | 30 32 31 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1807 | 168 163 120 251 251 187 251 251 187 251 251 187 110 109 94 0 0 0 | ||
1808 | 0 0 0 60 60 56 84 83 72 68 70 65 51 52 50 38 39 37 | ||
1809 | 84 83 72 63 64 60 43 45 43 33 36 34 25 27 26 20 23 22 | ||
1810 | 15 18 18 13 16 16 12 14 14 10 13 13 9 12 12 9 11 11 | ||
1811 | 9 11 11 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1812 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1813 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1814 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1815 | 9 11 11 9 11 11 10 12 12 33 36 34 46 47 45 51 52 50 | ||
1816 | 72 73 67 210 208 158 251 251 187 251 251 187 251 251 187 177 172 135 | ||
1817 | 47 48 46 41 42 42 35 37 36 37 39 37 184 179 149 251 251 187 | ||
1818 | 251 251 187 197 193 154 13 13 13 12 12 12 12 12 12 12 12 12 | ||
1819 | 110 109 94 251 251 187 251 251 187 37 39 37 0 0 0 0 0 0 | ||
1820 | 0 0 0 21 22 20 2 2 1 0 0 0 0 0 0 0 0 0 | ||
1821 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1822 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1823 | 4 5 5 12 12 12 21 22 21 25 27 26 30 32 31 38 39 37 | ||
1824 | 46 47 45 55 56 53 60 60 56 65 66 61 68 70 65 105 104 92 | ||
1825 | 110 109 94 197 193 154 210 208 158 197 193 154 184 179 149 84 83 72 | ||
1826 | 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1827 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1828 | 0 0 0 | ||
1829 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1830 | 0 0 0 0 0 0 0 0 0 13 13 13 184 179 149 251 251 187 | ||
1831 | 197 193 154 43 44 41 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1832 | 145 141 105 251 251 187 251 251 187 251 251 187 214 212 158 43 45 43 | ||
1833 | 2 2 2 84 83 72 72 73 67 58 59 55 41 42 42 38 39 37 | ||
1834 | 72 73 67 58 59 55 41 42 42 31 33 31 25 27 26 18 22 22 | ||
1835 | 14 17 17 12 15 15 12 14 14 10 12 12 9 12 12 9 11 11 | ||
1836 | 9 11 11 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1837 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1838 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1839 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1840 | 8 10 10 9 12 12 31 33 31 43 45 43 49 51 48 55 56 53 | ||
1841 | 110 109 94 251 251 187 251 251 187 251 251 187 251 251 187 168 163 120 | ||
1842 | 47 48 46 41 42 42 33 36 34 63 64 60 197 193 154 251 251 187 | ||
1843 | 251 251 187 184 179 149 13 13 13 12 12 12 12 12 12 16 16 16 | ||
1844 | 197 193 154 251 251 187 239 239 170 20 20 20 0 0 0 2 2 1 | ||
1845 | 108 107 93 110 109 94 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1846 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1847 | 0 0 0 0 0 0 1 1 1 4 5 5 11 11 11 18 19 18 | ||
1848 | 22 24 23 26 28 27 32 34 33 39 40 39 46 47 45 51 52 50 | ||
1849 | 55 57 54 60 60 56 63 64 60 63 64 60 63 64 60 58 59 55 | ||
1850 | 63 64 60 99 98 80 145 141 105 137 133 100 43 45 43 0 0 0 | ||
1851 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1852 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1853 | 0 0 0 | ||
1854 | 0 0 0 0 0 0 0 0 0 3 4 3 0 0 0 0 0 0 | ||
1855 | 0 0 0 0 0 0 0 0 0 0 0 0 110 109 94 251 251 187 | ||
1856 | 251 251 187 184 179 149 25 27 26 0 0 0 0 0 0 0 0 0 | ||
1857 | 99 98 80 251 251 187 251 251 187 251 251 187 251 251 187 156 151 111 | ||
1858 | 25 27 26 84 83 72 65 66 61 47 48 46 32 34 33 39 40 39 | ||
1859 | 72 73 67 55 57 54 40 41 39 30 32 31 23 25 24 18 22 22 | ||
1860 | 14 17 17 12 15 15 11 13 13 10 12 12 9 11 11 9 11 11 | ||
1861 | 9 11 11 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1862 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1863 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1864 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1865 | 9 11 11 28 31 30 41 42 42 47 48 46 55 56 53 58 59 55 | ||
1866 | 137 133 100 251 251 187 251 251 187 251 251 187 210 208 158 137 133 100 | ||
1867 | 47 48 46 40 41 39 32 34 33 75 75 61 184 179 149 239 239 170 | ||
1868 | 251 251 187 177 172 135 13 13 13 12 12 12 12 12 12 43 44 41 | ||
1869 | 197 193 154 251 251 187 210 208 158 10 10 9 0 0 0 84 83 72 | ||
1870 | 251 251 187 84 83 72 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1871 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 | ||
1872 | 6 7 7 11 11 11 17 17 17 20 20 20 23 24 24 27 29 28 | ||
1873 | 32 34 33 38 39 37 43 45 43 47 48 46 51 52 50 55 56 53 | ||
1874 | 58 59 55 58 59 55 55 57 54 55 56 53 47 48 46 41 42 42 | ||
1875 | 35 37 36 31 33 31 47 48 46 14 14 13 0 0 0 0 0 0 | ||
1876 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1877 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1878 | 0 0 0 | ||
1879 | 0 0 0 0 0 0 0 0 0 66 65 55 99 98 80 20 20 20 | ||
1880 | 0 0 0 0 0 0 0 0 0 0 0 0 43 45 43 214 212 158 | ||
1881 | 251 251 187 251 251 187 145 141 105 3 3 3 0 0 0 0 0 0 | ||
1882 | 48 49 45 184 179 149 239 239 170 251 251 187 239 239 170 177 172 135 | ||
1883 | 84 83 72 72 73 67 55 56 53 39 40 39 26 28 27 39 40 39 | ||
1884 | 68 70 65 51 52 50 39 40 39 28 31 30 22 24 23 17 20 20 | ||
1885 | 14 17 17 12 14 14 10 13 13 9 11 11 9 11 11 9 11 11 | ||
1886 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1887 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1888 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1889 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1890 | 27 29 28 40 41 39 46 47 45 51 52 50 55 57 54 63 64 60 | ||
1891 | 131 127 93 197 193 154 210 208 158 197 193 154 168 163 120 96 95 69 | ||
1892 | 47 48 46 40 41 39 32 34 33 71 71 57 145 141 105 184 179 149 | ||
1893 | 184 179 149 131 127 93 13 13 13 12 12 12 12 12 12 48 49 45 | ||
1894 | 168 163 120 184 179 149 156 151 111 6 7 7 14 14 13 177 172 135 | ||
1895 | 239 239 170 40 41 39 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1896 | 0 0 0 0 0 0 3 3 3 6 7 7 11 11 11 16 16 16 | ||
1897 | 18 19 18 21 22 21 23 24 24 27 29 28 32 34 33 37 39 37 | ||
1898 | 41 42 42 43 45 43 47 48 46 51 52 50 51 52 50 51 52 50 | ||
1899 | 51 52 50 49 51 48 46 47 45 40 41 39 32 34 33 25 27 26 | ||
1900 | 20 20 20 14 14 13 2 2 2 0 0 0 0 0 0 0 0 0 | ||
1901 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1902 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1903 | 0 0 0 | ||
1904 | 0 0 0 0 0 0 0 0 0 33 36 34 197 193 154 184 179 149 | ||
1905 | 41 42 42 0 0 0 0 0 0 0 0 0 3 3 3 184 179 149 | ||
1906 | 251 251 187 251 251 187 184 179 149 48 49 45 0 0 0 0 0 0 | ||
1907 | 16 17 12 121 119 87 177 172 135 194 189 146 188 184 146 145 141 105 | ||
1908 | 82 81 62 63 64 60 46 47 45 31 33 31 21 22 21 35 37 36 | ||
1909 | 68 70 65 51 52 50 37 39 37 27 30 29 22 24 23 17 20 20 | ||
1910 | 13 16 16 12 14 14 10 13 13 9 11 11 8 10 10 8 10 10 | ||
1911 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1912 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1913 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1914 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 25 27 26 | ||
1915 | 38 39 37 43 45 43 51 52 50 55 56 53 60 60 56 63 64 60 | ||
1916 | 92 91 72 158 153 112 176 171 126 171 165 117 149 143 98 82 81 62 | ||
1917 | 44 46 43 38 39 37 30 32 31 71 71 57 131 127 93 160 154 106 | ||
1918 | 149 143 98 82 81 62 13 13 13 12 12 12 12 12 12 46 47 43 | ||
1919 | 121 119 87 134 131 96 96 95 69 7 7 6 38 39 37 131 127 93 | ||
1920 | 145 141 105 12 13 12 0 0 0 1 1 1 3 3 3 6 7 7 | ||
1921 | 10 10 9 12 12 12 14 14 13 16 16 16 18 19 18 21 22 21 | ||
1922 | 22 24 23 26 28 27 30 31 28 33 36 34 37 39 37 40 41 39 | ||
1923 | 41 42 42 43 45 43 46 47 45 46 47 45 46 47 45 43 45 43 | ||
1924 | 41 42 42 37 39 37 31 33 31 26 28 27 21 22 21 16 16 16 | ||
1925 | 6 7 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1926 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1927 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1928 | 0 0 0 | ||
1929 | 0 0 0 0 0 0 0 0 0 0 0 0 177 172 135 251 251 187 | ||
1930 | 197 193 154 27 29 28 0 0 0 0 0 0 0 0 0 110 109 94 | ||
1931 | 239 239 170 239 239 170 184 179 149 87 86 72 2 2 1 0 0 0 | ||
1932 | 1 1 1 82 81 62 142 137 94 165 161 109 165 161 109 131 127 93 | ||
1933 | 75 75 61 55 56 53 37 39 37 25 27 26 19 20 19 32 34 33 | ||
1934 | 65 66 61 49 51 48 35 37 36 27 29 28 20 23 23 16 19 19 | ||
1935 | 13 16 16 13 13 13 10 12 12 9 11 11 8 10 10 8 10 10 | ||
1936 | 8 9 9 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1937 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1938 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1939 | 8 10 10 8 10 10 8 10 10 8 10 10 22 24 23 35 37 36 | ||
1940 | 41 42 42 47 48 46 55 56 53 58 59 55 63 64 60 65 66 61 | ||
1941 | 71 71 57 131 127 93 160 154 106 160 154 106 142 137 94 82 81 62 | ||
1942 | 46 47 43 40 41 39 33 36 34 66 65 55 125 122 87 149 143 98 | ||
1943 | 142 137 94 82 81 62 17 17 17 18 19 17 14 14 13 46 47 43 | ||
1944 | 118 116 76 125 122 87 96 95 69 16 17 12 71 71 57 103 101 77 | ||
1945 | 82 81 62 11 11 11 11 11 11 13 13 13 14 14 13 14 14 13 | ||
1946 | 15 15 15 16 16 16 17 17 17 19 20 19 21 22 21 23 24 24 | ||
1947 | 26 28 27 27 29 28 31 33 31 33 36 34 35 37 36 38 39 37 | ||
1948 | 39 40 39 39 40 39 38 39 37 37 39 37 35 37 36 31 33 31 | ||
1949 | 27 29 28 24 26 24 21 22 21 17 17 17 12 12 12 2 2 2 | ||
1950 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1951 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1952 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1953 | 0 0 0 | ||
1954 | 0 0 0 0 0 0 0 0 0 0 0 0 68 70 65 251 251 187 | ||
1955 | 251 251 187 156 151 111 2 2 1 0 0 0 0 0 0 43 44 41 | ||
1956 | 177 172 135 184 179 149 158 153 112 103 101 77 19 20 18 0 0 0 | ||
1957 | 0 0 0 46 47 43 131 127 93 160 154 106 160 154 106 131 127 93 | ||
1958 | 71 71 57 43 45 43 30 32 31 21 22 21 16 16 16 26 28 27 | ||
1959 | 63 64 60 47 48 46 35 37 36 26 28 27 20 23 23 16 19 19 | ||
1960 | 13 16 16 13 13 13 10 12 12 9 11 11 8 10 10 8 10 10 | ||
1961 | 7 9 9 7 9 9 8 9 9 8 10 10 8 10 10 8 10 10 | ||
1962 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1963 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1964 | 8 10 10 8 10 10 8 10 10 20 20 20 33 36 34 40 41 39 | ||
1965 | 46 47 45 51 52 50 55 57 54 60 60 56 63 64 60 65 66 61 | ||
1966 | 66 65 55 118 116 76 151 147 98 165 161 109 151 147 98 121 119 87 | ||
1967 | 96 95 69 96 95 69 96 95 69 103 101 77 142 137 94 151 147 98 | ||
1968 | 142 137 94 103 101 77 82 81 62 82 81 62 82 81 62 96 95 69 | ||
1969 | 131 127 93 142 137 94 103 101 77 46 47 43 96 95 69 118 116 76 | ||
1970 | 71 71 57 14 14 13 14 14 13 15 15 15 15 15 15 16 16 16 | ||
1971 | 16 16 16 17 17 17 18 19 18 20 20 20 21 22 21 23 24 24 | ||
1972 | 25 27 26 27 29 28 30 31 28 30 32 31 31 33 31 31 33 31 | ||
1973 | 31 33 31 31 33 31 30 31 28 27 29 28 25 27 26 22 24 23 | ||
1974 | 20 20 20 16 16 16 13 13 13 6 7 7 0 0 0 0 0 0 | ||
1975 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1976 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1977 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1978 | 0 0 0 | ||
1979 | 58 59 55 68 70 65 8 8 7 0 0 0 10 10 9 210 208 158 | ||
1980 | 251 251 187 184 179 149 38 39 37 0 0 0 0 0 0 8 8 7 | ||
1981 | 103 101 77 149 143 98 149 143 98 118 116 76 40 41 39 25 27 25 | ||
1982 | 53 55 47 82 81 62 144 139 99 165 161 109 165 161 109 142 137 94 | ||
1983 | 71 71 57 35 37 36 24 26 24 18 19 18 15 15 15 22 24 23 | ||
1984 | 63 64 60 46 47 45 33 36 34 26 28 27 20 23 22 17 18 17 | ||
1985 | 12 15 15 11 13 13 10 12 12 9 11 11 8 10 10 8 10 10 | ||
1986 | 7 9 9 7 9 9 7 9 9 7 9 9 8 9 9 8 10 10 | ||
1987 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1988 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
1989 | 8 10 10 8 10 10 16 16 16 30 31 28 35 37 36 41 42 42 | ||
1990 | 47 48 46 55 56 53 58 59 55 63 64 60 65 66 61 65 66 61 | ||
1991 | 61 61 53 103 101 77 151 147 98 171 165 117 171 165 117 168 163 120 | ||
1992 | 158 153 112 158 153 112 155 149 109 151 147 98 151 147 98 160 154 106 | ||
1993 | 151 147 98 149 143 98 142 137 94 149 143 98 149 143 98 149 143 98 | ||
1994 | 155 149 109 151 147 98 131 127 93 103 101 77 125 122 87 118 116 76 | ||
1995 | 71 71 57 16 16 16 16 16 16 16 16 16 17 17 17 17 17 17 | ||
1996 | 17 17 17 17 17 17 18 19 18 19 20 19 20 20 20 21 22 21 | ||
1997 | 23 24 24 24 26 24 25 27 26 26 28 27 26 28 27 26 28 27 | ||
1998 | 25 27 26 24 26 24 22 24 23 21 22 21 19 20 19 16 16 16 | ||
1999 | 14 14 13 8 8 7 1 1 1 0 0 0 0 0 0 0 0 0 | ||
2000 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2001 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2002 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2003 | 0 0 0 | ||
2004 | 20 20 20 184 179 149 168 163 120 21 22 21 0 0 0 105 104 92 | ||
2005 | 177 172 135 145 141 105 71 71 57 0 0 0 0 0 0 0 0 0 | ||
2006 | 66 65 55 131 127 93 151 147 98 142 137 94 118 116 76 121 119 87 | ||
2007 | 145 141 105 158 153 112 176 171 126 178 174 128 176 171 126 149 145 103 | ||
2008 | 96 95 69 31 33 31 21 22 21 16 16 16 14 14 13 18 19 18 | ||
2009 | 60 60 56 46 47 45 33 36 34 25 27 26 21 22 21 15 18 18 | ||
2010 | 12 15 15 11 13 13 9 11 11 8 10 10 8 10 10 8 9 9 | ||
2011 | 7 9 9 7 9 9 7 9 9 7 9 9 7 9 9 8 9 9 | ||
2012 | 8 9 9 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
2013 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
2014 | 8 10 10 10 12 12 26 28 27 31 33 31 38 39 37 43 45 43 | ||
2015 | 51 52 50 55 56 53 60 60 56 63 64 60 65 66 61 68 70 65 | ||
2016 | 63 64 60 96 95 69 158 153 112 178 174 128 188 184 146 194 189 146 | ||
2017 | 194 189 146 188 184 146 184 181 136 176 171 126 171 165 117 173 167 111 | ||
2018 | 173 167 111 165 161 109 171 165 117 174 170 121 176 171 126 178 174 128 | ||
2019 | 178 174 128 174 170 121 160 154 106 149 143 98 149 143 98 125 122 87 | ||
2020 | 71 71 57 16 16 16 16 16 16 17 17 17 17 17 17 17 17 17 | ||
2021 | 17 17 17 17 17 17 17 17 17 18 19 18 19 20 19 20 20 20 | ||
2022 | 21 22 21 21 22 21 21 22 21 22 24 23 21 22 21 21 22 21 | ||
2023 | 21 22 21 19 20 19 18 19 18 16 16 16 14 14 13 11 11 11 | ||
2024 | 3 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2025 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2026 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2027 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2028 | 0 0 0 | ||
2029 | 0 0 0 105 104 92 197 193 154 110 109 94 9 9 8 36 38 35 | ||
2030 | 121 119 87 131 127 93 96 95 69 18 19 17 30 31 28 66 65 55 | ||
2031 | 96 95 69 142 137 94 160 154 106 160 154 106 160 154 106 168 163 120 | ||
2032 | 184 181 136 194 191 148 197 193 154 197 193 154 194 189 146 168 163 120 | ||
2033 | 125 122 87 46 47 43 18 19 18 15 15 15 13 13 13 14 14 13 | ||
2034 | 55 57 54 43 45 43 32 34 33 25 27 26 18 22 22 17 17 17 | ||
2035 | 12 14 14 10 12 12 9 11 11 8 10 10 8 9 9 7 9 9 | ||
2036 | 6 8 8 7 9 9 7 9 9 7 9 9 7 9 9 7 9 9 | ||
2037 | 7 9 9 8 9 9 8 9 9 8 10 10 8 10 10 8 10 10 | ||
2038 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
2039 | 8 10 10 32 34 33 41 42 42 35 37 36 39 40 39 37 39 37 | ||
2040 | 35 37 36 55 57 54 60 60 56 63 64 60 65 66 61 65 66 61 | ||
2041 | 61 63 57 115 113 82 168 163 120 194 191 148 204 201 155 210 208 158 | ||
2042 | 210 208 158 210 208 158 197 193 154 194 189 146 186 182 128 176 171 126 | ||
2043 | 174 170 121 176 171 126 186 182 128 190 186 136 194 191 148 197 193 154 | ||
2044 | 197 193 154 188 184 146 181 176 137 174 170 121 165 161 109 142 137 94 | ||
2045 | 82 81 62 24 26 24 16 16 16 16 16 16 16 16 16 16 16 16 | ||
2046 | 17 17 17 17 17 17 17 17 17 17 17 17 18 19 18 19 20 19 | ||
2047 | 19 20 19 19 20 19 20 20 20 19 20 19 19 20 19 18 19 18 | ||
2048 | 17 17 17 15 15 15 13 13 13 12 12 12 6 7 7 0 0 0 | ||
2049 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2050 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2051 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2052 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2053 | 0 0 0 | ||
2054 | 0 0 0 17 18 17 137 133 100 115 113 82 53 55 47 19 20 18 | ||
2055 | 103 101 77 144 139 99 137 133 100 115 113 82 137 133 100 156 151 111 | ||
2056 | 158 153 112 164 159 111 171 165 117 174 170 121 178 174 128 194 189 146 | ||
2057 | 204 201 155 214 212 158 214 212 158 214 212 158 210 208 158 188 184 146 | ||
2058 | 158 153 112 87 86 72 17 17 17 13 13 13 13 13 13 15 15 15 | ||
2059 | 55 56 53 43 45 43 32 34 33 24 26 24 17 20 20 16 16 16 | ||
2060 | 12 14 14 10 12 12 8 10 10 8 10 10 7 9 9 6 8 8 | ||
2061 | 6 8 8 6 8 8 6 8 8 7 9 9 7 9 9 7 9 9 | ||
2062 | 7 9 9 7 9 9 7 9 9 7 9 9 8 9 9 8 10 10 | ||
2063 | 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 8 10 10 | ||
2064 | 8 10 10 110 109 94 84 83 72 49 51 48 26 28 27 8 10 10 | ||
2065 | 8 9 9 51 52 50 58 59 55 63 64 60 63 64 60 63 64 60 | ||
2066 | 66 65 55 134 131 96 181 176 137 210 208 158 214 212 158 239 239 170 | ||
2067 | 239 239 170 224 223 159 210 208 158 204 201 155 194 189 146 186 182 128 | ||
2068 | 186 182 128 184 181 136 194 189 146 204 201 155 210 208 158 210 208 158 | ||
2069 | 210 208 158 210 208 158 197 193 154 190 186 136 176 171 126 155 149 109 | ||
2070 | 118 116 76 36 38 35 15 15 15 16 16 16 16 16 16 16 16 16 | ||
2071 | 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 17 17 17 | ||
2072 | 17 17 17 17 17 17 17 17 17 16 16 16 16 16 16 15 15 15 | ||
2073 | 13 13 13 12 12 12 8 8 7 2 2 2 0 0 0 0 0 0 | ||
2074 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2075 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2076 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2077 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2078 | 0 0 0 | ||
2079 | 0 0 0 0 0 0 53 55 47 103 101 77 96 95 69 53 55 47 | ||
2080 | 103 101 77 158 153 112 177 172 135 184 179 149 188 184 146 197 193 154 | ||
2081 | 194 189 146 190 186 136 184 181 136 184 181 136 194 189 146 210 208 158 | ||
2082 | 214 212 158 239 239 170 251 251 187 251 251 187 224 223 159 204 201 155 | ||
2083 | 177 172 135 121 119 87 30 31 28 13 13 13 12 12 12 39 40 39 | ||
2084 | 60 60 56 43 45 43 32 34 33 23 25 24 18 19 18 13 16 16 | ||
2085 | 13 13 13 9 11 11 8 10 10 8 9 9 6 8 8 6 8 8 | ||
2086 | 6 8 8 6 8 8 6 8 8 6 8 8 6 8 8 7 9 9 | ||
2087 | 7 9 9 7 9 9 7 9 9 7 9 9 7 9 9 7 9 9 | ||
2088 | 7 9 9 8 9 9 8 9 9 8 10 10 8 10 10 8 10 10 | ||
2089 | 14 17 17 197 193 154 158 153 112 55 57 54 7 9 9 7 9 9 | ||
2090 | 8 10 10 51 52 50 58 59 55 60 60 56 63 64 60 63 64 60 | ||
2091 | 71 71 57 155 149 109 194 191 148 214 212 158 251 251 187 251 251 187 | ||
2092 | 251 251 187 251 251 187 239 239 170 210 208 158 197 193 154 190 186 136 | ||
2093 | 190 186 136 194 189 146 204 201 155 210 208 158 224 223 159 239 239 170 | ||
2094 | 239 239 170 224 223 159 210 208 158 204 201 155 190 186 136 164 159 111 | ||
2095 | 125 122 87 40 41 39 15 15 15 15 15 15 15 15 15 15 15 15 | ||
2096 | 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 | ||
2097 | 16 16 16 16 16 16 15 15 15 14 14 13 13 13 13 12 12 12 | ||
2098 | 8 9 9 3 3 3 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2099 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2100 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2101 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2102 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2103 | 0 0 0 | ||
2104 | 0 0 0 0 0 0 21 22 20 96 95 69 125 122 87 121 119 87 | ||
2105 | 144 139 99 177 172 135 197 193 154 210 208 158 214 212 158 214 212 158 | ||
2106 | 210 208 158 204 201 155 194 191 148 194 189 146 204 201 155 214 212 158 | ||
2107 | 239 239 170 251 251 187 251 251 187 251 251 187 251 251 187 214 212 158 | ||
2108 | 188 184 146 145 141 105 53 55 47 12 12 12 15 15 15 63 64 60 | ||
2109 | 63 64 60 41 42 42 31 33 31 23 24 24 17 18 17 12 15 15 | ||
2110 | 11 13 13 9 11 11 8 9 9 7 9 9 6 8 8 6 8 8 | ||
2111 | 6 7 7 6 7 7 6 8 8 6 8 8 6 8 8 6 8 8 | ||
2112 | 6 8 8 7 9 9 7 9 9 7 9 9 7 9 9 7 9 9 | ||
2113 | 7 9 9 7 9 9 7 9 9 7 9 9 7 9 9 8 8 7 | ||
2114 | 43 45 43 251 251 187 156 151 111 8 10 10 7 9 9 7 9 9 | ||
2115 | 21 22 21 51 52 50 55 56 53 55 57 54 58 59 55 58 59 55 | ||
2116 | 75 75 61 158 153 112 197 193 154 224 223 159 251 251 187 251 251 187 | ||
2117 | 251 251 187 251 251 187 251 251 187 214 212 158 204 201 155 194 189 146 | ||
2118 | 190 186 136 197 193 154 210 208 158 224 223 159 251 251 187 251 251 187 | ||
2119 | 251 251 187 251 251 187 239 239 170 210 208 158 197 193 154 176 171 126 | ||
2120 | 125 122 87 36 38 35 14 14 13 14 14 13 15 15 15 15 15 15 | ||
2121 | 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 | ||
2122 | 15 15 15 14 14 13 13 13 13 12 12 12 10 10 9 3 4 4 | ||
2123 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2124 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2125 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2126 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2127 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2128 | 0 0 0 | ||
2129 | 0 0 0 0 0 0 7 7 5 71 71 57 131 127 93 158 153 112 | ||
2130 | 177 172 135 197 193 154 214 212 158 239 239 170 251 251 187 251 251 187 | ||
2131 | 238 237 168 210 208 158 204 201 155 197 193 154 204 201 155 214 212 158 | ||
2132 | 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 214 212 158 | ||
2133 | 197 193 154 156 151 111 66 65 55 12 12 12 37 39 37 58 59 55 | ||
2134 | 58 59 55 41 42 42 31 33 31 22 24 23 17 17 17 12 14 14 | ||
2135 | 10 12 12 8 10 10 6 8 8 6 8 8 6 7 7 6 7 7 | ||
2136 | 6 7 7 5 7 7 6 7 7 6 7 7 6 8 8 6 8 8 | ||
2137 | 6 8 8 6 8 8 6 8 8 7 9 9 7 9 9 7 9 9 | ||
2138 | 7 9 9 6 8 8 6 8 8 6 8 8 6 8 8 6 8 8 | ||
2139 | 61 63 57 197 193 154 16 19 19 6 8 8 6 8 8 8 9 9 | ||
2140 | 41 42 42 47 48 46 51 52 50 51 52 50 55 56 53 55 56 53 | ||
2141 | 71 71 57 158 153 112 197 193 154 224 223 159 251 251 187 251 251 187 | ||
2142 | 251 251 187 251 251 187 239 239 170 214 212 158 204 201 155 194 189 146 | ||
2143 | 190 186 136 197 193 154 210 208 158 239 239 170 251 251 187 251 251 187 | ||
2144 | 251 251 187 251 251 187 251 251 187 224 223 159 204 201 155 177 172 135 | ||
2145 | 121 119 87 30 31 28 13 13 13 14 14 13 14 14 13 14 14 13 | ||
2146 | 14 14 13 14 14 13 15 15 15 15 15 15 14 14 13 13 13 13 | ||
2147 | 12 12 12 12 12 12 10 10 9 4 5 5 0 0 0 0 0 0 | ||
2148 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2149 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2150 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2151 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2152 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2153 | 0 0 0 | ||
2154 | 0 0 0 0 0 0 0 0 0 48 49 45 131 127 93 174 170 121 | ||
2155 | 194 189 146 210 208 158 239 239 170 251 251 187 251 251 187 251 251 187 | ||
2156 | 251 251 187 214 212 158 204 201 155 197 193 154 204 201 155 210 208 158 | ||
2157 | 239 239 170 251 251 187 251 251 187 251 251 187 239 239 170 214 212 158 | ||
2158 | 194 191 148 156 151 111 71 71 57 19 20 19 51 52 50 51 52 50 | ||
2159 | 51 52 50 41 42 42 30 32 31 21 22 21 17 17 17 13 13 13 | ||
2160 | 9 11 11 8 9 9 6 8 8 6 7 7 6 7 7 5 7 7 | ||
2161 | 5 6 5 5 6 5 5 7 7 5 7 7 6 7 7 6 7 7 | ||
2162 | 6 8 8 6 8 8 6 8 8 6 7 7 6 7 7 6 7 7 | ||
2163 | 6 7 7 6 8 8 6 8 8 6 8 8 6 8 8 6 8 8 | ||
2164 | 55 56 53 43 45 43 6 8 8 6 8 8 6 8 8 47 48 46 | ||
2165 | 60 60 56 47 48 46 46 47 45 47 48 46 38 39 37 10 12 12 | ||
2166 | 66 65 55 145 141 105 197 193 154 214 212 158 251 251 187 251 251 187 | ||
2167 | 251 251 187 251 251 187 224 223 159 210 208 158 194 191 148 184 181 136 | ||
2168 | 184 181 136 194 189 146 204 201 155 224 223 159 251 251 187 251 251 187 | ||
2169 | 251 251 187 251 251 187 251 251 187 239 239 170 210 208 158 181 176 137 | ||
2170 | 115 113 82 21 22 20 13 13 13 13 13 13 13 13 13 13 13 13 | ||
2171 | 14 14 13 13 13 13 13 13 13 13 13 13 12 12 12 11 11 11 | ||
2172 | 10 10 9 6 7 7 1 1 1 0 0 0 0 0 0 0 0 0 | ||
2173 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2174 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2175 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2176 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2177 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2178 | 0 0 0 | ||
2179 | 0 0 0 0 0 0 2 2 1 66 65 55 144 139 99 178 174 128 | ||
2180 | 204 201 155 214 212 158 251 251 187 251 251 187 251 251 187 251 251 187 | ||
2181 | 251 251 187 214 212 158 204 201 155 194 191 148 197 193 154 204 201 155 | ||
2182 | 214 212 158 239 239 170 239 239 170 239 239 170 214 212 158 210 208 158 | ||
2183 | 184 181 136 149 145 103 66 65 55 41 42 42 47 48 46 46 47 45 | ||
2184 | 43 45 43 39 40 39 28 31 30 21 22 21 16 16 16 10 12 12 | ||
2185 | 8 10 10 6 8 8 6 7 7 6 7 7 5 6 5 5 6 5 | ||
2186 | 5 6 5 5 6 5 5 6 5 5 6 5 5 7 7 5 7 7 | ||
2187 | 6 7 7 6 7 7 6 7 7 5 7 7 5 7 7 5 7 7 | ||
2188 | 5 7 7 6 7 7 6 7 7 6 7 7 6 7 7 6 8 8 | ||
2189 | 6 8 8 6 8 8 6 7 7 6 7 7 46 47 45 156 151 111 | ||
2190 | 105 104 92 58 59 55 43 45 43 32 34 33 6 8 8 6 8 8 | ||
2191 | 49 51 48 125 122 87 181 176 137 204 201 155 214 212 158 239 239 170 | ||
2192 | 239 239 170 214 212 158 210 208 158 197 193 154 181 176 137 176 171 126 | ||
2193 | 176 171 126 184 181 136 197 193 154 210 208 158 239 239 170 251 251 187 | ||
2194 | 251 251 187 251 251 187 251 251 187 251 251 187 210 208 158 177 172 135 | ||
2195 | 99 98 80 13 13 13 12 12 12 12 12 12 13 13 13 12 12 12 | ||
2196 | 12 12 12 12 12 12 11 11 11 11 11 11 8 9 9 4 5 5 | ||
2197 | 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2198 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2199 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2200 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2201 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2202 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2203 | 0 0 0 | ||
2204 | 0 0 0 0 0 0 1 1 0 61 61 53 142 137 94 181 176 137 | ||
2205 | 204 201 155 224 223 159 251 251 187 251 251 187 251 251 187 251 251 187 | ||
2206 | 251 251 187 214 212 158 197 193 154 190 186 136 184 181 136 188 184 146 | ||
2207 | 197 193 154 204 201 155 210 208 158 210 208 158 204 201 155 194 189 146 | ||
2208 | 176 171 126 134 131 96 66 65 55 43 45 43 41 42 42 39 40 39 | ||
2209 | 35 37 36 33 36 34 27 29 28 20 20 20 15 15 15 9 11 11 | ||
2210 | 8 9 9 6 7 7 5 6 5 5 6 5 4 5 5 4 5 5 | ||
2211 | 4 5 5 4 5 5 4 5 5 4 5 5 5 6 5 4 5 5 | ||
2212 | 4 5 5 5 6 5 4 5 5 5 6 5 5 6 5 5 6 5 | ||
2213 | 5 7 7 5 7 7 5 7 7 5 7 7 5 7 7 5 7 7 | ||
2214 | 6 7 7 6 7 7 6 7 7 28 31 30 184 179 149 184 179 149 | ||
2215 | 145 141 105 84 83 72 27 29 28 5 7 7 5 6 5 16 16 16 | ||
2216 | 43 44 41 96 95 69 158 153 112 188 184 146 204 201 155 210 208 158 | ||
2217 | 204 201 155 197 193 154 184 179 149 177 172 135 168 163 120 164 159 111 | ||
2218 | 164 159 111 174 170 121 184 181 136 197 193 154 214 212 158 251 251 187 | ||
2219 | 251 251 187 251 251 187 251 251 187 251 251 187 210 208 158 177 172 135 | ||
2220 | 71 71 57 11 11 11 12 12 12 11 11 11 11 11 11 11 11 11 | ||
2221 | 10 10 9 10 10 9 8 8 7 3 4 4 0 0 0 0 0 0 | ||
2222 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2223 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2224 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2225 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2226 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2227 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2228 | 0 0 0 | ||
2229 | 0 0 0 0 0 0 0 0 0 31 33 31 121 119 87 176 171 126 | ||
2230 | 197 193 154 214 212 158 251 251 187 251 251 187 251 251 187 251 251 187 | ||
2231 | 239 239 170 210 208 158 194 189 146 178 174 128 174 170 121 176 171 126 | ||
2232 | 177 172 135 181 176 137 184 179 149 184 179 149 181 176 137 178 174 128 | ||
2233 | 158 153 112 121 119 87 53 55 47 37 39 37 33 36 34 30 32 31 | ||
2234 | 27 29 28 25 27 26 24 26 24 19 20 19 13 13 13 8 10 10 | ||
2235 | 6 8 8 6 7 7 5 6 5 4 5 5 4 5 5 4 5 5 | ||
2236 | 4 5 5 4 5 5 4 5 5 3 4 4 3 4 4 4 5 5 | ||
2237 | 4 5 5 4 5 5 4 5 5 4 5 5 4 5 5 4 5 5 | ||
2238 | 5 6 5 5 6 5 5 6 5 5 6 5 5 6 5 5 6 5 | ||
2239 | 5 6 5 5 6 5 12 14 14 145 141 105 184 179 149 177 172 135 | ||
2240 | 90 89 73 21 22 21 5 6 5 5 6 5 4 5 5 37 39 37 | ||
2241 | 38 39 37 61 61 53 134 131 96 168 163 120 184 181 136 188 184 146 | ||
2242 | 184 179 149 177 172 135 168 163 120 164 159 111 155 149 109 151 147 98 | ||
2243 | 151 147 98 164 159 111 176 171 126 184 179 149 210 208 158 239 239 170 | ||
2244 | 251 251 187 251 251 187 251 251 187 239 239 170 210 208 158 158 153 112 | ||
2245 | 46 47 43 10 10 9 10 10 9 10 10 9 8 9 9 8 9 9 | ||
2246 | 6 7 7 3 3 3 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2247 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2248 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2249 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2250 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2251 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2252 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2253 | 0 0 0 | ||
2254 | 0 0 0 0 0 0 0 0 0 13 12 7 82 81 62 158 153 112 | ||
2255 | 188 184 146 210 208 158 239 239 170 251 251 187 251 251 187 251 251 187 | ||
2256 | 224 223 159 204 201 155 184 181 136 171 165 117 164 159 111 160 154 106 | ||
2257 | 158 153 112 164 159 111 168 163 120 168 163 120 168 163 120 164 159 111 | ||
2258 | 142 137 94 96 95 69 43 44 41 27 29 28 26 28 27 23 24 24 | ||
2259 | 21 22 21 18 19 18 17 17 17 18 19 18 13 13 13 8 8 7 | ||
2260 | 6 7 7 5 6 5 4 5 5 3 4 4 3 4 4 3 4 4 | ||
2261 | 3 4 4 3 4 4 3 3 3 3 3 3 3 4 4 3 4 4 | ||
2262 | 3 4 4 3 4 4 4 5 5 4 5 5 4 5 5 4 5 5 | ||
2263 | 4 5 5 4 5 5 4 5 5 4 5 5 4 5 5 4 5 5 | ||
2264 | 4 5 5 4 5 5 4 5 5 4 5 5 4 5 5 4 5 5 | ||
2265 | 4 5 5 4 5 5 4 5 5 4 5 5 31 33 31 65 66 61 | ||
2266 | 37 39 37 38 39 37 96 95 69 144 139 99 168 163 120 174 170 121 | ||
2267 | 168 163 120 164 159 111 155 149 109 149 145 103 149 143 98 142 137 94 | ||
2268 | 149 143 98 151 147 98 164 159 111 177 172 135 197 193 154 210 208 158 | ||
2269 | 251 251 187 251 251 187 251 251 187 239 239 170 197 193 154 137 133 100 | ||
2270 | 24 26 24 8 9 9 8 9 9 8 8 7 6 7 7 2 2 2 | ||
2271 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2272 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2273 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2274 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2275 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2276 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2277 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2278 | 0 0 0 | ||
2279 | 0 0 0 0 0 0 0 0 0 0 0 0 46 47 43 125 122 87 | ||
2280 | 176 171 126 197 193 154 210 208 158 239 239 170 251 251 187 239 239 170 | ||
2281 | 214 212 158 197 193 154 181 176 137 164 159 111 151 147 98 149 143 98 | ||
2282 | 149 143 98 149 143 98 149 145 103 155 149 109 160 154 106 149 143 98 | ||
2283 | 118 116 76 82 81 62 30 31 28 21 22 21 19 20 19 17 17 17 | ||
2284 | 14 14 13 12 12 12 10 10 9 12 12 12 10 12 12 6 8 8 | ||
2285 | 4 5 5 3 4 4 3 4 4 3 4 4 3 3 3 3 3 3 | ||
2286 | 3 3 3 3 3 3 3 3 3 3 3 3 2 3 3 2 3 3 | ||
2287 | 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 4 5 5 | ||
2288 | 4 5 5 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 | ||
2289 | 4 5 5 4 5 5 4 5 5 4 5 5 4 5 5 4 5 5 | ||
2290 | 4 5 5 3 4 4 3 4 4 23 24 24 110 109 94 72 73 67 | ||
2291 | 39 40 39 22 24 23 46 47 43 103 101 77 142 137 94 155 149 109 | ||
2292 | 160 154 106 155 149 109 149 143 98 142 137 94 142 137 94 142 137 94 | ||
2293 | 142 137 94 149 143 98 155 149 109 176 171 126 184 179 149 210 208 158 | ||
2294 | 239 239 170 251 251 187 251 251 187 214 212 158 184 179 149 105 104 92 | ||
2295 | 10 10 9 6 7 7 3 4 4 1 1 1 0 0 0 0 0 0 | ||
2296 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2297 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2298 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2299 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2300 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2301 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2302 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2303 | 0 0 0 | ||
2304 | 0 0 0 0 0 0 0 0 0 0 0 0 12 12 9 82 81 62 | ||
2305 | 149 145 103 181 176 137 197 193 154 210 208 158 214 212 158 214 212 158 | ||
2306 | 210 208 158 197 193 154 177 172 135 158 153 112 149 143 98 142 137 94 | ||
2307 | 142 137 94 142 137 94 149 143 98 151 147 98 151 147 98 131 127 93 | ||
2308 | 103 101 77 71 71 57 22 24 23 15 15 15 13 13 13 11 11 11 | ||
2309 | 8 9 9 6 7 7 6 7 7 4 5 5 8 9 9 6 7 7 | ||
2310 | 4 5 5 3 3 3 3 3 3 3 3 3 3 3 3 2 2 2 | ||
2311 | 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 | ||
2312 | 2 3 3 2 3 3 2 3 3 3 4 4 3 4 4 3 4 4 | ||
2313 | 3 4 4 3 4 4 3 3 3 3 4 4 3 4 4 3 4 4 | ||
2314 | 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 3 4 4 | ||
2315 | 3 4 4 3 4 4 21 22 21 145 141 105 145 141 105 72 73 67 | ||
2316 | 17 18 17 3 4 4 21 22 20 66 65 55 118 116 76 142 137 94 | ||
2317 | 149 143 98 151 147 98 149 143 98 142 137 94 142 137 94 142 137 94 | ||
2318 | 142 137 94 149 143 98 155 149 109 168 163 120 184 179 149 210 208 158 | ||
2319 | 239 239 170 251 251 187 251 251 187 210 208 158 177 172 135 71 71 57 | ||
2320 | 3 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2321 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2322 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2323 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2324 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2325 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2326 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2327 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2328 | 0 0 0 | ||
2329 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36 38 35 | ||
2330 | 115 113 82 158 153 112 181 176 137 197 193 154 204 201 155 210 208 158 | ||
2331 | 204 201 155 188 184 146 177 172 135 164 159 111 149 145 103 142 137 94 | ||
2332 | 142 137 94 142 137 94 149 143 98 151 147 98 149 143 98 125 122 87 | ||
2333 | 96 95 69 61 61 53 16 17 12 8 9 9 8 8 7 6 7 7 | ||
2334 | 4 5 5 3 4 4 3 3 3 3 3 3 3 3 3 5 6 5 | ||
2335 | 3 4 4 2 3 3 2 2 2 2 2 2 2 2 2 2 2 2 | ||
2336 | 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 2 2 | ||
2337 | 2 2 2 2 2 2 2 3 3 2 3 3 2 3 3 2 3 3 | ||
2338 | 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 | ||
2339 | 3 3 3 2 3 3 2 3 3 3 4 4 3 4 4 3 4 4 | ||
2340 | 3 4 4 3 4 4 3 4 4 8 9 9 8 8 7 3 3 3 | ||
2341 | 3 3 3 3 3 3 9 9 8 36 38 35 82 81 62 118 116 76 | ||
2342 | 142 137 94 151 147 98 151 147 98 151 147 98 149 143 98 149 143 98 | ||
2343 | 149 143 98 151 147 98 160 154 106 176 171 126 188 184 146 210 208 158 | ||
2344 | 239 239 170 251 251 187 239 239 170 210 208 158 156 151 111 31 33 31 | ||
2345 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2346 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2347 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2348 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2349 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2350 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2351 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2352 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2353 | 0 0 0 | ||
2354 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 7 5 | ||
2355 | 66 65 55 125 122 87 158 153 112 181 176 137 194 189 146 197 193 154 | ||
2356 | 197 193 154 184 179 149 177 172 135 168 163 120 156 151 111 151 147 98 | ||
2357 | 151 147 98 151 147 98 151 147 98 161 156 96 149 143 98 118 116 76 | ||
2358 | 82 81 62 53 55 47 12 12 9 4 5 5 3 4 4 3 3 3 | ||
2359 | 3 3 3 3 3 3 2 2 2 2 2 2 1 1 1 1 2 2 | ||
2360 | 3 3 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 | ||
2361 | 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 2 2 | ||
2362 | 1 2 2 1 2 2 1 2 2 2 2 2 2 2 2 2 3 3 | ||
2363 | 2 3 3 2 3 3 2 3 3 2 3 3 2 2 2 2 2 2 | ||
2364 | 2 3 3 2 3 3 2 3 3 2 3 3 2 3 3 2 3 3 | ||
2365 | 2 3 3 2 3 3 2 3 3 2 3 3 2 3 3 3 3 3 | ||
2366 | 3 3 3 3 3 3 72 73 67 61 61 53 53 55 47 96 95 69 | ||
2367 | 131 127 93 151 147 98 161 156 96 161 156 96 151 147 98 151 147 98 | ||
2368 | 161 156 96 160 154 106 164 159 111 177 172 135 197 193 154 210 208 158 | ||
2369 | 239 239 170 251 251 187 224 223 159 197 193 154 131 127 93 9 9 8 | ||
2370 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2371 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2372 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2373 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2374 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2375 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2376 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2377 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2378 | 0 0 0 | ||
2379 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2380 | 24 26 24 82 81 62 131 127 93 164 159 111 178 174 128 188 184 146 | ||
2381 | 188 184 146 188 184 146 181 176 137 176 171 126 168 163 120 164 159 111 | ||
2382 | 160 154 106 160 154 106 160 154 106 160 154 106 151 147 98 125 122 87 | ||
2383 | 82 81 62 61 61 53 12 12 9 3 3 3 3 3 3 2 2 2 | ||
2384 | 2 2 2 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 | ||
2385 | 0 0 0 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2386 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2387 | 1 1 1 1 1 1 1 2 2 1 2 2 1 2 2 1 2 2 | ||
2388 | 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 | ||
2389 | 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 | ||
2390 | 2 3 3 2 3 3 2 3 3 2 3 3 2 3 3 2 3 3 | ||
2391 | 2 3 3 30 32 31 72 73 67 31 33 31 36 38 35 82 81 62 | ||
2392 | 118 116 76 149 143 98 161 156 96 161 156 96 161 156 96 160 154 106 | ||
2393 | 165 161 109 165 161 109 176 171 126 188 184 146 204 201 155 214 212 158 | ||
2394 | 239 239 170 239 239 170 214 212 158 184 179 149 82 81 62 0 0 0 | ||
2395 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2396 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2397 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2398 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2399 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2400 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2401 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2402 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2403 | 0 0 0 | ||
2404 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2405 | 2 2 2 43 44 41 96 95 69 131 127 93 160 154 106 176 171 126 | ||
2406 | 184 181 136 184 181 136 184 181 136 181 176 137 178 174 128 174 170 121 | ||
2407 | 171 165 117 173 167 111 173 167 111 173 167 111 160 154 106 131 127 93 | ||
2408 | 96 95 69 66 65 55 16 17 12 2 2 2 1 1 1 1 1 1 | ||
2409 | 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2410 | 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2411 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2412 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2413 | 1 2 2 1 2 2 1 2 2 1 2 2 1 2 2 2 2 2 | ||
2414 | 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 | ||
2415 | 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 | ||
2416 | 2 2 2 2 2 2 2 2 2 10 9 6 30 31 28 71 71 57 | ||
2417 | 118 116 76 149 143 98 165 161 109 165 161 109 165 161 109 173 167 111 | ||
2418 | 173 167 111 176 171 126 184 181 136 197 193 154 210 208 158 224 223 159 | ||
2419 | 251 251 187 239 239 170 210 208 158 168 163 120 40 41 39 0 0 0 | ||
2420 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2421 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2422 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2423 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2424 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2425 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2426 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2427 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2428 | 0 0 0 | ||
2429 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2430 | 0 0 0 13 12 7 61 61 53 96 95 69 131 127 93 160 154 106 | ||
2431 | 176 171 126 184 181 136 184 181 136 188 184 146 184 181 136 184 181 136 | ||
2432 | 184 181 136 186 182 128 186 182 128 178 174 128 174 170 121 149 145 103 | ||
2433 | 118 116 76 82 81 62 21 22 20 1 1 1 1 1 1 0 0 0 | ||
2434 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2435 | 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 | ||
2436 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2437 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2438 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 | ||
2439 | 1 2 2 1 2 2 1 2 2 1 2 2 1 2 2 2 2 2 | ||
2440 | 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 | ||
2441 | 2 2 2 2 2 2 2 2 2 3 3 3 30 31 28 66 65 55 | ||
2442 | 118 116 76 149 143 98 165 161 109 173 167 111 173 167 111 174 170 121 | ||
2443 | 186 182 128 190 186 136 197 193 154 210 208 158 224 223 159 251 251 187 | ||
2444 | 251 251 187 239 239 170 197 193 154 137 133 100 12 12 9 0 0 0 | ||
2445 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2446 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2447 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2448 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2449 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2450 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2451 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2452 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2453 | 0 0 0 | ||
2454 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2455 | 0 0 0 0 0 0 30 31 28 71 71 57 103 101 77 134 131 96 | ||
2456 | 164 159 111 176 171 126 184 181 136 188 184 146 194 189 146 197 193 154 | ||
2457 | 197 193 154 197 193 154 194 191 148 194 189 146 190 186 136 176 171 126 | ||
2458 | 145 141 105 103 101 77 40 41 39 0 0 0 0 0 0 0 0 0 | ||
2459 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2460 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2461 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2462 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2463 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2464 | 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 2 2 | ||
2465 | 1 2 2 1 2 2 1 2 2 1 2 2 1 2 2 1 2 2 | ||
2466 | 1 2 2 1 2 2 1 2 2 1 2 2 30 31 28 71 71 57 | ||
2467 | 118 116 76 160 154 106 173 167 111 178 174 128 186 182 128 190 186 136 | ||
2468 | 194 191 148 204 201 155 210 208 158 224 223 159 251 251 187 251 251 187 | ||
2469 | 251 251 187 214 212 158 184 179 149 84 83 72 0 0 0 0 0 0 | ||
2470 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2471 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2472 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2473 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2474 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2475 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2476 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2477 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2478 | 0 0 0 | ||
2479 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2480 | 0 0 0 0 0 0 5 5 3 43 44 41 82 81 62 103 101 77 | ||
2481 | 142 137 94 165 161 109 178 174 128 190 186 136 197 193 154 204 201 155 | ||
2482 | 210 208 158 210 208 158 210 208 158 210 208 158 210 208 158 197 193 154 | ||
2483 | 177 172 135 145 141 105 79 78 62 5 4 3 0 0 0 0 0 0 | ||
2484 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2485 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2486 | 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2487 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2488 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2489 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2490 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2491 | 1 1 1 1 1 1 1 2 2 1 2 2 30 31 28 82 81 62 | ||
2492 | 142 137 94 165 161 109 178 174 128 190 186 136 194 191 148 204 201 155 | ||
2493 | 210 208 158 214 212 158 239 239 170 251 251 187 251 251 187 251 251 187 | ||
2494 | 251 251 187 210 208 158 168 163 120 36 38 35 0 0 0 0 0 0 | ||
2495 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2496 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2497 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2498 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2499 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2500 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2501 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2502 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2503 | 0 0 0 | ||
2504 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2505 | 0 0 0 0 0 0 0 0 0 16 17 12 53 55 47 82 81 62 | ||
2506 | 118 116 76 151 147 98 171 165 117 184 181 136 194 191 148 210 208 158 | ||
2507 | 214 212 158 224 223 159 239 239 170 239 239 170 224 223 159 214 212 158 | ||
2508 | 197 193 154 176 171 126 115 113 82 24 26 24 0 0 0 0 0 0 | ||
2509 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2510 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2511 | 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 | ||
2512 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2513 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2514 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2515 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2516 | 1 1 1 1 1 1 1 1 1 1 1 1 40 41 39 103 101 77 | ||
2517 | 151 147 98 176 171 126 190 186 136 197 193 154 210 208 158 214 212 158 | ||
2518 | 239 239 170 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 | ||
2519 | 239 239 170 197 193 154 110 109 94 3 4 3 0 0 0 0 0 0 | ||
2520 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2521 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2522 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2523 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2524 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2525 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2526 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2527 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2528 | 0 0 0 | ||
2529 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2530 | 0 0 0 0 0 0 0 0 0 0 0 0 30 31 28 66 65 55 | ||
2531 | 96 95 69 125 122 87 160 154 106 178 174 128 194 189 146 204 201 155 | ||
2532 | 214 212 158 239 239 170 251 251 187 251 251 187 251 251 187 239 239 170 | ||
2533 | 210 208 158 188 184 146 149 145 103 61 61 53 0 0 0 0 0 0 | ||
2534 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2535 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2536 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2537 | 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2538 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2539 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2540 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2541 | 1 1 1 1 1 1 1 1 1 1 1 1 61 61 53 131 127 93 | ||
2542 | 164 159 111 184 181 136 197 193 154 210 208 158 224 223 159 251 251 187 | ||
2543 | 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 | ||
2544 | 210 208 158 168 163 120 43 44 41 0 0 0 0 0 0 0 0 0 | ||
2545 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2546 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2547 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2548 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2549 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2550 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2551 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2552 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2553 | 0 0 0 | ||
2554 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2555 | 0 0 0 0 0 0 0 0 0 0 0 0 4 3 2 36 38 35 | ||
2556 | 71 71 57 96 95 69 142 137 94 165 161 109 184 181 136 197 193 154 | ||
2557 | 210 208 158 239 239 170 251 251 187 251 251 187 251 251 187 251 251 187 | ||
2558 | 214 212 158 197 193 154 168 163 120 103 101 77 7 7 5 0 0 0 | ||
2559 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2560 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2561 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2562 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 | ||
2563 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2564 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2565 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2566 | 1 1 1 0 0 0 0 0 0 0 0 0 82 81 62 142 137 94 | ||
2567 | 174 170 121 194 189 146 210 208 158 224 223 159 251 251 187 251 251 187 | ||
2568 | 251 251 187 251 251 187 251 251 187 251 251 187 251 251 187 224 223 159 | ||
2569 | 184 179 149 99 98 80 3 3 3 0 0 0 0 0 0 0 0 0 | ||
2570 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2571 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2572 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2573 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2574 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2575 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2576 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2577 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2578 | 0 0 0 | ||
2579 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2580 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 7 5 | ||
2581 | 43 44 41 82 81 62 118 116 76 142 137 94 171 165 117 190 186 136 | ||
2582 | 204 201 155 224 223 159 251 251 187 251 251 187 251 251 187 251 251 187 | ||
2583 | 214 212 158 197 193 154 174 170 121 125 122 87 30 31 28 0 0 0 | ||
2584 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2585 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2586 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2587 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2588 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 | ||
2589 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | ||
2590 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2591 | 0 0 0 0 0 0 0 0 0 3 4 3 82 81 62 149 143 98 | ||
2592 | 176 171 126 194 191 148 210 208 158 239 239 170 251 251 187 251 251 187 | ||
2593 | 251 251 187 251 251 187 251 251 187 251 251 187 239 239 170 204 201 155 | ||
2594 | 145 141 105 30 31 28 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2595 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2596 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2597 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2598 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2599 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2600 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2601 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2602 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2603 | 0 0 0 | ||
2604 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2605 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2606 | 10 9 6 46 47 43 82 81 62 118 116 76 149 143 98 174 170 121 | ||
2607 | 194 189 146 210 208 158 224 223 159 251 251 187 251 251 187 224 223 159 | ||
2608 | 210 208 158 194 191 148 174 170 121 134 131 96 53 55 47 0 0 0 | ||
2609 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2610 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2611 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2612 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2613 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2614 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2615 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2616 | 0 0 0 0 0 0 0 0 0 7 7 5 96 95 69 149 143 98 | ||
2617 | 176 171 126 194 191 148 210 208 158 239 239 170 251 251 187 251 251 187 | ||
2618 | 251 251 187 251 251 187 251 251 187 239 239 170 210 208 158 177 172 135 | ||
2619 | 75 75 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2620 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2621 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2622 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2623 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2624 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2625 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2626 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2627 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2628 | 0 0 0 | ||
2629 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2630 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2631 | 0 0 0 10 9 6 46 47 43 82 81 62 118 116 76 149 143 98 | ||
2632 | 176 171 126 194 191 148 210 208 158 214 212 158 214 212 158 210 208 158 | ||
2633 | 197 193 154 184 181 136 164 159 111 131 127 93 53 55 47 0 0 0 | ||
2634 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2635 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2636 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2637 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2638 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2639 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2640 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2641 | 0 0 0 0 0 0 0 0 0 7 7 5 96 95 69 149 143 98 | ||
2642 | 174 170 121 194 189 146 204 201 155 214 212 158 239 239 170 251 251 187 | ||
2643 | 251 251 187 251 251 187 239 239 170 210 208 158 184 179 149 110 109 94 | ||
2644 | 12 12 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2645 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2646 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2647 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2648 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2649 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2650 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2651 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2652 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2653 | 0 0 0 | ||
2654 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2655 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2656 | 0 0 0 0 0 0 10 9 6 43 44 41 82 81 62 115 113 82 | ||
2657 | 144 139 99 168 163 120 188 184 146 197 193 154 197 193 154 194 189 146 | ||
2658 | 184 181 136 174 170 121 151 147 98 118 116 76 36 38 35 0 0 0 | ||
2659 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2660 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2661 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2662 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2663 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2664 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2665 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2666 | 0 0 0 0 0 0 0 0 0 4 3 2 82 81 62 142 137 94 | ||
2667 | 171 165 117 186 182 128 194 191 148 210 208 158 214 212 158 224 223 159 | ||
2668 | 239 239 170 224 223 159 210 208 158 184 179 149 137 133 100 36 38 35 | ||
2669 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2670 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2671 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2672 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2673 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2674 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2675 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2676 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2677 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2678 | 0 0 0 | ||
2679 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2680 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2681 | 0 0 0 0 0 0 0 0 0 7 7 5 36 38 35 71 71 57 | ||
2682 | 103 101 77 131 127 93 155 149 109 168 163 120 168 163 120 168 163 120 | ||
2683 | 164 159 111 149 143 98 125 122 87 82 81 62 13 12 7 0 0 0 | ||
2684 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2685 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2686 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2687 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2688 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2689 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2690 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2691 | 0 0 0 0 0 0 0 0 0 0 0 0 61 61 53 125 122 87 | ||
2692 | 160 154 106 174 170 121 184 181 136 194 189 146 204 201 155 210 208 158 | ||
2693 | 210 208 158 204 201 155 184 179 149 145 141 105 61 61 53 0 0 0 | ||
2694 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2695 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2696 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2697 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2698 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2699 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2700 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2701 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2702 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2703 | 0 0 0 | ||
2704 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2705 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2706 | 0 0 0 0 0 0 0 0 0 0 0 0 3 3 2 30 31 28 | ||
2707 | 61 61 53 82 81 62 103 101 77 121 119 87 125 122 87 125 122 87 | ||
2708 | 118 116 76 103 101 77 79 78 62 24 26 24 0 0 0 0 0 0 | ||
2709 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2710 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2711 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2712 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2713 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2714 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2715 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2716 | 0 0 0 0 0 0 0 0 0 0 0 0 25 27 25 96 95 69 | ||
2717 | 142 137 94 160 154 106 171 165 117 178 174 128 184 181 136 184 181 136 | ||
2718 | 181 176 137 177 172 135 145 141 105 75 75 61 5 5 3 0 0 0 | ||
2719 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2720 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2721 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2722 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2723 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2724 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2725 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2726 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2727 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2728 | 0 0 0 | ||
2729 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2730 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2731 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2732 | 16 17 12 40 41 39 61 61 53 71 71 57 71 71 57 71 71 57 | ||
2733 | 66 65 55 43 44 41 12 12 9 0 0 0 0 0 0 0 0 0 | ||
2734 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2735 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2736 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2737 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2738 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2739 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2740 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2741 | 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 46 47 43 | ||
2742 | 96 95 69 125 122 87 142 137 94 149 145 103 155 149 109 155 149 109 | ||
2743 | 145 141 105 121 119 87 66 65 55 7 7 5 0 0 0 0 0 0 | ||
2744 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2745 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2746 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2747 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2748 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2749 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2750 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2751 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2752 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2753 | 0 0 0 | ||
2754 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2755 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2756 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2757 | 0 0 0 1 1 1 16 17 12 24 26 24 25 27 25 19 20 18 | ||
2758 | 7 7 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2759 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2760 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2761 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2762 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2763 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2764 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2765 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2766 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 1 | ||
2767 | 25 27 25 61 61 53 82 81 62 96 95 69 96 95 69 82 81 62 | ||
2768 | 61 61 53 25 27 25 2 2 1 0 0 0 0 0 0 0 0 0 | ||
2769 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2770 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2771 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2772 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2773 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2774 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2775 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2776 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2777 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2778 | 0 0 0 | ||
2779 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2780 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2781 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2782 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2783 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2784 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2785 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2786 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2787 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2788 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2789 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2790 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2791 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2792 | 0 0 0 0 0 0 5 6 5 13 12 7 10 9 6 3 4 3 | ||
2793 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2794 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2795 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2796 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2797 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2798 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2799 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2800 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2801 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2802 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2803 | 0 0 0 | ||
2804 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2805 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2806 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2807 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2808 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2809 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2810 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2811 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2812 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2813 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2814 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2815 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2816 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2817 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2818 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2819 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2820 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2821 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2822 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2823 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2824 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2825 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2826 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2827 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2828 | 0 0 0 | ||
diff --git a/drivers/video/logo/logo_linux_vga16.ppm b/drivers/video/logo/logo_linux_vga16.ppm index 1850c15e6feb..12ac3a5454c0 100644 --- a/drivers/video/logo/logo_linux_vga16.ppm +++ b/drivers/video/logo/logo_linux_vga16.ppm | |||
@@ -1,1604 +1,2739 @@ | |||
1 | P3 | 1 | P3 |
2 | # Standard 16-color Linux logo | 2 | 142 114 |
3 | 80 80 | ||
4 | 255 | 3 | 255 |
5 | 0 0 0 0 0 0 0 0 0 0 0 0 | 4 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
6 | 0 0 0 0 0 0 0 0 0 0 0 0 | 5 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
7 | 0 0 0 0 0 0 0 0 0 0 0 0 | 6 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
8 | 0 0 0 0 0 0 0 0 0 0 0 0 | 7 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
9 | 0 0 0 0 0 0 0 0 0 0 0 0 | 8 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
10 | 0 0 0 0 0 0 0 0 0 0 0 0 | 9 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
11 | 0 0 0 0 0 0 0 0 0 0 0 0 | 10 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
12 | 0 0 0 0 0 0 0 0 0 0 0 0 | 11 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
13 | 0 0 0 0 0 0 0 0 0 0 0 0 | 12 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
14 | 0 0 0 0 0 0 0 0 0 0 0 0 | 13 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
15 | 0 0 0 0 0 0 0 0 0 0 0 0 | 14 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
16 | 0 0 0 0 0 0 0 0 0 0 0 0 | 15 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
17 | 0 0 0 0 0 0 0 0 0 0 0 0 | 16 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
18 | 0 0 0 0 0 0 0 0 0 0 0 0 | 17 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
19 | 0 0 0 0 0 0 0 0 0 0 0 0 | 18 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
20 | 0 0 0 0 0 0 0 0 0 0 0 0 | 19 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
21 | 0 0 0 0 0 0 0 0 0 0 0 0 | 20 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
22 | 0 0 0 0 0 0 0 0 0 0 0 0 | 21 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
23 | 0 0 0 0 0 0 0 0 0 0 0 0 | 22 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
24 | 0 0 0 0 0 0 0 0 0 0 0 0 | 23 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
25 | 0 0 0 0 0 0 0 0 0 0 0 0 | 24 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
26 | 0 0 0 0 0 0 0 0 0 0 0 0 | 25 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
27 | 0 0 0 0 0 0 0 0 0 0 0 0 | 26 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
28 | 0 0 0 0 0 0 0 0 0 0 0 0 | 27 | 0 0 0 0 0 0 0 0 0 0 0 0 |
29 | 0 0 0 0 0 0 0 0 0 0 0 0 | 28 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
30 | 0 0 0 0 0 0 0 0 0 0 0 0 | 29 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
31 | 0 0 0 0 0 0 0 0 0 0 0 0 | 30 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
32 | 0 0 0 0 0 0 0 0 0 0 0 0 | 31 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
33 | 0 0 0 0 0 0 0 0 0 0 0 0 | 32 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
34 | 0 0 0 0 0 0 0 0 0 0 0 0 | 33 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
35 | 0 0 0 0 0 0 0 0 0 0 0 0 | 34 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
36 | 0 0 0 0 0 0 0 0 0 0 0 0 | 35 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
37 | 0 0 0 0 0 0 0 0 0 0 0 0 | 36 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
38 | 0 0 0 0 0 0 0 0 0 0 0 0 | 37 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
39 | 0 0 0 0 0 0 0 0 0 0 0 0 | 38 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
40 | 0 0 0 0 0 0 0 0 0 0 0 0 | 39 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
41 | 0 0 0 0 0 0 0 0 0 0 0 0 | 40 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
42 | 0 0 0 0 0 0 0 0 0 0 0 0 | 41 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
43 | 0 0 0 0 0 0 0 0 0 0 0 0 | 42 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
44 | 0 0 0 0 0 0 0 0 0 0 0 0 | 43 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
45 | 0 0 0 0 0 0 0 0 0 0 0 0 | 44 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
46 | 0 0 0 0 0 0 0 0 0 0 0 0 | 45 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
47 | 0 0 0 0 0 0 0 0 0 0 0 0 | 46 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
48 | 0 0 0 0 0 0 0 0 0 0 0 0 | 47 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
49 | 0 0 0 0 0 0 0 0 0 0 0 0 | 48 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
50 | 0 0 0 0 0 0 0 0 0 0 0 0 | 49 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
51 | 0 0 0 0 0 0 0 0 0 0 0 0 | 50 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
52 | 0 0 0 0 0 0 0 0 0 0 0 0 | 51 | 0 0 0 0 0 0 0 0 0 0 0 0 |
53 | 0 0 0 0 0 0 0 0 0 0 0 0 | 52 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
54 | 85 85 85 85 85 85 85 85 85 85 85 85 | 53 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
55 | 85 85 85 85 85 85 85 85 85 0 0 0 | 54 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
56 | 0 0 0 0 0 0 0 0 0 0 0 0 | 55 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
57 | 0 0 0 0 0 0 0 0 0 0 0 0 | 56 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
58 | 0 0 0 0 0 0 0 0 0 0 0 0 | 57 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
59 | 0 0 0 0 0 0 0 0 0 0 0 0 | 58 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
60 | 0 0 0 0 0 0 0 0 0 0 0 0 | 59 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
61 | 0 0 0 0 0 0 0 0 0 0 0 0 | 60 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
62 | 0 0 0 0 0 0 0 0 0 0 0 0 | 61 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
63 | 0 0 0 0 0 0 0 0 0 0 0 0 | 62 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
64 | 0 0 0 0 0 0 0 0 0 0 0 0 | 63 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
65 | 0 0 0 0 0 0 0 0 0 0 0 0 | 64 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
66 | 0 0 0 0 0 0 0 0 0 0 0 0 | 65 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
67 | 0 0 0 0 0 0 0 0 0 0 0 0 | 66 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
68 | 0 0 0 0 0 0 0 0 0 0 0 0 | 67 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
69 | 0 0 0 0 0 0 0 0 0 0 0 0 | 68 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
70 | 0 0 0 0 0 0 0 0 0 0 0 0 | 69 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
71 | 0 0 0 0 0 0 0 0 0 0 0 0 | 70 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
72 | 0 0 0 0 0 0 0 0 0 0 0 0 | 71 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
73 | 0 0 0 0 0 0 85 85 85 85 85 85 | 72 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
74 | 85 85 85 0 0 0 0 0 0 0 0 0 | 73 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
75 | 0 0 0 0 0 0 0 0 0 85 85 85 | 74 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
76 | 85 85 85 85 85 85 0 0 0 0 0 0 | 75 | 0 0 0 0 0 0 0 0 0 0 0 0 |
77 | 0 0 0 0 0 0 0 0 0 0 0 0 | 76 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
78 | 0 0 0 0 0 0 0 0 0 0 0 0 | 77 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
79 | 0 0 0 0 0 0 0 0 0 0 0 0 | 78 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
80 | 0 0 0 0 0 0 0 0 0 0 0 0 | 79 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
81 | 0 0 0 0 0 0 0 0 0 0 0 0 | 80 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
82 | 0 0 0 0 0 0 0 0 0 0 0 0 | 81 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
83 | 0 0 0 0 0 0 0 0 0 0 0 0 | 82 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
84 | 0 0 0 0 0 0 0 0 0 0 0 0 | 83 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
85 | 0 0 0 0 0 0 0 0 0 0 0 0 | 84 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
86 | 0 0 0 0 0 0 0 0 0 0 0 0 | 85 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
87 | 0 0 0 0 0 0 0 0 0 0 0 0 | 86 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
88 | 0 0 0 0 0 0 0 0 0 0 0 0 | 87 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
89 | 0 0 0 0 0 0 0 0 0 0 0 0 | 88 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
90 | 0 0 0 0 0 0 0 0 0 0 0 0 | 89 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
91 | 0 0 0 0 0 0 0 0 0 0 0 0 | 90 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
92 | 0 0 0 0 0 0 0 0 0 0 0 0 | 91 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
93 | 0 0 0 85 85 85 0 0 0 0 0 0 | 92 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
94 | 0 0 0 0 0 0 0 0 0 0 0 0 | 93 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
95 | 0 0 0 0 0 0 0 0 0 0 0 0 | 94 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
96 | 0 0 0 0 0 0 85 85 85 85 85 85 | 95 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
97 | 0 0 0 0 0 0 0 0 0 0 0 0 | 96 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
98 | 0 0 0 0 0 0 0 0 0 0 0 0 | 97 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
99 | 0 0 0 0 0 0 0 0 0 0 0 0 | 98 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
100 | 0 0 0 0 0 0 0 0 0 0 0 0 | 99 | 0 0 0 0 0 0 0 0 0 0 0 0 |
101 | 0 0 0 0 0 0 0 0 0 0 0 0 | 100 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
102 | 0 0 0 0 0 0 0 0 0 0 0 0 | 101 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
103 | 0 0 0 0 0 0 0 0 0 0 0 0 | 102 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
104 | 0 0 0 0 0 0 0 0 0 0 0 0 | 103 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
105 | 0 0 0 0 0 0 0 0 0 0 0 0 | 104 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
106 | 0 0 0 0 0 0 0 0 0 0 0 0 | 105 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
107 | 0 0 0 0 0 0 0 0 0 0 0 0 | 106 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
108 | 0 0 0 0 0 0 0 0 0 0 0 0 | 107 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 |
109 | 0 0 0 0 0 0 0 0 0 0 0 0 | 108 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 |
110 | 0 0 0 0 0 0 0 0 0 0 0 0 | 109 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
111 | 0 0 0 0 0 0 0 0 0 0 0 0 | 110 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
112 | 0 0 0 0 0 0 0 0 0 0 0 0 | 111 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
113 | 85 85 85 0 0 0 0 0 0 0 0 0 | 112 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
114 | 0 0 0 0 0 0 0 0 0 0 0 0 | 113 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
115 | 0 0 0 0 0 0 0 0 0 0 0 0 | 114 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
116 | 0 0 0 0 0 0 0 0 0 85 85 85 | 115 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
117 | 85 85 85 0 0 0 0 0 0 0 0 0 | 116 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
118 | 0 0 0 0 0 0 0 0 0 0 0 0 | 117 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
119 | 0 0 0 0 0 0 0 0 0 0 0 0 | 118 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
120 | 0 0 0 0 0 0 0 0 0 0 0 0 | 119 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
121 | 0 0 0 0 0 0 0 0 0 0 0 0 | 120 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
122 | 0 0 0 0 0 0 0 0 0 0 0 0 | 121 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
123 | 0 0 0 0 0 0 0 0 0 0 0 0 | 122 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
124 | 0 0 0 0 0 0 0 0 0 0 0 0 | 123 | 0 0 0 0 0 0 0 0 0 0 0 0 |
125 | 0 0 0 0 0 0 0 0 0 0 0 0 | 124 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
126 | 0 0 0 0 0 0 0 0 0 0 0 0 | 125 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
127 | 0 0 0 0 0 0 0 0 0 0 0 0 | 126 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
128 | 0 0 0 0 0 0 0 0 0 0 0 0 | 127 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
129 | 0 0 0 0 0 0 0 0 0 0 0 0 | 128 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
130 | 0 0 0 0 0 0 0 0 0 0 0 0 | 129 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
131 | 0 0 0 0 0 0 0 0 0 0 0 0 | 130 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
132 | 0 0 0 0 0 0 0 0 0 85 85 85 | 131 | 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 85 85 85 |
133 | 0 0 0 0 0 0 0 0 0 0 0 0 | 132 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
134 | 0 0 0 0 0 0 0 0 0 0 0 0 | 133 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
135 | 0 0 0 0 0 0 0 0 0 0 0 0 | 134 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
136 | 0 0 0 0 0 0 0 0 0 0 0 0 | 135 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
137 | 85 85 85 85 85 85 0 0 0 0 0 0 | 136 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
138 | 0 0 0 0 0 0 0 0 0 0 0 0 | 137 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
139 | 0 0 0 0 0 0 0 0 0 0 0 0 | 138 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
140 | 0 0 0 0 0 0 0 0 0 0 0 0 | 139 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
141 | 0 0 0 0 0 0 0 0 0 0 0 0 | 140 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
142 | 0 0 0 0 0 0 0 0 0 0 0 0 | 141 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
143 | 0 0 0 0 0 0 0 0 0 0 0 0 | 142 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
144 | 0 0 0 0 0 0 0 0 0 0 0 0 | 143 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
145 | 0 0 0 0 0 0 0 0 0 0 0 0 | 144 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
146 | 0 0 0 0 0 0 0 0 0 0 0 0 | 145 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
147 | 0 0 0 0 0 0 0 0 0 0 0 0 | 146 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
148 | 0 0 0 0 0 0 0 0 0 0 0 0 | 147 | 0 0 0 0 0 0 0 0 0 0 0 0 |
149 | 0 0 0 0 0 0 0 0 0 0 0 0 | 148 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
150 | 0 0 0 0 0 0 0 0 0 0 0 0 | 149 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
151 | 0 0 0 0 0 0 0 0 0 0 0 0 | 150 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
152 | 0 0 0 0 0 0 0 0 0 85 85 85 | 151 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
153 | 0 0 0 0 0 0 0 0 0 0 0 0 | 152 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
154 | 0 0 0 0 0 0 0 0 0 0 0 0 | 153 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
155 | 0 0 0 0 0 0 0 0 0 0 0 0 | 154 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 |
156 | 85 85 85 170 170 170 0 0 0 0 0 0 | 155 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 |
157 | 0 0 0 85 85 85 0 0 0 0 0 0 | 156 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 |
158 | 0 0 0 0 0 0 0 0 0 0 0 0 | 157 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
159 | 0 0 0 0 0 0 0 0 0 0 0 0 | 158 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
160 | 0 0 0 0 0 0 0 0 0 0 0 0 | 159 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
161 | 0 0 0 0 0 0 0 0 0 0 0 0 | 160 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
162 | 0 0 0 0 0 0 0 0 0 0 0 0 | 161 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
163 | 0 0 0 0 0 0 0 0 0 0 0 0 | 162 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
164 | 0 0 0 0 0 0 0 0 0 0 0 0 | 163 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
165 | 0 0 0 0 0 0 0 0 0 0 0 0 | 164 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
166 | 0 0 0 0 0 0 0 0 0 0 0 0 | 165 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
167 | 0 0 0 0 0 0 0 0 0 0 0 0 | 166 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
168 | 0 0 0 0 0 0 0 0 0 0 0 0 | 167 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
169 | 0 0 0 0 0 0 0 0 0 0 0 0 | 168 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
170 | 0 0 0 0 0 0 0 0 0 0 0 0 | 169 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
171 | 0 0 0 0 0 0 0 0 0 0 0 0 | 170 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
172 | 0 0 0 0 0 0 85 85 85 0 0 0 | 171 | 0 0 0 0 0 0 0 0 0 0 0 0 |
173 | 0 0 0 0 0 0 0 0 0 0 0 0 | 172 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
174 | 0 0 0 0 0 0 0 0 0 0 0 0 | 173 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
175 | 0 0 0 0 0 0 0 0 0 0 0 0 | 174 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
176 | 170 170 170 170 170 170 85 85 85 0 0 0 | 175 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
177 | 0 0 0 0 0 0 85 85 85 0 0 0 | 176 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
178 | 0 0 0 0 0 0 0 0 0 0 0 0 | 177 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
179 | 0 0 0 0 0 0 0 0 0 0 0 0 | 178 | 85 85 85 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 |
180 | 0 0 0 0 0 0 0 0 0 0 0 0 | 179 | 0 0 0 85 85 85 85 85 85 0 0 0 85 85 85 85 85 85 |
181 | 0 0 0 0 0 0 0 0 0 0 0 0 | 180 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
182 | 0 0 0 0 0 0 0 0 0 0 0 0 | 181 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
183 | 0 0 0 0 0 0 0 0 0 0 0 0 | 182 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
184 | 0 0 0 0 0 0 0 0 0 0 0 0 | 183 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
185 | 0 0 0 0 0 0 0 0 0 0 0 0 | 184 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
186 | 0 0 0 0 0 0 0 0 0 0 0 0 | 185 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
187 | 0 0 0 0 0 0 0 0 0 0 0 0 | 186 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
188 | 0 0 0 0 0 0 0 0 0 0 0 0 | 187 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
189 | 0 0 0 0 0 0 0 0 0 0 0 0 | 188 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
190 | 0 0 0 0 0 0 0 0 0 0 0 0 | 189 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
191 | 0 0 0 0 0 0 0 0 0 0 0 0 | 190 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
192 | 0 0 0 0 0 0 85 85 85 0 0 0 | 191 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
193 | 0 0 0 0 0 0 0 0 0 0 0 0 | 192 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
194 | 0 0 0 0 0 0 0 0 0 0 0 0 | 193 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
195 | 0 0 0 0 0 0 0 0 0 0 0 0 | 194 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
196 | 0 0 0 85 85 85 0 0 0 0 0 0 | 195 | 0 0 0 0 0 0 0 0 0 0 0 0 |
197 | 0 0 0 0 0 0 0 0 0 85 85 85 | 196 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
198 | 0 0 0 0 0 0 0 0 0 0 0 0 | 197 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
199 | 0 0 0 0 0 0 0 0 0 0 0 0 | 198 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
200 | 0 0 0 0 0 0 0 0 0 0 0 0 | 199 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
201 | 0 0 0 0 0 0 0 0 0 0 0 0 | 200 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
202 | 0 0 0 0 0 0 0 0 0 0 0 0 | 201 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 |
203 | 0 0 0 0 0 0 0 0 0 0 0 0 | 202 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 |
204 | 0 0 0 0 0 0 0 0 0 0 0 0 | 203 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 |
205 | 0 0 0 0 0 0 0 0 0 0 0 0 | 204 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
206 | 0 0 0 0 0 0 0 0 0 0 0 0 | 205 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
207 | 0 0 0 0 0 0 0 0 0 0 0 0 | 206 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
208 | 0 0 0 0 0 0 0 0 0 0 0 0 | 207 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
209 | 0 0 0 0 0 0 0 0 0 0 0 0 | 208 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
210 | 0 0 0 0 0 0 0 0 0 0 0 0 | 209 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
211 | 0 0 0 0 0 0 0 0 0 0 0 0 | 210 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
212 | 0 0 0 0 0 0 85 85 85 0 0 0 | 211 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
213 | 0 0 0 0 0 0 0 0 0 0 0 0 | 212 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
214 | 0 0 0 0 0 0 0 0 0 0 0 0 | 213 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
215 | 0 0 0 0 0 0 0 0 0 0 0 0 | 214 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
216 | 0 0 0 0 0 0 0 0 0 0 0 0 | 215 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
217 | 0 0 0 0 0 0 0 0 0 85 85 85 | 216 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
218 | 0 0 0 0 0 0 0 0 0 0 0 0 | 217 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
219 | 0 0 0 0 0 0 0 0 0 0 0 0 | 218 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
220 | 0 0 0 0 0 0 0 0 0 0 0 0 | 219 | 0 0 0 0 0 0 0 0 0 0 0 0 |
221 | 0 0 0 0 0 0 0 0 0 0 0 0 | 220 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
222 | 0 0 0 0 0 0 0 0 0 0 0 0 | 221 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
223 | 0 0 0 0 0 0 0 0 0 0 0 0 | 222 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
224 | 0 0 0 0 0 0 0 0 0 0 0 0 | 223 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
225 | 0 0 0 0 0 0 0 0 0 0 0 0 | 224 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
226 | 0 0 0 0 0 0 0 0 0 0 0 0 | 225 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 170 170 170 |
227 | 0 0 0 0 0 0 0 0 0 0 0 0 | 226 | 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 |
228 | 0 0 0 0 0 0 0 0 0 0 0 0 | 227 | 0 0 0 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 |
229 | 0 0 0 0 0 0 0 0 0 0 0 0 | 228 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
230 | 0 0 0 0 0 0 0 0 0 0 0 0 | 229 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
231 | 0 0 0 0 0 0 0 0 0 0 0 0 | 230 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
232 | 0 0 0 85 85 85 0 0 0 0 0 0 | 231 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
233 | 0 0 0 0 0 0 0 0 0 0 0 0 | 232 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
234 | 0 0 0 0 0 0 0 0 0 0 0 0 | 233 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 |
235 | 0 0 0 0 0 0 0 0 0 0 0 0 | 234 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
236 | 0 0 0 0 0 0 0 0 0 0 0 0 | 235 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
237 | 0 0 0 0 0 0 0 0 0 85 85 85 | 236 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
238 | 0 0 0 0 0 0 0 0 0 0 0 0 | 237 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
239 | 0 0 0 0 0 0 0 0 0 0 0 0 | 238 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
240 | 0 0 0 0 0 0 0 0 0 0 0 0 | 239 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
241 | 0 0 0 0 0 0 0 0 0 0 0 0 | 240 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
242 | 0 0 0 0 0 0 0 0 0 0 0 0 | 241 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
243 | 0 0 0 0 0 0 0 0 0 0 0 0 | 242 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
244 | 0 0 0 0 0 0 0 0 0 0 0 0 | 243 | 0 0 0 0 0 0 0 0 0 0 0 0 |
245 | 0 0 0 0 0 0 0 0 0 0 0 0 | 244 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
246 | 0 0 0 0 0 0 0 0 0 0 0 0 | 245 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
247 | 0 0 0 0 0 0 0 0 0 0 0 0 | 246 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
248 | 0 0 0 0 0 0 0 0 0 0 0 0 | 247 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
249 | 0 0 0 0 0 0 0 0 0 0 0 0 | 248 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
250 | 0 0 0 0 0 0 0 0 0 0 0 0 | 249 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 |
251 | 0 0 0 0 0 0 0 0 0 0 0 0 | 250 | 85 85 85 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 |
252 | 0 0 0 85 85 85 0 0 0 0 0 0 | 251 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
253 | 0 0 0 0 0 0 0 0 0 0 0 0 | 252 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
254 | 0 0 0 0 0 0 0 0 0 0 0 0 | 253 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
255 | 0 0 0 0 0 0 0 0 0 0 0 0 | 254 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
256 | 0 0 0 0 0 0 0 0 0 0 0 0 | 255 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
257 | 0 0 0 0 0 0 0 0 0 0 0 0 | 256 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
258 | 85 85 85 0 0 0 0 0 0 0 0 0 | 257 | 0 0 0 85 85 85 170 170 170 170 85 0 170 170 170 85 85 85 |
259 | 0 0 0 0 0 0 0 0 0 0 0 0 | 258 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
260 | 0 0 0 0 0 0 0 0 0 0 0 0 | 259 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
261 | 0 0 0 0 0 0 0 0 0 0 0 0 | 260 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
262 | 0 0 0 0 0 0 0 0 0 0 0 0 | 261 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
263 | 0 0 0 0 0 0 0 0 0 0 0 0 | 262 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
264 | 0 0 0 0 0 0 0 0 0 0 0 0 | 263 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
265 | 0 0 0 0 0 0 0 0 0 0 0 0 | 264 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
266 | 0 0 0 0 0 0 0 0 0 0 0 0 | 265 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
267 | 0 0 0 0 0 0 0 0 0 0 0 0 | 266 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
268 | 0 0 0 0 0 0 0 0 0 0 0 0 | 267 | 0 0 0 0 0 0 0 0 0 0 0 0 |
269 | 0 0 0 0 0 0 0 0 0 0 0 0 | 268 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
270 | 0 0 0 0 0 0 0 0 0 0 0 0 | 269 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
271 | 0 0 0 0 0 0 0 0 0 0 0 0 | 270 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
272 | 0 0 0 85 85 85 0 0 0 0 0 0 | 271 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
273 | 0 0 0 0 0 0 0 0 0 0 0 0 | 272 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
274 | 0 0 0 0 0 0 0 0 0 0 0 0 | 273 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
275 | 0 0 0 0 0 0 0 0 0 0 0 0 | 274 | 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 |
276 | 0 0 0 0 0 0 0 0 0 0 0 0 | 275 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
277 | 0 0 0 0 0 0 0 0 0 0 0 0 | 276 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
278 | 85 85 85 0 0 0 0 0 0 0 0 0 | 277 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
279 | 0 0 0 0 0 0 0 0 0 0 0 0 | 278 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
280 | 0 0 0 0 0 0 0 0 0 0 0 0 | 279 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
281 | 0 0 0 0 0 0 0 0 0 0 0 0 | 280 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
282 | 0 0 0 0 0 0 0 0 0 0 0 0 | 281 | 170 170 170 255 255 85 170 170 170 170 170 170 170 170 170 85 85 85 |
283 | 0 0 0 0 0 0 0 0 0 0 0 0 | 282 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
284 | 0 0 0 0 0 0 0 0 0 0 0 0 | 283 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
285 | 0 0 0 0 0 0 0 0 0 0 0 0 | 284 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
286 | 0 0 0 0 0 0 0 0 0 0 0 0 | 285 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
287 | 0 0 0 0 0 0 0 0 0 0 0 0 | 286 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
288 | 0 0 0 0 0 0 0 0 0 0 0 0 | 287 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
289 | 0 0 0 0 0 0 0 0 0 0 0 0 | 288 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
290 | 0 0 0 0 0 0 0 0 0 0 0 0 | 289 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
291 | 0 0 0 0 0 0 0 0 0 0 0 0 | 290 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
292 | 0 0 0 85 85 85 0 0 0 0 0 0 | 291 | 0 0 0 0 0 0 0 0 0 0 0 0 |
293 | 0 0 0 85 85 85 170 170 170 0 0 0 | 292 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
294 | 0 0 0 0 0 0 0 0 0 0 0 0 | 293 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
295 | 0 0 0 0 0 0 170 170 170 170 170 170 | 294 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
296 | 170 170 170 0 0 0 0 0 0 0 0 0 | 295 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
297 | 0 0 0 0 0 0 0 0 0 0 0 0 | 296 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
298 | 85 85 85 0 0 0 0 0 0 0 0 0 | 297 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 |
299 | 0 0 0 0 0 0 0 0 0 0 0 0 | 298 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
300 | 0 0 0 0 0 0 0 0 0 0 0 0 | 299 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
301 | 0 0 0 0 0 0 0 0 0 0 0 0 | 300 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
302 | 0 0 0 0 0 0 0 0 0 0 0 0 | 301 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
303 | 0 0 0 0 0 0 0 0 0 0 0 0 | 302 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
304 | 0 0 0 0 0 0 0 0 0 0 0 0 | 303 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
305 | 0 0 0 0 0 0 0 0 0 0 0 0 | 304 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 170 170 170 |
306 | 0 0 0 0 0 0 0 0 0 0 0 0 | 305 | 255 255 85 170 170 170 170 170 170 170 85 0 85 255 85 170 85 0 |
307 | 0 0 0 0 0 0 0 0 0 0 0 0 | 306 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
308 | 0 0 0 0 0 0 0 0 0 0 0 0 | 307 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
309 | 0 0 0 0 0 0 0 0 0 0 0 0 | 308 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
310 | 0 0 0 0 0 0 0 0 0 0 0 0 | 309 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
311 | 0 0 0 0 0 0 0 0 0 0 0 0 | 310 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
312 | 0 0 0 85 85 85 0 0 0 0 0 0 | 311 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
313 | 85 85 85 170 170 170 170 170 170 170 170 170 | 312 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
314 | 0 0 0 0 0 0 0 0 0 0 0 0 | 313 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
315 | 0 0 0 170 170 170 255 255 255 255 255 255 | 314 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
316 | 255 255 255 170 170 170 0 0 0 0 0 0 | 315 | 0 0 0 0 0 0 0 0 0 0 0 0 |
317 | 0 0 0 0 0 0 0 0 0 0 0 0 | 316 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
318 | 85 85 85 0 0 0 0 0 0 0 0 0 | 317 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
319 | 0 0 0 0 0 0 0 0 0 0 0 0 | 318 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
320 | 0 0 0 0 0 0 0 0 0 0 0 0 | 319 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
321 | 0 0 0 0 0 0 0 0 0 0 0 0 | 320 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
322 | 0 0 0 0 0 0 0 0 0 0 0 0 | 321 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 |
323 | 0 0 0 0 0 0 0 0 0 0 0 0 | 322 | 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 |
324 | 0 0 0 0 0 0 0 0 0 0 0 0 | 323 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
325 | 0 0 0 0 0 0 0 0 0 0 0 0 | 324 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 85 85 85 |
326 | 0 0 0 0 0 0 0 0 0 0 0 0 | 325 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 |
327 | 0 0 0 0 0 0 0 0 0 0 0 0 | 326 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
328 | 0 0 0 0 0 0 0 0 0 0 0 0 | 327 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
329 | 0 0 0 0 0 0 0 0 0 0 0 0 | 328 | 85 85 85 0 0 0 0 0 0 85 85 85 170 170 170 170 85 0 |
330 | 0 0 0 0 0 0 0 0 0 0 0 0 | 329 | 170 170 170 170 170 170 255 255 85 170 170 170 170 170 170 85 85 85 |
331 | 0 0 0 0 0 0 0 0 0 0 0 0 | 330 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
332 | 0 0 0 85 85 85 0 0 0 85 85 85 | 331 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
333 | 170 170 170 170 170 170 255 255 255 255 255 255 | 332 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
334 | 0 0 0 0 0 0 0 0 0 0 0 0 | 333 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
335 | 170 170 170 255 255 255 170 170 170 170 170 170 | 334 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
336 | 255 255 255 170 170 170 0 0 0 0 0 0 | 335 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
337 | 0 0 0 0 0 0 0 0 0 0 0 0 | 336 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
338 | 85 85 85 0 0 0 0 0 0 0 0 0 | 337 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
339 | 0 0 0 0 0 0 0 0 0 0 0 0 | 338 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
340 | 0 0 0 0 0 0 0 0 0 0 0 0 | 339 | 0 0 0 0 0 0 0 0 0 0 0 0 |
341 | 0 0 0 0 0 0 0 0 0 0 0 0 | 340 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
342 | 0 0 0 0 0 0 0 0 0 0 0 0 | 341 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
343 | 0 0 0 0 0 0 0 0 0 0 0 0 | 342 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
344 | 0 0 0 0 0 0 0 0 0 0 0 0 | 343 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
345 | 0 0 0 0 0 0 0 0 0 0 0 0 | 344 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
346 | 0 0 0 0 0 0 0 0 0 0 0 0 | 345 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 |
347 | 0 0 0 0 0 0 0 0 0 0 0 0 | 346 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
348 | 0 0 0 0 0 0 0 0 0 0 0 0 | 347 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
349 | 0 0 0 0 0 0 0 0 0 0 0 0 | 348 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
350 | 0 0 0 0 0 0 0 0 0 0 0 0 | 349 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 |
351 | 0 0 0 0 0 0 0 0 0 0 0 0 | 350 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
352 | 0 0 0 85 85 85 0 0 0 85 85 85 | 351 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
353 | 170 170 170 0 0 0 0 0 0 255 255 255 | 352 | 0 0 0 0 0 0 85 85 85 85 85 85 170 85 0 170 170 170 |
354 | 85 85 85 0 0 0 0 0 0 0 0 0 | 353 | 170 170 170 170 85 0 170 170 170 170 170 170 170 85 0 85 85 85 |
355 | 255 255 255 170 170 170 0 0 0 85 85 85 | 354 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
356 | 170 170 170 255 255 255 170 170 170 0 0 0 | 355 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
357 | 0 0 0 0 0 0 0 0 0 0 0 0 | 356 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
358 | 85 85 85 0 0 0 0 0 0 0 0 0 | 357 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
359 | 0 0 0 0 0 0 0 0 0 0 0 0 | 358 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
360 | 0 0 0 0 0 0 0 0 0 0 0 0 | 359 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
361 | 0 0 0 0 0 0 0 0 0 0 0 0 | 360 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
362 | 0 0 0 0 0 0 0 0 0 0 0 0 | 361 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
363 | 0 0 0 0 0 0 0 0 0 0 0 0 | 362 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
364 | 0 0 0 0 0 0 0 0 0 0 0 0 | 363 | 0 0 0 0 0 0 0 0 0 0 0 0 |
365 | 0 0 0 0 0 0 0 0 0 0 0 0 | 364 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
366 | 0 0 0 0 0 0 0 0 0 0 0 0 | 365 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
367 | 0 0 0 0 0 0 0 0 0 0 0 0 | 366 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
368 | 0 0 0 0 0 0 0 0 0 0 0 0 | 367 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
369 | 0 0 0 0 0 0 0 0 0 0 0 0 | 368 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
370 | 0 0 0 0 0 0 0 0 0 0 0 0 | 369 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 |
371 | 0 0 0 0 0 0 0 0 0 0 0 0 | 370 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 |
372 | 0 0 0 85 85 85 0 0 0 85 85 85 | 371 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
373 | 85 85 85 0 0 0 0 0 0 170 170 170 | 372 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 85 85 85 |
374 | 85 85 85 0 0 0 0 0 0 0 0 0 | 373 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 |
375 | 255 255 255 85 85 85 0 0 0 0 0 0 | 374 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
376 | 85 85 85 255 255 255 170 170 170 0 0 0 | 375 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 |
377 | 0 0 0 0 0 0 0 0 0 0 0 0 | 376 | 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 85 255 85 |
378 | 85 85 85 0 0 0 0 0 0 0 0 0 | 377 | 255 85 85 85 255 85 170 170 170 170 85 0 170 170 170 85 85 85 |
379 | 0 0 0 0 0 0 0 0 0 0 0 0 | 378 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
380 | 0 0 0 0 0 0 0 0 0 0 0 0 | 379 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
381 | 0 0 0 0 0 0 0 0 0 0 0 0 | 380 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
382 | 0 0 0 0 0 0 0 0 0 0 0 0 | 381 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
383 | 0 0 0 0 0 0 0 0 0 0 0 0 | 382 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
384 | 0 0 0 0 0 0 0 0 0 0 0 0 | 383 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
385 | 0 0 0 0 0 0 0 0 0 0 0 0 | 384 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
386 | 0 0 0 0 0 0 0 0 0 0 0 0 | 385 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
387 | 0 0 0 0 0 0 0 0 0 0 0 0 | 386 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
388 | 0 0 0 0 0 0 0 0 0 0 0 0 | 387 | 0 0 0 0 0 0 0 0 0 0 0 0 |
389 | 0 0 0 0 0 0 0 0 0 0 0 0 | 388 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
390 | 0 0 0 0 0 0 0 0 0 0 0 0 | 389 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
391 | 0 0 0 0 0 0 0 0 0 0 0 0 | 390 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
392 | 0 0 0 85 85 85 0 0 0 85 85 85 | 391 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
393 | 170 170 170 0 0 0 0 0 0 170 170 170 | 392 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
394 | 85 85 85 85 85 85 85 85 85 85 85 85 | 393 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 |
395 | 255 255 255 85 85 85 0 0 0 0 0 0 | 394 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
396 | 85 85 85 255 255 255 170 170 170 0 0 0 | 395 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
397 | 0 0 0 0 0 0 0 0 0 0 0 0 | 396 | 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 |
398 | 85 85 85 0 0 0 0 0 0 0 0 0 | 397 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 |
399 | 0 0 0 0 0 0 0 0 0 0 0 0 | 398 | 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 |
400 | 0 0 0 0 0 0 0 0 0 0 0 0 | 399 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
401 | 0 0 0 0 0 0 0 0 0 0 0 0 | 400 | 0 0 0 0 0 0 85 85 85 170 85 0 85 85 85 85 85 85 |
402 | 0 0 0 0 0 0 0 0 0 0 0 0 | 401 | 170 170 170 170 85 0 170 170 170 85 85 85 170 85 0 85 85 85 |
403 | 0 0 0 0 0 0 0 0 0 0 0 0 | 402 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
404 | 0 0 0 0 0 0 0 0 0 0 0 0 | 403 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
405 | 0 0 0 0 0 0 0 0 0 0 0 0 | 404 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
406 | 0 0 0 0 0 0 0 0 0 0 0 0 | 405 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
407 | 0 0 0 0 0 0 0 0 0 0 0 0 | 406 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
408 | 0 0 0 0 0 0 0 0 0 0 0 0 | 407 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
409 | 0 0 0 0 0 0 0 0 0 0 0 0 | 408 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
410 | 0 0 0 0 0 0 0 0 0 0 0 0 | 409 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
411 | 0 0 0 0 0 0 0 0 0 0 0 0 | 410 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
412 | 0 0 0 85 85 85 0 0 0 0 0 0 | 411 | 0 0 0 0 0 0 0 0 0 0 0 0 |
413 | 255 255 255 0 0 0 0 0 0 170 85 0 | 412 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
414 | 255 255 85 170 85 0 255 255 85 170 85 0 | 413 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
415 | 255 255 85 170 85 0 0 0 0 0 0 0 | 414 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
416 | 85 85 85 255 255 255 0 0 0 0 0 0 | 415 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
417 | 0 0 0 0 0 0 0 0 0 0 0 0 | 416 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
418 | 85 85 85 0 0 0 0 0 0 0 0 0 | 417 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 |
419 | 0 0 0 0 0 0 0 0 0 0 0 0 | 418 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
420 | 0 0 0 0 0 0 0 0 0 0 0 0 | 419 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
421 | 0 0 0 0 0 0 0 0 0 0 0 0 | 420 | 0 0 0 85 85 85 0 0 0 85 85 85 85 85 85 0 0 0 |
422 | 0 0 0 0 0 0 0 0 0 0 0 0 | 421 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
423 | 0 0 0 0 0 0 0 0 0 0 0 0 | 422 | 0 0 0 0 0 0 85 85 85 85 85 85 0 0 0 85 85 85 |
424 | 0 0 0 0 0 0 0 0 0 0 0 0 | 423 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
425 | 0 0 0 0 0 0 0 0 0 0 0 0 | 424 | 85 85 85 0 0 0 0 0 0 85 85 85 85 85 85 170 85 0 |
426 | 0 0 0 0 0 0 0 0 0 0 0 0 | 425 | 85 85 85 85 85 85 170 85 0 85 255 85 85 85 85 85 85 85 |
427 | 0 0 0 0 0 0 0 0 0 0 0 0 | 426 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
428 | 0 0 0 0 0 0 0 0 0 0 0 0 | 427 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
429 | 0 0 0 0 0 0 0 0 0 0 0 0 | 428 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
430 | 0 0 0 0 0 0 0 0 0 0 0 0 | 429 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
431 | 0 0 0 0 0 0 0 0 0 0 0 0 | 430 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
432 | 0 0 0 85 85 85 0 0 0 0 0 0 | 431 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
433 | 170 170 170 170 170 170 170 85 0 255 255 85 | 432 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
434 | 170 85 0 255 255 85 170 85 0 255 255 85 | 433 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
435 | 170 85 0 255 255 85 170 85 0 255 255 85 | 434 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
436 | 170 170 170 170 170 170 0 0 0 0 0 0 | 435 | 0 0 0 0 0 0 0 0 0 0 0 0 |
437 | 0 0 0 0 0 0 0 0 0 0 0 0 | 436 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
438 | 85 85 85 0 0 0 0 0 0 0 0 0 | 437 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
439 | 0 0 0 0 0 0 0 0 0 0 0 0 | 438 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
440 | 0 0 0 0 0 0 0 0 0 0 0 0 | 439 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
441 | 0 0 0 0 0 0 0 0 0 0 0 0 | 440 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
442 | 0 0 0 0 0 0 0 0 0 0 0 0 | 441 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
443 | 0 0 0 0 0 0 0 0 0 0 0 0 | 442 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
444 | 0 0 0 0 0 0 0 0 0 0 0 0 | 443 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 |
445 | 0 0 0 0 0 0 0 0 0 0 0 0 | 444 | 0 0 0 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 |
446 | 0 0 0 0 0 0 0 0 0 0 0 0 | 445 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
447 | 0 0 0 0 0 0 0 0 0 0 0 0 | 446 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
448 | 0 0 0 0 0 0 0 0 0 0 0 0 | 447 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
449 | 0 0 0 0 0 0 0 0 0 0 0 0 | 448 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 |
450 | 0 0 0 0 0 0 0 0 0 0 0 0 | 449 | 85 85 85 85 85 85 85 85 85 85 85 85 170 85 0 0 0 0 |
451 | 0 0 0 0 0 0 0 0 0 0 0 0 | 450 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
452 | 0 0 0 85 85 85 0 0 0 0 0 0 | 451 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
453 | 0 0 0 170 85 0 255 255 85 170 85 0 | 452 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
454 | 255 255 85 170 85 0 255 255 85 170 85 0 | 453 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
455 | 255 255 85 170 85 0 255 255 85 170 85 0 | 454 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
456 | 255 255 85 170 85 0 0 0 0 0 0 0 | 455 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
457 | 0 0 0 0 0 0 0 0 0 0 0 0 | 456 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
458 | 85 85 85 0 0 0 0 0 0 0 0 0 | 457 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
459 | 0 0 0 0 0 0 0 0 0 0 0 0 | 458 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
460 | 0 0 0 0 0 0 0 0 0 0 0 0 | 459 | 0 0 0 0 0 0 0 0 0 0 0 0 |
461 | 0 0 0 0 0 0 0 0 0 0 0 0 | 460 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
462 | 0 0 0 0 0 0 0 0 0 0 0 0 | 461 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
463 | 0 0 0 0 0 0 0 0 0 0 0 0 | 462 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
464 | 0 0 0 0 0 0 0 0 0 0 0 0 | 463 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
465 | 0 0 0 0 0 0 0 0 0 0 0 0 | 464 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
466 | 0 0 0 0 0 0 0 0 0 0 0 0 | 465 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
467 | 0 0 0 0 0 0 0 0 0 0 0 0 | 466 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 |
468 | 0 0 0 0 0 0 0 0 0 0 0 0 | 467 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
469 | 0 0 0 0 0 0 0 0 0 0 0 0 | 468 | 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 |
470 | 0 0 0 0 0 0 0 0 0 0 0 0 | 469 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
471 | 0 0 0 0 0 0 0 0 0 0 0 0 | 470 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
472 | 0 0 0 85 85 85 0 0 0 0 0 0 | 471 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
473 | 170 85 0 255 255 85 170 85 0 255 255 85 | 472 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 |
474 | 170 85 0 255 255 85 170 85 0 255 255 85 | 473 | 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 |
475 | 170 85 0 255 255 85 170 85 0 255 255 85 | 474 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
476 | 170 85 0 255 255 85 170 85 0 0 0 0 | 475 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
477 | 0 0 0 0 0 0 0 0 0 0 0 0 | 476 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
478 | 0 0 0 85 85 85 0 0 0 0 0 0 | 477 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
479 | 0 0 0 0 0 0 0 0 0 0 0 0 | 478 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
480 | 0 0 0 0 0 0 0 0 0 0 0 0 | 479 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
481 | 0 0 0 0 0 0 0 0 0 0 0 0 | 480 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
482 | 0 0 0 0 0 0 0 0 0 0 0 0 | 481 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
483 | 0 0 0 0 0 0 0 0 0 0 0 0 | 482 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
484 | 0 0 0 0 0 0 0 0 0 0 0 0 | 483 | 0 0 0 0 0 0 0 0 0 0 0 0 |
485 | 0 0 0 0 0 0 0 0 0 0 0 0 | 484 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
486 | 0 0 0 0 0 0 0 0 0 0 0 0 | 485 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
487 | 0 0 0 0 0 0 0 0 0 0 0 0 | 486 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
488 | 0 0 0 0 0 0 0 0 0 0 0 0 | 487 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
489 | 0 0 0 0 0 0 0 0 0 0 0 0 | 488 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
490 | 0 0 0 0 0 0 0 0 0 0 0 0 | 489 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
491 | 0 0 0 0 0 0 0 0 0 0 0 0 | 490 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
492 | 0 0 0 85 85 85 85 85 85 0 0 0 | 491 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 |
493 | 255 255 85 170 85 0 255 255 85 170 85 0 | 492 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
494 | 255 255 85 170 85 0 255 255 85 170 85 0 | 493 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
495 | 255 255 85 170 85 0 255 255 85 170 85 0 | 494 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
496 | 255 255 85 170 85 0 170 85 0 0 0 0 | 495 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
497 | 0 0 0 0 0 0 0 0 0 0 0 0 | 496 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
498 | 0 0 0 85 85 85 0 0 0 0 0 0 | 497 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
499 | 0 0 0 0 0 0 0 0 0 0 0 0 | 498 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
500 | 0 0 0 0 0 0 0 0 0 0 0 0 | 499 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
501 | 0 0 0 0 0 0 0 0 0 0 0 0 | 500 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
502 | 0 0 0 0 0 0 0 0 0 0 0 0 | 501 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
503 | 0 0 0 0 0 0 0 0 0 0 0 0 | 502 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
504 | 0 0 0 0 0 0 0 0 0 0 0 0 | 503 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
505 | 0 0 0 0 0 0 0 0 0 0 0 0 | 504 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
506 | 0 0 0 0 0 0 0 0 0 0 0 0 | 505 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
507 | 0 0 0 0 0 0 0 0 0 0 0 0 | 506 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
508 | 0 0 0 0 0 0 0 0 0 0 0 0 | 507 | 0 0 0 0 0 0 0 0 0 0 0 0 |
509 | 0 0 0 0 0 0 0 0 0 0 0 0 | 508 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
510 | 0 0 0 0 0 0 0 0 0 0 0 0 | 509 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
511 | 0 0 0 0 0 0 0 0 0 0 0 0 | 510 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
512 | 0 0 0 85 85 85 85 85 85 0 0 0 | 511 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
513 | 170 85 0 255 255 85 170 85 0 255 255 85 | 512 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
514 | 170 85 0 255 255 85 170 85 0 255 255 85 | 513 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
515 | 170 85 0 255 255 85 170 85 0 170 85 0 | 514 | 0 0 0 85 85 85 0 0 0 0 170 0 85 85 85 0 0 0 |
516 | 170 85 0 170 85 0 85 85 85 0 0 0 | 515 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
517 | 0 0 0 85 85 85 0 0 0 0 0 0 | 516 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
518 | 0 0 0 0 0 0 85 85 85 0 0 0 | 517 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
519 | 0 0 0 0 0 0 0 0 0 0 0 0 | 518 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
520 | 0 0 0 0 0 0 0 0 0 0 0 0 | 519 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
521 | 0 0 0 0 0 0 0 0 0 0 0 0 | 520 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
522 | 0 0 0 0 0 0 0 0 0 0 0 0 | 521 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
523 | 0 0 0 0 0 0 0 0 0 0 0 0 | 522 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
524 | 0 0 0 0 0 0 0 0 0 0 0 0 | 523 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
525 | 0 0 0 0 0 0 0 0 0 0 0 0 | 524 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
526 | 0 0 0 0 0 0 0 0 0 0 0 0 | 525 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
527 | 0 0 0 0 0 0 0 0 0 0 0 0 | 526 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
528 | 0 0 0 0 0 0 0 0 0 0 0 0 | 527 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
529 | 0 0 0 0 0 0 0 0 0 0 0 0 | 528 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
530 | 0 0 0 0 0 0 0 0 0 0 0 0 | 529 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
531 | 0 0 0 0 0 0 0 0 0 0 0 0 | 530 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
532 | 0 0 0 85 85 85 85 85 85 0 0 0 | 531 | 0 0 0 0 0 0 0 0 0 0 0 0 |
533 | 85 85 85 170 85 0 255 255 85 170 85 0 | 532 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
534 | 255 255 85 170 85 0 255 255 85 170 85 0 | 533 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
535 | 170 85 0 170 85 0 170 85 0 170 85 0 | 534 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
536 | 170 85 0 170 85 0 85 85 85 0 0 0 | 535 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
537 | 0 0 0 85 85 85 170 170 170 85 85 85 | 536 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
538 | 0 0 0 0 0 0 85 85 85 0 0 0 | 537 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
539 | 0 0 0 0 0 0 0 0 0 0 0 0 | 538 | 170 85 0 85 255 85 170 85 0 170 85 0 170 85 0 85 255 85 |
540 | 0 0 0 0 0 0 0 0 0 0 0 0 | 539 | 170 85 0 170 85 0 0 170 0 0 0 0 0 0 0 0 0 0 |
541 | 0 0 0 0 0 0 0 0 0 0 0 0 | 540 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
542 | 0 0 0 0 0 0 0 0 0 0 0 0 | 541 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
543 | 0 0 0 0 0 0 0 0 0 0 0 0 | 542 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
544 | 0 0 0 0 0 0 0 0 0 0 0 0 | 543 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
545 | 0 0 0 0 0 0 0 0 0 0 0 0 | 544 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
546 | 0 0 0 0 0 0 0 0 0 0 0 0 | 545 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
547 | 0 0 0 0 0 0 0 0 0 0 0 0 | 546 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
548 | 0 0 0 0 0 0 0 0 0 0 0 0 | 547 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
549 | 0 0 0 0 0 0 0 0 0 0 0 0 | 548 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
550 | 0 0 0 0 0 0 0 0 0 0 0 0 | 549 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
551 | 0 0 0 0 0 0 0 0 0 0 0 0 | 550 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
552 | 0 0 0 85 85 85 85 85 85 0 0 0 | 551 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
553 | 85 85 85 170 85 0 170 85 0 170 85 0 | 552 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
554 | 170 85 0 170 85 0 170 85 0 170 85 0 | 553 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
555 | 170 85 0 170 85 0 170 85 0 170 85 0 | 554 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
556 | 170 170 170 170 170 170 170 170 170 0 0 0 | 555 | 0 0 0 0 0 0 0 0 0 0 0 0 |
557 | 0 0 0 0 0 0 170 170 170 170 170 170 | 556 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
558 | 0 0 0 0 0 0 0 0 0 85 85 85 | 557 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
559 | 0 0 0 0 0 0 0 0 0 0 0 0 | 558 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
560 | 0 0 0 0 0 0 0 0 0 0 0 0 | 559 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
561 | 0 0 0 0 0 0 0 0 0 0 0 0 | 560 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
562 | 0 0 0 0 0 0 0 0 0 0 0 0 | 561 | 0 0 0 0 0 0 0 0 0 0 0 0 0 170 0 170 85 0 |
563 | 0 0 0 0 0 0 0 0 0 0 0 0 | 562 | 255 255 85 170 85 0 255 255 85 255 255 85 255 255 85 170 85 0 |
564 | 0 0 0 0 0 0 0 0 0 0 0 0 | 563 | 255 255 85 85 255 85 170 85 0 170 85 0 85 85 85 0 0 0 |
565 | 0 0 0 0 0 0 0 0 0 0 0 0 | 564 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
566 | 0 0 0 0 0 0 0 0 0 0 0 0 | 565 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
567 | 0 0 0 0 0 0 0 0 0 0 0 0 | 566 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
568 | 0 0 0 0 0 0 0 0 0 0 0 0 | 567 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
569 | 0 0 0 0 0 0 0 0 0 0 0 0 | 568 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
570 | 0 0 0 0 0 0 0 0 0 0 0 0 | 569 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
571 | 0 0 0 0 0 0 0 0 0 0 0 0 | 570 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
572 | 0 0 0 85 85 85 0 0 0 0 0 0 | 571 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
573 | 85 85 85 170 170 170 170 85 0 170 85 0 | 572 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
574 | 170 85 0 170 85 0 170 85 0 170 85 0 | 573 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
575 | 170 85 0 170 85 0 170 170 170 170 170 170 | 574 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
576 | 170 170 170 170 170 170 170 170 170 85 85 85 | 575 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
577 | 0 0 0 0 0 0 85 85 85 85 85 85 | 576 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
578 | 0 0 0 0 0 0 0 0 0 85 85 85 | 577 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
579 | 0 0 0 0 0 0 0 0 0 0 0 0 | 578 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
580 | 0 0 0 0 0 0 0 0 0 0 0 0 | 579 | 0 0 0 0 0 0 0 0 0 0 0 0 |
581 | 0 0 0 0 0 0 0 0 0 0 0 0 | 580 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
582 | 0 0 0 0 0 0 0 0 0 0 0 0 | 581 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
583 | 0 0 0 0 0 0 0 0 0 0 0 0 | 582 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
584 | 0 0 0 0 0 0 0 0 0 0 0 0 | 583 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
585 | 0 0 0 0 0 0 0 0 0 0 0 0 | 584 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
586 | 0 0 0 0 0 0 0 0 0 0 0 0 | 585 | 0 0 0 0 0 0 0 0 0 0 0 0 170 85 0 255 255 85 |
587 | 0 0 0 0 0 0 0 0 0 0 0 0 | 586 | 85 255 85 255 255 85 255 255 85 170 85 0 255 255 85 255 255 85 |
588 | 0 0 0 0 0 0 0 0 0 0 0 0 | 587 | 255 255 85 170 85 0 255 255 85 85 255 85 170 85 0 0 0 0 |
589 | 0 0 0 0 0 0 0 0 0 0 0 0 | 588 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
590 | 0 0 0 0 0 0 0 0 0 0 0 0 | 589 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
591 | 0 0 0 0 0 0 0 0 0 0 0 0 | 590 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
592 | 0 0 0 85 85 85 0 0 0 0 0 0 | 591 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
593 | 85 85 85 170 170 170 170 170 170 170 85 0 | 592 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
594 | 170 85 0 170 85 0 170 85 0 170 85 0 | 593 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
595 | 170 170 170 170 170 170 170 170 170 170 170 170 | 594 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
596 | 255 255 255 255 255 255 255 255 255 170 170 170 | 595 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
597 | 0 0 0 0 0 0 0 0 0 0 0 0 | 596 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
598 | 0 0 0 0 0 0 0 0 0 85 85 85 | 597 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
599 | 0 0 0 0 0 0 0 0 0 0 0 0 | 598 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
600 | 0 0 0 0 0 0 0 0 0 0 0 0 | 599 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
601 | 0 0 0 0 0 0 0 0 0 0 0 0 | 600 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
602 | 0 0 0 0 0 0 0 0 0 0 0 0 | 601 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
603 | 0 0 0 0 0 0 0 0 0 0 0 0 | 602 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
604 | 0 0 0 0 0 0 0 0 0 0 0 0 | 603 | 0 0 0 0 0 0 0 0 0 0 0 0 |
605 | 0 0 0 0 0 0 0 0 0 0 0 0 | 604 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
606 | 0 0 0 0 0 0 0 0 0 0 0 0 | 605 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
607 | 0 0 0 0 0 0 0 0 0 0 0 0 | 606 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
608 | 0 0 0 0 0 0 0 0 0 0 0 0 | 607 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
609 | 0 0 0 0 0 0 0 0 0 0 0 0 | 608 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
610 | 0 0 0 0 0 0 0 0 0 0 0 0 | 609 | 0 0 0 0 0 0 0 0 0 85 85 85 255 255 85 170 85 0 |
611 | 0 0 0 0 0 0 0 0 0 0 0 0 | 610 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 170 85 0 |
612 | 85 85 85 0 0 0 0 0 0 85 85 85 | 611 | 255 255 85 255 255 85 255 255 85 255 255 85 170 85 0 85 255 85 |
613 | 255 255 255 255 255 255 170 170 170 170 170 170 | 612 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
614 | 170 170 170 170 170 170 170 170 170 170 170 170 | 613 | 0 0 0 85 85 85 0 0 0 85 85 85 170 170 170 0 0 0 |
615 | 170 170 170 170 170 170 255 255 255 255 255 255 | 614 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
616 | 255 255 255 255 255 255 255 255 255 255 255 255 | 615 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
617 | 85 85 85 0 0 0 0 0 0 0 0 0 | 616 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
618 | 0 0 0 0 0 0 0 0 0 0 0 0 | 617 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
619 | 85 85 85 0 0 0 0 0 0 0 0 0 | 618 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
620 | 0 0 0 0 0 0 0 0 0 0 0 0 | 619 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
621 | 0 0 0 0 0 0 0 0 0 0 0 0 | 620 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
622 | 0 0 0 0 0 0 0 0 0 0 0 0 | 621 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
623 | 0 0 0 0 0 0 0 0 0 0 0 0 | 622 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
624 | 0 0 0 0 0 0 0 0 0 0 0 0 | 623 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
625 | 0 0 0 0 0 0 0 0 0 0 0 0 | 624 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
626 | 0 0 0 0 0 0 0 0 0 0 0 0 | 625 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
627 | 0 0 0 0 0 0 0 0 0 0 0 0 | 626 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
628 | 0 0 0 0 0 0 0 0 0 0 0 0 | 627 | 0 0 0 0 0 0 0 0 0 0 0 0 |
629 | 0 0 0 0 0 0 0 0 0 0 0 0 | 628 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
630 | 0 0 0 0 0 0 0 0 0 0 0 0 | 629 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
631 | 0 0 0 0 0 0 0 0 0 0 0 0 | 630 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
632 | 85 85 85 0 0 0 0 0 0 170 170 170 | 631 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
633 | 255 255 255 255 255 255 170 170 170 170 170 170 | 632 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
634 | 170 170 170 170 170 170 170 170 170 170 170 170 | 633 | 0 0 0 0 0 0 0 0 0 170 85 0 255 255 85 255 255 85 |
635 | 170 170 170 255 255 255 255 255 255 255 255 255 | 634 | 255 255 85 255 255 85 170 85 0 255 255 85 85 255 85 255 255 85 |
636 | 255 255 255 255 255 255 255 255 255 255 255 255 | 635 | 255 255 85 170 85 0 255 255 85 170 85 0 255 255 85 170 85 0 |
637 | 170 170 170 0 0 0 0 0 0 0 0 0 | 636 | 170 85 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
638 | 0 0 0 0 0 0 0 0 0 0 0 0 | 637 | 85 85 85 0 0 0 0 0 0 85 85 85 170 170 170 0 0 0 |
639 | 85 85 85 0 0 0 0 0 0 0 0 0 | 638 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
640 | 0 0 0 0 0 0 0 0 0 0 0 0 | 639 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
641 | 0 0 0 0 0 0 0 0 0 0 0 0 | 640 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 |
642 | 0 0 0 0 0 0 0 0 0 0 0 0 | 641 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
643 | 0 0 0 0 0 0 0 0 0 0 0 0 | 642 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
644 | 0 0 0 0 0 0 0 0 0 0 0 0 | 643 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
645 | 0 0 0 0 0 0 0 0 0 0 0 0 | 644 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
646 | 0 0 0 0 0 0 0 0 0 0 0 0 | 645 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
647 | 0 0 0 0 0 0 0 0 0 0 0 0 | 646 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
648 | 0 0 0 0 0 0 0 0 0 0 0 0 | 647 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
649 | 0 0 0 0 0 0 0 0 0 0 0 0 | 648 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
650 | 0 0 0 0 0 0 0 0 0 0 0 0 | 649 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
651 | 0 0 0 0 0 0 0 0 0 85 85 85 | 650 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
652 | 0 0 0 0 0 0 85 85 85 255 255 255 | 651 | 0 0 0 0 0 0 0 0 0 0 0 0 |
653 | 255 255 255 255 255 255 255 255 255 170 170 170 | 652 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
654 | 170 170 170 170 170 170 170 170 170 170 170 170 | 653 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
655 | 255 255 255 255 255 255 255 255 255 255 255 255 | 654 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
656 | 255 255 255 255 255 255 255 255 255 255 255 255 | 655 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
657 | 255 255 255 0 0 0 0 0 0 0 0 0 | 656 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
658 | 0 0 0 0 0 0 0 0 0 0 0 0 | 657 | 0 0 0 0 0 0 170 85 0 255 255 85 85 255 85 255 255 85 |
659 | 0 0 0 85 85 85 0 0 0 0 0 0 | 658 | 170 170 170 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
660 | 0 0 0 0 0 0 0 0 0 0 0 0 | 659 | 255 255 85 255 255 85 85 255 85 255 255 85 255 255 85 255 255 85 |
661 | 0 0 0 0 0 0 0 0 0 0 0 0 | 660 | 85 255 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
662 | 0 0 0 0 0 0 0 0 0 0 0 0 | 661 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
663 | 0 0 0 0 0 0 0 0 0 0 0 0 | 662 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
664 | 0 0 0 0 0 0 0 0 0 0 0 0 | 663 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 |
665 | 0 0 0 0 0 0 0 0 0 0 0 0 | 664 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
666 | 0 0 0 0 0 0 0 0 0 0 0 0 | 665 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
667 | 0 0 0 0 0 0 0 0 0 0 0 0 | 666 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
668 | 0 0 0 0 0 0 0 0 0 0 0 0 | 667 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
669 | 0 0 0 0 0 0 0 0 0 0 0 0 | 668 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
670 | 0 0 0 0 0 0 0 0 0 0 0 0 | 669 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
671 | 0 0 0 0 0 0 85 85 85 0 0 0 | 670 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
672 | 0 0 0 85 85 85 170 170 170 255 255 255 | 671 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
673 | 255 255 255 255 255 255 255 255 255 255 255 255 | 672 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
674 | 255 255 255 255 255 255 255 255 255 255 255 255 | 673 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
675 | 255 255 255 255 255 255 255 255 255 255 255 255 | 674 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
676 | 255 255 255 255 255 255 255 255 255 255 255 255 | 675 | 0 0 0 0 0 0 0 0 0 0 0 0 |
677 | 255 255 255 85 85 85 0 0 0 0 0 0 | 676 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
678 | 0 0 0 0 0 0 0 0 0 0 0 0 | 677 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
679 | 0 0 0 0 0 0 85 85 85 0 0 0 | 678 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
680 | 0 0 0 0 0 0 0 0 0 0 0 0 | 679 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
681 | 0 0 0 0 0 0 0 0 0 0 0 0 | 680 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
682 | 0 0 0 0 0 0 0 0 0 0 0 0 | 681 | 0 0 0 0 0 0 170 85 0 255 255 85 255 255 85 255 255 85 |
683 | 0 0 0 0 0 0 0 0 0 0 0 0 | 682 | 255 255 255 255 255 85 255 255 85 170 85 0 255 255 85 170 85 0 |
684 | 0 0 0 0 0 0 0 0 0 0 0 0 | 683 | 255 255 85 255 255 85 255 255 85 255 255 85 170 85 0 255 255 85 |
685 | 0 0 0 0 0 0 0 0 0 0 0 0 | 684 | 170 85 0 170 85 0 0 170 0 0 0 0 85 85 85 0 0 0 |
686 | 0 0 0 0 0 0 0 0 0 0 0 0 | 685 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
687 | 0 0 0 0 0 0 0 0 0 0 0 0 | 686 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
688 | 0 0 0 0 0 0 0 0 0 0 0 0 | 687 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
689 | 0 0 0 0 0 0 0 0 0 0 0 0 | 688 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
690 | 0 0 0 0 0 0 0 0 0 0 0 0 | 689 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
691 | 0 0 0 85 85 85 0 0 0 0 0 0 | 690 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
692 | 0 0 0 85 85 85 255 255 255 255 255 255 | 691 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
693 | 255 255 255 255 255 255 255 255 255 255 255 255 | 692 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
694 | 255 255 255 255 255 255 255 255 255 255 255 255 | 693 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
695 | 255 255 255 255 255 255 255 255 255 255 255 255 | 694 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
696 | 255 255 255 255 255 255 255 255 255 255 255 255 | 695 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
697 | 255 255 255 170 170 170 0 0 0 0 0 0 | 696 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
698 | 0 0 0 0 0 0 0 0 0 0 0 0 | 697 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
699 | 0 0 0 0 0 0 0 0 0 85 85 85 | 698 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
700 | 0 0 0 0 0 0 0 0 0 0 0 0 | 699 | 0 0 0 0 0 0 0 0 0 0 0 0 |
701 | 0 0 0 0 0 0 0 0 0 0 0 0 | 700 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
702 | 0 0 0 0 0 0 0 0 0 0 0 0 | 701 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
703 | 0 0 0 0 0 0 0 0 0 0 0 0 | 702 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
704 | 0 0 0 0 0 0 0 0 0 0 0 0 | 703 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
705 | 0 0 0 0 0 0 0 0 0 0 0 0 | 704 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
706 | 0 0 0 0 0 0 0 0 0 0 0 0 | 705 | 0 0 0 170 85 0 85 255 85 255 255 85 170 170 170 255 255 255 |
707 | 0 0 0 0 0 0 0 0 0 0 0 0 | 706 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
708 | 0 0 0 0 0 0 0 0 0 0 0 0 | 707 | 255 255 85 255 255 85 170 85 0 255 255 85 85 255 85 255 255 85 |
709 | 0 0 0 0 0 0 0 0 0 0 0 0 | 708 | 255 255 85 85 255 85 0 0 0 85 85 85 0 0 0 85 85 85 |
710 | 0 0 0 0 0 0 0 0 0 0 0 0 | 709 | 0 0 0 85 85 85 0 0 0 85 85 85 85 85 85 0 0 0 |
711 | 0 0 0 85 85 85 0 0 0 0 0 0 | 710 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
712 | 0 0 0 85 85 85 255 255 255 255 255 255 | 711 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
713 | 255 255 255 255 255 255 255 255 255 255 255 255 | 712 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
714 | 255 255 255 255 255 255 255 255 255 255 255 255 | 713 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
715 | 255 255 255 255 255 255 255 255 255 255 255 255 | 714 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
716 | 255 255 255 255 255 255 255 255 255 255 255 255 | 715 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
717 | 255 255 255 255 255 255 0 0 0 0 0 0 | 716 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
718 | 0 0 0 0 0 0 0 0 0 0 0 0 | 717 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
719 | 0 0 0 0 0 0 0 0 0 0 0 0 | 718 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
720 | 85 85 85 0 0 0 0 0 0 0 0 0 | 719 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
721 | 0 0 0 0 0 0 0 0 0 0 0 0 | 720 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
722 | 0 0 0 0 0 0 0 0 0 0 0 0 | 721 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
723 | 0 0 0 0 0 0 0 0 0 0 0 0 | 722 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
724 | 0 0 0 0 0 0 0 0 0 0 0 0 | 723 | 0 0 0 0 0 0 0 0 0 0 0 0 |
725 | 0 0 0 0 0 0 0 0 0 0 0 0 | 724 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
726 | 0 0 0 0 0 0 0 0 0 0 0 0 | 725 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
727 | 0 0 0 0 0 0 0 0 0 0 0 0 | 726 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
728 | 0 0 0 0 0 0 0 0 0 0 0 0 | 727 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
729 | 0 0 0 0 0 0 0 0 0 0 0 0 | 728 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
730 | 0 0 0 0 0 0 0 0 0 0 0 0 | 729 | 0 0 0 255 255 85 255 255 85 255 255 85 255 255 255 255 255 85 |
731 | 85 85 85 0 0 0 0 0 0 0 0 0 | 730 | 255 255 85 255 255 85 85 255 85 255 255 85 255 255 85 85 255 85 |
732 | 85 85 85 170 170 170 255 255 255 255 255 255 | 731 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 170 85 0 |
733 | 255 255 255 255 255 255 255 255 255 255 255 255 | 732 | 255 255 85 170 85 0 85 85 85 0 0 0 0 0 0 85 85 85 |
734 | 255 255 255 255 255 255 255 255 255 255 255 255 | 733 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 |
735 | 255 255 255 255 255 255 255 255 255 255 255 255 | 734 | 85 85 85 0 0 0 85 85 85 85 85 85 0 0 0 85 85 85 |
736 | 255 255 255 255 255 255 255 255 255 255 255 255 | 735 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
737 | 255 255 255 255 255 255 85 85 85 0 0 0 | 736 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
738 | 0 0 0 0 0 0 0 0 0 0 0 0 | 737 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
739 | 0 0 0 0 0 0 0 0 0 0 0 0 | 738 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
740 | 0 0 0 85 85 85 0 0 0 0 0 0 | 739 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
741 | 0 0 0 0 0 0 0 0 0 0 0 0 | 740 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
742 | 0 0 0 0 0 0 0 0 0 0 0 0 | 741 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
743 | 0 0 0 0 0 0 0 0 0 0 0 0 | 742 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
744 | 0 0 0 0 0 0 0 0 0 0 0 0 | 743 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
745 | 0 0 0 0 0 0 0 0 0 0 0 0 | 744 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
746 | 0 0 0 0 0 0 0 0 0 0 0 0 | 745 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
747 | 0 0 0 0 0 0 0 0 0 0 0 0 | 746 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
748 | 0 0 0 0 0 0 0 0 0 0 0 0 | 747 | 0 0 0 0 0 0 0 0 0 0 0 0 |
749 | 0 0 0 0 0 0 0 0 0 0 0 0 | 748 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
750 | 0 0 0 0 0 0 0 0 0 85 85 85 | 749 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
751 | 0 0 0 0 0 0 0 0 0 0 0 0 | 750 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
752 | 85 85 85 170 170 170 170 170 170 170 170 170 | 751 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
753 | 255 255 255 255 255 255 255 255 255 170 170 170 | 752 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
754 | 170 170 170 170 170 170 255 255 255 255 255 255 | 753 | 170 85 0 170 85 0 255 255 85 255 255 85 255 255 255 170 170 170 |
755 | 255 255 255 255 255 255 255 255 255 255 255 255 | 754 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
756 | 170 170 170 170 170 170 170 170 170 170 170 170 | 755 | 170 85 0 255 255 85 255 255 85 170 85 0 255 255 85 255 255 85 |
757 | 170 170 170 170 170 170 170 170 170 85 85 85 | 756 | 255 255 85 85 255 85 170 85 0 85 85 85 0 0 0 0 0 0 |
758 | 0 0 0 0 0 0 0 0 0 0 0 0 | 757 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 85 85 85 |
759 | 0 0 0 0 0 0 0 0 0 0 0 0 | 758 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 |
760 | 0 0 0 85 85 85 0 0 0 0 0 0 | 759 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 |
761 | 0 0 0 0 0 0 0 0 0 0 0 0 | 760 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
762 | 0 0 0 0 0 0 0 0 0 0 0 0 | 761 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 |
763 | 0 0 0 0 0 0 0 0 0 0 0 0 | 762 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
764 | 0 0 0 0 0 0 0 0 0 0 0 0 | 763 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
765 | 0 0 0 0 0 0 0 0 0 0 0 0 | 764 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
766 | 0 0 0 0 0 0 0 0 0 0 0 0 | 765 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
767 | 0 0 0 0 0 0 0 0 0 0 0 0 | 766 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
768 | 0 0 0 0 0 0 0 0 0 0 0 0 | 767 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
769 | 0 0 0 0 0 0 0 0 0 0 0 0 | 768 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
770 | 0 0 0 0 0 0 0 0 0 85 85 85 | 769 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
771 | 0 0 0 0 0 0 0 0 0 0 0 0 | 770 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
772 | 170 170 170 170 170 170 170 170 170 255 255 255 | 771 | 0 0 0 0 0 0 0 0 0 0 0 0 |
773 | 255 255 255 255 255 255 255 255 255 255 255 255 | 772 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
774 | 170 170 170 255 255 255 255 255 255 255 255 255 | 773 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
775 | 255 255 255 255 255 255 255 255 255 255 255 255 | 774 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
776 | 255 255 255 255 255 255 170 170 170 170 170 170 | 775 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
777 | 170 170 170 170 170 170 170 170 170 85 85 85 | 776 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
778 | 0 0 0 0 0 0 85 85 85 0 0 0 | 777 | 255 255 85 85 255 85 255 255 85 170 170 170 255 255 255 255 255 85 |
779 | 0 0 0 0 0 0 0 0 0 0 0 0 | 778 | 255 255 85 255 255 85 170 85 0 255 255 85 255 255 85 255 255 85 |
780 | 0 0 0 0 0 0 85 85 85 0 0 0 | 779 | 255 255 85 255 255 85 255 255 85 255 255 85 85 255 85 170 85 0 |
781 | 0 0 0 0 0 0 0 0 0 0 0 0 | 780 | 255 255 85 170 85 0 170 85 0 0 0 0 85 85 85 0 0 0 |
782 | 0 0 0 0 0 0 0 0 0 0 0 0 | 781 | 85 85 85 85 85 85 85 85 85 170 170 170 170 170 170 170 170 170 |
783 | 0 0 0 0 0 0 0 0 0 0 0 0 | 782 | 85 255 85 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 |
784 | 0 0 0 0 0 0 0 0 0 0 0 0 | 783 | 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 |
785 | 0 0 0 0 0 0 0 0 0 0 0 0 | 784 | 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 |
786 | 0 0 0 0 0 0 0 0 0 0 0 0 | 785 | 170 170 170 170 170 170 170 170 170 170 170 170 255 255 85 170 170 170 |
787 | 0 0 0 0 0 0 0 0 0 0 0 0 | 786 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
788 | 0 0 0 0 0 0 0 0 0 0 0 0 | 787 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
789 | 0 0 0 0 0 0 0 0 0 0 0 0 | 788 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
790 | 0 0 0 0 0 0 85 85 85 0 0 0 | 789 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
791 | 0 0 0 0 0 0 0 0 0 0 0 0 | 790 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
792 | 170 170 170 255 255 255 255 255 255 255 255 255 | 791 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
793 | 255 255 255 255 255 255 255 255 255 255 255 255 | 792 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
794 | 255 255 255 255 255 255 255 255 255 255 255 255 | 793 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
795 | 255 255 255 255 255 255 255 255 255 255 255 255 | 794 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
796 | 255 255 255 255 255 255 255 255 255 255 255 255 | 795 | 0 0 0 0 0 0 0 0 0 0 0 0 |
797 | 255 255 255 170 170 170 170 170 170 170 170 170 | 796 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
798 | 0 0 0 0 0 0 0 0 0 85 85 85 | 797 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
799 | 85 85 85 0 0 0 0 0 0 0 0 0 | 798 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
800 | 0 0 0 0 0 0 85 85 85 0 0 0 | 799 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
801 | 0 0 0 0 0 0 0 0 0 0 0 0 | 800 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 170 0 |
802 | 0 0 0 0 0 0 0 0 0 0 0 0 | 801 | 170 85 0 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
803 | 0 0 0 0 0 0 0 0 0 0 0 0 | 802 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
804 | 0 0 0 0 0 0 0 0 0 0 0 0 | 803 | 255 255 85 255 255 85 85 255 85 255 255 85 170 85 0 170 85 0 |
805 | 0 0 0 0 0 0 0 0 0 0 0 0 | 804 | 170 85 0 85 255 85 255 255 85 85 85 85 170 170 170 170 170 170 |
806 | 0 0 0 0 0 0 0 0 0 0 0 0 | 805 | 170 170 170 170 170 170 170 170 170 85 255 85 170 170 170 170 170 170 |
807 | 0 0 0 0 0 0 0 0 0 0 0 0 | 806 | 85 85 85 170 170 170 170 170 170 170 85 0 170 170 170 170 170 170 |
808 | 0 0 0 0 0 0 0 0 0 0 0 0 | 807 | 85 255 85 170 170 170 170 85 0 170 170 170 85 255 85 255 85 85 |
809 | 0 0 0 0 0 0 0 0 0 0 0 0 | 808 | 85 255 85 170 170 170 255 255 85 85 85 85 255 255 85 170 170 170 |
810 | 0 0 0 0 0 0 85 85 85 0 0 0 | 809 | 85 255 85 170 170 170 255 255 85 170 170 170 170 170 170 85 85 85 |
811 | 85 85 85 0 0 0 0 0 0 85 85 85 | 810 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
812 | 255 255 255 255 255 255 255 255 255 255 255 255 | 811 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
813 | 255 255 255 255 255 255 255 255 255 255 255 255 | 812 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
814 | 255 255 255 255 255 255 255 255 255 255 255 255 | 813 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
815 | 255 255 255 255 255 255 255 255 255 255 255 255 | 814 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
816 | 255 255 255 255 255 255 255 255 255 255 255 255 | 815 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
817 | 255 255 255 255 255 255 170 170 170 170 170 170 | 816 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
818 | 85 85 85 0 0 0 0 0 0 0 0 0 | 817 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
819 | 0 0 0 85 85 85 0 0 0 0 0 0 | 818 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
820 | 0 0 0 0 0 0 0 0 0 85 85 85 | 819 | 0 0 0 0 0 0 0 0 0 0 0 0 |
821 | 0 0 0 0 0 0 0 0 0 0 0 0 | 820 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
822 | 0 0 0 0 0 0 0 0 0 0 0 0 | 821 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
823 | 0 0 0 0 0 0 0 0 0 0 0 0 | 822 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
824 | 0 0 0 0 0 0 0 0 0 0 0 0 | 823 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
825 | 0 0 0 0 0 0 0 0 0 0 0 0 | 824 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 255 85 |
826 | 0 0 0 0 0 0 0 0 0 0 0 0 | 825 | 255 255 85 255 255 85 255 255 85 255 255 255 255 255 85 255 255 85 |
827 | 0 0 0 0 0 0 0 0 0 0 0 0 | 826 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 170 85 0 |
828 | 0 0 0 0 0 0 0 0 0 0 0 0 | 827 | 255 255 85 255 255 85 255 255 85 170 85 0 0 170 0 85 85 85 |
829 | 0 0 0 0 0 0 0 0 0 0 0 0 | 828 | 170 170 170 170 170 170 255 255 85 170 170 170 170 170 170 85 255 85 |
830 | 0 0 0 85 85 85 0 0 0 0 0 0 | 829 | 255 85 85 85 255 85 85 85 85 255 85 85 85 85 85 170 170 170 |
831 | 85 85 85 0 0 0 0 0 0 170 170 170 | 830 | 170 85 0 170 170 170 85 85 85 85 255 85 85 85 85 85 85 85 |
832 | 255 255 255 255 255 255 255 255 255 255 255 255 | 831 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
833 | 255 255 255 255 255 255 255 255 255 255 255 255 | 832 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
834 | 255 255 255 255 255 255 255 255 255 255 255 255 | 833 | 170 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
835 | 255 255 255 255 255 255 255 255 255 255 255 255 | 834 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
836 | 255 255 255 255 255 255 255 255 255 255 255 255 | 835 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
837 | 255 255 255 255 255 255 255 255 255 255 255 255 | 836 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
838 | 170 170 170 85 85 85 0 0 0 0 0 0 | 837 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
839 | 0 0 0 85 85 85 85 85 85 0 0 0 | 838 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
840 | 0 0 0 0 0 0 0 0 0 85 85 85 | 839 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
841 | 0 0 0 0 0 0 0 0 0 0 0 0 | 840 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
842 | 0 0 0 0 0 0 0 0 0 0 0 0 | 841 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
843 | 0 0 0 0 0 0 0 0 0 0 0 0 | 842 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
844 | 0 0 0 0 0 0 0 0 0 0 0 0 | 843 | 0 0 0 0 0 0 0 0 0 0 0 0 |
845 | 0 0 0 0 0 0 0 0 0 0 0 0 | 844 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
846 | 0 0 0 0 0 0 0 0 0 0 0 0 | 845 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
847 | 0 0 0 0 0 0 0 0 0 0 0 0 | 846 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
848 | 0 0 0 0 0 0 0 0 0 0 0 0 | 847 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
849 | 0 0 0 0 0 0 0 0 0 0 0 0 | 848 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 255 85 |
850 | 0 0 0 85 85 85 0 0 0 85 85 85 | 849 | 170 85 0 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
851 | 0 0 0 0 0 0 85 85 85 255 255 255 | 850 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
852 | 255 255 255 255 255 255 255 255 255 255 255 255 | 851 | 255 255 85 255 255 85 170 85 0 255 255 85 85 85 85 85 85 85 |
853 | 255 255 255 255 255 255 255 255 255 255 255 255 | 852 | 255 255 85 170 170 170 85 85 85 85 85 85 0 0 0 85 85 85 |
854 | 255 255 255 255 255 255 255 255 255 255 255 255 | 853 | 0 0 0 85 85 85 85 85 85 170 170 170 170 85 0 170 170 170 |
855 | 255 255 255 255 255 255 255 255 255 255 255 255 | 854 | 170 170 170 255 255 85 170 170 170 85 85 85 85 85 85 85 85 85 |
856 | 255 255 255 255 255 255 255 255 255 255 255 255 | 855 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
857 | 255 255 255 255 255 255 255 255 255 255 255 255 | 856 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
858 | 255 255 255 170 170 170 0 0 0 85 85 85 | 857 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
859 | 85 85 85 0 0 0 85 85 85 0 0 0 | 858 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
860 | 0 0 0 0 0 0 0 0 0 85 85 85 | 859 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
861 | 0 0 0 0 0 0 0 0 0 0 0 0 | 860 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
862 | 0 0 0 0 0 0 0 0 0 0 0 0 | 861 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
863 | 0 0 0 0 0 0 0 0 0 0 0 0 | 862 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
864 | 0 0 0 0 0 0 0 0 0 0 0 0 | 863 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
865 | 0 0 0 0 0 0 0 0 0 0 0 0 | 864 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
866 | 0 0 0 0 0 0 0 0 0 0 0 0 | 865 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
867 | 0 0 0 0 0 0 0 0 0 0 0 0 | 866 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
868 | 0 0 0 0 0 0 0 0 0 0 0 0 | 867 | 0 0 0 0 0 0 0 0 0 0 0 0 |
869 | 0 0 0 0 0 0 0 0 0 0 0 0 | 868 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
870 | 0 0 0 85 85 85 0 0 0 85 85 85 | 869 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
871 | 0 0 0 85 85 85 170 170 170 255 255 255 | 870 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
872 | 255 255 255 255 255 255 255 255 255 255 255 255 | 871 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
873 | 255 255 255 255 255 255 255 255 255 255 255 255 | 872 | 0 0 0 0 0 0 0 0 0 0 0 0 170 85 0 255 255 85 |
874 | 255 255 255 255 255 255 255 255 255 255 255 255 | 873 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
875 | 255 255 255 255 255 255 255 255 255 255 255 255 | 874 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
876 | 255 255 255 255 255 255 255 255 255 255 255 255 | 875 | 255 255 85 255 255 85 255 255 85 170 85 0 170 85 0 0 170 0 |
877 | 255 255 255 255 255 255 255 255 255 255 255 255 | 876 | 0 0 0 170 85 0 170 85 0 0 170 0 0 0 0 0 0 0 |
878 | 255 255 255 170 170 170 0 0 0 85 85 85 | 877 | 85 85 85 0 0 0 85 85 85 85 85 85 170 170 170 85 85 85 |
879 | 85 85 85 0 0 0 85 85 85 0 0 0 | 878 | 170 170 170 85 85 85 85 85 85 170 170 170 170 85 0 85 85 85 |
880 | 0 0 0 0 0 0 0 0 0 0 0 0 | 879 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
881 | 85 85 85 0 0 0 0 0 0 0 0 0 | 880 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
882 | 0 0 0 0 0 0 0 0 0 0 0 0 | 881 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
883 | 0 0 0 0 0 0 0 0 0 0 0 0 | 882 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
884 | 0 0 0 0 0 0 0 0 0 0 0 0 | 883 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
885 | 0 0 0 0 0 0 0 0 0 0 0 0 | 884 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
886 | 0 0 0 0 0 0 0 0 0 0 0 0 | 885 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
887 | 0 0 0 0 0 0 0 0 0 0 0 0 | 886 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
888 | 0 0 0 0 0 0 0 0 0 0 0 0 | 887 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
889 | 0 0 0 0 0 0 0 0 0 0 0 0 | 888 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
890 | 85 85 85 0 0 0 0 0 0 85 85 85 | 889 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
891 | 0 0 0 170 170 170 255 255 255 255 255 255 | 890 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
892 | 255 255 255 255 255 255 255 255 255 255 255 255 | 891 | 0 0 0 0 0 0 0 0 0 0 0 0 |
893 | 255 255 255 255 255 255 255 255 255 255 255 255 | 892 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
894 | 255 255 255 255 255 255 255 255 255 255 255 255 | 893 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
895 | 255 255 255 255 255 255 255 255 255 255 255 255 | 894 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
896 | 255 255 255 255 255 255 255 255 255 255 255 255 | 895 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
897 | 255 255 255 255 255 255 255 255 255 255 255 255 | 896 | 0 0 0 0 0 0 0 0 0 0 0 0 255 255 85 170 85 0 |
898 | 255 255 255 255 255 255 85 85 85 0 0 0 | 897 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 170 85 0 |
899 | 0 0 0 0 0 0 0 0 0 85 85 85 | 898 | 255 255 85 255 255 85 255 255 85 170 85 0 255 255 85 255 255 85 |
900 | 0 0 0 0 0 0 0 0 0 0 0 0 | 899 | 170 85 0 255 255 85 85 255 85 255 255 85 255 255 85 170 85 0 |
901 | 85 85 85 0 0 0 0 0 0 0 0 0 | 900 | 170 85 0 255 255 85 170 85 0 0 0 0 0 0 0 0 0 0 |
902 | 0 0 0 0 0 0 0 0 0 0 0 0 | 901 | 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 |
903 | 0 0 0 0 0 0 0 0 0 0 0 0 | 902 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 |
904 | 0 0 0 0 0 0 0 0 0 0 0 0 | 903 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
905 | 0 0 0 0 0 0 0 0 0 0 0 0 | 904 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
906 | 0 0 0 0 0 0 0 0 0 0 0 0 | 905 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
907 | 0 0 0 0 0 0 0 0 0 0 0 0 | 906 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
908 | 0 0 0 0 0 0 0 0 0 0 0 0 | 907 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
909 | 0 0 0 0 0 0 0 0 0 0 0 0 | 908 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
910 | 85 85 85 0 0 0 85 85 85 0 0 0 | 909 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
911 | 0 0 0 255 255 255 255 255 255 255 255 255 | 910 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
912 | 255 255 255 255 255 255 255 255 255 255 255 255 | 911 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
913 | 255 255 255 255 255 255 255 255 255 255 255 255 | 912 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
914 | 255 255 255 255 255 255 255 255 255 255 255 255 | 913 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
915 | 255 255 255 255 255 255 255 255 255 255 255 255 | 914 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
916 | 255 255 255 255 255 255 255 255 255 255 255 255 | 915 | 0 0 0 0 0 0 0 0 0 0 0 0 |
917 | 255 255 255 255 255 255 255 255 255 255 255 255 | 916 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
918 | 255 255 255 255 255 255 170 170 170 0 0 0 | 917 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
919 | 0 0 0 0 0 0 0 0 0 85 85 85 | 918 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
920 | 0 0 0 0 0 0 0 0 0 0 0 0 | 919 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
921 | 85 85 85 0 0 0 0 0 0 0 0 0 | 920 | 0 0 0 0 0 0 0 0 0 0 0 0 255 255 85 255 255 85 |
922 | 0 0 0 0 0 0 0 0 0 0 0 0 | 921 | 255 255 85 255 255 85 170 85 0 255 255 85 255 255 85 255 255 85 |
923 | 0 0 0 0 0 0 0 0 0 0 0 0 | 922 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
924 | 0 0 0 0 0 0 0 0 0 0 0 0 | 923 | 255 255 85 255 255 85 255 255 85 170 85 0 255 255 85 255 255 85 |
925 | 0 0 0 0 0 0 0 0 0 0 0 0 | 924 | 85 255 85 170 85 0 0 170 0 85 85 85 0 0 0 85 85 85 |
926 | 0 0 0 0 0 0 0 0 0 0 0 0 | 925 | 0 0 0 85 85 85 0 0 0 85 85 85 85 85 85 85 85 85 |
927 | 0 0 0 0 0 0 0 0 0 0 0 0 | 926 | 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 |
928 | 0 0 0 0 0 0 0 0 0 0 0 0 | 927 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
929 | 0 0 0 0 0 0 0 0 0 85 85 85 | 928 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
930 | 0 0 0 0 0 0 85 85 85 0 0 0 | 929 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
931 | 85 85 85 255 255 255 255 255 255 255 255 255 | 930 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
932 | 255 255 255 255 255 255 255 255 255 255 255 255 | 931 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
933 | 255 255 255 255 255 255 255 255 255 255 255 255 | 932 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
934 | 255 255 255 255 255 255 255 255 255 255 255 255 | 933 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
935 | 255 255 255 255 255 255 255 255 255 255 255 255 | 934 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
936 | 255 255 255 255 255 255 255 255 255 255 255 255 | 935 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
937 | 255 255 255 255 255 255 255 255 255 255 255 255 | 936 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
938 | 255 255 255 255 255 255 170 170 170 0 0 0 | 937 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
939 | 0 0 0 0 0 0 0 0 0 85 85 85 | 938 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
940 | 0 0 0 0 0 0 0 0 0 0 0 0 | 939 | 0 0 0 0 0 0 0 0 0 0 0 0 |
941 | 85 85 85 0 0 0 0 0 0 0 0 0 | 940 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
942 | 0 0 0 0 0 0 0 0 0 0 0 0 | 941 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
943 | 0 0 0 0 0 0 0 0 0 0 0 0 | 942 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
944 | 0 0 0 0 0 0 0 0 0 0 0 0 | 943 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
945 | 0 0 0 0 0 0 0 0 0 0 0 0 | 944 | 0 0 0 0 0 0 0 0 0 0 170 0 170 85 0 255 255 85 |
946 | 0 0 0 0 0 0 0 0 0 0 0 0 | 945 | 85 255 85 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
947 | 0 0 0 0 0 0 0 0 0 0 0 0 | 946 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
948 | 0 0 0 0 0 0 0 0 0 0 0 0 | 947 | 170 85 0 255 255 85 85 255 85 255 255 85 255 255 85 170 85 0 |
949 | 0 0 0 0 0 0 0 0 0 85 85 85 | 948 | 85 255 85 170 85 0 170 85 0 0 0 0 0 0 0 0 0 0 |
950 | 0 0 0 85 85 85 0 0 0 0 0 0 | 949 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
951 | 170 170 170 255 255 255 255 255 255 255 255 255 | 950 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
952 | 255 255 255 255 255 255 255 255 255 255 255 255 | 951 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 |
953 | 255 255 255 255 255 255 255 255 255 255 255 255 | 952 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
954 | 255 255 255 255 255 255 255 255 255 255 255 255 | 953 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
955 | 255 255 255 255 255 255 255 255 255 255 255 255 | 954 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
956 | 255 255 255 255 255 255 255 255 255 255 255 255 | 955 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
957 | 255 255 255 255 255 255 255 255 255 255 255 255 | 956 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
958 | 255 255 255 255 255 255 170 170 170 0 0 0 | 957 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
959 | 0 0 0 0 0 0 0 0 0 85 85 85 | 958 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
960 | 0 0 0 0 0 0 0 0 0 0 0 0 | 959 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
961 | 0 0 0 85 85 85 0 0 0 0 0 0 | 960 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
962 | 0 0 0 0 0 0 0 0 0 0 0 0 | 961 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
963 | 0 0 0 0 0 0 0 0 0 0 0 0 | 962 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
964 | 0 0 0 0 0 0 0 0 0 0 0 0 | 963 | 0 0 0 0 0 0 0 0 0 0 0 0 |
965 | 0 0 0 0 0 0 0 0 0 0 0 0 | 964 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
966 | 0 0 0 0 0 0 0 0 0 0 0 0 | 965 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
967 | 0 0 0 0 0 0 0 0 0 0 0 0 | 966 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
968 | 0 0 0 0 0 0 0 0 0 0 0 0 | 967 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
969 | 0 0 0 0 0 0 85 85 85 0 0 0 | 968 | 0 0 0 0 0 0 0 0 0 170 85 0 255 255 85 255 255 85 |
970 | 0 0 0 85 85 85 0 0 0 0 0 0 | 969 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
971 | 255 255 255 255 255 255 255 255 255 255 255 255 | 970 | 255 255 85 170 85 0 255 255 85 85 255 85 255 255 85 170 85 0 |
972 | 255 255 255 255 255 255 255 255 255 255 255 255 | 971 | 255 255 85 255 255 85 170 85 0 255 255 85 170 85 0 85 255 85 |
973 | 255 255 255 255 255 255 170 170 170 255 255 255 | 972 | 170 85 0 170 85 0 0 0 0 0 0 0 0 0 0 85 85 85 |
974 | 255 255 255 255 255 255 255 255 255 255 255 255 | 973 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
975 | 255 255 255 255 255 255 255 255 255 255 255 255 | 974 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
976 | 255 255 255 255 255 255 255 255 255 255 255 255 | 975 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
977 | 255 255 255 255 255 255 255 255 255 255 255 255 | 976 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
978 | 255 255 255 255 255 255 255 255 255 0 0 0 | 977 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
979 | 0 0 0 0 0 0 0 0 0 85 85 85 | 978 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
980 | 0 0 0 0 0 0 0 0 0 0 0 0 | 979 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
981 | 0 0 0 85 85 85 0 0 0 0 0 0 | 980 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
982 | 0 0 0 0 0 0 0 0 0 0 0 0 | 981 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
983 | 0 0 0 0 0 0 0 0 0 0 0 0 | 982 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
984 | 0 0 0 0 0 0 0 0 0 0 0 0 | 983 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
985 | 0 0 0 0 0 0 0 0 0 0 0 0 | 984 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
986 | 0 0 0 0 0 0 0 0 0 0 0 0 | 985 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
987 | 0 0 0 0 0 0 0 0 0 0 0 0 | 986 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
988 | 0 0 0 0 0 0 0 0 0 0 0 0 | 987 | 0 0 0 0 0 0 0 0 0 0 0 0 |
989 | 0 0 0 85 85 85 0 0 0 0 0 0 | 988 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
990 | 0 0 0 85 85 85 0 0 0 0 0 0 | 989 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
991 | 255 255 255 255 255 255 255 255 255 255 255 255 | 990 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
992 | 255 255 255 255 255 255 255 255 255 255 255 255 | 991 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
993 | 255 255 255 255 255 255 170 170 170 255 255 255 | 992 | 0 0 0 0 0 0 0 0 0 85 85 85 255 255 85 170 85 0 |
994 | 255 255 255 255 255 255 255 255 255 255 255 255 | 993 | 255 255 85 170 85 0 255 255 85 170 85 0 255 255 85 85 255 85 |
995 | 255 255 255 255 255 255 255 255 255 255 255 255 | 994 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
996 | 255 255 255 255 255 255 255 255 255 255 255 255 | 995 | 255 255 85 170 85 0 255 255 85 85 255 85 170 85 0 170 85 0 |
997 | 255 255 255 255 255 255 255 255 255 255 255 255 | 996 | 0 170 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
998 | 255 255 255 255 255 255 255 255 255 0 0 0 | 997 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
999 | 0 0 0 0 0 0 0 0 0 85 85 85 | 998 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 |
1000 | 0 0 0 0 0 0 0 0 0 0 0 0 | 999 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1001 | 0 0 0 85 85 85 0 0 0 0 0 0 | 1000 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
1002 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1001 | 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 |
1003 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1002 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1004 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1003 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1005 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1004 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1006 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1005 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1007 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1006 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1008 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1007 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1009 | 0 0 0 85 85 85 0 0 0 0 0 0 | 1008 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1010 | 0 0 0 85 85 85 0 0 0 85 85 85 | 1009 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1011 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1010 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1012 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1011 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1013 | 255 255 255 255 255 255 170 170 170 255 255 255 | 1012 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1014 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1013 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1015 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1014 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1016 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1015 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1017 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1016 | 0 0 0 0 0 0 0 0 0 170 85 0 255 255 85 255 255 85 |
1018 | 255 255 255 255 255 255 255 255 255 0 0 0 | 1017 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 |
1019 | 0 0 0 0 0 0 0 0 0 85 85 85 | 1018 | 255 255 85 255 255 85 170 85 0 255 255 85 170 85 0 85 255 85 |
1020 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1019 | 255 255 85 85 255 85 170 85 0 170 85 0 85 255 85 170 85 0 |
1021 | 0 0 0 85 85 85 0 0 0 0 0 0 | 1020 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
1022 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1021 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1023 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1022 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1024 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1023 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 |
1025 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1024 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 |
1026 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1025 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 |
1027 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1026 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1028 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1027 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1029 | 0 0 0 85 85 85 0 0 0 0 0 0 | 1028 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1030 | 0 0 0 85 85 85 0 0 0 85 85 85 | 1029 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1031 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1030 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1032 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1031 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1033 | 255 255 255 255 255 255 170 170 170 255 255 255 | 1032 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1034 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1033 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1035 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1034 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1036 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1035 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1037 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1036 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1038 | 255 255 255 255 255 255 255 255 255 0 0 0 | 1037 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1039 | 0 0 0 0 0 0 0 0 0 85 85 85 | 1038 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1040 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1039 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1041 | 0 0 0 85 85 85 0 0 0 0 0 0 | 1040 | 0 0 0 0 0 0 0 0 0 85 85 85 255 255 85 85 255 85 |
1042 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1041 | 255 255 85 255 255 85 85 255 85 255 255 85 255 255 85 255 255 85 |
1043 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1042 | 255 255 85 170 85 0 255 255 85 85 255 85 255 255 85 255 255 85 |
1044 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1043 | 170 85 0 170 85 0 85 255 85 170 85 0 0 0 0 0 0 0 |
1045 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1044 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1046 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1045 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1047 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1046 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 |
1048 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1047 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1049 | 0 0 0 85 85 85 0 0 0 0 0 0 | 1048 | 0 0 0 85 85 85 85 85 85 170 170 170 170 170 170 170 170 170 |
1050 | 0 0 0 0 0 0 85 85 85 85 85 85 | 1049 | 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 85 85 85 |
1051 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1050 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1052 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1051 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1053 | 255 255 255 255 255 255 170 170 170 255 255 255 | 1052 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1054 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1053 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1055 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1054 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1056 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1055 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1057 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1056 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1058 | 255 255 255 255 255 255 255 255 255 0 0 0 | 1057 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1059 | 0 0 0 0 0 0 0 0 0 85 85 85 | 1058 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1060 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1059 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1061 | 0 0 0 85 85 85 0 0 0 0 0 0 | 1060 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1062 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1061 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1063 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1062 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1064 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1063 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1065 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1064 | 0 0 0 0 0 0 0 0 0 85 85 85 255 255 85 255 255 85 |
1066 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1065 | 170 85 0 255 255 85 255 255 85 170 85 0 255 255 85 170 85 0 |
1067 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1066 | 255 255 85 85 255 85 170 85 0 255 255 85 170 85 0 85 255 85 |
1068 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1067 | 170 85 0 170 85 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1069 | 0 0 0 85 85 85 0 0 0 0 0 0 | 1068 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
1070 | 0 0 0 0 0 0 0 0 0 85 85 85 | 1069 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1071 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1070 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1072 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1071 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1073 | 255 255 255 255 255 255 170 170 170 255 255 255 | 1072 | 85 85 85 0 0 0 170 170 170 170 170 170 170 170 170 170 170 170 |
1074 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1073 | 170 170 170 170 170 170 170 170 170 85 85 85 85 85 85 85 85 85 |
1075 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1074 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1076 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1075 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1077 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1076 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1078 | 255 255 255 255 255 255 255 255 255 0 0 0 | 1077 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1079 | 85 85 85 85 85 85 85 85 85 85 85 85 | 1078 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1080 | 85 85 85 0 0 0 0 0 0 0 0 0 | 1079 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1081 | 0 0 0 85 85 85 0 0 0 0 0 0 | 1080 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1082 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1081 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1083 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1082 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1084 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1083 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1085 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1084 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1086 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1085 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1087 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1086 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1088 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1087 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1089 | 0 0 0 85 85 85 0 0 0 170 85 0 | 1088 | 0 0 0 0 0 0 0 0 0 0 0 0 170 85 0 255 255 85 |
1090 | 255 255 85 170 85 0 0 0 0 0 0 0 | 1089 | 255 255 85 255 255 85 255 255 85 255 255 85 255 255 85 85 255 85 |
1091 | 85 85 85 255 255 255 255 255 255 255 255 255 | 1090 | 170 85 0 255 255 85 170 85 0 85 255 85 170 85 0 170 85 0 |
1092 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1091 | 0 170 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1093 | 255 255 255 255 255 255 170 170 170 255 255 255 | 1092 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1094 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1093 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
1095 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1094 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1096 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1095 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
1097 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1096 | 0 0 0 85 85 85 170 170 170 170 170 170 255 255 255 170 170 170 |
1098 | 255 255 255 255 255 255 255 255 255 85 85 85 | 1097 | 170 170 170 170 170 170 85 85 85 85 85 85 85 85 85 85 85 85 |
1099 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1098 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1100 | 0 0 0 85 85 85 85 85 85 0 0 0 | 1099 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1101 | 0 0 0 85 85 85 0 0 0 0 0 0 | 1100 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1102 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1101 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1103 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1102 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1104 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1103 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1105 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1104 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1106 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1105 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1107 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1106 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1108 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1107 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1109 | 0 0 0 0 0 0 170 85 0 255 255 85 | 1108 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1110 | 170 85 0 255 255 85 170 85 0 0 0 0 | 1109 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1111 | 0 0 0 85 85 85 255 255 255 255 255 255 | 1110 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1112 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1111 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1113 | 255 255 255 255 255 255 170 170 170 255 255 255 | 1112 | 0 0 0 0 0 0 0 0 0 0 0 0 85 255 85 255 255 85 |
1114 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1113 | 170 85 0 255 255 85 255 255 85 170 85 0 85 255 85 170 85 0 |
1115 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1114 | 255 255 85 170 85 0 0 170 0 170 85 0 0 0 0 0 0 0 |
1116 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1115 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1117 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1116 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
1118 | 255 255 85 170 85 0 255 255 85 0 0 0 | 1117 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1119 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1118 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1120 | 0 0 0 0 0 0 85 85 85 85 85 85 | 1119 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1121 | 85 85 85 0 0 0 0 0 0 0 0 0 | 1120 | 85 85 85 0 0 0 170 170 170 170 170 170 170 170 170 85 85 85 |
1122 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1121 | 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 |
1123 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1122 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1124 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1123 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1125 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1124 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1126 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1125 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1127 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1126 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1128 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1127 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1129 | 0 0 0 170 85 0 255 255 85 170 85 0 | 1128 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1130 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1129 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1131 | 0 0 0 0 0 0 85 85 85 255 255 255 | 1130 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1132 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1131 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1133 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1132 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1134 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1133 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1135 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1134 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1136 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1135 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1137 | 255 255 255 255 255 255 255 255 255 255 255 85 | 1136 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 255 85 |
1138 | 170 85 0 255 255 85 170 85 0 0 0 0 | 1137 | 255 255 85 255 255 85 255 255 85 255 255 85 170 85 0 170 85 0 |
1139 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1138 | 0 170 0 85 85 85 85 85 85 0 0 0 0 0 0 85 85 85 |
1140 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1139 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1141 | 170 85 0 0 0 0 0 0 0 0 0 0 | 1140 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 85 85 85 |
1142 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1141 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 |
1143 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1142 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1144 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1143 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
1145 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1144 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1146 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1145 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1147 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1146 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1148 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1147 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1149 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1148 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1150 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1149 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1151 | 170 85 0 0 0 0 0 0 0 85 85 85 | 1150 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1152 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1151 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1153 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1152 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1154 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1153 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1155 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1154 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1156 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1155 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1157 | 255 255 255 255 255 255 255 255 255 170 85 0 | 1156 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1158 | 255 255 85 170 85 0 255 255 85 0 0 0 | 1157 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1159 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1158 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1160 | 0 0 0 0 0 0 0 0 0 170 85 0 | 1159 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1161 | 255 255 85 170 85 0 0 0 0 0 0 0 | 1160 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1162 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1161 | 255 255 85 255 255 85 170 85 0 0 170 0 85 85 85 85 85 85 |
1163 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1162 | 85 85 85 85 85 85 0 0 0 85 85 85 85 85 85 0 0 0 |
1164 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1163 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
1165 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1164 | 85 85 85 85 85 85 85 85 85 170 170 170 170 170 170 85 85 85 |
1166 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1165 | 170 170 170 170 170 170 170 170 170 170 170 170 85 85 85 85 85 85 |
1167 | 0 0 0 0 0 0 0 0 0 170 85 0 | 1166 | 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 |
1168 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1167 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1169 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1168 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1170 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1169 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1171 | 255 255 85 0 0 0 0 0 0 0 0 0 | 1170 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1172 | 85 85 85 255 255 255 255 255 255 255 255 255 | 1171 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1173 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1172 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1174 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1173 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1175 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1174 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1176 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1175 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1177 | 255 255 255 255 255 255 255 255 255 255 255 85 | 1176 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1178 | 170 85 0 255 255 85 170 85 0 0 0 0 | 1177 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1179 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1178 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1180 | 0 0 0 0 0 0 0 0 0 255 255 85 | 1179 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1181 | 170 85 0 255 255 85 0 0 0 0 0 0 | 1180 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1182 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1181 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1183 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1182 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1184 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1183 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1185 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1184 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1186 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1185 | 0 0 0 170 85 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1187 | 0 0 0 0 0 0 170 85 0 255 255 85 | 1186 | 85 85 85 85 85 85 85 85 85 85 85 85 170 170 170 85 85 85 |
1188 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1187 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 |
1189 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1188 | 170 170 170 170 170 170 170 170 170 170 170 170 255 255 255 255 255 255 |
1190 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1189 | 255 255 255 255 255 255 255 255 255 170 170 170 255 255 255 170 170 170 |
1191 | 170 85 0 255 255 85 0 0 0 0 0 0 | 1190 | 170 170 170 170 170 170 170 170 170 85 85 85 85 85 85 85 85 85 |
1192 | 0 0 0 85 85 85 255 255 255 255 255 255 | 1191 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1193 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1192 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1194 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1193 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1195 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1194 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1196 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1195 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1197 | 255 255 255 255 255 255 170 170 170 170 85 0 | 1196 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1198 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1197 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1199 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1198 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1200 | 0 0 0 0 0 0 255 255 85 170 85 0 | 1199 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1201 | 255 255 85 170 85 0 0 0 0 0 0 0 | 1200 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1202 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1201 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1203 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1202 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1204 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1203 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1205 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1204 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1206 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1205 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1207 | 0 0 0 0 0 0 255 255 85 170 85 0 | 1206 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1208 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1207 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1209 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1208 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1210 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1209 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1211 | 255 255 85 170 85 0 255 255 85 0 0 0 | 1210 | 85 85 85 85 85 85 85 85 85 85 85 85 170 170 170 170 170 170 |
1212 | 0 0 0 0 0 0 85 85 85 255 255 255 | 1211 | 255 255 255 255 255 255 255 255 255 170 170 170 255 255 255 170 170 170 |
1213 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1212 | 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 |
1214 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1213 | 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 |
1215 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1214 | 255 255 255 255 255 255 170 170 170 255 255 255 170 170 170 85 85 85 |
1216 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1215 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1217 | 255 255 255 170 170 170 170 170 170 255 255 85 | 1216 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1218 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1217 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1219 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1218 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1220 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1219 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1221 | 170 85 0 255 255 85 0 0 0 0 0 0 | 1220 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1222 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1221 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1223 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1222 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1224 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1223 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1225 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1224 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1226 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1225 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1227 | 0 0 0 0 0 0 170 85 0 255 255 85 | 1226 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1228 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1227 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1229 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1228 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1230 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1229 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1231 | 170 85 0 255 255 85 170 85 0 0 0 0 | 1230 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1232 | 0 0 0 0 0 0 0 0 0 85 85 85 | 1231 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1233 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1232 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1234 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1233 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1235 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1234 | 85 85 85 85 85 85 85 85 85 85 85 85 170 170 170 170 170 170 |
1236 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1235 | 255 255 255 170 170 170 255 255 255 255 255 255 255 255 255 255 255 255 |
1237 | 255 255 255 170 170 170 170 170 170 170 85 0 | 1236 | 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 170 170 170 |
1238 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1237 | 255 255 255 255 255 255 170 170 170 255 255 255 255 255 255 255 255 255 |
1239 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1238 | 255 255 255 255 255 255 255 255 255 255 255 255 170 170 170 85 85 85 |
1240 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1239 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
1241 | 255 255 85 170 85 0 255 255 85 0 0 0 | 1240 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
1242 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1241 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1243 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1242 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1244 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1243 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1245 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1244 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1246 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1245 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1247 | 0 0 0 0 0 0 255 255 85 170 85 0 | 1246 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1248 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1247 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1249 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1248 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1250 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1249 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1251 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1250 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1252 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1251 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1253 | 0 0 0 255 255 255 255 255 255 255 255 255 | 1252 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1254 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1253 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1255 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1254 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1256 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1255 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1257 | 255 255 255 170 170 170 170 170 170 255 255 85 | 1256 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1258 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1257 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1259 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1258 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 170 170 170 |
1260 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1259 | 170 170 170 170 170 170 255 255 255 170 170 170 255 255 255 170 170 170 |
1261 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1260 | 255 255 255 170 170 170 255 255 255 170 170 170 255 255 255 255 255 255 |
1262 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1261 | 255 255 255 170 170 170 255 255 255 170 170 170 255 255 255 170 170 170 |
1263 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1262 | 170 170 170 170 170 170 170 170 170 170 170 170 85 85 85 85 85 85 |
1264 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1263 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1265 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1264 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1266 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1265 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1267 | 0 0 0 0 0 0 170 85 0 255 255 85 | 1266 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1268 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1267 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1269 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1268 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1270 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1269 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1271 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1270 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1272 | 170 85 0 0 0 0 0 0 0 0 0 0 | 1271 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1273 | 0 0 0 255 255 255 255 255 255 255 255 255 | 1272 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1274 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1273 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1275 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1274 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1276 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1275 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1277 | 255 255 255 170 170 170 170 170 170 170 85 0 | 1276 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1278 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1277 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1279 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1278 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1280 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1279 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1281 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1280 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1282 | 255 255 85 0 0 0 0 0 0 0 0 0 | 1281 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1283 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1282 | 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 85 85 85 |
1284 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1283 | 85 85 85 85 85 85 85 85 85 170 170 170 170 170 170 170 170 170 |
1285 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1284 | 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 |
1286 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1285 | 170 170 170 170 170 170 170 170 170 170 170 170 85 85 85 170 170 170 |
1287 | 0 0 0 0 0 0 255 255 85 170 85 0 | 1286 | 170 170 170 170 170 170 85 85 85 0 0 0 85 85 85 0 0 0 |
1288 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1287 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
1289 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1288 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
1290 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1289 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1291 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1290 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
1292 | 255 255 85 0 0 0 0 0 0 0 0 0 | 1291 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1293 | 85 85 85 255 255 255 255 255 255 255 255 255 | 1292 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1294 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1293 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1295 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1294 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1296 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1295 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1297 | 255 255 255 170 170 170 85 85 85 255 255 85 | 1296 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1298 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1297 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1299 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1298 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1300 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1299 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1301 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1300 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1302 | 170 85 0 255 255 85 0 0 0 0 0 0 | 1301 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1303 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1302 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1304 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1303 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1305 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1304 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1306 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1305 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 |
1307 | 0 0 0 0 0 0 170 85 0 255 255 85 | 1306 | 170 170 170 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 |
1308 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1307 | 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 |
1309 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1308 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 |
1310 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1309 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 |
1311 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1310 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1312 | 170 85 0 255 255 85 85 85 85 85 85 85 | 1311 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1313 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1312 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1314 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1313 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1315 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1314 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1316 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1315 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1317 | 170 170 170 85 85 85 85 85 85 170 85 0 | 1316 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1318 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1317 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1319 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1318 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1320 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1319 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1321 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1320 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1322 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1321 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1323 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1322 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1324 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1323 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1325 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1324 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1326 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1325 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1327 | 0 0 0 0 0 0 255 255 85 170 85 0 | 1326 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1328 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1327 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1329 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1328 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1330 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1329 | 0 0 0 0 0 0 0 0 0 0 0 0 170 170 170 85 85 85 |
1331 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1330 | 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 |
1332 | 255 255 85 170 85 0 255 255 85 255 255 255 | 1331 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1333 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1332 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
1334 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1333 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1335 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1334 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1336 | 255 255 255 255 255 255 255 255 255 170 170 170 | 1335 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
1337 | 85 85 85 0 0 0 0 0 0 170 85 0 | 1336 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
1338 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1337 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1339 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1338 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1340 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1339 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1341 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1340 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1342 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1341 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1343 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1342 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1344 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1343 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1345 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1344 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1346 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1345 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1347 | 0 0 0 0 0 0 170 85 0 255 255 85 | 1346 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1348 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1347 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1349 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1348 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1350 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1349 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1351 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1350 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1352 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1351 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1353 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1352 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1354 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1353 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 |
1355 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1354 | 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 |
1356 | 255 255 255 255 255 255 170 170 170 85 85 85 | 1355 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1357 | 0 0 0 0 0 0 0 0 0 170 85 0 | 1356 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1358 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1357 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1359 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1358 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1360 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1359 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1361 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1360 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1362 | 255 255 85 170 85 0 255 255 85 0 0 0 | 1361 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1363 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1362 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1364 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1363 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1365 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1364 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1366 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1365 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1367 | 0 0 0 0 0 0 255 255 85 170 85 0 | 1366 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1368 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1367 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1369 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1368 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1370 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1369 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1371 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1370 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1372 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1371 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1373 | 170 170 170 255 255 255 255 255 255 255 255 255 | 1372 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1374 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1373 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1375 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1374 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1376 | 170 170 170 85 85 85 85 85 85 0 0 0 | 1375 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1377 | 0 0 0 0 0 0 0 0 0 170 85 0 | 1376 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1378 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1377 | 0 0 0 0 0 0 85 85 85 85 85 85 170 170 170 85 85 85 |
1379 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1378 | 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 |
1380 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1379 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1381 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1380 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
1382 | 170 85 0 255 255 85 0 0 0 0 0 0 | 1381 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1383 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1382 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1384 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1383 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1385 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1384 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1386 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1385 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 |
1387 | 0 0 0 255 255 85 170 85 0 255 255 85 | 1386 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1388 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1387 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1389 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1388 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1390 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1389 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1391 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1390 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1392 | 170 85 0 255 255 85 170 85 0 170 85 0 | 1391 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1393 | 170 85 0 170 170 170 255 255 255 255 255 255 | 1392 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1394 | 255 255 255 255 255 255 255 255 255 255 255 255 | 1393 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1395 | 255 255 255 255 255 255 170 170 170 85 85 85 | 1394 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1396 | 85 85 85 0 0 0 0 0 0 0 0 0 | 1395 | 0 0 0 0 0 0 0 0 0 0 0 0 |
1397 | 0 0 0 0 0 0 85 85 85 170 85 0 | 1396 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1398 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1397 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1399 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1398 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1400 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1399 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1401 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1400 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1402 | 255 255 85 0 0 0 0 0 0 0 0 0 | 1401 | 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 |
1403 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1402 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 |
1404 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1403 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1405 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1404 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1406 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1405 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1407 | 0 0 0 170 85 0 255 255 85 170 85 0 | 1406 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1408 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1407 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1409 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1408 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
1410 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1409 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1411 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1410 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1412 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1411 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1413 | 170 85 0 0 0 0 0 0 0 0 0 0 | 1412 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1414 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1413 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1415 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1414 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1416 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1415 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1417 | 0 0 0 0 0 0 85 85 85 170 85 0 | 1416 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1418 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1417 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1419 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1418 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1420 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1419 | 0 0 0 0 0 0 85 85 85 85 85 85 |
1421 | 170 85 0 170 85 0 170 85 0 0 0 0 | 1420 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1422 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1421 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1423 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1422 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1424 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1423 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1425 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1424 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1426 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1425 | 0 0 0 85 85 85 85 85 85 170 170 170 85 85 85 85 85 85 |
1427 | 0 0 0 255 255 85 170 85 0 255 255 85 | 1426 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
1428 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1427 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1429 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1428 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1430 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1429 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1431 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1430 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1432 | 170 85 0 255 255 85 170 85 0 170 85 0 | 1431 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1433 | 170 85 0 0 0 0 0 0 0 0 0 0 | 1432 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1434 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1433 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
1435 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1434 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1436 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1435 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1437 | 0 0 0 0 0 0 85 85 85 170 85 0 | 1436 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1438 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1437 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1439 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1438 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1440 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1439 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1441 | 170 85 0 0 0 0 0 0 0 0 0 0 | 1440 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1442 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1441 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1443 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1442 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1444 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1443 | 0 0 0 85 85 85 170 170 170 170 170 170 |
1445 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1444 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1446 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1445 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1447 | 0 0 0 0 0 0 255 255 85 170 85 0 | 1446 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1448 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1447 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1449 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1448 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1450 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1449 | 0 0 0 85 85 85 170 170 170 85 85 85 85 85 85 85 85 85 |
1451 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1450 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
1452 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1451 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1453 | 170 85 0 0 0 0 0 0 0 0 0 0 | 1452 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1454 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1453 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1455 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1454 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1456 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1455 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1457 | 0 0 0 0 0 0 85 85 85 170 85 0 | 1456 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 85 85 85 |
1458 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1457 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
1459 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1458 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1460 | 170 85 0 170 85 0 170 85 0 170 85 0 | 1459 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1461 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1460 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1462 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1461 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1463 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1462 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1464 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1463 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1465 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1464 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1466 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1465 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1467 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1466 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1468 | 0 0 0 0 0 0 170 85 0 170 85 0 | 1467 | 85 85 85 170 170 170 255 255 255 170 170 170 |
1469 | 170 85 0 170 85 0 170 85 0 170 85 0 | 1468 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1470 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1469 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1471 | 170 85 0 255 255 85 170 85 0 255 255 85 | 1470 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1472 | 170 85 0 255 255 85 170 85 0 170 85 0 | 1471 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1473 | 170 85 0 0 0 0 0 0 0 0 0 0 | 1472 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1474 | 85 85 85 85 85 85 85 85 85 85 85 85 | 1473 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 |
1475 | 85 85 85 85 85 85 85 85 85 85 85 85 | 1474 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
1476 | 85 85 85 85 85 85 85 85 85 0 0 0 | 1475 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1477 | 0 0 0 0 0 0 0 0 0 170 85 0 | 1476 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
1478 | 170 85 0 170 85 0 255 255 85 170 85 0 | 1477 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1479 | 255 255 85 170 85 0 255 255 85 170 85 0 | 1478 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
1480 | 170 85 0 170 85 0 0 0 0 0 0 0 | 1479 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
1481 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1480 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1482 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1481 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
1483 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1482 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1484 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1483 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1485 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1484 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1486 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1485 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1487 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1486 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1488 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1487 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1489 | 0 0 0 0 0 0 170 85 0 170 85 0 | 1488 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1490 | 170 85 0 170 85 0 170 85 0 170 85 0 | 1489 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1491 | 170 85 0 170 85 0 255 255 85 170 85 0 | 1490 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 170 170 170 |
1492 | 255 255 85 170 85 0 170 85 0 170 85 0 | 1491 | 170 170 170 255 255 255 170 170 170 170 170 170 |
1493 | 85 85 85 85 85 85 85 85 85 85 85 85 | 1492 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1494 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1493 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1495 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1494 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1496 | 0 0 0 0 0 0 0 0 0 85 85 85 | 1495 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1497 | 85 85 85 85 85 85 85 85 85 170 85 0 | 1496 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1498 | 170 85 0 170 85 0 170 85 0 255 255 85 | 1497 | 85 85 85 170 170 170 85 85 85 85 85 85 85 85 85 0 0 0 |
1499 | 170 85 0 255 255 85 170 85 0 170 85 0 | 1498 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1500 | 170 85 0 0 0 0 0 0 0 0 0 0 | 1499 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1501 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1500 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1502 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1501 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1503 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1502 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1504 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1503 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1505 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1504 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 85 85 85 |
1506 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1505 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
1507 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1506 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1508 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1507 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1509 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1508 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1510 | 0 0 0 0 0 0 0 0 0 170 85 0 | 1509 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1511 | 170 85 0 170 85 0 170 85 0 170 85 0 | 1510 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1512 | 170 85 0 170 85 0 170 85 0 170 85 0 | 1511 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1513 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1512 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1514 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1513 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1515 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1514 | 0 0 0 0 0 0 0 0 0 0 0 0 170 170 170 170 170 170 |
1516 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1515 | 255 255 255 255 255 255 170 170 170 170 170 170 |
1517 | 0 0 0 0 0 0 0 0 0 170 85 0 | 1516 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1518 | 170 85 0 170 85 0 170 85 0 170 85 0 | 1517 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1519 | 170 85 0 170 85 0 170 85 0 170 85 0 | 1518 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1520 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1519 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1521 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1520 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1522 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1521 | 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 |
1523 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1522 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
1524 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1523 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1525 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1524 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1526 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1525 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1527 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1526 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1528 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1527 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
1529 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1528 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1530 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1529 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
1531 | 0 0 0 170 85 0 170 85 0 170 85 0 | 1530 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1532 | 170 85 0 170 85 0 170 85 0 0 0 0 | 1531 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1533 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1532 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1534 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1533 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1535 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1534 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1536 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1535 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1537 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1536 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1538 | 170 85 0 170 85 0 170 85 0 170 85 0 | 1537 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1539 | 170 85 0 170 85 0 170 85 0 0 0 0 | 1538 | 0 0 0 0 0 0 85 85 85 170 170 170 170 170 170 255 255 255 |
1540 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1539 | 255 255 255 170 170 170 170 170 170 0 0 0 |
1541 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1540 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1542 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1541 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1543 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1542 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1544 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1543 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1545 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1544 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1546 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1545 | 170 170 170 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 |
1547 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1546 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1548 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1547 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1549 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1548 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1550 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1549 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1551 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1550 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1552 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1551 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1553 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1552 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 85 85 85 |
1554 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1553 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 |
1555 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1554 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1556 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1555 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1557 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1556 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1558 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1557 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1559 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1558 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1560 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1559 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1561 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1560 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1562 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1561 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1563 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1562 | 0 0 0 85 85 85 170 170 170 255 255 255 255 255 255 255 255 255 |
1564 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1563 | 170 170 170 170 170 170 85 85 85 0 0 0 |
1565 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1564 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1566 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1565 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1567 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1566 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1568 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1567 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1569 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1568 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 |
1570 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1569 | 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 |
1571 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1570 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
1572 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1571 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 |
1573 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1572 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1574 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1573 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1575 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1574 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1576 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1575 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
1577 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1576 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
1578 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1577 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
1579 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1578 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1580 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1579 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1581 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1580 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1582 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1581 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1583 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1582 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1584 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1583 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1585 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1584 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1586 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1585 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 |
1587 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1586 | 170 170 170 170 170 170 255 255 255 255 255 255 255 255 255 170 170 170 |
1588 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1587 | 170 170 170 170 170 170 0 0 0 0 0 0 |
1589 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1588 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1590 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1589 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1591 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1590 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1592 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1591 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1593 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1592 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 |
1594 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1593 | 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 |
1595 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1594 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1596 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1595 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1597 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1596 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1598 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1597 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 |
1599 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1598 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 |
1600 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1599 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
1601 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1600 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 |
1602 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1601 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 |
1603 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1602 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 |
1604 | 0 0 0 0 0 0 0 0 0 0 0 0 | 1603 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 |
1604 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1605 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1606 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1607 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1608 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1609 | 0 0 0 0 0 0 0 0 0 0 0 0 170 170 170 170 170 170 | ||
1610 | 170 170 170 255 255 255 255 255 255 255 255 255 170 170 170 170 170 170 | ||
1611 | 170 170 170 0 0 0 0 0 0 0 0 0 | ||
1612 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1613 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1614 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1615 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1616 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 | ||
1617 | 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 | ||
1618 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 | ||
1619 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1620 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1621 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1622 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1623 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 | ||
1624 | 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 | ||
1625 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1626 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1627 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1628 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1629 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1630 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1631 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1632 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1633 | 0 0 0 0 0 0 85 85 85 170 170 170 170 170 170 170 170 170 | ||
1634 | 255 255 255 255 255 255 255 255 255 255 255 255 170 170 170 170 170 170 | ||
1635 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1636 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1637 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1638 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1639 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1640 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 | ||
1641 | 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 | ||
1642 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1643 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1644 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1645 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1646 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1647 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1648 | 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 | ||
1649 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 | ||
1650 | 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1651 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1652 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1653 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1654 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1655 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1656 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1657 | 85 85 85 170 170 170 170 170 170 255 255 255 255 255 255 255 255 255 | ||
1658 | 255 255 255 255 255 255 170 170 170 170 170 170 85 85 85 0 0 0 | ||
1659 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1660 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1661 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1662 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1663 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1664 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 | ||
1665 | 85 85 85 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 | ||
1666 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 | ||
1667 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1668 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1669 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1670 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1671 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1672 | 85 85 85 0 0 0 170 170 170 255 255 255 85 85 85 85 85 85 | ||
1673 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1674 | 85 85 85 170 170 170 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1675 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1676 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1677 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1678 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1679 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1680 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1681 | 170 170 170 170 170 170 255 255 255 170 170 170 255 255 255 255 255 255 | ||
1682 | 255 255 255 255 255 255 170 170 170 170 170 170 85 85 85 0 0 0 | ||
1683 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1684 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1685 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1686 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1687 | 85 85 85 170 170 170 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1688 | 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 | ||
1689 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1690 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1691 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1692 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1693 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1694 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1695 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 | ||
1696 | 0 0 0 85 85 85 170 170 170 255 255 255 170 170 170 85 85 85 | ||
1697 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 | ||
1698 | 255 255 255 170 170 170 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1699 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1700 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1701 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1702 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1703 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1704 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 | ||
1705 | 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 | ||
1706 | 170 170 170 170 170 170 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1707 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1708 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1709 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1710 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1711 | 85 85 85 255 255 255 170 170 170 85 85 85 0 0 0 0 0 0 | ||
1712 | 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 0 0 0 | ||
1713 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 | ||
1714 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1715 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1716 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1717 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1718 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1719 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1720 | 85 85 85 85 85 85 255 255 255 255 255 255 255 255 255 85 85 85 | ||
1721 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 170 170 170 | ||
1722 | 255 255 255 170 170 170 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1723 | 0 0 0 85 85 85 170 170 170 85 85 85 0 0 0 0 0 0 | ||
1724 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1725 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1726 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1727 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1728 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 170 170 170 | ||
1729 | 170 170 170 255 255 255 255 255 255 255 255 255 255 255 255 170 170 170 | ||
1730 | 170 170 170 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1731 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1732 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1733 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1734 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1735 | 170 170 170 255 255 255 255 255 255 170 170 170 0 0 0 0 0 0 | ||
1736 | 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 0 0 0 | ||
1737 | 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1738 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1739 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1740 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1741 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1742 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1743 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 | ||
1744 | 85 85 85 170 170 170 255 255 255 255 255 255 255 255 255 85 85 85 | ||
1745 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 255 255 255 | ||
1746 | 255 255 255 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1747 | 85 85 85 170 170 170 170 170 170 85 85 85 0 0 0 0 0 0 | ||
1748 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1749 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1750 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1751 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1752 | 85 85 85 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 | ||
1753 | 170 170 170 255 255 255 255 255 255 255 255 255 170 170 170 170 170 170 | ||
1754 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1755 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1756 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1757 | 0 0 0 0 0 0 0 0 0 85 85 85 170 170 170 170 170 170 | ||
1758 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1759 | 170 170 170 255 255 255 255 255 255 255 255 255 85 85 85 0 0 0 | ||
1760 | 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 0 0 0 | ||
1761 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 | ||
1762 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1763 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1764 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1765 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1766 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1767 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1768 | 85 85 85 170 170 170 255 255 255 255 255 255 255 255 255 170 170 170 | ||
1769 | 0 0 0 85 85 85 0 0 0 85 85 85 170 170 170 255 255 255 | ||
1770 | 255 255 255 170 170 170 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1771 | 85 85 85 255 255 255 255 255 255 0 0 0 0 0 0 0 0 0 | ||
1772 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1773 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1774 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1775 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 | ||
1776 | 0 0 0 85 85 85 85 85 85 0 0 0 85 85 85 85 85 85 | ||
1777 | 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 85 85 85 | ||
1778 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1779 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1780 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1781 | 0 0 0 0 0 0 0 0 0 0 0 0 170 170 170 255 255 255 | ||
1782 | 170 170 170 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1783 | 85 85 85 255 255 255 255 255 255 255 255 255 255 255 255 0 0 0 | ||
1784 | 0 0 0 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 | ||
1785 | 85 85 85 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1786 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1787 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1788 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1789 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1790 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1791 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 | ||
1792 | 85 85 85 255 255 255 255 255 255 255 255 255 170 170 170 170 170 170 | ||
1793 | 85 85 85 0 0 0 0 0 0 85 85 85 170 170 170 255 255 255 | ||
1794 | 255 255 255 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1795 | 170 170 170 255 255 255 170 170 170 0 0 0 0 0 0 0 0 0 | ||
1796 | 85 85 85 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1797 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1798 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1799 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1800 | 85 85 85 85 85 85 0 0 0 85 85 85 85 85 85 0 0 0 | ||
1801 | 85 85 85 85 85 85 170 170 170 85 85 85 85 85 85 0 0 0 | ||
1802 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1803 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1804 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1805 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 170 170 170 | ||
1806 | 255 255 255 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1807 | 85 85 85 170 170 170 255 255 255 255 255 255 255 255 255 170 170 170 | ||
1808 | 0 0 0 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 | ||
1809 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1810 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1811 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1812 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1813 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1814 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1815 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 | ||
1816 | 170 170 170 170 170 170 255 255 255 170 170 170 255 255 255 85 85 85 | ||
1817 | 0 0 0 85 85 85 0 0 0 85 85 85 170 170 170 255 255 255 | ||
1818 | 170 170 170 170 170 170 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1819 | 170 170 170 255 255 255 255 255 255 0 0 0 0 0 0 85 85 85 | ||
1820 | 255 255 255 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1821 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1822 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1823 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 85 85 85 | ||
1824 | 85 85 85 0 0 0 85 85 85 85 85 85 0 0 0 85 85 85 | ||
1825 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1826 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1827 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1828 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 0 0 0 | ||
1829 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 255 255 255 | ||
1830 | 255 255 255 255 255 255 170 170 170 0 0 0 0 0 0 0 0 0 | ||
1831 | 85 85 85 170 170 170 255 255 255 170 170 170 170 170 170 170 170 170 | ||
1832 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 | ||
1833 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 | ||
1834 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1835 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1836 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1837 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1838 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1839 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 85 85 85 | ||
1840 | 85 85 85 170 170 170 255 255 255 170 170 170 170 170 170 85 85 85 | ||
1841 | 85 85 85 0 0 0 85 85 85 85 85 85 85 85 85 170 170 170 | ||
1842 | 170 170 170 85 85 85 85 85 85 0 0 0 0 0 0 85 85 85 | ||
1843 | 170 170 170 170 170 170 85 85 85 0 0 0 0 0 0 170 170 170 | ||
1844 | 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1845 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1846 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1847 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 | ||
1848 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1849 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1850 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1851 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1852 | 0 0 0 0 0 0 0 0 0 0 0 0 170 170 170 170 170 170 | ||
1853 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 170 170 170 | ||
1854 | 255 255 255 170 170 170 170 170 170 85 85 85 0 0 0 0 0 0 | ||
1855 | 0 0 0 85 85 85 170 170 170 170 170 170 255 255 85 85 85 85 | ||
1856 | 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1857 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1858 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1859 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1860 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1861 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1862 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1863 | 85 85 85 0 0 0 85 85 85 85 85 85 0 0 0 85 85 85 | ||
1864 | 85 85 85 170 170 170 170 170 170 170 170 170 170 85 0 85 85 85 | ||
1865 | 0 0 0 85 85 85 0 0 0 85 85 85 170 170 170 170 85 0 | ||
1866 | 170 170 170 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1867 | 170 85 0 170 170 170 85 85 85 0 0 0 85 85 85 85 85 85 | ||
1868 | 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1869 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1870 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 | ||
1871 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 | ||
1872 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1873 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1874 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1875 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1876 | 0 0 0 0 0 0 0 0 0 0 0 0 170 170 170 255 255 255 | ||
1877 | 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1878 | 255 255 255 170 170 170 170 170 170 85 85 85 0 0 0 0 0 0 | ||
1879 | 0 0 0 85 85 85 170 85 0 170 170 170 170 170 170 85 85 85 | ||
1880 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 | ||
1881 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 | ||
1882 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1883 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1884 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1885 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1886 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1887 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 85 85 85 | ||
1888 | 85 85 85 170 85 0 85 255 85 170 85 0 170 170 170 85 85 85 | ||
1889 | 85 85 85 0 0 0 0 0 0 85 85 85 170 85 0 85 255 85 | ||
1890 | 170 85 0 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 | ||
1891 | 85 85 85 85 85 85 170 85 0 0 0 0 85 85 85 85 85 85 | ||
1892 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1893 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1894 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 | ||
1895 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 | ||
1896 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1897 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1898 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1899 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1900 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 255 255 255 | ||
1901 | 255 255 255 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1902 | 170 170 170 170 170 170 170 170 170 85 85 85 0 0 0 0 0 0 | ||
1903 | 0 0 0 0 0 0 170 170 170 170 85 0 170 170 170 170 85 0 | ||
1904 | 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1905 | 85 85 85 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1906 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1907 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1908 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1909 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1910 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1911 | 85 85 85 0 0 0 85 85 85 85 85 85 85 85 85 0 0 0 | ||
1912 | 85 85 85 85 85 85 255 85 85 170 170 170 85 255 85 170 85 0 | ||
1913 | 85 85 85 85 85 85 170 85 0 85 85 85 170 170 170 85 85 85 | ||
1914 | 170 170 170 170 85 0 85 85 85 85 85 85 85 85 85 85 85 85 | ||
1915 | 170 85 0 85 255 85 85 85 85 85 85 85 85 85 85 170 85 0 | ||
1916 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 | ||
1917 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1918 | 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1919 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1920 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1921 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1922 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1923 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1924 | 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 170 170 170 | ||
1925 | 255 255 255 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1926 | 85 85 85 170 85 0 170 170 170 170 85 0 85 85 85 0 0 0 | ||
1927 | 85 85 85 85 85 85 85 255 85 170 170 170 170 170 170 170 85 0 | ||
1928 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1929 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1930 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1931 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1932 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1933 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1934 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 | ||
1935 | 0 0 0 85 85 85 85 85 85 0 0 0 85 85 85 85 85 85 | ||
1936 | 85 85 85 85 85 85 85 255 85 255 85 85 170 170 170 170 170 170 | ||
1937 | 170 170 170 85 255 85 170 170 170 170 85 0 170 170 170 170 85 0 | ||
1938 | 170 170 170 85 85 85 85 255 85 170 85 0 170 170 170 170 85 0 | ||
1939 | 170 170 170 170 170 170 170 85 0 85 85 85 85 85 85 85 255 85 | ||
1940 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1941 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1942 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 | ||
1943 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1944 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1945 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1946 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1947 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1948 | 0 0 0 170 170 170 170 170 170 0 0 0 0 0 0 85 85 85 | ||
1949 | 170 170 170 170 170 170 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1950 | 85 85 85 85 85 85 255 255 85 85 85 85 85 85 85 85 85 85 | ||
1951 | 85 255 85 255 85 85 170 170 170 170 85 0 170 170 170 85 255 85 | ||
1952 | 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1953 | 85 85 85 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1954 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1955 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1956 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1957 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1958 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1959 | 85 85 85 0 0 0 85 85 85 85 85 85 85 85 85 0 0 0 | ||
1960 | 85 85 85 85 85 85 170 85 0 170 170 170 170 170 170 255 255 85 | ||
1961 | 170 170 170 255 85 85 170 170 170 170 170 170 255 255 85 170 170 170 | ||
1962 | 85 255 85 170 170 170 255 85 85 170 170 170 170 170 170 170 170 170 | ||
1963 | 170 170 170 170 170 170 170 170 170 170 85 0 170 170 170 170 85 0 | ||
1964 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 | ||
1965 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1966 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1967 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1968 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1969 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1970 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1971 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1972 | 0 0 0 85 85 85 170 170 170 85 85 85 0 0 0 85 85 85 | ||
1973 | 85 85 85 170 85 0 85 85 85 0 0 0 85 85 85 85 85 85 | ||
1974 | 85 85 85 170 85 0 170 170 170 170 170 170 255 255 85 170 170 170 | ||
1975 | 170 170 170 170 170 170 255 255 85 170 170 170 170 170 170 255 85 85 | ||
1976 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1977 | 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1978 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1979 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1980 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1981 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
1982 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 | ||
1983 | 85 85 85 85 85 85 0 0 0 85 85 85 85 85 85 85 85 85 | ||
1984 | 85 85 85 85 85 85 170 170 170 255 255 85 170 170 170 170 170 170 | ||
1985 | 170 170 170 255 255 85 170 170 170 170 170 170 170 170 170 170 85 0 | ||
1986 | 170 170 170 255 255 85 170 170 170 255 255 85 170 170 170 255 255 85 | ||
1987 | 170 170 170 255 255 85 170 170 170 170 170 170 85 255 85 170 85 0 | ||
1988 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1989 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
1990 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
1991 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
1992 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1993 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1994 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1995 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1996 | 0 0 0 0 0 0 170 170 170 85 85 85 85 85 85 0 0 0 | ||
1997 | 85 85 85 85 85 85 170 170 170 85 85 85 170 170 170 170 85 0 | ||
1998 | 170 170 170 85 255 85 170 170 170 170 85 0 170 170 170 170 170 170 | ||
1999 | 255 255 85 170 170 170 170 170 170 255 255 255 255 255 85 170 170 170 | ||
2000 | 255 255 85 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2001 | 85 85 85 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
2002 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2003 | 0 0 0 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
2004 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2005 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2006 | 0 0 0 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 | ||
2007 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 | ||
2008 | 85 85 85 170 85 0 170 170 170 170 170 170 170 170 170 255 255 255 | ||
2009 | 170 170 170 255 255 255 255 255 85 170 170 170 255 255 85 170 170 170 | ||
2010 | 255 255 85 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 | ||
2011 | 170 170 170 170 170 170 170 170 170 255 85 85 170 170 170 170 170 170 | ||
2012 | 85 85 85 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
2013 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2014 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2015 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2016 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2017 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2018 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2019 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2020 | 0 0 0 0 0 0 85 85 85 85 85 85 170 85 0 85 85 85 | ||
2021 | 85 85 85 255 255 85 170 170 170 170 170 170 170 170 170 170 170 170 | ||
2022 | 255 255 85 170 170 170 170 170 170 255 255 85 170 170 170 170 170 170 | ||
2023 | 170 170 170 255 255 255 255 255 255 170 170 170 255 255 255 170 170 170 | ||
2024 | 170 170 170 85 85 85 85 85 85 0 0 0 0 0 0 85 85 85 | ||
2025 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2026 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2027 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2028 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2029 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2030 | 85 85 85 170 170 170 170 170 170 85 85 85 0 0 0 0 0 0 | ||
2031 | 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 | ||
2032 | 85 85 85 85 255 85 170 170 170 255 255 85 255 255 255 255 255 255 | ||
2033 | 255 255 255 170 170 170 255 255 255 170 170 170 170 170 170 170 170 170 | ||
2034 | 170 170 170 170 170 170 255 255 85 170 170 170 255 255 85 255 255 255 | ||
2035 | 255 255 85 255 255 255 255 255 85 170 170 170 170 170 170 170 85 0 | ||
2036 | 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2037 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2038 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2039 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2040 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2041 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2042 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2043 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2044 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 | ||
2045 | 85 85 85 170 170 170 255 255 85 170 170 170 255 255 85 170 170 170 | ||
2046 | 170 170 170 255 255 85 170 170 170 170 170 170 170 170 170 255 255 85 | ||
2047 | 255 255 255 255 255 255 255 255 85 255 255 255 255 255 255 170 170 170 | ||
2048 | 255 255 85 85 85 85 85 85 85 0 0 0 0 0 0 85 85 85 | ||
2049 | 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2050 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
2051 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2052 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2053 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2054 | 85 85 85 170 170 170 170 170 170 0 0 0 0 0 0 0 0 0 | ||
2055 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 | ||
2056 | 85 85 85 170 170 170 170 170 170 170 170 170 255 255 255 170 170 170 | ||
2057 | 255 255 255 255 255 255 255 255 255 170 170 170 170 170 170 255 255 85 | ||
2058 | 170 170 170 255 255 85 170 170 170 255 255 255 170 170 170 255 255 255 | ||
2059 | 255 255 255 255 255 255 170 170 170 255 255 85 170 170 170 255 255 85 | ||
2060 | 85 85 85 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
2061 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
2062 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2063 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2064 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2065 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2066 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2067 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2068 | 0 0 0 0 0 0 0 0 0 85 85 85 170 85 0 170 170 170 | ||
2069 | 255 255 85 170 170 170 170 170 170 255 255 255 255 255 255 255 255 255 | ||
2070 | 170 170 170 170 170 170 170 170 170 255 255 85 170 170 170 170 170 170 | ||
2071 | 255 255 255 170 170 170 255 255 255 255 255 255 170 170 170 255 255 255 | ||
2072 | 170 170 170 170 170 170 85 85 85 0 0 0 85 85 85 0 0 0 | ||
2073 | 85 85 85 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 | ||
2074 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2075 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2076 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
2077 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2078 | 85 85 85 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2079 | 0 0 0 85 85 85 0 0 0 85 85 85 85 85 85 0 0 0 | ||
2080 | 85 85 85 170 85 0 255 255 255 170 170 170 255 255 255 255 255 255 | ||
2081 | 255 255 85 255 255 255 170 170 170 255 255 85 170 170 170 170 170 170 | ||
2082 | 170 170 170 170 170 170 170 170 170 255 255 85 255 255 255 255 255 255 | ||
2083 | 170 170 170 255 255 255 255 255 255 170 170 170 170 170 170 170 170 170 | ||
2084 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2085 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2086 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2087 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2088 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2089 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2090 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2091 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2092 | 0 0 0 0 0 0 0 0 0 85 85 85 85 255 85 170 170 170 | ||
2093 | 170 170 170 255 255 85 170 170 170 255 255 255 170 170 170 255 255 255 | ||
2094 | 255 255 255 255 255 255 255 255 85 170 170 170 170 170 170 255 255 255 | ||
2095 | 170 170 170 255 255 255 255 255 255 170 170 170 255 255 255 255 255 85 | ||
2096 | 170 170 170 170 85 0 85 85 85 0 0 0 0 0 0 85 85 85 | ||
2097 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2098 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2099 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
2100 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2101 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2102 | 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 | ||
2103 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2104 | 85 85 85 170 170 170 170 170 170 255 255 85 170 170 170 255 255 255 | ||
2105 | 255 255 255 170 170 170 255 255 255 170 170 170 170 170 170 255 255 85 | ||
2106 | 170 170 170 255 255 85 170 170 170 255 255 255 170 170 170 255 255 255 | ||
2107 | 255 255 255 255 255 255 255 255 255 255 255 255 170 170 170 255 255 85 | ||
2108 | 85 85 85 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 | ||
2109 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
2110 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2111 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2112 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2113 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2114 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2115 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2116 | 0 0 0 0 0 0 0 0 0 85 85 85 170 85 0 170 170 170 | ||
2117 | 170 170 170 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 | ||
2118 | 170 170 170 170 170 170 170 170 170 170 170 170 255 255 85 170 170 170 | ||
2119 | 255 255 85 255 255 255 170 170 170 255 255 255 170 170 170 170 170 170 | ||
2120 | 170 170 170 170 170 170 85 85 85 0 0 0 85 85 85 85 85 85 | ||
2121 | 0 0 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2122 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2123 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2124 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2125 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2126 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 | ||
2127 | 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2128 | 85 85 85 85 85 85 170 170 170 170 170 170 255 255 255 170 170 170 | ||
2129 | 255 255 255 170 170 170 255 255 85 170 170 170 170 170 170 170 170 170 | ||
2130 | 255 85 85 170 170 170 170 170 170 170 170 170 255 255 255 255 255 255 | ||
2131 | 170 170 170 255 255 255 255 255 255 170 170 170 255 255 255 170 170 170 | ||
2132 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2133 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2134 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2135 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2136 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2137 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2138 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2139 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2140 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 170 170 170 | ||
2141 | 255 255 85 170 170 170 255 255 255 170 170 170 255 255 255 255 255 255 | ||
2142 | 255 255 85 255 255 255 170 170 170 255 255 85 170 170 170 170 170 170 | ||
2143 | 170 170 170 170 170 170 255 255 85 170 170 170 170 170 170 255 255 85 | ||
2144 | 170 170 170 170 85 0 85 85 85 0 0 0 85 85 85 0 0 0 | ||
2145 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2146 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2147 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2148 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2149 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2150 | 0 0 0 0 0 0 0 0 0 0 0 0 170 170 170 170 170 170 | ||
2151 | 170 170 170 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2152 | 0 0 0 85 85 85 170 170 170 255 255 85 170 170 170 170 170 170 | ||
2153 | 255 255 85 170 170 170 170 170 170 170 170 170 170 170 170 255 85 85 | ||
2154 | 85 255 85 170 170 170 170 170 170 170 170 170 255 255 85 170 170 170 | ||
2155 | 255 255 255 255 255 255 255 255 255 255 255 85 170 170 170 170 170 170 | ||
2156 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2157 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2158 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2159 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2160 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2161 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2162 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2163 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2164 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 255 255 85 | ||
2165 | 170 170 170 170 170 170 255 255 255 255 255 255 255 255 255 170 170 170 | ||
2166 | 255 255 255 170 170 170 170 170 170 170 170 170 170 170 170 255 85 85 | ||
2167 | 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 | ||
2168 | 170 170 170 85 85 85 85 85 85 0 0 0 85 85 85 0 0 0 | ||
2169 | 85 85 85 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2170 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2171 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2172 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2173 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2174 | 0 0 0 0 0 0 0 0 0 170 170 170 170 170 170 170 170 170 | ||
2175 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
2176 | 0 0 0 85 85 85 170 85 0 170 170 170 170 170 170 170 170 170 | ||
2177 | 170 170 170 170 170 170 170 170 170 170 85 0 170 170 170 85 255 85 | ||
2178 | 255 85 85 170 170 170 255 255 85 170 170 170 170 170 170 255 255 255 | ||
2179 | 255 255 255 170 170 170 255 255 255 255 255 255 170 170 170 170 170 170 | ||
2180 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2181 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2182 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2183 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2184 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2185 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2186 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2187 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2188 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 170 170 170 | ||
2189 | 170 170 170 255 255 85 170 170 170 255 255 85 255 255 255 255 255 255 | ||
2190 | 170 170 170 170 170 170 255 255 85 170 170 170 255 85 85 85 255 85 | ||
2191 | 170 170 170 170 85 0 170 170 170 170 170 170 255 255 85 170 170 170 | ||
2192 | 170 85 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2193 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2194 | 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2195 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2196 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2197 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2198 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2199 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
2200 | 0 0 0 85 85 85 85 85 85 85 85 85 170 170 170 255 255 85 | ||
2201 | 170 170 170 170 85 0 170 170 170 170 170 170 170 85 0 85 85 85 | ||
2202 | 170 170 170 170 85 0 85 85 85 170 170 170 170 170 170 170 170 170 | ||
2203 | 170 170 170 255 255 255 255 255 255 255 255 85 170 170 170 170 170 170 | ||
2204 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2205 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2206 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2207 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2208 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2209 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2210 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2211 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2212 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 170 85 0 | ||
2213 | 170 170 170 170 170 170 255 255 255 170 170 170 255 255 255 170 170 170 | ||
2214 | 255 255 255 170 170 170 170 170 170 170 85 0 170 170 170 85 85 85 | ||
2215 | 170 170 170 170 170 170 170 85 0 170 170 170 170 85 0 85 85 85 | ||
2216 | 85 255 85 85 85 85 0 0 0 0 0 0 0 0 0 85 85 85 | ||
2217 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2218 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2219 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2220 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2221 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2222 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2223 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 | ||
2224 | 85 85 85 0 0 0 85 85 85 170 85 0 85 85 85 170 170 170 | ||
2225 | 170 85 0 170 170 170 85 255 85 170 85 0 170 170 170 85 85 85 | ||
2226 | 170 85 0 170 170 170 170 170 170 255 255 85 170 170 170 255 255 255 | ||
2227 | 255 255 85 255 255 255 170 170 170 170 170 170 170 170 170 170 85 0 | ||
2228 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2229 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2230 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2231 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2232 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2233 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2234 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2235 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2236 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
2237 | 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 255 255 85 | ||
2238 | 170 170 170 255 255 85 170 170 170 170 170 170 85 255 85 170 170 170 | ||
2239 | 170 85 0 170 85 0 170 170 170 85 255 85 85 85 85 170 170 170 | ||
2240 | 170 85 0 85 85 85 0 0 0 85 85 85 0 0 0 0 0 0 | ||
2241 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 0 0 0 | ||
2242 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2243 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2244 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2245 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2246 | 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2247 | 0 0 0 0 0 0 0 0 0 85 85 85 170 170 170 85 85 85 | ||
2248 | 0 0 0 0 0 0 0 0 0 85 85 85 170 85 0 85 85 85 | ||
2249 | 170 170 170 170 85 0 170 170 170 85 85 85 170 170 170 170 85 0 | ||
2250 | 170 170 170 85 255 85 170 85 0 170 170 170 170 170 170 170 170 170 | ||
2251 | 255 255 255 170 170 170 255 255 255 255 255 255 170 170 170 85 85 85 | ||
2252 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2253 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2254 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2255 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2256 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2257 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2258 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2259 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2260 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2261 | 170 85 0 170 170 170 255 255 85 170 170 170 255 255 255 170 170 170 | ||
2262 | 170 170 170 170 170 170 170 170 170 170 85 0 170 170 170 170 85 0 | ||
2263 | 170 170 170 85 255 85 170 85 0 170 170 170 170 85 0 85 85 85 | ||
2264 | 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2265 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2266 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2267 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2268 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2269 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2270 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2271 | 0 0 0 0 0 0 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2272 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 | ||
2273 | 85 255 85 170 170 170 170 85 0 170 170 170 170 85 0 85 255 85 | ||
2274 | 170 170 170 170 85 0 170 170 170 170 170 170 170 170 170 255 255 85 | ||
2275 | 170 170 170 255 255 255 170 170 170 170 170 170 170 170 170 0 0 0 | ||
2276 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2277 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2278 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2279 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2280 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2281 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2282 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2283 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2284 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2285 | 85 85 85 170 85 0 85 85 85 170 170 170 255 255 85 170 170 170 | ||
2286 | 170 170 170 255 255 85 170 170 170 170 170 170 170 170 170 170 85 0 | ||
2287 | 170 170 170 85 85 85 170 170 170 170 85 0 170 170 170 85 85 85 | ||
2288 | 170 85 0 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2289 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2290 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2291 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2292 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2293 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2294 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2295 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2296 | 0 0 0 0 0 0 85 85 85 0 0 0 85 85 85 170 85 0 | ||
2297 | 85 85 85 255 85 85 85 255 85 170 85 0 170 170 170 170 170 170 | ||
2298 | 170 85 0 170 170 170 85 85 85 255 255 85 170 170 170 170 170 170 | ||
2299 | 255 255 255 170 170 170 255 255 255 255 255 85 85 85 85 0 0 0 | ||
2300 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2301 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2302 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2303 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2304 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2305 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2306 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2307 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2308 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2309 | 0 0 0 85 85 85 170 170 170 170 85 0 170 170 170 170 170 170 | ||
2310 | 170 170 170 170 170 170 170 170 170 255 255 85 85 85 85 170 170 170 | ||
2311 | 85 255 85 255 85 85 170 170 170 85 255 85 255 85 85 85 255 85 | ||
2312 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2313 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2314 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2315 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2316 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2317 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2318 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2319 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2320 | 0 0 0 0 0 0 85 85 85 85 85 85 0 0 0 85 85 85 | ||
2321 | 85 85 85 85 255 85 255 85 85 170 170 170 85 255 85 170 85 0 | ||
2322 | 170 170 170 170 170 170 255 255 85 170 170 170 170 170 170 255 255 255 | ||
2323 | 170 170 170 255 255 255 170 170 170 170 170 170 85 85 85 0 0 0 | ||
2324 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2325 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2326 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2327 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2328 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2329 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2330 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2331 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2332 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2333 | 0 0 0 0 0 0 85 85 85 170 170 170 85 85 85 255 255 85 | ||
2334 | 170 170 170 255 255 85 170 170 170 170 170 170 170 170 170 255 255 85 | ||
2335 | 85 85 85 255 255 85 170 170 170 170 85 0 170 170 170 85 85 85 | ||
2336 | 170 85 0 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2337 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2338 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2339 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2340 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2341 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2342 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2343 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2344 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
2345 | 170 170 170 170 85 0 170 170 170 170 85 0 170 170 170 170 170 170 | ||
2346 | 170 85 0 170 170 170 170 170 170 170 170 170 255 255 85 170 170 170 | ||
2347 | 255 255 85 255 255 255 170 170 170 170 170 170 85 85 85 0 0 0 | ||
2348 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2349 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2350 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2351 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2352 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2353 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2354 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2355 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2356 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2357 | 0 0 0 0 0 0 85 85 85 170 85 0 85 85 85 170 170 170 | ||
2358 | 170 85 0 170 170 170 170 170 170 255 255 85 170 170 170 170 170 170 | ||
2359 | 170 170 170 170 170 170 170 170 170 255 255 85 170 170 170 170 85 0 | ||
2360 | 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2361 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2362 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2363 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2364 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2365 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2366 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2367 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2368 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 | ||
2369 | 170 85 0 85 255 85 170 170 170 170 170 170 255 255 85 170 170 170 | ||
2370 | 255 255 85 170 170 170 170 170 170 170 170 170 255 255 255 255 255 255 | ||
2371 | 255 255 255 170 170 170 255 255 85 85 85 85 0 0 0 0 0 0 | ||
2372 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2373 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2374 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2375 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2376 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2377 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2378 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2379 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2380 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2381 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 170 85 0 | ||
2382 | 170 170 170 170 170 170 170 170 170 170 170 170 170 170 170 255 255 85 | ||
2383 | 170 170 170 255 255 85 170 170 170 170 170 170 170 170 170 170 170 170 | ||
2384 | 170 170 170 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2385 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2386 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2387 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2388 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2389 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2390 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2391 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2392 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
2393 | 85 85 85 170 85 0 170 170 170 170 85 0 170 170 170 170 170 170 | ||
2394 | 170 170 170 255 255 85 170 170 170 255 255 85 170 170 170 255 255 255 | ||
2395 | 170 170 170 255 255 255 170 170 170 85 85 85 0 0 0 0 0 0 | ||
2396 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2397 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2398 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2399 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2400 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2401 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2402 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2403 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2404 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2405 | 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 85 85 85 | ||
2406 | 170 85 0 170 170 170 170 85 0 255 255 85 170 170 170 170 170 170 | ||
2407 | 170 170 170 170 170 170 255 255 85 170 170 170 255 255 85 170 170 170 | ||
2408 | 255 255 85 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2409 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2410 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2411 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2412 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2413 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2414 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2415 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2416 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 | ||
2417 | 85 85 85 170 170 170 255 255 85 170 170 170 255 255 85 170 170 170 | ||
2418 | 170 170 170 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 | ||
2419 | 170 170 170 170 170 170 170 170 170 0 0 0 0 0 0 0 0 0 | ||
2420 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2421 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2422 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2423 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2424 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2425 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2426 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2427 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2428 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2429 | 0 0 0 0 0 0 0 0 0 0 0 0 0 170 0 85 85 85 | ||
2430 | 170 85 0 85 255 85 170 170 170 170 170 170 170 170 170 255 255 85 | ||
2431 | 255 255 255 170 170 170 255 255 255 170 170 170 255 255 255 170 170 170 | ||
2432 | 170 170 170 255 255 85 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2433 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2434 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2435 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2436 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2437 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2438 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2439 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2440 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
2441 | 170 85 0 170 170 170 170 170 170 170 170 170 170 170 170 255 255 85 | ||
2442 | 170 170 170 255 255 255 170 170 170 255 255 255 170 170 170 255 255 255 | ||
2443 | 255 255 255 255 255 85 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2444 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2445 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2446 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2447 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2448 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2449 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2450 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2451 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2452 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2453 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
2454 | 85 85 85 170 85 0 170 170 170 170 170 170 255 255 85 170 170 170 | ||
2455 | 170 170 170 255 255 255 255 255 255 255 255 255 170 170 170 255 255 255 | ||
2456 | 170 170 170 170 170 170 170 170 170 85 85 85 0 0 0 0 0 0 | ||
2457 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2458 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2459 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2460 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2461 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2462 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2463 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2464 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 255 85 | ||
2465 | 170 170 170 255 255 85 170 170 170 255 255 85 255 255 255 255 255 255 | ||
2466 | 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 170 170 170 | ||
2467 | 170 170 170 170 170 170 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2468 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2469 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2470 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2471 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2472 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2473 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2474 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2475 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2476 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2477 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2478 | 85 85 85 85 85 85 85 85 85 170 85 0 170 170 170 170 170 170 | ||
2479 | 255 255 85 170 170 170 255 255 255 255 255 85 255 255 255 255 255 255 | ||
2480 | 170 170 170 255 255 85 170 170 170 85 85 85 0 0 0 0 0 0 | ||
2481 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2482 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2483 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2484 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2485 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2486 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2487 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2488 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 170 85 0 | ||
2489 | 170 170 170 170 170 170 170 170 170 255 255 255 170 170 170 255 255 255 | ||
2490 | 170 170 170 255 255 255 170 170 170 255 255 255 255 255 85 255 255 255 | ||
2491 | 170 170 170 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2492 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2493 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2494 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2495 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2496 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2497 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2498 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2499 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2500 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2501 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2502 | 85 85 85 170 85 0 85 85 85 170 170 170 170 170 170 170 170 170 | ||
2503 | 170 170 170 255 255 255 170 170 170 255 255 255 255 255 255 170 170 170 | ||
2504 | 255 255 85 170 170 170 170 170 170 170 85 0 85 85 85 0 0 0 | ||
2505 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2506 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2507 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2508 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2509 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2510 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2511 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2512 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 170 170 170 | ||
2513 | 255 255 85 170 170 170 255 255 85 170 170 170 255 255 255 255 255 255 | ||
2514 | 255 255 255 255 255 255 255 255 255 255 255 255 170 170 170 170 170 170 | ||
2515 | 170 170 170 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2516 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2517 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2518 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2519 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2520 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2521 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2522 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2523 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2524 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2525 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2526 | 0 0 0 85 85 85 85 85 85 85 85 85 170 85 0 170 170 170 | ||
2527 | 255 255 85 170 170 170 255 255 85 255 255 255 170 170 170 255 255 255 | ||
2528 | 170 170 170 170 170 170 170 170 170 170 170 170 0 0 0 0 0 0 | ||
2529 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2530 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2531 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2532 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2533 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2534 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2535 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2536 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 170 170 170 | ||
2537 | 170 85 0 170 170 170 255 255 255 170 170 170 255 255 255 170 170 170 | ||
2538 | 255 255 255 255 255 255 170 170 170 255 255 255 255 255 85 170 170 170 | ||
2539 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2540 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2541 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2542 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2543 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2544 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2545 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2546 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2547 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2548 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2549 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2550 | 0 0 0 0 0 0 85 85 85 170 85 0 85 85 85 170 170 170 | ||
2551 | 170 170 170 170 170 170 170 170 170 170 170 170 255 255 85 170 170 170 | ||
2552 | 255 255 85 170 170 170 170 85 0 85 255 85 85 85 85 0 0 0 | ||
2553 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2554 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2555 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2556 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2557 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2558 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2559 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2560 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 170 85 0 | ||
2561 | 170 170 170 170 170 170 255 255 85 170 170 170 255 255 255 255 255 255 | ||
2562 | 255 255 85 255 255 255 170 170 170 255 255 255 170 170 170 85 85 85 | ||
2563 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2564 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2565 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2566 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2567 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2568 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2569 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2570 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2571 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2572 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2573 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2574 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 | ||
2575 | 170 85 0 170 170 170 170 170 170 255 255 85 170 170 170 170 170 170 | ||
2576 | 170 170 170 170 170 170 170 170 170 170 85 0 0 0 0 0 0 0 | ||
2577 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2578 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2579 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2580 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2581 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2582 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2583 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2584 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 | ||
2585 | 255 255 85 170 170 170 170 170 170 170 170 170 255 255 85 170 170 170 | ||
2586 | 255 255 255 170 170 170 255 255 85 170 170 170 85 85 85 85 85 85 | ||
2587 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2588 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2589 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2590 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2591 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2592 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2593 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2594 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2595 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2596 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2597 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2598 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 | ||
2599 | 85 85 85 170 85 0 170 170 170 170 170 170 170 170 170 170 170 170 | ||
2600 | 170 85 0 170 170 170 170 85 0 85 85 85 0 0 0 0 0 0 | ||
2601 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2602 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2603 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2604 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2605 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2606 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2607 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2608 | 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 85 85 85 | ||
2609 | 170 170 170 170 170 170 255 255 85 170 170 170 170 170 170 170 170 170 | ||
2610 | 170 170 170 255 255 255 170 170 170 170 170 170 85 85 85 0 0 0 | ||
2611 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2612 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2613 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2614 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2615 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2616 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2617 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2618 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2619 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2620 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2621 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2622 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2623 | 85 85 85 85 85 85 85 85 85 170 85 0 85 85 85 170 85 0 | ||
2624 | 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2625 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2626 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2627 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2628 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2629 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2630 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2631 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2632 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 170 85 0 | ||
2633 | 85 85 85 170 85 0 170 170 170 170 170 170 170 170 170 255 255 85 | ||
2634 | 170 170 170 170 170 170 170 85 0 85 85 85 0 0 0 0 0 0 | ||
2635 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2636 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2637 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2638 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2639 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2640 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2641 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2642 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2643 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2644 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2645 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2646 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2647 | 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 | ||
2648 | 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2649 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2650 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2651 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2652 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2653 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2654 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2655 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2656 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 85 85 | ||
2657 | 85 85 85 85 255 85 170 85 0 170 170 170 170 85 0 170 170 170 | ||
2658 | 85 85 85 85 85 85 85 85 85 0 0 0 0 0 0 0 0 0 | ||
2659 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2660 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2661 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2662 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2663 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2664 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2665 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2666 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2667 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2668 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2669 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2670 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2671 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2672 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2673 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2674 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2675 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2676 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2677 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2678 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2679 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2680 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2681 | 0 0 0 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 | ||
2682 | 85 85 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2683 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2684 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2685 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2686 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2687 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2688 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2689 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2690 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2691 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2692 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2693 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2694 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2695 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2696 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2697 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2698 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2699 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2700 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2701 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2702 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2703 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2704 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2705 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2706 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2707 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2708 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2709 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2710 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2711 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2712 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2713 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2714 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2715 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2716 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2717 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2718 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2719 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2720 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2721 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2722 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2723 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2724 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2725 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2726 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2727 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2728 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2729 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2730 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2731 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2732 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2733 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2734 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2735 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2736 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2737 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2738 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2739 | 0 0 0 0 0 0 0 0 0 0 0 0 | ||