1 diff -urN linux-2.6.19.2.old/include/asm-cris/Kbuild linux-2.6.19.2.dev/include/asm-cris/Kbuild
2 --- linux-2.6.19.2.old/include/asm-cris/Kbuild 2007-01-10 20:10:37.000000000 +0100
3 +++ linux-2.6.19.2.dev/include/asm-cris/Kbuild 2007-02-09 16:51:34.000000000 +0100
5 header-y += arch-v10/ arch-v32/
8 +unifdef-y += ethernet.h
9 +unifdef-y += etraxgpio.h
11 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v10/Kbuild linux-2.6.19.2.dev/include/asm-cris/arch-v10/Kbuild
12 --- linux-2.6.19.2.old/include/asm-cris/arch-v10/Kbuild 2007-01-10 20:10:37.000000000 +0100
13 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v10/Kbuild 2007-02-26 21:03:05.000000000 +0100
18 +header-y += sv_addr_ag.h
19 +header-y += sv_addr.agh
20 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v10/bug.h linux-2.6.19.2.dev/include/asm-cris/arch-v10/bug.h
21 --- linux-2.6.19.2.old/include/asm-cris/arch-v10/bug.h 1970-01-01 01:00:00.000000000 +0100
22 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v10/bug.h 2006-06-21 10:29:16.000000000 +0200
24 +#ifndef __ASM_CRIS_ARCH_BUG_H
25 +#define __ASM_CRIS_ARCH_BUG_H
27 +#include <linux/stringify.h>
30 +#ifdef CONFIG_DEBUG_BUGVERBOSE
31 +/* The BUG() macro is used for marking obviously incorrect code paths.
32 + * It will cause a message with the file name and line number to be printed,
33 + * and then cause an oops. The message is actually printed by handle_BUG()
34 + * in arch/cris/kernel/traps.c, and the reason we use this method of storing
35 + * the file name and line number is that we do not want to affect the registers
36 + * by calling printk() before causing the oops.
39 +#define BUG_PREFIX 0x0D7F
40 +#define BUG_MAGIC 0x00001234
43 + unsigned short prefix;
45 + unsigned short clear;
46 + unsigned short movu;
47 + unsigned short line;
48 + unsigned short jump;
49 + unsigned char* filename;
53 +/* Unfortunately this version of the macro does not work due to a problem
54 + * with the compiler (aka a bug) when compiling with -O2, which sometimes
55 + * erroneously causes the second input to be stored in a register...
58 + __asm__ __volatile__ ("clear.d [" __stringify(BUG_MAGIC) "]\n\t"\
59 + "movu.w %0,$r0\n\t" \
61 + : : "i" (__LINE__), "i" (__FILE__))
63 +/* This version will have to do for now, until the compiler is fixed.
64 + * The drawbacks of this version are that the file name will appear multiple
65 + * times in the .rodata section, and that __LINE__ and __FILE__ can probably
66 + * not be used like this with newer versions of gcc.
69 + __asm__ __volatile__ ("clear.d [" __stringify(BUG_MAGIC) "]\n\t"\
70 + "movu.w " __stringify(__LINE__) ",$r0\n\t"\
72 + ".section .rodata\n" \
73 + "0:\t.string \"" __FILE__ "\"\n\t" \
79 +/* This just causes an oops. */
80 +#define BUG() (*(int *)0 = 0)
84 +#define HAVE_ARCH_BUG
87 +#include <asm-generic/bug.h>
90 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v10/ide.h linux-2.6.19.2.dev/include/asm-cris/arch-v10/ide.h
91 --- linux-2.6.19.2.old/include/asm-cris/arch-v10/ide.h 2007-01-10 20:10:37.000000000 +0100
92 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v10/ide.h 2005-08-23 11:44:36.000000000 +0200
94 * together in a hwgroup, and will serialize accesses. this is good, because
95 * we can't access more than one interface at the same time on ETRAX100.
101 static inline unsigned long ide_default_io_base(int index)
103 /* fill in ports for ATA addresses 0 to 7 */
105 for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++) {
106 - hw->io_ports[i] = data_port |
107 - IO_FIELD(R_ATA_CTRL_DATA, addr, i) |
108 + hw->io_ports[i] = data_port |
109 + IO_FIELD(R_ATA_CTRL_DATA, addr, i) |
110 IO_STATE(R_ATA_CTRL_DATA, cs0, active);
113 /* the IDE control register is at ATA address 6, with CS1 active instead of CS0 */
115 hw->io_ports[IDE_CONTROL_OFFSET] = data_port |
116 - IO_FIELD(R_ATA_CTRL_DATA, addr, 6) |
117 + IO_FIELD(R_ATA_CTRL_DATA, addr, 6) |
118 IO_STATE(R_ATA_CTRL_DATA, cs1, active);
120 /* whats this for ? */
121 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v10/io.h linux-2.6.19.2.dev/include/asm-cris/arch-v10/io.h
122 --- linux-2.6.19.2.old/include/asm-cris/arch-v10/io.h 2007-01-10 20:10:37.000000000 +0100
123 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v10/io.h 2007-03-06 12:16:16.000000000 +0100
126 #define LED_ORANGE (LED_GREEN | LED_RED)
128 +#if defined(CONFIG_ETRAX_NO_LEDS)
129 +#define LED_NETWORK_SET(x)
131 #if CONFIG_ETRAX_LED1G == CONFIG_ETRAX_LED1R
132 #define LED_NETWORK_SET(x) \
135 LED_ACTIVE_SET_R((x) & LED_RED); \
140 #ifdef CONFIG_ETRAX_PA_LEDS
141 #define LED_NETWORK_SET_G(x) \
142 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v10/juliette.h linux-2.6.19.2.dev/include/asm-cris/arch-v10/juliette.h
143 --- linux-2.6.19.2.old/include/asm-cris/arch-v10/juliette.h 1970-01-01 01:00:00.000000000 +0100
144 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v10/juliette.h 2004-06-03 11:28:57.000000000 +0200
146 +#ifndef _ASM_JULIETTE_H
147 +#define _ASM_JULIETTE_H
149 +#include <asm/arch/svinto.h>
151 +/* juliette _IOC_TYPE, bits 8 to 15 in ioctl cmd */
153 +#define JULIOCTYPE 42
155 +/* supported ioctl _IOC_NR's */
157 +#define JULSTARTDMA 0x1 /* start a picture asynchronously */
159 +/* set parameters */
161 +#define SETDEFAULT 0x2 /* CCD/VIDEO/SS1M */
162 +#define SETPARAMETERS 0x3 /* CCD/VIDEO */
163 +#define SETSIZE 0x4 /* CCD/VIDEO/SS1M */
164 +#define SETCOMPRESSION 0x5 /* CCD/VIDEO/SS1M */
165 +#define SETCOLORLEVEL 0x6 /* CCD/VIDEO */
166 +#define SETBRIGHTNESS 0x7 /* CCD */
167 +#define SETROTATION 0x8 /* CCD */
168 +#define SETTEXT 0x9 /* CCD/VIDEO/SS1M */
169 +#define SETCLOCK 0xa /* CCD/VIDEO/SS1M */
170 +#define SETDATE 0xb /* CCD/VIDEO/SS1M */
171 +#define SETTIMEFORMAT 0xc /* CCD/VIDEO/SS1M */
172 +#define SETDATEFORMAT 0xd /* VIDEO */
173 +#define SETTEXTALIGNMENT 0xe /* VIDEO */
174 +#define SETFPS 0xf /* CCD/VIDEO/SS1M */
175 +#define SETVGA 0xff /* VIDEO */
176 +#define SETCOMMENT 0xfe /* CCD/VIDEO */
178 +/* get parameters */
180 +#define GETDRIVERTYPE 0x10 /* CCD/VIDEO/SS1M */
181 +#define GETNBROFCAMERAS 0x11 /* CCD/VIDEO/SS1M */
182 +#define GETPARAMETERS 0x12 /* CCD/VIDEO/SS1M */
183 +#define GETBUFFERSIZE 0x13 /* CCD/VIDEO/SS1M */
184 +#define GETVIDEOTYPE 0x14 /* VIDEO/SS1M */
185 +#define GETVIDEOSIGNAL 0x15 /* VIDEO */
186 +#define GETMODULATION 0x16 /* VIDEO */
187 +#define GETDCYVALUES 0xa0 /* CCD /SS1M */
188 +#define GETDCYWIDTH 0xa1 /* CCD /SS1M */
189 +#define GETDCYHEIGHT 0xa2 /* CCD /SS1M */
190 +#define GETSIZE 0xa3 /* CCD/VIDEO */
191 +#define GETCOMPRESSION 0xa4 /* CCD/VIDEO */
193 +/* detect and get parameters */
195 +#define DETECTMODULATION 0x17 /* VIDEO */
196 +#define DETECTVIDEOTYPE 0x18 /* VIDEO */
197 +#define DETECTVIDEOSIGNAL 0x19 /* VIDEO */
199 +/* configure default parameters */
201 +#define CONFIGUREDEFAULT 0x20 /* CCD/VIDEO/SS1M */
202 +#define DEFSIZE 0x21 /* CCD/VIDEO/SS1M */
203 +#define DEFCOMPRESSION 0x22 /* CCD/VIDEO/SS1M */
204 +#define DEFCOLORLEVEL 0x23 /* CCD/VIDEO */
205 +#define DEFBRIGHTNESS 0x24 /* CCD */
206 +#define DEFROTATION 0x25 /* CCD */
207 +#define DEFWHITEBALANCE 0x26 /* CCD */
208 +#define DEFEXPOSURE 0x27 /* CCD */
209 +#define DEFAUTOEXPWINDOW 0x28 /* CCD */
210 +#define DEFTEXT 0x29 /* CCD/VIDEO/SS1M */
211 +#define DEFCLOCK 0x2a /* CCD/VIDEO/SS1M */
212 +#define DEFDATE 0x2b /* CCD/VIDEO/SS1M */
213 +#define DEFTIMEFORMAT 0x2c /* CCD/VIDEO/SS1M */
214 +#define DEFDATEFORMAT 0x2d /* VIDEO */
215 +#define DEFTEXTALIGNMENT 0x2e /* VIDEO */
216 +#define DEFFPS 0x2f /* CCD/VIDEO/SS1M */
217 +#define DEFTEXTSTRING 0x30 /* CCD/VIDEO/SS1M */
218 +#define DEFHEADERINFO 0x31 /* CCD/VIDEO/SS1M */
219 +#define DEFWEXAR 0x32 /* CCD */
220 +#define DEFLINEDELAY 0x33 /* CCD */
221 +#define DEFDISABLEDVIDEO 0x34 /* VIDEO */
222 +#define DEFVIDEOTYPE 0x35 /* VIDEO */
223 +#define DEFMODULATION 0x36 /* VIDEO */
224 +#define DEFXOFFSET 0x37 /* VIDEO */
225 +#define DEFYOFFSET 0x38 /* VIDEO */
226 +#define DEFYCMODE 0x39 /* VIDEO */
227 +#define DEFVCRMODE 0x3a /* VIDEO */
228 +#define DEFSTOREDCYVALUES 0x3b /* CCD/VIDEO/SS1M */
229 +#define DEFWCDS 0x3c /* CCD */
230 +#define DEFVGA 0x3d /* VIDEO */
231 +#define DEFCOMMENT 0x3e /* CCD/VIDEO */
232 +#define DEFCOMMENTSIZE 0x3f /* CCD/VIDEO */
233 +#define DEFCOMMENTTEXT 0x50 /* CCD/VIDEO */
234 +#define DEFSTOREDCYTEXT 0x51 /* VIDEO */
237 +#define JULABORTDMA 0x70 /* Abort current DMA transfer */
239 +/* juliette general i/o port */
241 +#define JIO_READBITS 0x40 /* read and return current port bits */
242 +#define JIO_SETBITS 0x41 /* set bits marked by 1 in the argument */
243 +#define JIO_CLRBITS 0x42 /* clr bits marked by 1 in the argument */
244 +#define JIO_READDIR 0x43 /* read direction, 0=input 1=output */
245 +#define JIO_SETINPUT 0x44 /* set direction, 0=unchanged 1=input
246 + returns current dir */
247 +#define JIO_SETOUTPUT 0x45 /* set direction, 0=unchanged 1=output
248 + returns current dir */
250 +/**** YumYum internal adresses ****/
252 +/* Juliette buffer addresses */
254 +#define BUFFER1_VIDEO 0x1100
255 +#define BUFFER2_VIDEO 0x2800
256 +#define ACDC_BUFF_VIDEO 0x0aaa
257 +#define BUFFER1 0x1700
258 +#define BUFFER2 0x2b01
259 +#define ACDC_BUFFER 0x1200
260 +#define BUFFER1_SS1M 0x1100
261 +#define BUFFER2_SS1M 0x2800
262 +#define ACDC_BUFF_SS1M 0x0900
264 +/* Juliette parameter memory addresses */
266 +#define PA_BUFFER_CNT 0x3f09 /* CCD/VIDEO */
267 +#define PA_CCD_BUFFER 0x3f10 /* CCD */
268 +#define PA_VIDEO_BUFFER 0x3f10 /* VIDEO */
269 +#define PA_DCT_BUFFER 0x3f11 /* CCD/VIDEO */
270 +#define PA_TEMP 0x3f12 /* CCD/VIDEO */
271 +#define PA_VIDEOLINE_RD 0x3f13 /* VIDEO */
272 +#define PA_VIDEOLINE_WR 0x3f14 /* VIDEO */
273 +#define PA_VI_HDELAY0 0x3f15 /* VIDEO */
274 +#define PA_VI_VDELAY0 0x3f16 /* VIDEO */
275 +#define PA_VI_HDELAY1 0x3f17 /* VIDEO */
276 +#define PA_VI_VDELAY1 0x3f18 /* VIDEO */
277 +#define PA_VI_HDELAY2 0x3f19 /* VIDEO */
278 +#define PA_VI_VDELAY2 0x3f1a /* VIDEO */
279 +#define PA_VI_HDELAY3 0x3f1b /* VIDEO */
280 +#define PA_VI_VDELAY3 0x3f1c /* VIDEO */
281 +#define PA_VI_CTRL 0x3f20 /* VIDEO */
282 +#define PA_JPEG_CTRL 0x3f22 /* CCD/VIDEO */
283 +#define PA_BUFFER_SIZE 0x3f24 /* CCD/VIDEO */
284 +#define PA_PAL_NTSC 0x3f25 /* VIDEO */
285 +#define PA_MACROBLOCKS 0x3f26 /* CCD/VIDEO */
286 +#define PA_COLOR 0x3f27 /* VIDEO */
287 +#define PA_MEMCH1CNT2 0x3f28 /* CCD/VIDEO */
288 +#define PA_MEMCH1CNT3 0x3f29 /* VIDEO */
289 +#define PA_MEMCH1STR2 0x3f2a /* CCD/VIDEO */
290 +#define PA_MEMCH1STR3 0x3f2b /* VIDEO */
291 +#define PA_BUFFERS 0x3f2c /* CCD/VIDEO */
292 +#define PA_PROGRAM 0x3f2d /* CCD/VIDEO */
293 +#define PA_ROTATION 0x3f2e /* CCD */
294 +#define PA_PC 0x3f30 /* CCD/VIDEO */
295 +#define PA_PC2 0x3f31 /* VIDEO */
296 +#define PA_ODD_LINE 0x3f32 /* VIDEO */
297 +#define PA_EXP_DELAY 0x3f34 /* CCD */
298 +#define PA_MACROBLOCK_CNT 0x3f35 /* CCD/VIDEO */
299 +#define PA_DRAM_PTR1_L 0x3f36 /* CCD/VIDEO */
300 +#define PA_CLPOB_CNT 0x3f37 /* CCD */
301 +#define PA_DRAM_PTR1_H 0x3f38 /* CCD/VIDEO */
302 +#define PA_DRAM_PTR2_L 0x3f3a /* VIDEO */
303 +#define PA_DRAM_PTR2_H 0x3f3c /* VIDEO */
304 +#define PA_CCD_LINE_CNT 0x3f3f /* CCD */
305 +#define PA_VIDEO_LINE_CNT 0x3f3f /* VIDEO */
306 +#define PA_TEXT 0x3f41 /* CCD/VIDEO */
307 +#define PA_CAMERA_CHANGED 0x3f42 /* VIDEO */
308 +#define PA_TEXTALIGNMENT 0x3f43 /* VIDEO */
309 +#define PA_DISABLED 0x3f44 /* VIDEO */
310 +#define PA_MACROBLOCKTEXT 0x3f45 /* VIDEO */
311 +#define PA_VGA 0x3f46 /* VIDEO */
312 +#define PA_ZERO 0x3ffe /* VIDEO */
313 +#define PA_NULL 0x3fff /* CCD/VIDEO */
355 +} white_balance_type;
382 + Www_Mmm_DD_YYYY = 2,
411 + pal_bghi_ntsc_m = 0,
412 + ntsc_4_43_50hz_pal_4_43_60hz = 1,
413 + pal_n_ntsc_4_43_60hz = 2,
415 + secam_pal_4_43_60hz = 4
432 + request_type req_type;
434 + compr_type compression;
435 + rotation_type rotation;
438 + white_balance_type white_balance;
439 + exposure_type exposure;
440 + exp_window_type auto_exp_window;
441 + hour_type time_format;
442 + date_type date_format;
443 + alignment_type text_alignment;
449 + enable_type comment;
452 +struct video_param {
453 + enable_type disabled;
454 + modulation_type modulation;
456 + enable_type signal;
462 +/* The juliette_request structure is used during the JULSTARTDMA asynchronous
463 + * picture-taking ioctl call as an argument to specify a buffer which will get
464 + * the final picture.
467 +struct juliette_request {
468 + char *buf; /* Pointer to the buffer to hold picture data */
469 + unsigned int buflen; /* Length of the above buffer */
470 + unsigned int size; /* Resulting length, 0 if the picture is not ready */
474 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/Kbuild linux-2.6.19.2.dev/include/asm-cris/arch-v32/Kbuild
475 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/Kbuild 2007-01-10 20:10:37.000000000 +0100
476 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/Kbuild 2007-02-09 16:51:34.000000000 +0100
480 +header-y += cryptocop.h
481 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/arbiter.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/arbiter.h
482 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/arbiter.h 2007-01-10 20:10:37.000000000 +0100
483 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/arbiter.h 2006-10-13 14:45:18.000000000 +0200
486 int crisv32_arbiter_allocate_bandwidth(int client, int region,
487 unsigned long bandwidth);
488 +void crisv32_arbiter_deallocate_bandwidth(int client, int region);
489 int crisv32_arbiter_watch(unsigned long start, unsigned long size,
490 unsigned long clients, unsigned long accesses,
492 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/bitops.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/bitops.h
493 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/bitops.h 2007-01-10 20:10:37.000000000 +0100
494 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/bitops.h 2005-08-23 11:44:37.000000000 +0200
496 __asm__ __volatile__ ("swapnwbr %0\n\t"
498 : "=r" (res) : "0" (w));
505 __asm__ __volatile__ ("swapwbr %0\n\t"
507 : "=r" (res) : "0" (w));
513 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/board.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/board.h
514 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/board.h 1970-01-01 01:00:00.000000000 +0100
515 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/board.h 2007-01-29 15:05:01.000000000 +0100
518 + * linux/include/asm-cris/arch-v32/board.h
520 + * Types for board-specific data.
522 + * Copyright (C) 2007 Axis Communications AB
525 +#ifndef __ARCH_V32_BOARD_H
526 +#define __ARCH_V32_BOARD_H
528 +/* A tuple for a regi base and an interrupt. */
529 +struct crisv32_regi_n_int {
535 + * SPI and SD/MMC types, arranged such that the data for mmc_spi is an
536 + * add-on to SPI; the SPI data does not contain anything about SD/MMC
537 + * and the SPI controller driver can't access it. SPI data is
538 + * arranged to allow sharing common functions between SSER and GPIO.
541 +/* Hardware identification for the bitbanged GPIO SPI controller. */
542 +struct crisv32_spi_gpio_controller_data {
543 + /* Names of the pins. */
550 +/* Similar for the SSER SPI controller. */
551 +struct crisv32_spi_sser_controller_data {
552 + /* How to connect pins and claim the SSER interface and the DMA
554 + int (*iface_allocate)(struct crisv32_regi_n_int *sser,
555 + struct crisv32_regi_n_int *dmain,
556 + struct crisv32_regi_n_int *dmaout);
557 + void (*iface_free)(void);
559 + /* Whether DMA is to be used. */
563 +struct crisv32_mmc_spi_pinstate;
566 + * Regardless of SPI controller, these pins are needed in addition to
567 + * the SPI pins when the used as a SD/MMC SPI controller.
569 +struct crisv32_mmc_spi_pindata {
570 + /* Names of the pins. */
571 + const char *card_detect;
572 + const char *write_protect;
574 + /* Related private state to interface to the mmc_spi API. */
575 + struct crisv32_mmc_spi_pinstate *pinstate;
578 +/* When SD/MMC SPI on GPIO, here's all the hardware-identifying data. */
579 +struct crisv32_mmc_spi_gpio_hwdata {
580 + struct crisv32_spi_gpio_controller_data spi;
581 + struct crisv32_mmc_spi_pindata mmc;
584 +/* Similar for SSER. */
585 +struct crisv32_mmc_spi_sser_hwdata {
586 + struct crisv32_spi_sser_controller_data spi;
587 + struct crisv32_mmc_spi_pindata mmc;
590 +#endif /* __ARCH_V32_BOARD_H */
591 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/bug.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/bug.h
592 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/bug.h 1970-01-01 01:00:00.000000000 +0100
593 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/bug.h 2006-06-21 10:29:16.000000000 +0200
595 +#ifndef __ASM_CRIS_ARCH_BUG_H
596 +#define __ASM_CRIS_ARCH_BUG_H
598 +#include <linux/stringify.h>
601 +#ifdef CONFIG_DEBUG_BUGVERBOSE
602 +/* The BUG() macro is used for marking obviously incorrect code paths.
603 + * It will cause a message with the file name and line number to be printed,
604 + * and then cause an oops. The message is actually printed by handle_BUG()
605 + * in arch/cris/kernel/traps.c, and the reason we use this method of storing
606 + * the file name and line number is that we do not want to affect the registers
607 + * by calling printk() before causing the oops (this is not entirely true
608 + * for CRISv32 since we need to modify the $acr register).
611 +#define BUG_PREFIX 0xFE6F
612 +#define BUG_MAGIC 0x00001234
615 + unsigned short prefix;
616 + unsigned int magic;
617 + unsigned short clear;
618 + unsigned short movu;
619 + unsigned short line;
620 + unsigned short jump;
621 + unsigned char* filename;
625 +/* Unfortunately this version of the macro does not work due to a problem
626 + * with the compiler (aka a bug) when compiling with -O2, which sometimes
627 + * erroneously causes the second input to be stored in a register...
630 + __asm__ __volatile__ ("move.d [" __stringify(BUG_MAGIC) "],$acr\n\t"\
631 + "clear.d [$acr]\n\t" \
632 + "movu.w %0,$r0\n\t" \
634 + : : "i" (__LINE__), "i" (__FILE__))
636 +/* This version will have to do for now, until the compiler is fixed.
637 + * The drawbacks of this version are that the file name will appear multiple
638 + * times in the .rodata section, and that __LINE__ and __FILE__ can probably
639 + * not be used like this with newer versions of gcc.
642 + __asm__ __volatile__ ("move.d " __stringify(BUG_MAGIC) ",$acr\n\t"\
643 + "clear.d [$acr]\n\t" \
644 + "movu.w " __stringify(__LINE__) ",$r0\n\t"\
646 + ".section .rodata\n" \
647 + "0:\t.string \"" __FILE__ "\"\n\t" \
653 +/* This just causes an oops. */
654 +#define BUG() (*(int *)0 = 0)
658 +#define HAVE_ARCH_BUG
661 +#include <asm-generic/bug.h>
664 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/cache.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/cache.h
665 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/cache.h 2007-01-10 20:10:37.000000000 +0100
666 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/cache.h 2007-01-05 09:59:53.000000000 +0100
668 #ifndef _ASM_CRIS_ARCH_CACHE_H
669 #define _ASM_CRIS_ARCH_CACHE_H
671 +#include <asm/arch/hwregs/dma.h>
673 /* A cache-line is 32 bytes. */
674 #define L1_CACHE_BYTES 32
675 #define L1_CACHE_SHIFT 5
677 +void flush_dma_list(dma_descr_data* descr);
678 +void flush_dma_descr(dma_descr_data* descr, int flush_buf);
680 +#define flush_dma_context(c) \
681 + flush_dma_list(phys_to_virt((c)->saved_data));
683 +void cris_flush_cache_range(void* buf, unsigned long len);
684 +void cris_flush_cache(void);
686 #endif /* _ASM_CRIS_ARCH_CACHE_H */
687 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/cryptocop.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/cryptocop.h
688 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/cryptocop.h 2007-01-10 20:10:37.000000000 +0100
689 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/cryptocop.h 2005-04-20 14:33:25.000000000 +0200
691 cryptocop_source_dma = 0,
692 cryptocop_source_des,
693 cryptocop_source_3des,
694 - cryptocop_source_aes,
695 + cryptocop_source_aes,
696 cryptocop_source_md5,
697 cryptocop_source_sha1,
698 cryptocop_source_csum,
699 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/delay.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/delay.h
700 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/delay.h 2007-01-10 20:10:37.000000000 +0100
701 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/delay.h 2006-10-11 19:46:19.000000000 +0200
703 #ifndef _ASM_CRIS_ARCH_DELAY_H
704 #define _ASM_CRIS_ARCH_DELAY_H
706 +extern void cris_delay10ns(u32 n10ns);
707 +#define udelay(u) cris_delay10ns((u)*100)
708 +#define ndelay(n) cris_delay10ns(((n)+9)/10)
711 + * Not used anymore for udelay or ndelay. Referenced by
712 + * e.g. init/calibrate.c. All other references are likely bugs;
713 + * should be replaced by mdelay, udelay or ndelay.
719 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/dma.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/dma.h
720 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/dma.h 2007-01-10 20:10:37.000000000 +0100
721 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/dma.h 2005-05-02 12:43:02.000000000 +0200
726 -int crisv32_request_dma(unsigned int dmanr, const char * device_id,
727 +int crisv32_request_dma(unsigned int dmanr, const char * device_id,
728 unsigned options, unsigned bandwidth, enum dma_owner owner);
729 void crisv32_free_dma(unsigned int dmanr);
731 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/Makefile linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/Makefile
732 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/Makefile 2007-01-10 20:10:37.000000000 +0100
733 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/Makefile 2004-01-07 22:16:18.000000000 +0100
736 # From /n/asic/projects/guinness/design/
737 reg_map.h: $(DESIGNDIR)/top/rtl/global.rmap $(DESIGNDIR)/top/mod/modreg.rmap
738 - $(RDES2C) -base 0xb0000000 $^
739 + $(RDES2C) -base 0xb0000000 $^
740 reg_map_asm.h: $(DESIGNDIR)/top/rtl/global.rmap $(DESIGNDIR)/top/mod/modreg.rmap
741 - $(RDES2C) -base 0xb0000000 -asm -outfile $@ $^
742 + $(RDES2C) -base 0xb0000000 -asm -outfile $@ $^
744 reg_rdwr.h: $(DESIGNDIR)/top/sw/include/reg_rdwr.h
745 cat $< | sed -e 's/\$$Id\:/id\:/g' >$@
746 @@ -171,14 +171,14 @@
750 -## %.axw - Generate the specified .axw file (doesn't work for all files
751 +## %.axw - Generate the specified .axw file (doesn't work for all files
752 ## due to inconsistent naming ir .r files.
754 @for RDES in $(REGDESC); do \
755 if echo "$$RDES" | grep $* ; then \
756 $(RDES2TXT) $$RDES; \
762 ## clean - Remove .h files and .axw files.
763 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/ata_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/ata_defs_asm.h
764 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/ata_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
765 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/ata_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
768 * This file is autogenerated from
769 * file: ../../inst/ata/rtl/ata_regs.r
770 - * id: ata_regs.r,v 1.11 2005/02/09 08:27:36 kriskn Exp
771 + * id: ata_regs.r,v 1.11 2005/02/09 08:27:36 kriskn Exp
772 * last modfied: Mon Apr 11 16:06:25 2005
775 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/ata_defs_asm.h ../../inst/ata/rtl/ata_regs.r
776 * id: $Id: ata_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
777 * Any changes here will be lost.
778 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/bif_core_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/bif_core_defs_asm.h
779 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/bif_core_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
780 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/bif_core_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
783 * This file is autogenerated from
784 * file: ../../inst/bif/rtl/bif_core_regs.r
785 - * id: bif_core_regs.r,v 1.17 2005/02/04 13:28:22 np Exp
786 + * id: bif_core_regs.r,v 1.17 2005/02/04 13:28:22 np Exp
787 * last modfied: Mon Apr 11 16:06:33 2005
790 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/bif_core_defs_asm.h ../../inst/bif/rtl/bif_core_regs.r
791 * id: $Id: bif_core_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
792 * Any changes here will be lost.
793 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/bif_dma_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/bif_dma_defs_asm.h
794 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/bif_dma_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
795 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/bif_dma_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
798 * This file is autogenerated from
799 * file: ../../inst/bif/rtl/bif_dma_regs.r
800 - * id: bif_dma_regs.r,v 1.6 2005/02/04 13:28:31 perz Exp
801 + * id: bif_dma_regs.r,v 1.6 2005/02/04 13:28:31 perz Exp
802 * last modfied: Mon Apr 11 16:06:33 2005
805 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/bif_dma_defs_asm.h ../../inst/bif/rtl/bif_dma_regs.r
806 * id: $Id: bif_dma_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
807 * Any changes here will be lost.
808 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/bif_slave_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/bif_slave_defs_asm.h
809 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/bif_slave_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
810 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/bif_slave_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
813 * This file is autogenerated from
814 * file: ../../inst/bif/rtl/bif_slave_regs.r
815 - * id: bif_slave_regs.r,v 1.5 2005/02/04 13:55:28 perz Exp
816 + * id: bif_slave_regs.r,v 1.5 2005/02/04 13:55:28 perz Exp
817 * last modfied: Mon Apr 11 16:06:34 2005
820 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/bif_slave_defs_asm.h ../../inst/bif/rtl/bif_slave_regs.r
821 * id: $Id: bif_slave_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
822 * Any changes here will be lost.
823 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/config_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/config_defs_asm.h
824 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/config_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
825 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/config_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
828 * This file is autogenerated from
829 * file: ../../rtl/config_regs.r
830 - * id: config_regs.r,v 1.23 2004/03/04 11:34:42 mikaeln Exp
831 + * id: config_regs.r,v 1.23 2004/03/04 11:34:42 mikaeln Exp
832 * last modfied: Thu Mar 4 12:34:39 2004
835 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/config_defs_asm.h ../../rtl/config_regs.r
836 * id: $Id: config_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
837 * Any changes here will be lost.
838 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/cpu_vect.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/cpu_vect.h
839 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/cpu_vect.h 2007-01-10 20:10:37.000000000 +0100
840 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/cpu_vect.h 2005-04-24 20:31:04.000000000 +0200
844 #ifndef _______INST_CRISP_DOC_CPU_VECT_R
845 -#define _______INST_CRISP_DOC_CPU_VECT_R
846 +#define _______INST_CRISP_DOC_CPU_VECT_R
847 #define NMI_INTR_VECT 0x00
848 #define RESERVED_1_INTR_VECT 0x01
849 #define RESERVED_2_INTR_VECT 0x02
850 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/cris_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/cris_defs_asm.h
851 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/cris_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
852 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/cris_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
855 * This file is autogenerated from
856 * file: ../../inst/crisp/doc/cris.r
857 - * id: cris.r,v 1.6 2004/05/05 07:41:12 perz Exp
858 + * id: cris.r,v 1.6 2004/05/05 07:41:12 perz Exp
859 * last modfied: Mon Apr 11 16:06:39 2005
862 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/cris_defs_asm.h ../../inst/crisp/doc/cris.r
863 * id: $Id: cris_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
864 * Any changes here will be lost.
865 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/dma_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/dma_defs_asm.h
866 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/dma_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
867 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/dma_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
870 * This file is autogenerated from
871 * file: ../../inst/dma/inst/dma_common/rtl/dma_regdes.r
872 - * id: dma_regdes.r,v 1.39 2005/02/10 14:07:23 janb Exp
873 + * id: dma_regdes.r,v 1.39 2005/02/10 14:07:23 janb Exp
874 * last modfied: Mon Apr 11 16:06:51 2005
877 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/dma_defs_asm.h ../../inst/dma/inst/dma_common/rtl/dma_regdes.r
878 * id: $Id: dma_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
879 * Any changes here will be lost.
880 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/eth_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/eth_defs_asm.h
881 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/eth_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
882 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/eth_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
885 * This file is autogenerated from
886 * file: ../../inst/eth/rtl/eth_regs.r
887 - * id: eth_regs.r,v 1.11 2005/02/09 10:48:38 kriskn Exp
888 + * id: eth_regs.r,v 1.11 2005/02/09 10:48:38 kriskn Exp
889 * last modfied: Mon Apr 11 16:07:03 2005
892 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/eth_defs_asm.h ../../inst/eth/rtl/eth_regs.r
893 * id: $Id: eth_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
894 * Any changes here will be lost.
895 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/gio_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/gio_defs_asm.h
896 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/gio_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
897 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/gio_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
900 * This file is autogenerated from
901 * file: ../../inst/gio/rtl/gio_regs.r
902 - * id: gio_regs.r,v 1.5 2005/02/04 09:43:21 perz Exp
903 + * id: gio_regs.r,v 1.5 2005/02/04 09:43:21 perz Exp
904 * last modfied: Mon Apr 11 16:07:47 2005
907 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/gio_defs_asm.h ../../inst/gio/rtl/gio_regs.r
908 * id: $Id: gio_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
909 * Any changes here will be lost.
910 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/intr_vect.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/intr_vect.h
911 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/intr_vect.h 2007-01-10 20:10:37.000000000 +0100
912 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/intr_vect.h 2005-04-24 20:31:04.000000000 +0200
916 #ifndef _______INST_INTR_VECT_RTL_GUINNESS_IVMASK_CONFIG_R
917 -#define _______INST_INTR_VECT_RTL_GUINNESS_IVMASK_CONFIG_R
918 +#define _______INST_INTR_VECT_RTL_GUINNESS_IVMASK_CONFIG_R
919 #define MEMARB_INTR_VECT 0x31
920 #define GEN_IO_INTR_VECT 0x32
921 #define IOP0_INTR_VECT 0x33
922 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/intr_vect_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/intr_vect_defs_asm.h
923 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/intr_vect_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
924 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/intr_vect_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
927 * This file is autogenerated from
928 * file: ../../inst/intr_vect/rtl/guinness/ivmask.config.r
929 - * id: ivmask.config.r,v 1.4 2005/02/15 16:05:38 stefans Exp
930 + * id: ivmask.config.r,v 1.4 2005/02/15 16:05:38 stefans Exp
931 * last modfied: Mon Apr 11 16:08:03 2005
934 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/intr_vect_defs_asm.h ../../inst/intr_vect/rtl/guinness/ivmask.config.r
935 * id: $Id: intr_vect_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
936 * Any changes here will be lost.
937 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/irq_nmi_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/irq_nmi_defs_asm.h
938 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/irq_nmi_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
939 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/irq_nmi_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
941 * file: ../../mod/irq_nmi.r
943 * last modfied: Thu Jan 22 09:22:43 2004
946 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/irq_nmi_defs_asm.h ../../mod/irq_nmi.r
947 * id: $Id: irq_nmi_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
948 * Any changes here will be lost.
949 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/marb_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/marb_defs_asm.h
950 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/marb_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
951 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/marb_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
953 * file: ../../inst/memarb/rtl/guinness/marb_top.r
955 * last modfied: Mon Apr 11 16:12:16 2005
958 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/marb_defs_asm.h ../../inst/memarb/rtl/guinness/marb_top.r
959 * id: $Id: marb_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
960 * Any changes here will be lost.
962 * file: ../../inst/memarb/rtl/guinness/marb_top.r
964 * last modfied: Mon Apr 11 16:12:16 2005
967 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/marb_defs_asm.h ../../inst/memarb/rtl/guinness/marb_top.r
968 * id: $Id: marb_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
969 * Any changes here will be lost.
970 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/mmu_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/mmu_defs_asm.h
971 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/mmu_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
972 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/mmu_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
975 * This file is autogenerated from
976 * file: ../../inst/mmu/doc/mmu_regs.r
977 - * id: mmu_regs.r,v 1.12 2004/05/06 13:48:45 mikaeln Exp
978 + * id: mmu_regs.r,v 1.12 2004/05/06 13:48:45 mikaeln Exp
979 * last modfied: Mon Apr 11 17:03:20 2005
982 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/mmu_defs_asm.h ../../inst/mmu/doc/mmu_regs.r
983 * id: $Id: mmu_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
984 * Any changes here will be lost.
985 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/pinmux_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/pinmux_defs_asm.h
986 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/pinmux_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
987 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/pinmux_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
990 * This file is autogenerated from
991 * file: ../../inst/pinmux/rtl/guinness/pinmux_regs.r
992 - * id: pinmux_regs.r,v 1.40 2005/02/09 16:22:59 perz Exp
993 + * id: pinmux_regs.r,v 1.40 2005/02/09 16:22:59 perz Exp
994 * last modfied: Mon Apr 11 16:09:11 2005
997 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/pinmux_defs_asm.h ../../inst/pinmux/rtl/guinness/pinmux_regs.r
998 * id: $Id: pinmux_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
999 * Any changes here will be lost.
1000 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/reg_map_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/reg_map_asm.h
1001 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/reg_map_asm.h 2007-01-10 20:10:37.000000000 +0100
1002 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/reg_map_asm.h 2005-04-24 20:31:04.000000000 +0200
1005 * This file is autogenerated from
1006 * file: ../../mod/fakereg.rmap
1007 - * id: fakereg.rmap,v 1.3 2004/02/11 19:53:22 ronny Exp
1008 + * id: fakereg.rmap,v 1.3 2004/02/11 19:53:22 ronny Exp
1009 * last modified: Wed Feb 11 20:53:25 2004
1010 * file: ../../rtl/global.rmap
1011 - * id: global.rmap,v 1.3 2003/08/18 15:08:23 mikaeln Exp
1012 + * id: global.rmap,v 1.3 2003/08/18 15:08:23 mikaeln Exp
1013 * last modified: Mon Aug 18 17:08:23 2003
1014 * file: ../../mod/modreg.rmap
1015 - * id: modreg.rmap,v 1.31 2004/02/20 15:40:04 stefans Exp
1016 + * id: modreg.rmap,v 1.31 2004/02/20 15:40:04 stefans Exp
1017 * last modified: Fri Feb 20 16:40:04 2004
1020 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/reg_map_asm.h -base 0xb0000000 ../../rtl/global.rmap ../../mod/modreg.rmap ../../inst/memarb/rtl/guinness/marb_top.r ../../mod/fakereg.rmap
1021 - * id: $Id: reg_map_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
1022 + * id: $Id: reg_map_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
1023 * Any changes here will be lost.
1025 * -*- buffer-read-only: t -*-
1026 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/rt_trace_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/rt_trace_defs_asm.h
1027 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/rt_trace_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
1028 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/rt_trace_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
1031 * This file is autogenerated from
1032 * file: ../../inst/rt_trace/rtl/rt_regs.r
1033 - * id: rt_regs.r,v 1.18 2005/02/08 15:45:00 stefans Exp
1034 + * id: rt_regs.r,v 1.18 2005/02/08 15:45:00 stefans Exp
1035 * last modfied: Mon Apr 11 16:09:14 2005
1038 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/rt_trace_defs_asm.h ../../inst/rt_trace/rtl/rt_regs.r
1039 * id: $Id: rt_trace_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
1040 * Any changes here will be lost.
1041 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/ser_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/ser_defs_asm.h
1042 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/ser_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
1043 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/ser_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
1046 * This file is autogenerated from
1047 * file: ../../inst/ser/rtl/ser_regs.r
1048 - * id: ser_regs.r,v 1.23 2005/02/08 13:58:35 perz Exp
1049 + * id: ser_regs.r,v 1.23 2005/02/08 13:58:35 perz Exp
1050 * last modfied: Mon Apr 11 16:09:21 2005
1053 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/ser_defs_asm.h ../../inst/ser/rtl/ser_regs.r
1054 * id: $Id: ser_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
1055 * Any changes here will be lost.
1056 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/sser_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/sser_defs_asm.h
1057 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/sser_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
1058 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/sser_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
1061 * This file is autogenerated from
1062 * file: ../../inst/syncser/rtl/sser_regs.r
1063 - * id: sser_regs.r,v 1.24 2005/02/11 14:27:36 gunnard Exp
1064 + * id: sser_regs.r,v 1.24 2005/02/11 14:27:36 gunnard Exp
1065 * last modfied: Mon Apr 11 16:09:48 2005
1068 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/sser_defs_asm.h ../../inst/syncser/rtl/sser_regs.r
1069 * id: $Id: sser_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
1070 * Any changes here will be lost.
1071 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/strcop_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/strcop_defs_asm.h
1072 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/strcop_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
1073 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/strcop_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
1076 * This file is autogenerated from
1077 * file: ../../inst/strcop/rtl/strcop_regs.r
1078 - * id: strcop_regs.r,v 1.5 2003/10/15 12:09:45 kriskn Exp
1079 + * id: strcop_regs.r,v 1.5 2003/10/15 12:09:45 kriskn Exp
1080 * last modfied: Mon Apr 11 16:09:38 2005
1083 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/strcop_defs_asm.h ../../inst/strcop/rtl/strcop_regs.r
1084 * id: $Id: strcop_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
1085 * Any changes here will be lost.
1086 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/strmux_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/strmux_defs_asm.h
1087 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/strmux_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
1088 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/strmux_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
1091 * This file is autogenerated from
1092 * file: ../../inst/strmux/rtl/guinness/strmux_regs.r
1093 - * id: strmux_regs.r,v 1.10 2005/02/10 10:10:46 perz Exp
1094 + * id: strmux_regs.r,v 1.10 2005/02/10 10:10:46 perz Exp
1095 * last modfied: Mon Apr 11 16:09:43 2005
1098 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/strmux_defs_asm.h ../../inst/strmux/rtl/guinness/strmux_regs.r
1099 * id: $Id: strmux_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
1100 * Any changes here will be lost.
1101 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/timer_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/timer_defs_asm.h
1102 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/asm/timer_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
1103 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/asm/timer_defs_asm.h 2005-04-24 20:31:04.000000000 +0200
1106 * This file is autogenerated from
1107 * file: ../../inst/timer/rtl/timer_regs.r
1108 - * id: timer_regs.r,v 1.7 2003/03/11 11:16:59 perz Exp
1109 + * id: timer_regs.r,v 1.7 2003/03/11 11:16:59 perz Exp
1110 * last modfied: Mon Apr 11 16:09:53 2005
1113 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/timer_defs_asm.h ../../inst/timer/rtl/timer_regs.r
1114 * id: $Id: timer_defs_asm.h,v 1.1 2005/04/24 18:31:04 starvik Exp $
1115 * Any changes here will be lost.
1116 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/ata_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/ata_defs.h
1117 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/ata_defs.h 2007-01-10 20:10:37.000000000 +0100
1118 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/ata_defs.h 2005-04-24 20:30:58.000000000 +0200
1121 * This file is autogenerated from
1122 * file: ../../inst/ata/rtl/ata_regs.r
1123 - * id: ata_regs.r,v 1.11 2005/02/09 08:27:36 kriskn Exp
1124 + * id: ata_regs.r,v 1.11 2005/02/09 08:27:36 kriskn Exp
1125 * last modfied: Mon Apr 11 16:06:25 2005
1128 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile ata_defs.h ../../inst/ata/rtl/ata_regs.r
1129 * id: $Id: ata_defs.h,v 1.7 2005/04/24 18:30:58 starvik Exp $
1130 * Any changes here will be lost.
1131 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/bif_core_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/bif_core_defs.h
1132 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/bif_core_defs.h 2007-01-10 20:10:37.000000000 +0100
1133 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/bif_core_defs.h 2005-04-24 20:30:58.000000000 +0200
1136 * This file is autogenerated from
1137 * file: ../../inst/bif/rtl/bif_core_regs.r
1138 - * id: bif_core_regs.r,v 1.17 2005/02/04 13:28:22 np Exp
1139 + * id: bif_core_regs.r,v 1.17 2005/02/04 13:28:22 np Exp
1140 * last modfied: Mon Apr 11 16:06:33 2005
1143 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile bif_core_defs.h ../../inst/bif/rtl/bif_core_regs.r
1144 * id: $Id: bif_core_defs.h,v 1.3 2005/04/24 18:30:58 starvik Exp $
1145 * Any changes here will be lost.
1146 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/bif_dma_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/bif_dma_defs.h
1147 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/bif_dma_defs.h 2007-01-10 20:10:37.000000000 +0100
1148 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/bif_dma_defs.h 2005-04-24 20:30:58.000000000 +0200
1151 * This file is autogenerated from
1152 * file: ../../inst/bif/rtl/bif_dma_regs.r
1153 - * id: bif_dma_regs.r,v 1.6 2005/02/04 13:28:31 perz Exp
1154 + * id: bif_dma_regs.r,v 1.6 2005/02/04 13:28:31 perz Exp
1155 * last modfied: Mon Apr 11 16:06:33 2005
1158 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile bif_dma_defs.h ../../inst/bif/rtl/bif_dma_regs.r
1159 * id: $Id: bif_dma_defs.h,v 1.2 2005/04/24 18:30:58 starvik Exp $
1160 * Any changes here will be lost.
1161 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/bif_slave_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/bif_slave_defs.h
1162 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/bif_slave_defs.h 2007-01-10 20:10:37.000000000 +0100
1163 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/bif_slave_defs.h 2005-04-24 20:30:58.000000000 +0200
1166 * This file is autogenerated from
1167 * file: ../../inst/bif/rtl/bif_slave_regs.r
1168 - * id: bif_slave_regs.r,v 1.5 2005/02/04 13:55:28 perz Exp
1169 + * id: bif_slave_regs.r,v 1.5 2005/02/04 13:55:28 perz Exp
1170 * last modfied: Mon Apr 11 16:06:34 2005
1173 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile bif_slave_defs.h ../../inst/bif/rtl/bif_slave_regs.r
1174 * id: $Id: bif_slave_defs.h,v 1.2 2005/04/24 18:30:58 starvik Exp $
1175 * Any changes here will be lost.
1176 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/config_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/config_defs.h
1177 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/config_defs.h 2007-01-10 20:10:37.000000000 +0100
1178 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/config_defs.h 2005-04-24 20:30:58.000000000 +0200
1181 * This file is autogenerated from
1182 * file: ../../rtl/config_regs.r
1183 - * id: config_regs.r,v 1.23 2004/03/04 11:34:42 mikaeln Exp
1184 + * id: config_regs.r,v 1.23 2004/03/04 11:34:42 mikaeln Exp
1185 * last modfied: Thu Mar 4 12:34:39 2004
1188 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile config_defs.h ../../rtl/config_regs.r
1189 * id: $Id: config_defs.h,v 1.6 2005/04/24 18:30:58 starvik Exp $
1190 * Any changes here will be lost.
1191 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/cpu_vect.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/cpu_vect.h
1192 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/cpu_vect.h 2007-01-10 20:10:37.000000000 +0100
1193 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/cpu_vect.h 2005-04-24 20:30:58.000000000 +0200
1197 #ifndef _______INST_CRISP_DOC_CPU_VECT_R
1198 -#define _______INST_CRISP_DOC_CPU_VECT_R
1199 +#define _______INST_CRISP_DOC_CPU_VECT_R
1200 #define NMI_INTR_VECT 0x00
1201 #define RESERVED_1_INTR_VECT 0x01
1202 #define RESERVED_2_INTR_VECT 0x02
1203 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/dma.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/dma.h
1204 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/dma.h 2007-01-10 20:10:37.000000000 +0100
1205 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/dma.h 2006-06-25 17:01:59.000000000 +0200
1207 -/* $Id: dma.h,v 1.7 2005/04/24 18:30:58 starvik Exp $
1208 +/* $Id: dma.h,v 1.8 2006/06/25 15:01:59 starvik Exp $
1210 - * DMA C definitions and help macros
1211 + * DMA C definitions and help macros
1217 // give stream command
1218 #define DMA_WR_CMD( inst, cmd_par ) \
1219 - do { reg_dma_rw_stream_cmd r = {0}; \
1220 - do { r = REG_RD( dma, inst, rw_stream_cmd ); } while( r.busy ); \
1221 - r.cmd = (cmd_par); \
1222 - REG_WR( dma, inst, rw_stream_cmd, r ); \
1223 + do { reg_dma_rw_stream_cmd __x = {0}; \
1224 + do { __x = REG_RD( dma, inst, rw_stream_cmd ); } while( __x.busy ); \
1225 + __x.cmd = (cmd_par); \
1226 + REG_WR( dma, inst, rw_stream_cmd, __x ); \
1229 // load: g,c,d:burst
1230 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/dma_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/dma_defs.h
1231 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/dma_defs.h 2007-01-10 20:10:37.000000000 +0100
1232 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/dma_defs.h 2005-04-24 20:30:58.000000000 +0200
1235 * This file is autogenerated from
1236 * file: ../../inst/dma/inst/dma_common/rtl/dma_regdes.r
1237 - * id: dma_regdes.r,v 1.39 2005/02/10 14:07:23 janb Exp
1238 + * id: dma_regdes.r,v 1.39 2005/02/10 14:07:23 janb Exp
1239 * last modfied: Mon Apr 11 16:06:51 2005
1242 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile dma_defs.h ../../inst/dma/inst/dma_common/rtl/dma_regdes.r
1243 * id: $Id: dma_defs.h,v 1.7 2005/04/24 18:30:58 starvik Exp $
1244 * Any changes here will be lost.
1245 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/eth_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/eth_defs.h
1246 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/eth_defs.h 2007-01-10 20:10:37.000000000 +0100
1247 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/eth_defs.h 2006-01-26 14:45:30.000000000 +0100
1251 * This file is autogenerated from
1252 - * file: ../../inst/eth/rtl/eth_regs.r
1253 - * id: eth_regs.r,v 1.11 2005/02/09 10:48:38 kriskn Exp
1254 - * last modfied: Mon Apr 11 16:07:03 2005
1256 - * by /n/asic/design/tools/rdesc/src/rdes2c --outfile eth_defs.h ../../inst/eth/rtl/eth_regs.r
1257 - * id: $Id: eth_defs.h,v 1.6 2005/04/24 18:30:58 starvik Exp $
1259 + * id: eth_regs.r,v 1.16 2005/05/20 15:41:22 perz Exp
1260 + * last modfied: Mon Jan 9 06:06:41 2006
1262 + * by /n/asic/design/tools/rdesc/rdes2c eth.r
1263 + * id: $Id: eth_defs.h,v 1.7 2006/01/26 13:45:30 karljope Exp $
1264 * Any changes here will be lost.
1266 * -*- buffer-read-only: t -*-
1267 @@ -116,26 +116,28 @@
1269 /* Register rw_ga_lo, scope eth, type rw */
1271 - unsigned int table : 32;
1272 + unsigned int tbl : 32;
1274 #define REG_RD_ADDR_eth_rw_ga_lo 16
1275 #define REG_WR_ADDR_eth_rw_ga_lo 16
1277 /* Register rw_ga_hi, scope eth, type rw */
1279 - unsigned int table : 32;
1280 + unsigned int tbl : 32;
1282 #define REG_RD_ADDR_eth_rw_ga_hi 20
1283 #define REG_WR_ADDR_eth_rw_ga_hi 20
1285 /* Register rw_gen_ctrl, scope eth, type rw */
1287 - unsigned int en : 1;
1288 - unsigned int phy : 2;
1289 - unsigned int protocol : 1;
1290 - unsigned int loopback : 1;
1291 - unsigned int flow_ctrl_dis : 1;
1292 - unsigned int dummy1 : 26;
1293 + unsigned int en : 1;
1294 + unsigned int phy : 2;
1295 + unsigned int protocol : 1;
1296 + unsigned int loopback : 1;
1297 + unsigned int flow_ctrl : 1;
1298 + unsigned int gtxclk_out : 1;
1299 + unsigned int phyrst_n : 1;
1300 + unsigned int dummy1 : 24;
1301 } reg_eth_rw_gen_ctrl;
1302 #define REG_RD_ADDR_eth_rw_gen_ctrl 24
1303 #define REG_WR_ADDR_eth_rw_gen_ctrl 24
1304 @@ -150,22 +152,23 @@
1305 unsigned int oversize : 1;
1306 unsigned int bad_crc : 1;
1307 unsigned int duplex : 1;
1308 - unsigned int max_size : 1;
1309 - unsigned int dummy1 : 23;
1310 + unsigned int max_size : 16;
1311 + unsigned int dummy1 : 8;
1312 } reg_eth_rw_rec_ctrl;
1313 #define REG_RD_ADDR_eth_rw_rec_ctrl 28
1314 #define REG_WR_ADDR_eth_rw_rec_ctrl 28
1316 /* Register rw_tr_ctrl, scope eth, type rw */
1318 - unsigned int crc : 1;
1319 - unsigned int pad : 1;
1320 - unsigned int retry : 1;
1321 - unsigned int ignore_col : 1;
1322 - unsigned int cancel : 1;
1323 - unsigned int hsh_delay : 1;
1324 - unsigned int ignore_crs : 1;
1325 - unsigned int dummy1 : 25;
1326 + unsigned int crc : 1;
1327 + unsigned int pad : 1;
1328 + unsigned int retry : 1;
1329 + unsigned int ignore_col : 1;
1330 + unsigned int cancel : 1;
1331 + unsigned int hsh_delay : 1;
1332 + unsigned int ignore_crs : 1;
1333 + unsigned int carrier_ext : 1;
1334 + unsigned int dummy1 : 24;
1335 } reg_eth_rw_tr_ctrl;
1336 #define REG_RD_ADDR_eth_rw_tr_ctrl 32
1337 #define REG_WR_ADDR_eth_rw_tr_ctrl 32
1338 @@ -180,13 +183,10 @@
1340 /* Register rw_mgm_ctrl, scope eth, type rw */
1342 - unsigned int mdio : 1;
1343 - unsigned int mdoe : 1;
1344 - unsigned int mdc : 1;
1345 - unsigned int phyclk : 1;
1346 - unsigned int txdata : 4;
1347 - unsigned int txen : 1;
1348 - unsigned int dummy1 : 23;
1349 + unsigned int mdio : 1;
1350 + unsigned int mdoe : 1;
1351 + unsigned int mdc : 1;
1352 + unsigned int dummy1 : 29;
1353 } reg_eth_rw_mgm_ctrl;
1354 #define REG_RD_ADDR_eth_rw_mgm_ctrl 40
1355 #define REG_WR_ADDR_eth_rw_mgm_ctrl 40
1356 @@ -196,17 +196,8 @@
1357 unsigned int mdio : 1;
1358 unsigned int exc_col : 1;
1359 unsigned int urun : 1;
1360 - unsigned int phyclk : 1;
1361 - unsigned int txdata : 4;
1362 - unsigned int txen : 1;
1363 - unsigned int col : 1;
1364 - unsigned int crs : 1;
1365 - unsigned int txclk : 1;
1366 - unsigned int rxdata : 4;
1367 - unsigned int rxer : 1;
1368 - unsigned int rxdv : 1;
1369 - unsigned int rxclk : 1;
1370 - unsigned int dummy1 : 13;
1371 + unsigned int clk_125 : 1;
1372 + unsigned int dummy1 : 28;
1374 #define REG_RD_ADDR_eth_r_stat 44
1376 @@ -274,83 +265,83 @@
1378 /* Register rw_intr_mask, scope eth, type rw */
1380 - unsigned int crc : 1;
1381 - unsigned int align : 1;
1382 - unsigned int oversize : 1;
1383 - unsigned int congestion : 1;
1384 - unsigned int single_col : 1;
1385 - unsigned int mult_col : 1;
1386 - unsigned int late_col : 1;
1387 - unsigned int deferred : 1;
1388 - unsigned int carrier_loss : 1;
1389 - unsigned int sqe_test_err : 1;
1390 - unsigned int orun : 1;
1391 - unsigned int urun : 1;
1392 - unsigned int excessive_col : 1;
1393 - unsigned int mdio : 1;
1394 - unsigned int dummy1 : 18;
1395 + unsigned int crc : 1;
1396 + unsigned int align : 1;
1397 + unsigned int oversize : 1;
1398 + unsigned int congestion : 1;
1399 + unsigned int single_col : 1;
1400 + unsigned int mult_col : 1;
1401 + unsigned int late_col : 1;
1402 + unsigned int deferred : 1;
1403 + unsigned int carrier_loss : 1;
1404 + unsigned int sqe_test_err : 1;
1405 + unsigned int orun : 1;
1406 + unsigned int urun : 1;
1407 + unsigned int exc_col : 1;
1408 + unsigned int mdio : 1;
1409 + unsigned int dummy1 : 18;
1410 } reg_eth_rw_intr_mask;
1411 #define REG_RD_ADDR_eth_rw_intr_mask 76
1412 #define REG_WR_ADDR_eth_rw_intr_mask 76
1414 /* Register rw_ack_intr, scope eth, type rw */
1416 - unsigned int crc : 1;
1417 - unsigned int align : 1;
1418 - unsigned int oversize : 1;
1419 - unsigned int congestion : 1;
1420 - unsigned int single_col : 1;
1421 - unsigned int mult_col : 1;
1422 - unsigned int late_col : 1;
1423 - unsigned int deferred : 1;
1424 - unsigned int carrier_loss : 1;
1425 - unsigned int sqe_test_err : 1;
1426 - unsigned int orun : 1;
1427 - unsigned int urun : 1;
1428 - unsigned int excessive_col : 1;
1429 - unsigned int mdio : 1;
1430 - unsigned int dummy1 : 18;
1431 + unsigned int crc : 1;
1432 + unsigned int align : 1;
1433 + unsigned int oversize : 1;
1434 + unsigned int congestion : 1;
1435 + unsigned int single_col : 1;
1436 + unsigned int mult_col : 1;
1437 + unsigned int late_col : 1;
1438 + unsigned int deferred : 1;
1439 + unsigned int carrier_loss : 1;
1440 + unsigned int sqe_test_err : 1;
1441 + unsigned int orun : 1;
1442 + unsigned int urun : 1;
1443 + unsigned int exc_col : 1;
1444 + unsigned int mdio : 1;
1445 + unsigned int dummy1 : 18;
1446 } reg_eth_rw_ack_intr;
1447 #define REG_RD_ADDR_eth_rw_ack_intr 80
1448 #define REG_WR_ADDR_eth_rw_ack_intr 80
1450 /* Register r_intr, scope eth, type r */
1452 - unsigned int crc : 1;
1453 - unsigned int align : 1;
1454 - unsigned int oversize : 1;
1455 - unsigned int congestion : 1;
1456 - unsigned int single_col : 1;
1457 - unsigned int mult_col : 1;
1458 - unsigned int late_col : 1;
1459 - unsigned int deferred : 1;
1460 - unsigned int carrier_loss : 1;
1461 - unsigned int sqe_test_err : 1;
1462 - unsigned int orun : 1;
1463 - unsigned int urun : 1;
1464 - unsigned int excessive_col : 1;
1465 - unsigned int mdio : 1;
1466 - unsigned int dummy1 : 18;
1467 + unsigned int crc : 1;
1468 + unsigned int align : 1;
1469 + unsigned int oversize : 1;
1470 + unsigned int congestion : 1;
1471 + unsigned int single_col : 1;
1472 + unsigned int mult_col : 1;
1473 + unsigned int late_col : 1;
1474 + unsigned int deferred : 1;
1475 + unsigned int carrier_loss : 1;
1476 + unsigned int sqe_test_err : 1;
1477 + unsigned int orun : 1;
1478 + unsigned int urun : 1;
1479 + unsigned int exc_col : 1;
1480 + unsigned int mdio : 1;
1481 + unsigned int dummy1 : 18;
1483 #define REG_RD_ADDR_eth_r_intr 84
1485 /* Register r_masked_intr, scope eth, type r */
1487 - unsigned int crc : 1;
1488 - unsigned int align : 1;
1489 - unsigned int oversize : 1;
1490 - unsigned int congestion : 1;
1491 - unsigned int single_col : 1;
1492 - unsigned int mult_col : 1;
1493 - unsigned int late_col : 1;
1494 - unsigned int deferred : 1;
1495 - unsigned int carrier_loss : 1;
1496 - unsigned int sqe_test_err : 1;
1497 - unsigned int orun : 1;
1498 - unsigned int urun : 1;
1499 - unsigned int excessive_col : 1;
1500 - unsigned int mdio : 1;
1501 - unsigned int dummy1 : 18;
1502 + unsigned int crc : 1;
1503 + unsigned int align : 1;
1504 + unsigned int oversize : 1;
1505 + unsigned int congestion : 1;
1506 + unsigned int single_col : 1;
1507 + unsigned int mult_col : 1;
1508 + unsigned int late_col : 1;
1509 + unsigned int deferred : 1;
1510 + unsigned int carrier_loss : 1;
1511 + unsigned int sqe_test_err : 1;
1512 + unsigned int orun : 1;
1513 + unsigned int urun : 1;
1514 + unsigned int exc_col : 1;
1515 + unsigned int mdio : 1;
1516 + unsigned int dummy1 : 18;
1517 } reg_eth_r_masked_intr;
1518 #define REG_RD_ADDR_eth_r_masked_intr 88
1520 @@ -360,12 +351,15 @@
1521 regk_eth_discard = 0x00000000,
1522 regk_eth_ether = 0x00000000,
1523 regk_eth_full = 0x00000001,
1524 + regk_eth_gmii = 0x00000003,
1525 + regk_eth_gtxclk = 0x00000001,
1526 regk_eth_half = 0x00000000,
1527 regk_eth_hsh = 0x00000001,
1528 regk_eth_mii = 0x00000001,
1529 + regk_eth_mii_arec = 0x00000002,
1530 regk_eth_mii_clk = 0x00000000,
1531 - regk_eth_mii_rec = 0x00000002,
1532 regk_eth_no = 0x00000000,
1533 + regk_eth_phyrst = 0x00000000,
1534 regk_eth_rec = 0x00000001,
1535 regk_eth_rw_ga_hi_default = 0x00000000,
1536 regk_eth_rw_ga_lo_default = 0x00000000,
1538 regk_eth_rw_ma1_lo_default = 0x00000000,
1539 regk_eth_rw_mgm_ctrl_default = 0x00000000,
1540 regk_eth_rw_test_ctrl_default = 0x00000000,
1541 - regk_eth_size1518 = 0x00000000,
1542 - regk_eth_size1522 = 0x00000001,
1543 + regk_eth_size1518 = 0x000005ee,
1544 + regk_eth_size1522 = 0x000005f2,
1545 regk_eth_yes = 0x00000001
1547 #endif /* __eth_defs_h */
1548 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/eth_defs_fs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/eth_defs_fs.h
1549 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/eth_defs_fs.h 1970-01-01 01:00:00.000000000 +0100
1550 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/eth_defs_fs.h 2007-02-07 10:36:10.000000000 +0100
1552 +#ifndef __eth_defs_h
1553 +#define __eth_defs_h
1556 + * This file is autogenerated from
1557 + * file: eth_regs.r
1558 + * id: eth_regs.r,v 1.17 2006/02/08 16:47:19 perz Exp perz
1559 + * last modfied: Tue Feb 6 13:57:16 2007
1561 + * by /n/asic/design/io/eth/inst/rdesc/rdes2c eth_regs.r
1562 + * id: $Id: eth_defs_fs.h,v 1.1 2007/02/07 09:36:10 karljope Exp $
1563 + * Any changes here will be lost.
1565 + * -*- buffer-read-only: t -*-
1567 +/* Main access macros */
1569 +#define REG_RD( scope, inst, reg ) \
1570 + REG_READ( reg_##scope##_##reg, \
1571 + (inst) + REG_RD_ADDR_##scope##_##reg )
1575 +#define REG_WR( scope, inst, reg, val ) \
1576 + REG_WRITE( reg_##scope##_##reg, \
1577 + (inst) + REG_WR_ADDR_##scope##_##reg, (val) )
1580 +#ifndef REG_RD_VECT
1581 +#define REG_RD_VECT( scope, inst, reg, index ) \
1582 + REG_READ( reg_##scope##_##reg, \
1583 + (inst) + REG_RD_ADDR_##scope##_##reg + \
1584 + (index) * STRIDE_##scope##_##reg )
1587 +#ifndef REG_WR_VECT
1588 +#define REG_WR_VECT( scope, inst, reg, index, val ) \
1589 + REG_WRITE( reg_##scope##_##reg, \
1590 + (inst) + REG_WR_ADDR_##scope##_##reg + \
1591 + (index) * STRIDE_##scope##_##reg, (val) )
1595 +#define REG_RD_INT( scope, inst, reg ) \
1596 + REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg )
1600 +#define REG_WR_INT( scope, inst, reg, val ) \
1601 + REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) )
1604 +#ifndef REG_RD_INT_VECT
1605 +#define REG_RD_INT_VECT( scope, inst, reg, index ) \
1606 + REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg + \
1607 + (index) * STRIDE_##scope##_##reg )
1610 +#ifndef REG_WR_INT_VECT
1611 +#define REG_WR_INT_VECT( scope, inst, reg, index, val ) \
1612 + REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg + \
1613 + (index) * STRIDE_##scope##_##reg, (val) )
1616 +#ifndef REG_TYPE_CONV
1617 +#define REG_TYPE_CONV( type, orgtype, val ) \
1618 + ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
1621 +#ifndef reg_page_size
1622 +#define reg_page_size 8192
1626 +#define REG_ADDR( scope, inst, reg ) \
1627 + ( (inst) + REG_RD_ADDR_##scope##_##reg )
1630 +#ifndef REG_ADDR_VECT
1631 +#define REG_ADDR_VECT( scope, inst, reg, index ) \
1632 + ( (inst) + REG_RD_ADDR_##scope##_##reg + \
1633 + (index) * STRIDE_##scope##_##reg )
1636 +/* C-code for register scope eth */
1638 +/* Register rw_ma0_lo, scope eth, type rw */
1640 + unsigned int addr : 32;
1641 +} reg_eth_rw_ma0_lo;
1642 +#define REG_RD_ADDR_eth_rw_ma0_lo 0
1643 +#define REG_WR_ADDR_eth_rw_ma0_lo 0
1645 +/* Register rw_ma0_hi, scope eth, type rw */
1647 + unsigned int addr : 16;
1648 + unsigned int dummy1 : 16;
1649 +} reg_eth_rw_ma0_hi;
1650 +#define REG_RD_ADDR_eth_rw_ma0_hi 4
1651 +#define REG_WR_ADDR_eth_rw_ma0_hi 4
1653 +/* Register rw_ma1_lo, scope eth, type rw */
1655 + unsigned int addr : 32;
1656 +} reg_eth_rw_ma1_lo;
1657 +#define REG_RD_ADDR_eth_rw_ma1_lo 8
1658 +#define REG_WR_ADDR_eth_rw_ma1_lo 8
1660 +/* Register rw_ma1_hi, scope eth, type rw */
1662 + unsigned int addr : 16;
1663 + unsigned int dummy1 : 16;
1664 +} reg_eth_rw_ma1_hi;
1665 +#define REG_RD_ADDR_eth_rw_ma1_hi 12
1666 +#define REG_WR_ADDR_eth_rw_ma1_hi 12
1668 +/* Register rw_ga_lo, scope eth, type rw */
1670 + unsigned int table : 32;
1671 +} reg_eth_rw_ga_lo;
1672 +#define REG_RD_ADDR_eth_rw_ga_lo 16
1673 +#define REG_WR_ADDR_eth_rw_ga_lo 16
1675 +/* Register rw_ga_hi, scope eth, type rw */
1677 + unsigned int table : 32;
1678 +} reg_eth_rw_ga_hi;
1679 +#define REG_RD_ADDR_eth_rw_ga_hi 20
1680 +#define REG_WR_ADDR_eth_rw_ga_hi 20
1682 +/* Register rw_gen_ctrl, scope eth, type rw */
1684 + unsigned int en : 1;
1685 + unsigned int phy : 2;
1686 + unsigned int protocol : 1;
1687 + unsigned int loopback : 1;
1688 + unsigned int flow_ctrl : 1;
1689 + unsigned int dummy1 : 26;
1690 +} reg_eth_rw_gen_ctrl;
1691 +#define REG_RD_ADDR_eth_rw_gen_ctrl 24
1692 +#define REG_WR_ADDR_eth_rw_gen_ctrl 24
1694 +/* Register rw_rec_ctrl, scope eth, type rw */
1696 + unsigned int ma0 : 1;
1697 + unsigned int ma1 : 1;
1698 + unsigned int individual : 1;
1699 + unsigned int broadcast : 1;
1700 + unsigned int undersize : 1;
1701 + unsigned int oversize : 1;
1702 + unsigned int bad_crc : 1;
1703 + unsigned int duplex : 1;
1704 + unsigned int max_size : 1;
1705 + unsigned int dummy1 : 23;
1706 +} reg_eth_rw_rec_ctrl;
1707 +#define REG_RD_ADDR_eth_rw_rec_ctrl 28
1708 +#define REG_WR_ADDR_eth_rw_rec_ctrl 28
1710 +/* Register rw_tr_ctrl, scope eth, type rw */
1712 + unsigned int crc : 1;
1713 + unsigned int pad : 1;
1714 + unsigned int retry : 1;
1715 + unsigned int ignore_col : 1;
1716 + unsigned int cancel : 1;
1717 + unsigned int hsh_delay : 1;
1718 + unsigned int ignore_crs : 1;
1719 + unsigned int dummy1 : 25;
1720 +} reg_eth_rw_tr_ctrl;
1721 +#define REG_RD_ADDR_eth_rw_tr_ctrl 32
1722 +#define REG_WR_ADDR_eth_rw_tr_ctrl 32
1724 +/* Register rw_clr_err, scope eth, type rw */
1726 + unsigned int clr : 1;
1727 + unsigned int dummy1 : 31;
1728 +} reg_eth_rw_clr_err;
1729 +#define REG_RD_ADDR_eth_rw_clr_err 36
1730 +#define REG_WR_ADDR_eth_rw_clr_err 36
1732 +/* Register rw_mgm_ctrl, scope eth, type rw */
1734 + unsigned int mdio : 1;
1735 + unsigned int mdoe : 1;
1736 + unsigned int mdc : 1;
1737 + unsigned int phyclk : 1;
1738 + unsigned int txdata : 4;
1739 + unsigned int txen : 1;
1740 + unsigned int dummy1 : 23;
1741 +} reg_eth_rw_mgm_ctrl;
1742 +#define REG_RD_ADDR_eth_rw_mgm_ctrl 40
1743 +#define REG_WR_ADDR_eth_rw_mgm_ctrl 40
1745 +/* Register r_stat, scope eth, type r */
1747 + unsigned int mdio : 1;
1748 + unsigned int exc_col : 1;
1749 + unsigned int urun : 1;
1750 + unsigned int phyclk : 1;
1751 + unsigned int txdata : 4;
1752 + unsigned int txen : 1;
1753 + unsigned int col : 1;
1754 + unsigned int crs : 1;
1755 + unsigned int txclk : 1;
1756 + unsigned int rxdata : 4;
1757 + unsigned int rxer : 1;
1758 + unsigned int rxdv : 1;
1759 + unsigned int rxclk : 1;
1760 + unsigned int dummy1 : 13;
1762 +#define REG_RD_ADDR_eth_r_stat 44
1764 +/* Register rs_rec_cnt, scope eth, type rs */
1766 + unsigned int crc_err : 8;
1767 + unsigned int align_err : 8;
1768 + unsigned int oversize : 8;
1769 + unsigned int congestion : 8;
1770 +} reg_eth_rs_rec_cnt;
1771 +#define REG_RD_ADDR_eth_rs_rec_cnt 48
1773 +/* Register r_rec_cnt, scope eth, type r */
1775 + unsigned int crc_err : 8;
1776 + unsigned int align_err : 8;
1777 + unsigned int oversize : 8;
1778 + unsigned int congestion : 8;
1779 +} reg_eth_r_rec_cnt;
1780 +#define REG_RD_ADDR_eth_r_rec_cnt 52
1782 +/* Register rs_tr_cnt, scope eth, type rs */
1784 + unsigned int single_col : 8;
1785 + unsigned int mult_col : 8;
1786 + unsigned int late_col : 8;
1787 + unsigned int deferred : 8;
1788 +} reg_eth_rs_tr_cnt;
1789 +#define REG_RD_ADDR_eth_rs_tr_cnt 56
1791 +/* Register r_tr_cnt, scope eth, type r */
1793 + unsigned int single_col : 8;
1794 + unsigned int mult_col : 8;
1795 + unsigned int late_col : 8;
1796 + unsigned int deferred : 8;
1797 +} reg_eth_r_tr_cnt;
1798 +#define REG_RD_ADDR_eth_r_tr_cnt 60
1800 +/* Register rs_phy_cnt, scope eth, type rs */
1802 + unsigned int carrier_loss : 8;
1803 + unsigned int sqe_err : 8;
1804 + unsigned int dummy1 : 16;
1805 +} reg_eth_rs_phy_cnt;
1806 +#define REG_RD_ADDR_eth_rs_phy_cnt 64
1808 +/* Register r_phy_cnt, scope eth, type r */
1810 + unsigned int carrier_loss : 8;
1811 + unsigned int sqe_err : 8;
1812 + unsigned int dummy1 : 16;
1813 +} reg_eth_r_phy_cnt;
1814 +#define REG_RD_ADDR_eth_r_phy_cnt 68
1816 +/* Register rw_test_ctrl, scope eth, type rw */
1818 + unsigned int snmp_inc : 1;
1819 + unsigned int snmp : 1;
1820 + unsigned int backoff : 1;
1821 + unsigned int dummy1 : 29;
1822 +} reg_eth_rw_test_ctrl;
1823 +#define REG_RD_ADDR_eth_rw_test_ctrl 72
1824 +#define REG_WR_ADDR_eth_rw_test_ctrl 72
1826 +/* Register rw_intr_mask, scope eth, type rw */
1828 + unsigned int crc : 1;
1829 + unsigned int align : 1;
1830 + unsigned int oversize : 1;
1831 + unsigned int congestion : 1;
1832 + unsigned int single_col : 1;
1833 + unsigned int mult_col : 1;
1834 + unsigned int late_col : 1;
1835 + unsigned int deferred : 1;
1836 + unsigned int carrier_loss : 1;
1837 + unsigned int sqe_test_err : 1;
1838 + unsigned int orun : 1;
1839 + unsigned int urun : 1;
1840 + unsigned int exc_col : 1;
1841 + unsigned int mdio : 1;
1842 + unsigned int dummy1 : 18;
1843 +} reg_eth_rw_intr_mask;
1844 +#define REG_RD_ADDR_eth_rw_intr_mask 76
1845 +#define REG_WR_ADDR_eth_rw_intr_mask 76
1847 +/* Register rw_ack_intr, scope eth, type rw */
1849 + unsigned int crc : 1;
1850 + unsigned int align : 1;
1851 + unsigned int oversize : 1;
1852 + unsigned int congestion : 1;
1853 + unsigned int single_col : 1;
1854 + unsigned int mult_col : 1;
1855 + unsigned int late_col : 1;
1856 + unsigned int deferred : 1;
1857 + unsigned int carrier_loss : 1;
1858 + unsigned int sqe_test_err : 1;
1859 + unsigned int orun : 1;
1860 + unsigned int urun : 1;
1861 + unsigned int exc_col : 1;
1862 + unsigned int mdio : 1;
1863 + unsigned int dummy1 : 18;
1864 +} reg_eth_rw_ack_intr;
1865 +#define REG_RD_ADDR_eth_rw_ack_intr 80
1866 +#define REG_WR_ADDR_eth_rw_ack_intr 80
1868 +/* Register r_intr, scope eth, type r */
1870 + unsigned int crc : 1;
1871 + unsigned int align : 1;
1872 + unsigned int oversize : 1;
1873 + unsigned int congestion : 1;
1874 + unsigned int single_col : 1;
1875 + unsigned int mult_col : 1;
1876 + unsigned int late_col : 1;
1877 + unsigned int deferred : 1;
1878 + unsigned int carrier_loss : 1;
1879 + unsigned int sqe_test_err : 1;
1880 + unsigned int orun : 1;
1881 + unsigned int urun : 1;
1882 + unsigned int exc_col : 1;
1883 + unsigned int mdio : 1;
1884 + unsigned int dummy1 : 18;
1886 +#define REG_RD_ADDR_eth_r_intr 84
1888 +/* Register r_masked_intr, scope eth, type r */
1890 + unsigned int crc : 1;
1891 + unsigned int align : 1;
1892 + unsigned int oversize : 1;
1893 + unsigned int congestion : 1;
1894 + unsigned int single_col : 1;
1895 + unsigned int mult_col : 1;
1896 + unsigned int late_col : 1;
1897 + unsigned int deferred : 1;
1898 + unsigned int carrier_loss : 1;
1899 + unsigned int sqe_test_err : 1;
1900 + unsigned int orun : 1;
1901 + unsigned int urun : 1;
1902 + unsigned int exc_col : 1;
1903 + unsigned int mdio : 1;
1904 + unsigned int dummy1 : 18;
1905 +} reg_eth_r_masked_intr;
1906 +#define REG_RD_ADDR_eth_r_masked_intr 88
1911 + regk_eth_discard = 0x00000000,
1912 + regk_eth_ether = 0x00000000,
1913 + regk_eth_full = 0x00000001,
1914 + regk_eth_half = 0x00000000,
1915 + regk_eth_hsh = 0x00000001,
1916 + regk_eth_mii = 0x00000001,
1917 + regk_eth_mii_arec = 0x00000002,
1918 + regk_eth_mii_clk = 0x00000000,
1919 + regk_eth_no = 0x00000000,
1920 + regk_eth_rec = 0x00000001,
1921 + regk_eth_rw_ga_hi_default = 0x00000000,
1922 + regk_eth_rw_ga_lo_default = 0x00000000,
1923 + regk_eth_rw_gen_ctrl_default = 0x00000000,
1924 + regk_eth_rw_intr_mask_default = 0x00000000,
1925 + regk_eth_rw_ma0_hi_default = 0x00000000,
1926 + regk_eth_rw_ma0_lo_default = 0x00000000,
1927 + regk_eth_rw_ma1_hi_default = 0x00000000,
1928 + regk_eth_rw_ma1_lo_default = 0x00000000,
1929 + regk_eth_rw_mgm_ctrl_default = 0x00000000,
1930 + regk_eth_rw_test_ctrl_default = 0x00000000,
1931 + regk_eth_size1518 = 0x00000000,
1932 + regk_eth_size1522 = 0x00000001,
1933 + regk_eth_yes = 0x00000001
1935 +#endif /* __eth_defs_h */
1936 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/extmem_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/extmem_defs.h
1937 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/extmem_defs.h 2007-01-10 20:10:37.000000000 +0100
1938 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/extmem_defs.h 2004-06-04 09:15:33.000000000 +0200
1941 * This file is autogenerated from
1942 * file: ../../inst/ext_mem/mod/extmem_regs.r
1943 - * id: extmem_regs.r,v 1.1 2004/02/16 13:29:30 np Exp
1944 + * id: extmem_regs.r,v 1.1 2004/02/16 13:29:30 np Exp
1945 * last modfied: Tue Mar 30 22:26:21 2004
1948 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile extmem_defs.h ../../inst/ext_mem/mod/extmem_regs.r
1949 * id: $Id: extmem_defs.h,v 1.5 2004/06/04 07:15:33 starvik Exp $
1950 * Any changes here will be lost.
1951 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/gio_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/gio_defs.h
1952 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/gio_defs.h 2007-01-10 20:10:37.000000000 +0100
1953 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/gio_defs.h 2005-04-24 20:30:58.000000000 +0200
1956 * This file is autogenerated from
1957 * file: ../../inst/gio/rtl/gio_regs.r
1958 - * id: gio_regs.r,v 1.5 2005/02/04 09:43:21 perz Exp
1959 + * id: gio_regs.r,v 1.5 2005/02/04 09:43:21 perz Exp
1960 * last modfied: Mon Apr 11 16:07:47 2005
1963 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile gio_defs.h ../../inst/gio/rtl/gio_regs.r
1964 * id: $Id: gio_defs.h,v 1.6 2005/04/24 18:30:58 starvik Exp $
1965 * Any changes here will be lost.
1966 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/intr_vect.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/intr_vect.h
1967 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/intr_vect.h 2007-01-10 20:10:37.000000000 +0100
1968 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/intr_vect.h 2005-05-23 14:59:21.000000000 +0200
1972 #ifndef _______INST_INTR_VECT_RTL_GUINNESS_IVMASK_CONFIG_R
1973 -#define _______INST_INTR_VECT_RTL_GUINNESS_IVMASK_CONFIG_R
1974 +#define _______INST_INTR_VECT_RTL_GUINNESS_IVMASK_CONFIG_R
1975 #define MEMARB_INTR_VECT 0x31
1976 #define GEN_IO_INTR_VECT 0x32
1977 #define IOP0_INTR_VECT 0x33
1978 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/intr_vect_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/intr_vect_defs.h
1979 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/intr_vect_defs.h 2007-01-10 20:10:37.000000000 +0100
1980 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/intr_vect_defs.h 2005-04-24 20:30:58.000000000 +0200
1983 * This file is autogenerated from
1984 * file: ../../inst/intr_vect/rtl/guinness/ivmask.config.r
1985 - * id: ivmask.config.r,v 1.4 2005/02/15 16:05:38 stefans Exp
1986 + * id: ivmask.config.r,v 1.4 2005/02/15 16:05:38 stefans Exp
1987 * last modfied: Mon Apr 11 16:08:03 2005
1990 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile intr_vect_defs.h ../../inst/intr_vect/rtl/guinness/ivmask.config.r
1991 * id: $Id: intr_vect_defs.h,v 1.8 2005/04/24 18:30:58 starvik Exp $
1992 * Any changes here will be lost.
1994 #define REG_RD_ADDR_intr_vect_r_guru 16
1996 /* Register rw_ipi, scope intr_vect, type rw */
2000 unsigned int vector;
2001 } reg_intr_vect_rw_ipi;
2002 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/Makefile linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/Makefile
2003 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/Makefile 2007-01-10 20:10:37.000000000 +0100
2004 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/Makefile 2004-01-07 21:34:55.000000000 +0100
2005 @@ -125,14 +125,14 @@
2009 -## %.axw - Generate the specified .axw file (doesn't work for all files
2010 +## %.axw - Generate the specified .axw file (doesn't work for all files
2011 ## due to inconsistent naming of .r files.
2013 @for RDES in $(IOPROCREGDESC); do \
2014 if echo "$$RDES" | grep $* ; then \
2015 $(RDES2TXT) $$RDES; \
2021 ## clean - Remove .h files and .axw files.
2022 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_crc_par_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_crc_par_defs_asm.h
2023 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_crc_par_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2024 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_crc_par_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2026 * file: ../../inst/io_proc/rtl/iop_crc_par.r
2028 * last modfied: Mon Apr 11 16:08:45 2005
2031 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_crc_par_defs_asm.h ../../inst/io_proc/rtl/iop_crc_par.r
2032 * id: $Id: iop_crc_par_defs_asm.h,v 1.5 2005/04/24 18:31:06 starvik Exp $
2033 * Any changes here will be lost.
2034 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_dmc_in_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_dmc_in_defs_asm.h
2035 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_dmc_in_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2036 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_dmc_in_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2039 * This file is autogenerated from
2040 * file: ../../inst/io_proc/rtl/iop_dmc_in.r
2041 - * id: iop_dmc_in.r,v 1.26 2005/02/16 09:14:17 niklaspa Exp
2042 + * id: iop_dmc_in.r,v 1.26 2005/02/16 09:14:17 niklaspa Exp
2043 * last modfied: Mon Apr 11 16:08:45 2005
2046 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_dmc_in_defs_asm.h ../../inst/io_proc/rtl/iop_dmc_in.r
2047 * id: $Id: iop_dmc_in_defs_asm.h,v 1.5 2005/04/24 18:31:06 starvik Exp $
2048 * Any changes here will be lost.
2049 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_dmc_out_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_dmc_out_defs_asm.h
2050 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_dmc_out_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2051 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_dmc_out_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2054 * This file is autogenerated from
2055 * file: ../../inst/io_proc/rtl/iop_dmc_out.r
2056 - * id: iop_dmc_out.r,v 1.30 2005/02/16 09:14:11 niklaspa Exp
2057 + * id: iop_dmc_out.r,v 1.30 2005/02/16 09:14:11 niklaspa Exp
2058 * last modfied: Mon Apr 11 16:08:45 2005
2061 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_dmc_out_defs_asm.h ../../inst/io_proc/rtl/iop_dmc_out.r
2062 * id: $Id: iop_dmc_out_defs_asm.h,v 1.5 2005/04/24 18:31:06 starvik Exp $
2063 * Any changes here will be lost.
2064 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_in_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_in_defs_asm.h
2065 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_in_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2066 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_in_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2068 * file: ../../inst/io_proc/rtl/iop_fifo_in.r
2070 * last modfied: Mon Apr 11 16:10:07 2005
2073 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_fifo_in_defs_asm.h ../../inst/io_proc/rtl/iop_fifo_in.r
2074 * id: $Id: iop_fifo_in_defs_asm.h,v 1.5 2005/04/24 18:31:06 starvik Exp $
2075 * Any changes here will be lost.
2076 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_in_extra_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_in_extra_defs_asm.h
2077 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_in_extra_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2078 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_in_extra_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2080 * file: ../../inst/io_proc/rtl/iop_fifo_in_extra.r
2082 * last modfied: Mon Apr 11 16:10:08 2005
2085 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_fifo_in_extra_defs_asm.h ../../inst/io_proc/rtl/iop_fifo_in_extra.r
2086 * id: $Id: iop_fifo_in_extra_defs_asm.h,v 1.1 2005/04/24 18:31:06 starvik Exp $
2087 * Any changes here will be lost.
2088 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_out_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_out_defs_asm.h
2089 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_out_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2090 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_out_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2092 * file: ../../inst/io_proc/rtl/iop_fifo_out.r
2094 * last modfied: Mon Apr 11 16:10:09 2005
2097 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_fifo_out_defs_asm.h ../../inst/io_proc/rtl/iop_fifo_out.r
2098 * id: $Id: iop_fifo_out_defs_asm.h,v 1.5 2005/04/24 18:31:06 starvik Exp $
2099 * Any changes here will be lost.
2100 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_out_extra_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_out_extra_defs_asm.h
2101 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_out_extra_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2102 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_fifo_out_extra_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2104 * file: ../../inst/io_proc/rtl/iop_fifo_out_extra.r
2106 * last modfied: Mon Apr 11 16:10:10 2005
2109 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_fifo_out_extra_defs_asm.h ../../inst/io_proc/rtl/iop_fifo_out_extra.r
2110 * id: $Id: iop_fifo_out_extra_defs_asm.h,v 1.1 2005/04/24 18:31:06 starvik Exp $
2111 * Any changes here will be lost.
2112 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_mpu_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_mpu_defs_asm.h
2113 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_mpu_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2114 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_mpu_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2117 * This file is autogenerated from
2118 * file: ../../inst/io_proc/rtl/iop_mpu.r
2119 - * id: iop_mpu.r,v 1.30 2005/02/17 08:12:33 niklaspa Exp
2120 + * id: iop_mpu.r,v 1.30 2005/02/17 08:12:33 niklaspa Exp
2121 * last modfied: Mon Apr 11 16:08:45 2005
2124 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_mpu_defs_asm.h ../../inst/io_proc/rtl/iop_mpu.r
2125 * id: $Id: iop_mpu_defs_asm.h,v 1.5 2005/04/24 18:31:06 starvik Exp $
2126 * Any changes here will be lost.
2127 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_reg_space_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_reg_space_asm.h
2128 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_reg_space_asm.h 2007-01-10 20:10:37.000000000 +0100
2129 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_reg_space_asm.h 2005-04-24 20:31:06.000000000 +0200
2131 /* Autogenerated Changes here will be lost!
2132 - * generated by ../gen_sw.pl Mon Apr 11 16:10:18 2005 iop_sw.cfg
2133 + * generated by ../gen_sw.pl Mon Apr 11 16:10:18 2005 iop_sw.cfg
2135 #define iop_version 0
2136 #define iop_fifo_in0_extra 64
2137 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sap_in_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sap_in_defs_asm.h
2138 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sap_in_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2139 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sap_in_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2141 * file: ../../inst/io_proc/rtl/iop_sap_in.r
2143 * last modfied: Mon Apr 11 16:08:45 2005
2146 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_sap_in_defs_asm.h ../../inst/io_proc/rtl/iop_sap_in.r
2147 * id: $Id: iop_sap_in_defs_asm.h,v 1.5 2005/04/24 18:31:06 starvik Exp $
2148 * Any changes here will be lost.
2149 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sap_out_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sap_out_defs_asm.h
2150 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sap_out_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2151 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sap_out_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2153 * file: ../../inst/io_proc/rtl/iop_sap_out.r
2155 * last modfied: Mon Apr 11 16:08:46 2005
2158 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_sap_out_defs_asm.h ../../inst/io_proc/rtl/iop_sap_out.r
2159 * id: $Id: iop_sap_out_defs_asm.h,v 1.5 2005/04/24 18:31:06 starvik Exp $
2160 * Any changes here will be lost.
2161 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_scrc_in_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_scrc_in_defs_asm.h
2162 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_scrc_in_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2163 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_scrc_in_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2166 * This file is autogenerated from
2167 * file: ../../inst/io_proc/rtl/iop_scrc_in.r
2168 - * id: iop_scrc_in.r,v 1.10 2005/02/16 09:13:58 niklaspa Exp
2169 + * id: iop_scrc_in.r,v 1.10 2005/02/16 09:13:58 niklaspa Exp
2170 * last modfied: Mon Apr 11 16:08:46 2005
2173 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_scrc_in_defs_asm.h ../../inst/io_proc/rtl/iop_scrc_in.r
2174 * id: $Id: iop_scrc_in_defs_asm.h,v 1.5 2005/04/24 18:31:06 starvik Exp $
2175 * Any changes here will be lost.
2176 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_scrc_out_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_scrc_out_defs_asm.h
2177 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_scrc_out_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2178 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_scrc_out_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2181 * This file is autogenerated from
2182 * file: ../../inst/io_proc/rtl/iop_scrc_out.r
2183 - * id: iop_scrc_out.r,v 1.11 2005/02/16 09:13:38 niklaspa Exp
2184 + * id: iop_scrc_out.r,v 1.11 2005/02/16 09:13:38 niklaspa Exp
2185 * last modfied: Mon Apr 11 16:08:46 2005
2188 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_scrc_out_defs_asm.h ../../inst/io_proc/rtl/iop_scrc_out.r
2189 * id: $Id: iop_scrc_out_defs_asm.h,v 1.5 2005/04/24 18:31:06 starvik Exp $
2190 * Any changes here will be lost.
2191 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_spu_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_spu_defs_asm.h
2192 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_spu_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2193 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_spu_defs_asm.h 2005-04-24 20:31:06.000000000 +0200
2195 * file: ../../inst/io_proc/rtl/iop_spu.r
2197 * last modfied: Mon Apr 11 16:08:46 2005
2200 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_spu_defs_asm.h ../../inst/io_proc/rtl/iop_spu.r
2201 * id: $Id: iop_spu_defs_asm.h,v 1.5 2005/04/24 18:31:06 starvik Exp $
2202 * Any changes here will be lost.
2203 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_cfg_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_cfg_defs_asm.h
2204 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_cfg_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2205 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_cfg_defs_asm.h 2005-04-24 20:31:07.000000000 +0200
2207 * file: ../../inst/io_proc/rtl/guinness/iop_sw_cfg.r
2209 * last modfied: Mon Apr 11 16:10:19 2005
2212 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_sw_cfg_defs_asm.h ../../inst/io_proc/rtl/guinness/iop_sw_cfg.r
2213 * id: $Id: iop_sw_cfg_defs_asm.h,v 1.5 2005/04/24 18:31:07 starvik Exp $
2214 * Any changes here will be lost.
2215 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_cpu_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_cpu_defs_asm.h
2216 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_cpu_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2217 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_cpu_defs_asm.h 2005-04-24 20:31:07.000000000 +0200
2219 * file: ../../inst/io_proc/rtl/guinness/iop_sw_cpu.r
2221 * last modfied: Mon Apr 11 16:10:19 2005
2224 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_sw_cpu_defs_asm.h ../../inst/io_proc/rtl/guinness/iop_sw_cpu.r
2225 * id: $Id: iop_sw_cpu_defs_asm.h,v 1.5 2005/04/24 18:31:07 starvik Exp $
2226 * Any changes here will be lost.
2227 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_mpu_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_mpu_defs_asm.h
2228 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_mpu_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2229 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_mpu_defs_asm.h 2005-04-24 20:31:07.000000000 +0200
2231 * file: ../../inst/io_proc/rtl/guinness/iop_sw_mpu.r
2233 * last modfied: Mon Apr 11 16:10:19 2005
2236 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_sw_mpu_defs_asm.h ../../inst/io_proc/rtl/guinness/iop_sw_mpu.r
2237 * id: $Id: iop_sw_mpu_defs_asm.h,v 1.5 2005/04/24 18:31:07 starvik Exp $
2238 * Any changes here will be lost.
2239 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_spu_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_spu_defs_asm.h
2240 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_spu_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2241 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_sw_spu_defs_asm.h 2005-04-24 20:31:07.000000000 +0200
2243 * file: ../../inst/io_proc/rtl/guinness/iop_sw_spu.r
2245 * last modfied: Mon Apr 11 16:10:19 2005
2248 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_sw_spu_defs_asm.h ../../inst/io_proc/rtl/guinness/iop_sw_spu.r
2249 * id: $Id: iop_sw_spu_defs_asm.h,v 1.5 2005/04/24 18:31:07 starvik Exp $
2250 * Any changes here will be lost.
2251 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_timer_grp_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_timer_grp_defs_asm.h
2252 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_timer_grp_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2253 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_timer_grp_defs_asm.h 2005-04-24 20:31:07.000000000 +0200
2256 * This file is autogenerated from
2257 * file: ../../inst/io_proc/rtl/iop_timer_grp.r
2258 - * id: iop_timer_grp.r,v 1.29 2005/02/16 09:13:27 niklaspa Exp
2259 + * id: iop_timer_grp.r,v 1.29 2005/02/16 09:13:27 niklaspa Exp
2260 * last modfied: Mon Apr 11 16:08:46 2005
2263 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_timer_grp_defs_asm.h ../../inst/io_proc/rtl/iop_timer_grp.r
2264 * id: $Id: iop_timer_grp_defs_asm.h,v 1.5 2005/04/24 18:31:07 starvik Exp $
2265 * Any changes here will be lost.
2266 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_trigger_grp_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_trigger_grp_defs_asm.h
2267 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_trigger_grp_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2268 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_trigger_grp_defs_asm.h 2005-04-24 20:31:07.000000000 +0200
2271 * This file is autogenerated from
2272 * file: ../../inst/io_proc/rtl/iop_trigger_grp.r
2273 - * id: iop_trigger_grp.r,v 0.20 2005/02/16 09:13:20 niklaspa Exp
2274 + * id: iop_trigger_grp.r,v 0.20 2005/02/16 09:13:20 niklaspa Exp
2275 * last modfied: Mon Apr 11 16:08:46 2005
2278 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_trigger_grp_defs_asm.h ../../inst/io_proc/rtl/iop_trigger_grp.r
2279 * id: $Id: iop_trigger_grp_defs_asm.h,v 1.5 2005/04/24 18:31:07 starvik Exp $
2280 * Any changes here will be lost.
2281 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_version_defs_asm.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_version_defs_asm.h
2282 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/asm/iop_version_defs_asm.h 2007-01-10 20:10:37.000000000 +0100
2283 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/asm/iop_version_defs_asm.h 2005-04-24 20:31:07.000000000 +0200
2286 * This file is autogenerated from
2287 * file: ../../inst/io_proc/rtl/guinness/iop_version.r
2288 - * id: iop_version.r,v 1.3 2004/04/22 12:37:54 jonaso Exp
2289 + * id: iop_version.r,v 1.3 2004/04/22 12:37:54 jonaso Exp
2290 * last modfied: Mon Apr 11 16:08:44 2005
2293 * by /n/asic/design/tools/rdesc/src/rdes2c -asm --outfile asm/iop_version_defs_asm.h ../../inst/io_proc/rtl/guinness/iop_version.r
2294 * id: $Id: iop_version_defs_asm.h,v 1.5 2005/04/24 18:31:07 starvik Exp $
2295 * Any changes here will be lost.
2296 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_crc_par_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_crc_par_defs.h
2297 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_crc_par_defs.h 2007-01-10 20:10:37.000000000 +0100
2298 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_crc_par_defs.h 2005-04-24 20:31:05.000000000 +0200
2300 * file: ../../inst/io_proc/rtl/iop_crc_par.r
2302 * last modfied: Mon Apr 11 16:08:45 2005
2305 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_crc_par_defs.h ../../inst/io_proc/rtl/iop_crc_par.r
2306 * id: $Id: iop_crc_par_defs.h,v 1.5 2005/04/24 18:31:05 starvik Exp $
2307 * Any changes here will be lost.
2308 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_dmc_in_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_dmc_in_defs.h
2309 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_dmc_in_defs.h 2007-01-10 20:10:37.000000000 +0100
2310 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_dmc_in_defs.h 2005-04-24 20:31:05.000000000 +0200
2313 * This file is autogenerated from
2314 * file: ../../inst/io_proc/rtl/iop_dmc_in.r
2315 - * id: iop_dmc_in.r,v 1.26 2005/02/16 09:14:17 niklaspa Exp
2316 + * id: iop_dmc_in.r,v 1.26 2005/02/16 09:14:17 niklaspa Exp
2317 * last modfied: Mon Apr 11 16:08:45 2005
2320 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_dmc_in_defs.h ../../inst/io_proc/rtl/iop_dmc_in.r
2321 * id: $Id: iop_dmc_in_defs.h,v 1.5 2005/04/24 18:31:05 starvik Exp $
2322 * Any changes here will be lost.
2323 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_dmc_out_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_dmc_out_defs.h
2324 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_dmc_out_defs.h 2007-01-10 20:10:37.000000000 +0100
2325 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_dmc_out_defs.h 2005-04-24 20:31:05.000000000 +0200
2328 * This file is autogenerated from
2329 * file: ../../inst/io_proc/rtl/iop_dmc_out.r
2330 - * id: iop_dmc_out.r,v 1.30 2005/02/16 09:14:11 niklaspa Exp
2331 + * id: iop_dmc_out.r,v 1.30 2005/02/16 09:14:11 niklaspa Exp
2332 * last modfied: Mon Apr 11 16:08:45 2005
2335 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_dmc_out_defs.h ../../inst/io_proc/rtl/iop_dmc_out.r
2336 * id: $Id: iop_dmc_out_defs.h,v 1.5 2005/04/24 18:31:05 starvik Exp $
2337 * Any changes here will be lost.
2338 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_defs.h
2339 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_defs.h 2007-01-10 20:10:37.000000000 +0100
2340 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_defs.h 2005-04-24 20:31:05.000000000 +0200
2342 * file: ../../inst/io_proc/rtl/iop_fifo_in.r
2344 * last modfied: Mon Apr 11 16:10:07 2005
2347 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_fifo_in_defs.h ../../inst/io_proc/rtl/iop_fifo_in.r
2348 * id: $Id: iop_fifo_in_defs.h,v 1.4 2005/04/24 18:31:05 starvik Exp $
2349 * Any changes here will be lost.
2350 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_extra_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_extra_defs.h
2351 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_extra_defs.h 2007-01-10 20:10:37.000000000 +0100
2352 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_extra_defs.h 2005-04-24 20:31:05.000000000 +0200
2354 * file: ../../inst/io_proc/rtl/iop_fifo_in_extra.r
2356 * last modfied: Mon Apr 11 16:10:08 2005
2359 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_fifo_in_extra_defs.h ../../inst/io_proc/rtl/iop_fifo_in_extra.r
2360 * id: $Id: iop_fifo_in_extra_defs.h,v 1.1 2005/04/24 18:31:05 starvik Exp $
2361 * Any changes here will be lost.
2362 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_defs.h
2363 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_defs.h 2007-01-10 20:10:37.000000000 +0100
2364 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_defs.h 2005-04-24 20:31:05.000000000 +0200
2366 * file: ../../inst/io_proc/rtl/iop_fifo_out.r
2368 * last modfied: Mon Apr 11 16:10:09 2005
2371 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_fifo_out_defs.h ../../inst/io_proc/rtl/iop_fifo_out.r
2372 * id: $Id: iop_fifo_out_defs.h,v 1.4 2005/04/24 18:31:05 starvik Exp $
2373 * Any changes here will be lost.
2374 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_extra_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_extra_defs.h
2375 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_extra_defs.h 2007-01-10 20:10:37.000000000 +0100
2376 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_extra_defs.h 2005-04-24 20:31:05.000000000 +0200
2378 * file: ../../inst/io_proc/rtl/iop_fifo_out_extra.r
2380 * last modfied: Mon Apr 11 16:10:10 2005
2383 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_fifo_out_extra_defs.h ../../inst/io_proc/rtl/iop_fifo_out_extra.r
2384 * id: $Id: iop_fifo_out_extra_defs.h,v 1.1 2005/04/24 18:31:05 starvik Exp $
2385 * Any changes here will be lost.
2386 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_mpu_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_mpu_defs.h
2387 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_mpu_defs.h 2007-01-10 20:10:37.000000000 +0100
2388 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_mpu_defs.h 2005-04-24 20:31:05.000000000 +0200
2391 * This file is autogenerated from
2392 * file: ../../inst/io_proc/rtl/iop_mpu.r
2393 - * id: iop_mpu.r,v 1.30 2005/02/17 08:12:33 niklaspa Exp
2394 + * id: iop_mpu.r,v 1.30 2005/02/17 08:12:33 niklaspa Exp
2395 * last modfied: Mon Apr 11 16:08:45 2005
2398 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_mpu_defs.h ../../inst/io_proc/rtl/iop_mpu.r
2399 * id: $Id: iop_mpu_defs.h,v 1.5 2005/04/24 18:31:05 starvik Exp $
2400 * Any changes here will be lost.
2401 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_mpu_macros.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_mpu_macros.h
2402 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_mpu_macros.h 2007-01-10 20:10:37.000000000 +0100
2403 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_mpu_macros.h 2004-01-07 16:18:30.000000000 +0100
2404 @@ -96,189 +96,189 @@
2405 #define MPU_ADD_RRR(S,N,D) (0x4000008C | ((S & ((1 << 5) - 1)) << 16)\
2406 | ((N & ((1 << 5) - 1)) << 11)\
2407 | ((D & ((1 << 5) - 1)) << 21))
2410 #define MPU_ADD_RRS(S,N,D) (0x4000048C | ((S & ((1 << 5) - 1)) << 16)\
2411 | ((N & ((1 << 5) - 1)) << 11)\
2412 | ((D & ((1 << 5) - 1)) << 21))
2415 #define MPU_ADD_RSR(S,N,D) (0x4000018C | ((S & ((1 << 5) - 1)) << 16)\
2416 | ((N & ((1 << 5) - 1)) << 11)\
2417 | ((D & ((1 << 5) - 1)) << 21))
2420 #define MPU_ADD_RSS(S,N,D) (0x4000058C | ((S & ((1 << 5) - 1)) << 16)\
2421 | ((N & ((1 << 5) - 1)) << 11)\
2422 | ((D & ((1 << 5) - 1)) << 21))
2425 #define MPU_ADD_SRR(S,N,D) (0x4000028C | ((S & ((1 << 5) - 1)) << 16)\
2426 | ((N & ((1 << 5) - 1)) << 11)\
2427 | ((D & ((1 << 5) - 1)) << 21))
2430 #define MPU_ADD_SRS(S,N,D) (0x4000068C | ((S & ((1 << 5) - 1)) << 16)\
2431 | ((N & ((1 << 5) - 1)) << 11)\
2432 | ((D & ((1 << 5) - 1)) << 21))
2435 #define MPU_ADD_SSR(S,N,D) (0x4000038C | ((S & ((1 << 5) - 1)) << 16)\
2436 | ((N & ((1 << 5) - 1)) << 11)\
2437 | ((D & ((1 << 5) - 1)) << 21))
2440 #define MPU_ADD_SSS(S,N,D) (0x4000078C | ((S & ((1 << 5) - 1)) << 16)\
2441 | ((N & ((1 << 5) - 1)) << 11)\
2442 | ((D & ((1 << 5) - 1)) << 21))
2445 #define MPU_ADDQ_RIR(S,N,D) (0x10000000 | ((S & ((1 << 5) - 1)) << 16)\
2446 | ((N & ((1 << 16) - 1)) << 0)\
2447 | ((D & ((1 << 5) - 1)) << 21))
2450 #define MPU_ADDQ_IRR(S,N,D) (0x10000000 | ((S & ((1 << 16) - 1)) << 0)\
2451 | ((N & ((1 << 5) - 1)) << 16)\
2452 | ((D & ((1 << 5) - 1)) << 21))
2455 #define MPU_ADDX_IRR_INSTR(S,N,D) (0xC000008C | ((N & ((1 << 5) - 1)) << 16)\
2456 | ((D & ((1 << 5) - 1)) << 21))
2459 #define MPU_ADDX_IRR_IMM(S,N,D) (S & 0xFFFFFFFF)
2461 #define MPU_ADDX_RIR_INSTR(S,N,D) (0xC000008C | ((S & ((1 << 5) - 1)) << 16)\
2462 | ((D & ((1 << 5) - 1)) << 21))
2465 #define MPU_ADDX_RIR_IMM(S,N,D) (N & 0xFFFFFFFF)
2467 #define MPU_ADDX_ISR_INSTR(S,N,D) (0xC000028C | ((N & ((1 << 5) - 1)) << 16)\
2468 | ((D & ((1 << 5) - 1)) << 21))
2471 #define MPU_ADDX_ISR_IMM(S,N,D) (S & 0xFFFFFFFF)
2473 #define MPU_ADDX_SIR_INSTR(S,N,D) (0xC000028C | ((S & ((1 << 5) - 1)) << 16)\
2474 | ((D & ((1 << 5) - 1)) << 21))
2477 #define MPU_ADDX_SIR_IMM(S,N,D) (N & 0xFFFFFFFF)
2479 #define MPU_ADDX_IRS_INSTR(S,N,D) (0xC000048C | ((N & ((1 << 5) - 1)) << 16)\
2480 | ((D & ((1 << 5) - 1)) << 21))
2483 #define MPU_ADDX_IRS_IMM(S,N,D) (S & 0xFFFFFFFF)
2485 #define MPU_ADDX_RIS_INSTR(S,N,D) (0xC000048C | ((S & ((1 << 5) - 1)) << 16)\
2486 | ((D & ((1 << 5) - 1)) << 21))
2489 #define MPU_ADDX_RIS_IMM(S,N,D) (N & 0xFFFFFFFF)
2491 #define MPU_ADDX_ISS_INSTR(S,N,D) (0xC000068C | ((N & ((1 << 5) - 1)) << 16)\
2492 | ((D & ((1 << 5) - 1)) << 21))
2495 #define MPU_ADDX_ISS_IMM(S,N,D) (S & 0xFFFFFFFF)
2497 #define MPU_ADDX_SIS_INSTR(S,N,D) (0xC000068C | ((S & ((1 << 5) - 1)) << 16)\
2498 | ((D & ((1 << 5) - 1)) << 21))
2501 #define MPU_ADDX_SIS_IMM(S,N,D) (N & 0xFFFFFFFF)
2503 #define MPU_AND_RRR(S,N,D) (0x4000008A | ((S & ((1 << 5) - 1)) << 16)\
2504 | ((N & ((1 << 5) - 1)) << 11)\
2505 | ((D & ((1 << 5) - 1)) << 21))
2508 #define MPU_AND_RRS(S,N,D) (0x4000048A | ((S & ((1 << 5) - 1)) << 16)\
2509 | ((N & ((1 << 5) - 1)) << 11)\
2510 | ((D & ((1 << 5) - 1)) << 21))
2513 #define MPU_AND_RSR(S,N,D) (0x4000018A | ((S & ((1 << 5) - 1)) << 16)\
2514 | ((N & ((1 << 5) - 1)) << 11)\
2515 | ((D & ((1 << 5) - 1)) << 21))
2518 #define MPU_AND_RSS(S,N,D) (0x4000058A | ((S & ((1 << 5) - 1)) << 16)\
2519 | ((N & ((1 << 5) - 1)) << 11)\
2520 | ((D & ((1 << 5) - 1)) << 21))
2523 #define MPU_AND_SRR(S,N,D) (0x4000028A | ((S & ((1 << 5) - 1)) << 16)\
2524 | ((N & ((1 << 5) - 1)) << 11)\
2525 | ((D & ((1 << 5) - 1)) << 21))
2528 #define MPU_AND_SRS(S,N,D) (0x4000068A | ((S & ((1 << 5) - 1)) << 16)\
2529 | ((N & ((1 << 5) - 1)) << 11)\
2530 | ((D & ((1 << 5) - 1)) << 21))
2533 #define MPU_AND_SSR(S,N,D) (0x4000038A | ((S & ((1 << 5) - 1)) << 16)\
2534 | ((N & ((1 << 5) - 1)) << 11)\
2535 | ((D & ((1 << 5) - 1)) << 21))
2538 #define MPU_AND_SSS(S,N,D) (0x4000078A | ((S & ((1 << 5) - 1)) << 16)\
2539 | ((N & ((1 << 5) - 1)) << 11)\
2540 | ((D & ((1 << 5) - 1)) << 21))
2543 #define MPU_ANDQ_RIR(S,N,D) (0x08000000 | ((S & ((1 << 5) - 1)) << 16)\
2544 | ((N & ((1 << 16) - 1)) << 0)\
2545 | ((D & ((1 << 5) - 1)) << 21))
2548 #define MPU_ANDQ_IRR(S,N,D) (0x08000000 | ((S & ((1 << 16) - 1)) << 0)\
2549 | ((N & ((1 << 5) - 1)) << 16)\
2550 | ((D & ((1 << 5) - 1)) << 21))
2553 #define MPU_ANDX_RIR_INSTR(S,N,D) (0xC000008A | ((S & ((1 << 5) - 1)) << 16)\
2554 | ((D & ((1 << 5) - 1)) << 21))
2557 #define MPU_ANDX_RIR_IMM(S,N,D) (N & 0xFFFFFFFF)
2559 #define MPU_ANDX_IRR_INSTR(S,N,D) (0xC000008A | ((N & ((1 << 5) - 1)) << 16)\
2560 | ((D & ((1 << 5) - 1)) << 21))
2563 #define MPU_ANDX_IRR_IMM(S,N,D) (S & 0xFFFFFFFF)
2565 #define MPU_ANDX_ISR_INSTR(S,N,D) (0xC000028A | ((N & ((1 << 5) - 1)) << 16)\
2566 | ((D & ((1 << 5) - 1)) << 21))
2569 #define MPU_ANDX_ISR_IMM(S,N,D) (S & 0xFFFFFFFF)
2571 #define MPU_ANDX_SIR_INSTR(S,N,D) (0xC000028A | ((S & ((1 << 5) - 1)) << 16)\
2572 | ((D & ((1 << 5) - 1)) << 21))
2575 #define MPU_ANDX_SIR_IMM(S,N,D) (N & 0xFFFFFFFF)
2577 #define MPU_ANDX_IRS_INSTR(S,N,D) (0xC000048A | ((N & ((1 << 5) - 1)) << 16)\
2578 | ((D & ((1 << 5) - 1)) << 21))
2581 #define MPU_ANDX_IRS_IMM(S,N,D) (S & 0xFFFFFFFF)
2583 #define MPU_ANDX_ISS_INSTR(S,N,D) (0xC000068A | ((N & ((1 << 5) - 1)) << 16)\
2584 | ((D & ((1 << 5) - 1)) << 21))
2587 #define MPU_ANDX_ISS_IMM(S,N,D) (S & 0xFFFFFFFF)
2589 #define MPU_ANDX_RIS_INSTR(S,N,D) (0xC000048A | ((S & ((1 << 5) - 1)) << 16)\
2590 | ((D & ((1 << 5) - 1)) << 21))
2593 #define MPU_ANDX_RIS_IMM(S,N,D) (N & 0xFFFFFFFF)
2595 #define MPU_ANDX_SIS_INSTR(S,N,D) (0xC000068A | ((S & ((1 << 5) - 1)) << 16)\
2596 | ((D & ((1 << 5) - 1)) << 21))
2599 #define MPU_ANDX_SIS_IMM(S,N,D) (N & 0xFFFFFFFF)
2601 #define MPU_BA_I(S) (0x60000000 | ((S & ((1 << 16) - 1)) << 0))
2604 #define MPU_BAR_R(S) (0x62000000 | ((S & ((1 << 5) - 1)) << 11))
2607 #define MPU_BAR_S(S) (0x63000000 | ((S & ((1 << 5) - 1)) << 11))
2610 #define MPU_BBC_RII(S,N,D) (0x78000000 | ((S & ((1 << 5) - 1)) << 16)\
2611 | ((N & ((1 << 5) - 1)) << 21)\
2612 | ((D & ((1 << 16) - 1)) << 0))
2615 #define MPU_BBS_RII(S,N,D) (0x7C000000 | ((S & ((1 << 5) - 1)) << 16)\
2616 | ((N & ((1 << 5) - 1)) << 21)\
2617 | ((D & ((1 << 16) - 1)) << 0))
2620 #define MPU_BNZ_RI(S,D) (0x74400000 | ((S & ((1 << 5) - 1)) << 16)\
2621 | ((D & ((1 << 16) - 1)) << 0))
2624 #define MPU_BMI_RI(S,D) (0x7FE00000 | ((S & ((1 << 5) - 1)) << 16)\
2625 | ((D & ((1 << 16) - 1)) << 0))
2628 #define MPU_BPL_RI(S,D) (0x7BE00000 | ((S & ((1 << 5) - 1)) << 16)\
2629 | ((D & ((1 << 16) - 1)) << 0))
2632 #define MPU_BZ_RI(S,D) (0x74000000 | ((S & ((1 << 5) - 1)) << 16)\
2633 | ((D & ((1 << 16) - 1)) << 0))
2636 #define MPU_DI() (0x40000001)
2638 #define MPU_EI() (0x40000003)
2639 @@ -286,243 +286,243 @@
2640 #define MPU_HALT() (0x40000002)
2642 #define MPU_JIR_I(S) (0x60200000 | ((S & ((1 << 16) - 1)) << 0))
2645 #define MPU_JIR_R(S) (0x62200000 | ((S & ((1 << 5) - 1)) << 11))
2648 #define MPU_JIR_S(S) (0x63200000 | ((S & ((1 << 5) - 1)) << 11))
2651 #define MPU_JNT() (0x61000000)
2653 #define MPU_JSR_I(S) (0x60400000 | ((S & ((1 << 16) - 1)) << 0))
2656 #define MPU_JSR_R(S) (0x62400000 | ((S & ((1 << 5) - 1)) << 11))
2659 #define MPU_JSR_S(S) (0x63400000 | ((S & ((1 << 5) - 1)) << 11))
2662 #define MPU_LSL_RRR(S,N,D) (0x4000008E | ((S & ((1 << 5) - 1)) << 16)\
2663 | ((N & ((1 << 5) - 1)) << 11)\
2664 | ((D & ((1 << 5) - 1)) << 21))
2667 #define MPU_LSL_RRS(S,N,D) (0x4000048E | ((S & ((1 << 5) - 1)) << 16)\
2668 | ((N & ((1 << 5) - 1)) << 11)\
2669 | ((D & ((1 << 5) - 1)) << 21))
2672 #define MPU_LSL_RSR(S,N,D) (0x4000018E | ((S & ((1 << 5) - 1)) << 16)\
2673 | ((N & ((1 << 5) - 1)) << 11)\
2674 | ((D & ((1 << 5) - 1)) << 21))
2677 #define MPU_LSL_RSS(S,N,D) (0x4000058E | ((S & ((1 << 5) - 1)) << 16)\
2678 | ((N & ((1 << 5) - 1)) << 11)\
2679 | ((D & ((1 << 5) - 1)) << 21))
2682 #define MPU_LSL_SRR(S,N,D) (0x4000028E | ((S & ((1 << 5) - 1)) << 16)\
2683 | ((N & ((1 << 5) - 1)) << 11)\
2684 | ((D & ((1 << 5) - 1)) << 21))
2687 #define MPU_LSL_SRS(S,N,D) (0x4000068E | ((S & ((1 << 5) - 1)) << 16)\
2688 | ((N & ((1 << 5) - 1)) << 11)\
2689 | ((D & ((1 << 5) - 1)) << 21))
2692 #define MPU_LSL_SSR(S,N,D) (0x4000038E | ((S & ((1 << 5) - 1)) << 16)\
2693 | ((N & ((1 << 5) - 1)) << 11)\
2694 | ((D & ((1 << 5) - 1)) << 21))
2697 #define MPU_LSL_SSS(S,N,D) (0x4000078E | ((S & ((1 << 5) - 1)) << 16)\
2698 | ((N & ((1 << 5) - 1)) << 11)\
2699 | ((D & ((1 << 5) - 1)) << 21))
2702 #define MPU_LSLQ_RIR(S,N,D) (0x18000000 | ((S & ((1 << 5) - 1)) << 16)\
2703 | ((N & ((1 << 16) - 1)) << 0)\
2704 | ((D & ((1 << 5) - 1)) << 21))
2707 #define MPU_LSR_RRR(S,N,D) (0x4000008F | ((S & ((1 << 5) - 1)) << 16)\
2708 | ((N & ((1 << 5) - 1)) << 11)\
2709 | ((D & ((1 << 5) - 1)) << 21))
2712 #define MPU_LSR_RRS(S,N,D) (0x4000048F | ((S & ((1 << 5) - 1)) << 16)\
2713 | ((N & ((1 << 5) - 1)) << 11)\
2714 | ((D & ((1 << 5) - 1)) << 21))
2717 #define MPU_LSR_RSR(S,N,D) (0x4000018F | ((S & ((1 << 5) - 1)) << 16)\
2718 | ((N & ((1 << 5) - 1)) << 11)\
2719 | ((D & ((1 << 5) - 1)) << 21))
2722 #define MPU_LSR_RSS(S,N,D) (0x4000058F | ((S & ((1 << 5) - 1)) << 16)\
2723 | ((N & ((1 << 5) - 1)) << 11)\
2724 | ((D & ((1 << 5) - 1)) << 21))
2727 #define MPU_LSR_SRR(S,N,D) (0x4000028F | ((S & ((1 << 5) - 1)) << 16)\
2728 | ((N & ((1 << 5) - 1)) << 11)\
2729 | ((D & ((1 << 5) - 1)) << 21))
2732 #define MPU_LSR_SRS(S,N,D) (0x4000068F | ((S & ((1 << 5) - 1)) << 16)\
2733 | ((N & ((1 << 5) - 1)) << 11)\
2734 | ((D & ((1 << 5) - 1)) << 21))
2737 #define MPU_LSR_SSR(S,N,D) (0x4000038F | ((S & ((1 << 5) - 1)) << 16)\
2738 | ((N & ((1 << 5) - 1)) << 11)\
2739 | ((D & ((1 << 5) - 1)) << 21))
2742 #define MPU_LSR_SSS(S,N,D) (0x4000078F | ((S & ((1 << 5) - 1)) << 16)\
2743 | ((N & ((1 << 5) - 1)) << 11)\
2744 | ((D & ((1 << 5) - 1)) << 21))
2747 #define MPU_LSRQ_RIR(S,N,D) (0x1C000000 | ((S & ((1 << 5) - 1)) << 16)\
2748 | ((N & ((1 << 16) - 1)) << 0)\
2749 | ((D & ((1 << 5) - 1)) << 21))
2752 #define MPU_LW_IR(S,D) (0x64400000 | ((S & ((1 << 16) - 1)) << 0)\
2753 | ((D & ((1 << 5) - 1)) << 16))
2756 #define MPU_LW_IS(S,D) (0x64600000 | ((S & ((1 << 16) - 1)) << 0)\
2757 | ((D & ((1 << 5) - 1)) << 16))
2760 #define MPU_LW_RR(S,D) (0x66400000 | ((S & ((1 << 5) - 1)) << 11)\
2761 | ((D & ((1 << 5) - 1)) << 16))
2764 #define MPU_LW_RS(S,D) (0x66600000 | ((S & ((1 << 5) - 1)) << 11)\
2765 | ((D & ((1 << 5) - 1)) << 16))
2768 #define MPU_LW_SR(S,D) (0x67400000 | ((S & ((1 << 5) - 1)) << 11)\
2769 | ((D & ((1 << 5) - 1)) << 16))
2772 #define MPU_LW_SS(S,D) (0x67600000 | ((S & ((1 << 5) - 1)) << 11)\
2773 | ((D & ((1 << 5) - 1)) << 16))
2776 #define MPU_LW_RIR(S,N,D) (0x66400000 | ((S & ((1 << 5) - 1)) << 11)\
2777 | ((N & ((1 << 8) - 1)) << 0)\
2778 | ((D & ((1 << 5) - 1)) << 16))
2781 #define MPU_LW_RIS(S,N,D) (0x66600000 | ((S & ((1 << 5) - 1)) << 11)\
2782 | ((N & ((1 << 8) - 1)) << 0)\
2783 | ((D & ((1 << 5) - 1)) << 16))
2786 #define MPU_LW_SIR(S,N,D) (0x67400000 | ((S & ((1 << 5) - 1)) << 11)\
2787 | ((N & ((1 << 8) - 1)) << 0)\
2788 | ((D & ((1 << 5) - 1)) << 16))
2791 #define MPU_LW_SIS(S,N,D) (0x67600000 | ((S & ((1 << 5) - 1)) << 11)\
2792 | ((N & ((1 << 8) - 1)) << 0)\
2793 | ((D & ((1 << 5) - 1)) << 16))
2796 #define MPU_MOVE_RR(S,D) (0x40000081 | ((S & ((1 << 5) - 1)) << 11)\
2797 | ((D & ((1 << 5) - 1)) << 21))
2800 #define MPU_MOVE_RS(S,D) (0x40000481 | ((S & ((1 << 5) - 1)) << 11)\
2801 | ((D & ((1 << 5) - 1)) << 21))
2804 #define MPU_MOVE_SR(S,D) (0x40000181 | ((S & ((1 << 5) - 1)) << 11)\
2805 | ((D & ((1 << 5) - 1)) << 21))
2808 #define MPU_MOVE_SS(S,D) (0x40000581 | ((S & ((1 << 5) - 1)) << 11)\
2809 | ((D & ((1 << 5) - 1)) << 21))
2812 #define MPU_MOVEQ_IR(S,D) (0x24000000 | ((S & ((1 << 16) - 1)) << 0)\
2813 | ((D & ((1 << 5) - 1)) << 21))
2816 #define MPU_MOVEQ_IS(S,D) (0x2C000000 | ((S & ((1 << 16) - 1)) << 0)\
2817 | ((D & ((1 << 5) - 1)) << 21))
2820 #define MPU_MOVEX_IR_INSTR(S,D) (0xC0000081 | ((D & ((1 << 5) - 1)) << 21))
2823 #define MPU_MOVEX_IR_IMM(S,D) (S & 0xFFFFFFFF)
2825 #define MPU_MOVEX_IS_INSTR(S,D) (0xC0000481 | ((D & ((1 << 5) - 1)) << 21))
2828 #define MPU_MOVEX_IS_IMM(S,D) (S & 0xFFFFFFFF)
2830 #define MPU_NOP() (0x40000000)
2832 #define MPU_NOT_RR(S,D) (0x40100081 | ((S & ((1 << 5) - 1)) << 11)\
2833 | ((D & ((1 << 5) - 1)) << 21))
2836 #define MPU_NOT_RS(S,D) (0x40100481 | ((S & ((1 << 5) - 1)) << 11)\
2837 | ((D & ((1 << 5) - 1)) << 21))
2840 #define MPU_NOT_SR(S,D) (0x40100181 | ((S & ((1 << 5) - 1)) << 11)\
2841 | ((D & ((1 << 5) - 1)) << 21))
2844 #define MPU_NOT_SS(S,D) (0x40100581 | ((S & ((1 << 5) - 1)) << 11)\
2845 | ((D & ((1 << 5) - 1)) << 21))
2848 #define MPU_OR_RRR(S,N,D) (0x4000008B | ((S & ((1 << 5) - 1)) << 16)\
2849 | ((N & ((1 << 5) - 1)) << 11)\
2850 | ((D & ((1 << 5) - 1)) << 21))
2853 #define MPU_OR_RRS(S,N,D) (0x4000048B | ((S & ((1 << 5) - 1)) << 16)\
2854 | ((N & ((1 << 5) - 1)) << 11)\
2855 | ((D & ((1 << 5) - 1)) << 21))
2858 #define MPU_OR_RSR(S,N,D) (0x4000018B | ((S & ((1 << 5) - 1)) << 16)\
2859 | ((N & ((1 << 5) - 1)) << 11)\
2860 | ((D & ((1 << 5) - 1)) << 21))
2863 #define MPU_OR_RSS(S,N,D) (0x4000058B | ((S & ((1 << 5) - 1)) << 16)\
2864 | ((N & ((1 << 5) - 1)) << 11)\
2865 | ((D & ((1 << 5) - 1)) << 21))
2868 #define MPU_OR_SRR(S,N,D) (0x4000028B | ((S & ((1 << 5) - 1)) << 16)\
2869 | ((N & ((1 << 5) - 1)) << 11)\
2870 | ((D & ((1 << 5) - 1)) << 21))
2873 #define MPU_OR_SRS(S,N,D) (0x4000068B | ((S & ((1 << 5) - 1)) << 16)\
2874 | ((N & ((1 << 5) - 1)) << 11)\
2875 | ((D & ((1 << 5) - 1)) << 21))
2878 #define MPU_OR_SSR(S,N,D) (0x4000038B | ((S & ((1 << 5) - 1)) << 16)\
2879 | ((N & ((1 << 5) - 1)) << 11)\
2880 | ((D & ((1 << 5) - 1)) << 21))
2883 #define MPU_OR_SSS(S,N,D) (0x4000078B | ((S & ((1 << 5) - 1)) << 16)\
2884 | ((N & ((1 << 5) - 1)) << 11)\
2885 | ((D & ((1 << 5) - 1)) << 21))
2888 #define MPU_ORQ_RIR(S,N,D) (0x0C000000 | ((S & ((1 << 5) - 1)) << 16)\
2889 | ((N & ((1 << 16) - 1)) << 0)\
2890 | ((D & ((1 << 5) - 1)) << 21))
2893 #define MPU_ORQ_IRR(S,N,D) (0x0C000000 | ((S & ((1 << 16) - 1)) << 0)\
2894 | ((N & ((1 << 5) - 1)) << 16)\
2895 | ((D & ((1 << 5) - 1)) << 21))
2898 #define MPU_ORX_RIR_INSTR(S,N,D) (0xC000008B | ((S & ((1 << 5) - 1)) << 16)\
2899 | ((D & ((1 << 5) - 1)) << 21))
2902 #define MPU_ORX_RIR_IMM(S,N,D) (N & 0xFFFFFFFF)
2904 #define MPU_ORX_IRR_INSTR(S,N,D) (0xC000008B | ((N & ((1 << 5) - 1)) << 16)\
2905 | ((D & ((1 << 5) - 1)) << 21))
2908 #define MPU_ORX_IRR_IMM(S,N,D) (S & 0xFFFFFFFF)
2910 #define MPU_ORX_SIR_INSTR(S,N,D) (0xC000028B | ((S & ((1 << 5) - 1)) << 16)\
2911 | ((D & ((1 << 5) - 1)) << 21))
2914 #define MPU_ORX_SIR_IMM(S,N,D) (N & 0xFFFFFFFF)
2916 #define MPU_ORX_ISR_INSTR(S,N,D) (0xC000028B | ((N & ((1 << 5) - 1)) << 16)\
2917 | ((D & ((1 << 5) - 1)) << 21))
2920 #define MPU_ORX_ISR_IMM(S,N,D) (S & 0xFFFFFFFF)
2922 #define MPU_ORX_RIS_INSTR(S,N,D) (0xC000048B | ((S & ((1 << 5) - 1)) << 16)\
2923 | ((D & ((1 << 5) - 1)) << 21))
2926 #define MPU_ORX_RIS_IMM(S,N,D) (N & 0xFFFFFFFF)
2928 #define MPU_ORX_IRS_INSTR(S,N,D) (0xC000048B | ((N & ((1 << 5) - 1)) << 16)\
2929 | ((D & ((1 << 5) - 1)) << 21))
2932 #define MPU_ORX_IRS_IMM(S,N,D) (S & 0xFFFFFFFF)
2934 #define MPU_ORX_SIS_INSTR(S,N,D) (0xC000068B | ((S & ((1 << 5) - 1)) << 16)\
2935 | ((D & ((1 << 5) - 1)) << 21))
2938 #define MPU_ORX_SIS_IMM(S,N,D) (N & 0xFFFFFFFF)
2940 #define MPU_ORX_ISS_INSTR(S,N,D) (0xC000068B | ((N & ((1 << 5) - 1)) << 16)\
2941 | ((D & ((1 << 5) - 1)) << 21))
2944 #define MPU_ORX_ISS_IMM(S,N,D) (S & 0xFFFFFFFF)
2946 #define MPU_RET() (0x63003000)
2947 @@ -531,232 +531,232 @@
2949 #define MPU_RR_IR(S,D) (0x50000000 | ((S & ((1 << 11) - 1)) << 0)\
2950 | ((D & ((1 << 5) - 1)) << 21))
2953 #define MPU_RR_SR(S,D) (0x50008000 | ((S & ((1 << 5) - 1)) << 16)\
2954 | ((D & ((1 << 5) - 1)) << 21))
2957 #define MPU_RW_RI(S,D) (0x56000000 | ((S & ((1 << 5) - 1)) << 11)\
2958 | ((D & ((1 << 11) - 1)) << 0))
2961 #define MPU_RW_RS(S,D) (0x57000000 | ((S & ((1 << 5) - 1)) << 11)\
2962 | ((D & ((1 << 5) - 1)) << 16))
2965 #define MPU_RWQ_II(S,D) (0x58000000 | ((S & ((1 << 16) - 1)) << 11)\
2966 | ((D & ((1 << 11) - 1)) << 0))
2969 #define MPU_RWQ_IS(S,D) (0x55000000 | ((S & ((1 << 16) - 1)) << 0)\
2970 | ((D & ((1 << 5) - 1)) << 16))
2973 #define MPU_RWX_II_INSTR(S,D) (0xD4000000 | ((D & ((1 << 11) - 1)) << 0))
2976 #define MPU_RWX_II_IMM(S,D) (S & 0xFFFFFFFF)
2978 #define MPU_RWX_IS_INSTR(S,D) (0xD5000000 | ((D & ((1 << 5) - 1)) << 16))
2981 #define MPU_RWX_IS_IMM(S,D) (S & 0xFFFFFFFF)
2983 #define MPU_SUB_RRR(S,N,D) (0x4000008D | ((S & ((1 << 5) - 1)) << 16)\
2984 | ((N & ((1 << 5) - 1)) << 11)\
2985 | ((D & ((1 << 5) - 1)) << 21))
2988 #define MPU_SUB_RRS(S,N,D) (0x4000048D | ((S & ((1 << 5) - 1)) << 16)\
2989 | ((N & ((1 << 5) - 1)) << 11)\
2990 | ((D & ((1 << 5) - 1)) << 21))
2993 #define MPU_SUB_RSR(S,N,D) (0x4000018D | ((S & ((1 << 5) - 1)) << 16)\
2994 | ((N & ((1 << 5) - 1)) << 11)\
2995 | ((D & ((1 << 5) - 1)) << 21))
2998 #define MPU_SUB_RSS(S,N,D) (0x4000058D | ((S & ((1 << 5) - 1)) << 16)\
2999 | ((N & ((1 << 5) - 1)) << 11)\
3000 | ((D & ((1 << 5) - 1)) << 21))
3003 #define MPU_SUB_SRR(S,N,D) (0x4000028D | ((S & ((1 << 5) - 1)) << 16)\
3004 | ((N & ((1 << 5) - 1)) << 11)\
3005 | ((D & ((1 << 5) - 1)) << 21))
3008 #define MPU_SUB_SRS(S,N,D) (0x4000068D | ((S & ((1 << 5) - 1)) << 16)\
3009 | ((N & ((1 << 5) - 1)) << 11)\
3010 | ((D & ((1 << 5) - 1)) << 21))
3013 #define MPU_SUB_SSR(S,N,D) (0x4000038D | ((S & ((1 << 5) - 1)) << 16)\
3014 | ((N & ((1 << 5) - 1)) << 11)\
3015 | ((D & ((1 << 5) - 1)) << 21))
3018 #define MPU_SUB_SSS(S,N,D) (0x4000078D | ((S & ((1 << 5) - 1)) << 16)\
3019 | ((N & ((1 << 5) - 1)) << 11)\
3020 | ((D & ((1 << 5) - 1)) << 21))
3023 #define MPU_SUBQ_RIR(S,N,D) (0x14000000 | ((S & ((1 << 5) - 1)) << 16)\
3024 | ((N & ((1 << 16) - 1)) << 0)\
3025 | ((D & ((1 << 5) - 1)) << 21))
3028 #define MPU_SUBX_RIR_INSTR(S,N,D) (0xC000008D | ((S & ((1 << 5) - 1)) << 16)\
3029 | ((D & ((1 << 5) - 1)) << 21))
3032 #define MPU_SUBX_RIR_IMM(S,N,D) (N & 0xFFFFFFFF)
3034 #define MPU_SUBX_SIR_INSTR(S,N,D) (0xC000028D | ((S & ((1 << 5) - 1)) << 16)\
3035 | ((D & ((1 << 5) - 1)) << 21))
3038 #define MPU_SUBX_SIR_IMM(S,N,D) (N & 0xFFFFFFFF)
3040 #define MPU_SUBX_RIS_INSTR(S,N,D) (0xC000048D | ((S & ((1 << 5) - 1)) << 16)\
3041 | ((D & ((1 << 5) - 1)) << 21))
3044 #define MPU_SUBX_RIS_IMM(S,N,D) (N & 0xFFFFFFFF)
3046 #define MPU_SUBX_SIS_INSTR(S,N,D) (0xC000068D | ((S & ((1 << 5) - 1)) << 16)\
3047 | ((D & ((1 << 5) - 1)) << 21))
3050 #define MPU_SUBX_SIS_IMM(S,N,D) (N & 0xFFFFFFFF)
3052 #define MPU_SW_RI(S,D) (0x64000000 | ((S & ((1 << 5) - 1)) << 16)\
3053 | ((D & ((1 << 16) - 1)) << 0))
3056 #define MPU_SW_SI(S,D) (0x64200000 | ((S & ((1 << 5) - 1)) << 16)\
3057 | ((D & ((1 << 16) - 1)) << 0))
3060 #define MPU_SW_RR(S,D) (0x66000000 | ((S & ((1 << 5) - 1)) << 16)\
3061 | ((D & ((1 << 5) - 1)) << 11))
3064 #define MPU_SW_SR(S,D) (0x66200000 | ((S & ((1 << 5) - 1)) << 16)\
3065 | ((D & ((1 << 5) - 1)) << 11))
3068 #define MPU_SW_RS(S,D) (0x67000000 | ((S & ((1 << 5) - 1)) << 16)\
3069 | ((D & ((1 << 5) - 1)) << 11))
3072 #define MPU_SW_SS(S,D) (0x67200000 | ((S & ((1 << 5) - 1)) << 16)\
3073 | ((D & ((1 << 5) - 1)) << 11))
3076 #define MPU_SW_RIR(S,N,D) (0x66000000 | ((S & ((1 << 5) - 1)) << 16)\
3077 | ((N & ((1 << 8) - 1)) << 0)\
3078 | ((D & ((1 << 5) - 1)) << 11))
3081 #define MPU_SW_SIR(S,N,D) (0x66200000 | ((S & ((1 << 5) - 1)) << 16)\
3082 | ((N & ((1 << 8) - 1)) << 0)\
3083 | ((D & ((1 << 5) - 1)) << 11))
3086 #define MPU_SW_RIS(S,N,D) (0x67000000 | ((S & ((1 << 5) - 1)) << 16)\
3087 | ((N & ((1 << 8) - 1)) << 0)\
3088 | ((D & ((1 << 5) - 1)) << 11))
3091 #define MPU_SW_SIS(S,N,D) (0x67200000 | ((S & ((1 << 5) - 1)) << 16)\
3092 | ((N & ((1 << 8) - 1)) << 0)\
3093 | ((D & ((1 << 5) - 1)) << 11))
3096 #define MPU_SWX_II_INSTR(S,D) (0xE4000000 | ((D & ((1 << 16) - 1)) << 0))
3099 #define MPU_SWX_II_IMM(S,D) (S & 0xFFFFFFFF)
3101 #define MPU_SWX_IR_INSTR(S,D) (0xE6000000 | ((D & ((1 << 5) - 1)) << 11))
3104 #define MPU_SWX_IR_IMM(S,D) (S & 0xFFFFFFFF)
3106 #define MPU_SWX_IS_INSTR(S,D) (0xE7000000 | ((D & ((1 << 5) - 1)) << 11))
3109 #define MPU_SWX_IS_IMM(S,D) (S & 0xFFFFFFFF)
3111 #define MPU_SWX_IIR_INSTR(S,N,D) (0xE6000000 | ((N & ((1 << 8) - 1)) << 0)\
3112 | ((D & ((1 << 5) - 1)) << 11))
3115 #define MPU_SWX_IIR_IMM(S,N,D) (S & 0xFFFFFFFF)
3117 #define MPU_SWX_IIS_INSTR(S,N,D) (0xE7000000 | ((N & ((1 << 8) - 1)) << 0)\
3118 | ((D & ((1 << 5) - 1)) << 11))
3121 #define MPU_SWX_IIS_IMM(S,N,D) (S & 0xFFFFFFFF)
3123 #define MPU_XOR_RRR(S,N,D) (0x40000089 | ((S & ((1 << 5) - 1)) << 16)\
3124 | ((N & ((1 << 5) - 1)) << 11)\
3125 | ((D & ((1 << 5) - 1)) << 21))
3128 #define MPU_XOR_RRS(S,N,D) (0x40000489 | ((S & ((1 << 5) - 1)) << 16)\
3129 | ((N & ((1 << 5) - 1)) << 11)\
3130 | ((D & ((1 << 5) - 1)) << 21))
3133 #define MPU_XOR_RSR(S,N,D) (0x40000189 | ((S & ((1 << 5) - 1)) << 16)\
3134 | ((N & ((1 << 5) - 1)) << 11)\
3135 | ((D & ((1 << 5) - 1)) << 21))
3138 #define MPU_XOR_RSS(S,N,D) (0x40000589 | ((S & ((1 << 5) - 1)) << 16)\
3139 | ((N & ((1 << 5) - 1)) << 11)\
3140 | ((D & ((1 << 5) - 1)) << 21))
3143 #define MPU_XOR_SRR(S,N,D) (0x40000289 | ((S & ((1 << 5) - 1)) << 16)\
3144 | ((N & ((1 << 5) - 1)) << 11)\
3145 | ((D & ((1 << 5) - 1)) << 21))
3148 #define MPU_XOR_SRS(S,N,D) (0x40000689 | ((S & ((1 << 5) - 1)) << 16)\
3149 | ((N & ((1 << 5) - 1)) << 11)\
3150 | ((D & ((1 << 5) - 1)) << 21))
3153 #define MPU_XOR_SSR(S,N,D) (0x40000389 | ((S & ((1 << 5) - 1)) << 16)\
3154 | ((N & ((1 << 5) - 1)) << 11)\
3155 | ((D & ((1 << 5) - 1)) << 21))
3158 #define MPU_XOR_SSS(S,N,D) (0x40000789 | ((S & ((1 << 5) - 1)) << 16)\
3159 | ((N & ((1 << 5) - 1)) << 11)\
3160 | ((D & ((1 << 5) - 1)) << 21))
3163 #define MPU_XOR_RR(S,D) (0x40000088 | ((S & ((1 << 5) - 1)) << 11)\
3164 | ((D & ((1 << 5) - 1)) << 21))
3167 #define MPU_XOR_RS(S,D) (0x40000488 | ((S & ((1 << 5) - 1)) << 11)\
3168 | ((D & ((1 << 5) - 1)) << 21))
3171 #define MPU_XOR_SR(S,D) (0x40000188 | ((S & ((1 << 5) - 1)) << 11)\
3172 | ((D & ((1 << 5) - 1)) << 21))
3175 #define MPU_XOR_SS(S,D) (0x40000588 | ((S & ((1 << 5) - 1)) << 11)\
3176 | ((D & ((1 << 5) - 1)) << 21))
3179 #define MPU_XORQ_RIR(S,N,D) (0x04000000 | ((S & ((1 << 5) - 1)) << 16)\
3180 | ((N & ((1 << 16) - 1)) << 0)\
3181 | ((D & ((1 << 5) - 1)) << 21))
3184 #define MPU_XORQ_IRR(S,N,D) (0x04000000 | ((S & ((1 << 16) - 1)) << 0)\
3185 | ((N & ((1 << 5) - 1)) << 16)\
3186 | ((D & ((1 << 5) - 1)) << 21))
3189 #define MPU_XORX_RIR_INSTR(S,N,D) (0xC0000089 | ((S & ((1 << 5) - 1)) << 16)\
3190 | ((D & ((1 << 5) - 1)) << 21))
3193 #define MPU_XORX_RIR_IMM(S,N,D) (N & 0xFFFFFFFF)
3195 #define MPU_XORX_IRR_INSTR(S,N,D) (0xC0000089 | ((N & ((1 << 5) - 1)) << 16)\
3196 | ((D & ((1 << 5) - 1)) << 21))
3199 #define MPU_XORX_IRR_IMM(S,N,D) (S & 0xFFFFFFFF)
3201 #define MPU_XORX_SIR_INSTR(S,N,D) (0xC0000289 | ((S & ((1 << 5) - 1)) << 16)\
3202 | ((D & ((1 << 5) - 1)) << 21))
3205 #define MPU_XORX_SIR_IMM(S,N,D) (N & 0xFFFFFFFF)
3207 #define MPU_XORX_ISR_INSTR(S,N,D) (0xC0000289 | ((N & ((1 << 5) - 1)) << 16)\
3208 | ((D & ((1 << 5) - 1)) << 21))
3211 #define MPU_XORX_ISR_IMM(S,N,D) (S & 0xFFFFFFFF)
3213 #define MPU_XORX_RIS_INSTR(S,N,D) (0xC0000489 | ((S & ((1 << 5) - 1)) << 16)\
3214 | ((D & ((1 << 5) - 1)) << 21))
3217 #define MPU_XORX_RIS_IMM(S,N,D) (N & 0xFFFFFFFF)
3219 #define MPU_XORX_IRS_INSTR(S,N,D) (0xC0000489 | ((N & ((1 << 5) - 1)) << 16)\
3220 | ((D & ((1 << 5) - 1)) << 21))
3223 #define MPU_XORX_IRS_IMM(S,N,D) (S & 0xFFFFFFFF)
3225 #define MPU_XORX_SIS_INSTR(S,N,D) (0xC0000689 | ((S & ((1 << 5) - 1)) << 16)\
3226 | ((D & ((1 << 5) - 1)) << 21))
3229 #define MPU_XORX_SIS_IMM(S,N,D) (N & 0xFFFFFFFF)
3231 #define MPU_XORX_ISS_INSTR(S,N,D) (0xC0000689 | ((N & ((1 << 5) - 1)) << 16)\
3232 | ((D & ((1 << 5) - 1)) << 21))
3235 #define MPU_XORX_ISS_IMM(S,N,D) (S & 0xFFFFFFFF)
3238 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_reg_space.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_reg_space.h
3239 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_reg_space.h 2007-01-10 20:10:37.000000000 +0100
3240 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_reg_space.h 2005-04-24 20:31:05.000000000 +0200
3242 /* Autogenerated Changes here will be lost!
3243 - * generated by ../gen_sw.pl Mon Apr 11 16:10:18 2005 iop_sw.cfg
3244 + * generated by ../gen_sw.pl Mon Apr 11 16:10:18 2005 iop_sw.cfg
3246 #define regi_iop_version (regi_iop + 0)
3247 #define regi_iop_fifo_in0_extra (regi_iop + 64)
3248 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_sap_in_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_sap_in_defs.h
3249 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_sap_in_defs.h 2007-01-10 20:10:37.000000000 +0100
3250 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_sap_in_defs.h 2005-04-24 20:31:05.000000000 +0200
3252 * file: ../../inst/io_proc/rtl/iop_sap_in.r
3254 * last modfied: Mon Apr 11 16:08:45 2005
3257 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_sap_in_defs.h ../../inst/io_proc/rtl/iop_sap_in.r
3258 * id: $Id: iop_sap_in_defs.h,v 1.5 2005/04/24 18:31:05 starvik Exp $
3259 * Any changes here will be lost.
3260 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_sap_out_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_sap_out_defs.h
3261 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_sap_out_defs.h 2007-01-10 20:10:37.000000000 +0100
3262 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_sap_out_defs.h 2005-04-24 20:31:05.000000000 +0200
3264 * file: ../../inst/io_proc/rtl/iop_sap_out.r
3266 * last modfied: Mon Apr 11 16:08:46 2005
3269 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_sap_out_defs.h ../../inst/io_proc/rtl/iop_sap_out.r
3270 * id: $Id: iop_sap_out_defs.h,v 1.5 2005/04/24 18:31:05 starvik Exp $
3271 * Any changes here will be lost.
3272 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_scrc_in_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_scrc_in_defs.h
3273 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_scrc_in_defs.h 2007-01-10 20:10:37.000000000 +0100
3274 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_scrc_in_defs.h 2005-04-24 20:31:05.000000000 +0200
3277 * This file is autogenerated from
3278 * file: ../../inst/io_proc/rtl/iop_scrc_in.r
3279 - * id: iop_scrc_in.r,v 1.10 2005/02/16 09:13:58 niklaspa Exp
3280 + * id: iop_scrc_in.r,v 1.10 2005/02/16 09:13:58 niklaspa Exp
3281 * last modfied: Mon Apr 11 16:08:46 2005
3284 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_scrc_in_defs.h ../../inst/io_proc/rtl/iop_scrc_in.r
3285 * id: $Id: iop_scrc_in_defs.h,v 1.4 2005/04/24 18:31:05 starvik Exp $
3286 * Any changes here will be lost.
3287 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_scrc_out_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_scrc_out_defs.h
3288 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_scrc_out_defs.h 2007-01-10 20:10:37.000000000 +0100
3289 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_scrc_out_defs.h 2005-04-24 20:31:05.000000000 +0200
3292 * This file is autogenerated from
3293 * file: ../../inst/io_proc/rtl/iop_scrc_out.r
3294 - * id: iop_scrc_out.r,v 1.11 2005/02/16 09:13:38 niklaspa Exp
3295 + * id: iop_scrc_out.r,v 1.11 2005/02/16 09:13:38 niklaspa Exp
3296 * last modfied: Mon Apr 11 16:08:46 2005
3299 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_scrc_out_defs.h ../../inst/io_proc/rtl/iop_scrc_out.r
3300 * id: $Id: iop_scrc_out_defs.h,v 1.4 2005/04/24 18:31:05 starvik Exp $
3301 * Any changes here will be lost.
3302 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_spu_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_spu_defs.h
3303 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_spu_defs.h 2007-01-10 20:10:37.000000000 +0100
3304 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_spu_defs.h 2005-04-24 20:31:05.000000000 +0200
3306 * file: ../../inst/io_proc/rtl/iop_spu.r
3308 * last modfied: Mon Apr 11 16:08:46 2005
3311 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_spu_defs.h ../../inst/io_proc/rtl/iop_spu.r
3312 * id: $Id: iop_spu_defs.h,v 1.5 2005/04/24 18:31:05 starvik Exp $
3313 * Any changes here will be lost.
3314 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_sw_cfg_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_sw_cfg_defs.h
3315 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_sw_cfg_defs.h 2007-01-10 20:10:37.000000000 +0100
3316 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_sw_cfg_defs.h 2005-04-24 20:31:05.000000000 +0200
3318 * file: ../../inst/io_proc/rtl/guinness/iop_sw_cfg.r
3320 * last modfied: Mon Apr 11 16:10:19 2005
3323 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_sw_cfg_defs.h ../../inst/io_proc/rtl/guinness/iop_sw_cfg.r
3324 * id: $Id: iop_sw_cfg_defs.h,v 1.4 2005/04/24 18:31:05 starvik Exp $
3325 * Any changes here will be lost.
3326 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h
3327 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h 2007-01-10 20:10:37.000000000 +0100
3328 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h 2005-04-24 20:31:05.000000000 +0200
3330 * file: ../../inst/io_proc/rtl/guinness/iop_sw_cpu.r
3332 * last modfied: Mon Apr 11 16:10:19 2005
3335 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_sw_cpu_defs.h ../../inst/io_proc/rtl/guinness/iop_sw_cpu.r
3336 * id: $Id: iop_sw_cpu_defs.h,v 1.4 2005/04/24 18:31:05 starvik Exp $
3337 * Any changes here will be lost.
3338 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h
3339 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h 2007-01-10 20:10:37.000000000 +0100
3340 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h 2005-04-24 20:31:05.000000000 +0200
3342 * file: ../../inst/io_proc/rtl/guinness/iop_sw_mpu.r
3344 * last modfied: Mon Apr 11 16:10:19 2005
3347 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_sw_mpu_defs.h ../../inst/io_proc/rtl/guinness/iop_sw_mpu.r
3348 * id: $Id: iop_sw_mpu_defs.h,v 1.4 2005/04/24 18:31:05 starvik Exp $
3349 * Any changes here will be lost.
3350 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h
3351 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h 2007-01-10 20:10:37.000000000 +0100
3352 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h 2005-04-24 20:31:05.000000000 +0200
3354 * file: ../../inst/io_proc/rtl/guinness/iop_sw_spu.r
3356 * last modfied: Mon Apr 11 16:10:19 2005
3359 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_sw_spu_defs.h ../../inst/io_proc/rtl/guinness/iop_sw_spu.r
3360 * id: $Id: iop_sw_spu_defs.h,v 1.4 2005/04/24 18:31:05 starvik Exp $
3361 * Any changes here will be lost.
3362 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_timer_grp_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_timer_grp_defs.h
3363 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_timer_grp_defs.h 2007-01-10 20:10:37.000000000 +0100
3364 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_timer_grp_defs.h 2005-04-24 20:31:05.000000000 +0200
3367 * This file is autogenerated from
3368 * file: ../../inst/io_proc/rtl/iop_timer_grp.r
3369 - * id: iop_timer_grp.r,v 1.29 2005/02/16 09:13:27 niklaspa Exp
3370 + * id: iop_timer_grp.r,v 1.29 2005/02/16 09:13:27 niklaspa Exp
3371 * last modfied: Mon Apr 11 16:08:46 2005
3374 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_timer_grp_defs.h ../../inst/io_proc/rtl/iop_timer_grp.r
3375 * id: $Id: iop_timer_grp_defs.h,v 1.5 2005/04/24 18:31:05 starvik Exp $
3376 * Any changes here will be lost.
3377 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_trigger_grp_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_trigger_grp_defs.h
3378 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_trigger_grp_defs.h 2007-01-10 20:10:37.000000000 +0100
3379 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_trigger_grp_defs.h 2005-04-24 20:31:05.000000000 +0200
3382 * This file is autogenerated from
3383 * file: ../../inst/io_proc/rtl/iop_trigger_grp.r
3384 - * id: iop_trigger_grp.r,v 0.20 2005/02/16 09:13:20 niklaspa Exp
3385 + * id: iop_trigger_grp.r,v 0.20 2005/02/16 09:13:20 niklaspa Exp
3386 * last modfied: Mon Apr 11 16:08:46 2005
3389 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_trigger_grp_defs.h ../../inst/io_proc/rtl/iop_trigger_grp.r
3390 * id: $Id: iop_trigger_grp_defs.h,v 1.5 2005/04/24 18:31:05 starvik Exp $
3391 * Any changes here will be lost.
3392 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_version_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_version_defs.h
3393 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/iop/iop_version_defs.h 2007-01-10 20:10:37.000000000 +0100
3394 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/iop/iop_version_defs.h 2005-04-24 20:31:05.000000000 +0200
3397 * This file is autogenerated from
3398 * file: ../../inst/io_proc/rtl/guinness/iop_version.r
3399 - * id: iop_version.r,v 1.3 2004/04/22 12:37:54 jonaso Exp
3400 + * id: iop_version.r,v 1.3 2004/04/22 12:37:54 jonaso Exp
3401 * last modfied: Mon Apr 11 16:08:44 2005
3404 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_version_defs.h ../../inst/io_proc/rtl/guinness/iop_version.r
3405 * id: $Id: iop_version_defs.h,v 1.4 2005/04/24 18:31:05 starvik Exp $
3406 * Any changes here will be lost.
3407 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/irq_nmi_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/irq_nmi_defs.h
3408 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/irq_nmi_defs.h 2007-01-10 20:10:37.000000000 +0100
3409 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/irq_nmi_defs.h 2005-04-24 20:30:58.000000000 +0200
3411 * file: ../../mod/irq_nmi.r
3413 * last modfied: Thu Jan 22 09:22:43 2004
3416 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile irq_nmi_defs.h ../../mod/irq_nmi.r
3417 * id: $Id: irq_nmi_defs.h,v 1.1 2005/04/24 18:30:58 starvik Exp $
3418 * Any changes here will be lost.
3419 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/marb_bp_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/marb_bp_defs.h
3420 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/marb_bp_defs.h 2007-01-10 20:10:37.000000000 +0100
3421 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/marb_bp_defs.h 2004-06-04 09:15:33.000000000 +0200
3423 * file: ../../inst/memarb/rtl/guinness/marb_top.r
3425 * last modfied: Fri Nov 7 15:36:04 2003
3428 * by /n/asic/projects/guinness/design/top/inst/rdesc/rdes2c ../../rtl/global.rmap ../../mod/modreg.rmap -base 0xb0000000 ../../inst/memarb/rtl/guinness/marb_top.r
3429 * id: $Id: marb_bp_defs.h,v 1.2 2004/06/04 07:15:33 starvik Exp $
3430 * Any changes here will be lost.
3431 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/marb_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/marb_defs.h
3432 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/marb_defs.h 2007-01-10 20:10:37.000000000 +0100
3433 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/marb_defs.h 2005-04-24 20:30:58.000000000 +0200
3435 * file: ../../inst/memarb/rtl/guinness/marb_top.r
3437 * last modfied: Mon Apr 11 16:12:16 2005
3440 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile marb_defs.h ../../inst/memarb/rtl/guinness/marb_top.r
3441 * id: $Id: marb_defs.h,v 1.3 2005/04/24 18:30:58 starvik Exp $
3442 * Any changes here will be lost.
3444 * file: ../../inst/memarb/rtl/guinness/marb_top.r
3446 * last modfied: Mon Apr 11 16:12:16 2005
3449 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile marb_defs.h ../../inst/memarb/rtl/guinness/marb_top.r
3450 * id: $Id: marb_defs.h,v 1.3 2005/04/24 18:30:58 starvik Exp $
3451 * Any changes here will be lost.
3452 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/pinmux_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/pinmux_defs.h
3453 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/pinmux_defs.h 2007-01-10 20:10:37.000000000 +0100
3454 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/pinmux_defs.h 2005-04-24 20:30:58.000000000 +0200
3457 * This file is autogenerated from
3458 * file: ../../inst/pinmux/rtl/guinness/pinmux_regs.r
3459 - * id: pinmux_regs.r,v 1.40 2005/02/09 16:22:59 perz Exp
3460 + * id: pinmux_regs.r,v 1.40 2005/02/09 16:22:59 perz Exp
3461 * last modfied: Mon Apr 11 16:09:11 2005
3464 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile pinmux_defs.h ../../inst/pinmux/rtl/guinness/pinmux_regs.r
3465 * id: $Id: pinmux_defs.h,v 1.3 2005/04/24 18:30:58 starvik Exp $
3466 * Any changes here will be lost.
3467 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/reg_map.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/reg_map.h
3468 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/reg_map.h 2007-01-10 20:10:37.000000000 +0100
3469 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/reg_map.h 2005-04-24 20:30:58.000000000 +0200
3472 * This file is autogenerated from
3473 * file: ../../mod/fakereg.rmap
3474 - * id: fakereg.rmap,v 1.3 2004/02/11 19:53:22 ronny Exp
3475 + * id: fakereg.rmap,v 1.3 2004/02/11 19:53:22 ronny Exp
3476 * last modified: Wed Feb 11 20:53:25 2004
3477 * file: ../../rtl/global.rmap
3478 - * id: global.rmap,v 1.3 2003/08/18 15:08:23 mikaeln Exp
3479 + * id: global.rmap,v 1.3 2003/08/18 15:08:23 mikaeln Exp
3480 * last modified: Mon Aug 18 17:08:23 2003
3481 * file: ../../mod/modreg.rmap
3482 - * id: modreg.rmap,v 1.31 2004/02/20 15:40:04 stefans Exp
3483 + * id: modreg.rmap,v 1.31 2004/02/20 15:40:04 stefans Exp
3484 * last modified: Fri Feb 20 16:40:04 2004
3487 * by /n/asic/design/tools/rdesc/src/rdes2c -map -base 0xb0000000 ../../rtl/global.rmap ../../mod/modreg.rmap ../../inst/io_proc/rtl/guinness/iop_top.r ../../inst/memarb/rtl/guinness/marb_top.r ../../mod/fakereg.rmap
3488 - * id: $Id: reg_map.h,v 1.7 2005/04/24 18:30:58 starvik Exp $
3489 + * id: $Id: reg_map.h,v 1.7 2005/04/24 18:30:58 starvik Exp $
3490 * Any changes here will be lost.
3492 * -*- buffer-read-only: t -*-
3493 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/rt_trace_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/rt_trace_defs.h
3494 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/rt_trace_defs.h 2007-01-10 20:10:37.000000000 +0100
3495 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/rt_trace_defs.h 2005-04-24 20:30:58.000000000 +0200
3498 * This file is autogenerated from
3499 * file: ../../inst/rt_trace/rtl/rt_regs.r
3500 - * id: rt_regs.r,v 1.18 2005/02/08 15:45:00 stefans Exp
3501 + * id: rt_regs.r,v 1.18 2005/02/08 15:45:00 stefans Exp
3502 * last modfied: Mon Apr 11 16:09:14 2005
3505 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile rt_trace_defs.h ../../inst/rt_trace/rtl/rt_regs.r
3506 * id: $Id: rt_trace_defs.h,v 1.1 2005/04/24 18:30:58 starvik Exp $
3507 * Any changes here will be lost.
3508 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/ser_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/ser_defs.h
3509 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/ser_defs.h 2007-01-10 20:10:37.000000000 +0100
3510 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/ser_defs.h 2005-04-24 20:30:58.000000000 +0200
3513 * This file is autogenerated from
3514 * file: ../../inst/ser/rtl/ser_regs.r
3515 - * id: ser_regs.r,v 1.23 2005/02/08 13:58:35 perz Exp
3516 + * id: ser_regs.r,v 1.23 2005/02/08 13:58:35 perz Exp
3517 * last modfied: Mon Apr 11 16:09:21 2005
3520 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile ser_defs.h ../../inst/ser/rtl/ser_regs.r
3521 * id: $Id: ser_defs.h,v 1.10 2005/04/24 18:30:58 starvik Exp $
3522 * Any changes here will be lost.
3523 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/sser_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/sser_defs.h
3524 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/sser_defs.h 2007-01-10 20:10:37.000000000 +0100
3525 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/sser_defs.h 2005-04-24 20:30:58.000000000 +0200
3528 * This file is autogenerated from
3529 * file: ../../inst/syncser/rtl/sser_regs.r
3530 - * id: sser_regs.r,v 1.24 2005/02/11 14:27:36 gunnard Exp
3531 + * id: sser_regs.r,v 1.24 2005/02/11 14:27:36 gunnard Exp
3532 * last modfied: Mon Apr 11 16:09:48 2005
3535 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile sser_defs.h ../../inst/syncser/rtl/sser_regs.r
3536 * id: $Id: sser_defs.h,v 1.3 2005/04/24 18:30:58 starvik Exp $
3537 * Any changes here will be lost.
3538 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/strcop.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/strcop.h
3539 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/strcop.h 2007-01-10 20:10:37.000000000 +0100
3540 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/strcop.h 2003-10-22 15:27:12.000000000 +0200
3547 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/strcop_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/strcop_defs.h
3548 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/strcop_defs.h 2007-01-10 20:10:37.000000000 +0100
3549 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/strcop_defs.h 2005-04-24 20:30:58.000000000 +0200
3552 * This file is autogenerated from
3553 * file: ../../inst/strcop/rtl/strcop_regs.r
3554 - * id: strcop_regs.r,v 1.5 2003/10/15 12:09:45 kriskn Exp
3555 + * id: strcop_regs.r,v 1.5 2003/10/15 12:09:45 kriskn Exp
3556 * last modfied: Mon Apr 11 16:09:38 2005
3559 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile strcop_defs.h ../../inst/strcop/rtl/strcop_regs.r
3560 * id: $Id: strcop_defs.h,v 1.7 2005/04/24 18:30:58 starvik Exp $
3561 * Any changes here will be lost.
3562 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/strmux_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/strmux_defs.h
3563 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/strmux_defs.h 2007-01-10 20:10:37.000000000 +0100
3564 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/strmux_defs.h 2005-04-24 20:30:58.000000000 +0200
3567 * This file is autogenerated from
3568 * file: ../../inst/strmux/rtl/guinness/strmux_regs.r
3569 - * id: strmux_regs.r,v 1.10 2005/02/10 10:10:46 perz Exp
3570 + * id: strmux_regs.r,v 1.10 2005/02/10 10:10:46 perz Exp
3571 * last modfied: Mon Apr 11 16:09:43 2005
3574 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile strmux_defs.h ../../inst/strmux/rtl/guinness/strmux_regs.r
3575 * id: $Id: strmux_defs.h,v 1.5 2005/04/24 18:30:58 starvik Exp $
3576 * Any changes here will be lost.
3577 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/supp_reg.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/supp_reg.h
3578 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/supp_reg.h 2007-01-10 20:10:37.000000000 +0100
3579 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/supp_reg.h 2004-12-17 11:23:03.000000000 +0100
3581 #define RW_MM_TLB_HI 6
3582 #define RW_MM_TLB_PGD 7
3590 SPEC_REG_WR(SPEC_REG_SRS,b); \
3596 #define SUPP_REG_WR(r,v) \
3597 __asm__ __volatile__ ("move %0, $S" STRINGIFYFY(r) "\n\t" \
3598 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/timer_defs.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/timer_defs.h
3599 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/hwregs/timer_defs.h 2007-01-10 20:10:37.000000000 +0100
3600 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/hwregs/timer_defs.h 2005-04-24 20:30:58.000000000 +0200
3603 * This file is autogenerated from
3604 * file: ../../inst/timer/rtl/timer_regs.r
3605 - * id: timer_regs.r,v 1.7 2003/03/11 11:16:59 perz Exp
3606 + * id: timer_regs.r,v 1.7 2003/03/11 11:16:59 perz Exp
3607 * last modfied: Mon Apr 11 16:09:53 2005
3610 * by /n/asic/design/tools/rdesc/src/rdes2c --outfile timer_defs.h ../../inst/timer/rtl/timer_regs.r
3611 * id: $Id: timer_defs.h,v 1.6 2005/04/24 18:30:58 starvik Exp $
3612 * Any changes here will be lost.
3613 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/ide.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/ide.h
3614 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/ide.h 2007-01-10 20:10:37.000000000 +0100
3615 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/ide.h 2005-08-23 11:44:37.000000000 +0200
3617 * together in a hwgroup, and will serialize accesses. this is good, because
3618 * we can't access more than one interface at the same time on ETRAX100.
3620 - return ATA_INTR_VECT;
3621 + return ATA_INTR_VECT;
3624 static inline unsigned long ide_default_io_base(int index)
3626 * so we can use the io_base to remember that bitfield.
3631 return REG_TYPE_CONV(unsigned long, reg_ata_rw_ctrl2, ctrl2);
3634 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/io.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/io.h
3635 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/io.h 2007-01-10 20:10:37.000000000 +0100
3636 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/io.h 2006-12-06 14:17:02.000000000 +0100
3638 #ifndef _ASM_ARCH_CRIS_IO_H
3639 #define _ASM_ARCH_CRIS_IO_H
3641 +#include <linux/spinlock.h>
3642 #include <asm/arch/hwregs/reg_map.h>
3643 #include <asm/arch/hwregs/reg_rdwr.h>
3644 #include <asm/arch/hwregs/gio_defs.h>
3647 struct crisv32_ioport
3649 - unsigned long* oe;
3650 - unsigned long* data;
3651 - unsigned long* data_in;
3652 + volatile unsigned long* oe;
3653 + volatile unsigned long* data;
3654 + volatile unsigned long* data_in;
3655 unsigned int pin_count;
3659 struct crisv32_iopin
3661 extern struct crisv32_iopin crisv32_led3_green;
3662 extern struct crisv32_iopin crisv32_led3_red;
3664 +extern struct crisv32_iopin crisv32_led_net0_green;
3665 +extern struct crisv32_iopin crisv32_led_net0_red;
3666 +extern struct crisv32_iopin crisv32_led_net1_green;
3667 +extern struct crisv32_iopin crisv32_led_net1_red;
3669 static inline void crisv32_io_set(struct crisv32_iopin* iopin,
3673 + spin_lock_irqsave(&iopin->port->lock, flags);
3676 *iopin->port->data |= iopin->bit;
3678 *iopin->port->data &= ~iopin->bit;
3680 + spin_unlock_irqrestore(&iopin->port->lock, flags);
3683 static inline void crisv32_io_set_dir(struct crisv32_iopin* iopin,
3684 enum crisv32_io_dir dir)
3687 + spin_lock_irqsave(&iopin->port->lock, flags);
3689 if (dir == crisv32_io_dir_in)
3690 *iopin->port->oe &= ~iopin->bit;
3692 *iopin->port->oe |= iopin->bit;
3694 + spin_unlock_irqrestore(&iopin->port->lock, flags);
3697 static inline int crisv32_io_rd(struct crisv32_iopin* iopin)
3699 int crisv32_io_get(struct crisv32_iopin* iopin,
3700 unsigned int port, unsigned int pin);
3701 int crisv32_io_get_name(struct crisv32_iopin* iopin,
3703 + const char* name);
3705 #define LED_OFF 0x00
3706 #define LED_GREEN 0x01
3707 #define LED_RED 0x02
3708 #define LED_ORANGE (LED_GREEN | LED_RED)
3710 -#define LED_NETWORK_SET(x) \
3712 - LED_NETWORK_SET_G((x) & LED_GREEN); \
3713 - LED_NETWORK_SET_R((x) & LED_RED); \
3714 +#if (defined(CONFIG_ETRAX_NBR_LED_GRP_ONE) || defined(CONFIG_ETRAX_NBR_LED_GRP_TWO))
3715 +#define LED_NETWORK_GRP0_SET(x) \
3717 + LED_NETWORK_GRP0_SET_G((x) & LED_GREEN); \
3718 + LED_NETWORK_GRP0_SET_R((x) & LED_RED); \
3721 +#define LED_NETWORK_GRP0_SET(x) while (0) {}
3724 +#define LED_NETWORK_GRP0_SET_G(x) \
3725 + crisv32_io_set(&crisv32_led_net0_green, !(x));
3727 +#define LED_NETWORK_GRP0_SET_R(x) \
3728 + crisv32_io_set(&crisv32_led_net0_red, !(x));
3730 +#if defined(CONFIG_ETRAX_NBR_LED_GRP_TWO)
3731 +#define LED_NETWORK_GRP1_SET(x) \
3733 + LED_NETWORK_GRP1_SET_G((x) & LED_GREEN); \
3734 + LED_NETWORK_GRP1_SET_R((x) & LED_RED); \
3737 +#define LED_NETWORK_GRP1_SET(x) while (0) {}
3740 +#define LED_NETWORK_GRP1_SET_G(x) \
3741 + crisv32_io_set(&crisv32_led_net1_green, !(x));
3743 +#define LED_NETWORK_GRP1_SET_R(x) \
3744 + crisv32_io_set(&crisv32_led_net1_red, !(x));
3746 #define LED_ACTIVE_SET(x) \
3748 LED_ACTIVE_SET_G((x) & LED_GREEN); \
3749 LED_ACTIVE_SET_R((x) & LED_RED); \
3752 -#define LED_NETWORK_SET_G(x) \
3753 - crisv32_io_set(&crisv32_led1_green, !(x));
3754 -#define LED_NETWORK_SET_R(x) \
3755 - crisv32_io_set(&crisv32_led1_red, !(x));
3756 #define LED_ACTIVE_SET_G(x) \
3757 crisv32_io_set(&crisv32_led2_green, !(x));
3758 #define LED_ACTIVE_SET_R(x) \
3759 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/irq.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/irq.h
3760 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/irq.h 2007-01-10 20:10:37.000000000 +0100
3761 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/irq.h 2006-10-13 14:45:18.000000000 +0200
3763 #define IRQ_NAME2(nr) nr##_interrupt(void)
3764 #define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr)
3768 * The reason for setting the S-bit when debugging the kernel is that we want
3769 * hardware breakpoints to remain active while we are in an exception handler.
3770 * Note that we cannot simply copy S1, since we may come here from user-space,
3772 "moveq 1, $r11\n\t" \
3773 "jump ret_from_intr\n\t" \
3777 * This is subtle. The timer interrupt is crucial and it should not be disabled
3778 * for too long. However, if it had been a normal interrupt as per BUILD_IRQ, it
3779 * would have been BLOCK'ed, and then softirq's are run before we return here to
3780 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/juliette.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/juliette.h
3781 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/juliette.h 2007-01-10 20:10:37.000000000 +0100
3782 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/juliette.h 2004-06-09 11:20:19.000000000 +0200
3784 #define PA_NULL 0x3fff /* CCD/VIDEO */
3803 @@ -192,14 +192,14 @@
3820 @@ -207,12 +207,12 @@
3822 } white_balance_type;
3844 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/mmu.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/mmu.h
3845 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/mmu.h 2007-01-10 20:10:37.000000000 +0100
3846 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/mmu.h 2004-11-23 19:36:19.000000000 +0100
3848 * +-----+------+--------+-------+--------+-------+---------+
3853 * Defines for accessing the bits. Also define some synonyms for use with
3854 * the software-based defined bits below.
3857 #define _PAGE_SILENT_READ (1 << 3) /* Same as above. */
3858 #define _PAGE_GLOBAL (1 << 4) /* Global page. */
3862 * The hardware doesn't care about these bits, but the kernel uses them in
3867 #define _KERNPG_TABLE (_PAGE_TABLE | _PAGE_KERNEL)
3869 -/* CRISv32 can do page protection for execute.
3870 +/* CRISv32 can do page protection for execute.
3871 * Write permissions imply read permissions.
3872 - * Note that the numbers are in Execute-Write-Read order!
3873 + * Note that the numbers are in Execute-Write-Read order!
3875 #define __P000 PAGE_NONE
3876 #define __P001 PAGE_READONLY
3877 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/offset.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/offset.h
3878 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/offset.h 2007-01-10 20:10:37.000000000 +0100
3879 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/offset.h 2005-08-29 09:36:28.000000000 +0200
3881 #define THREAD_usp 4 /* offsetof(struct thread_struct, usp) */
3882 #define THREAD_ccs 8 /* offsetof(struct thread_struct, ccs) */
3884 -#define TASK_pid 149 /* offsetof(struct task_struct, pid) */
3885 +#define TASK_pid 151 /* offsetof(struct task_struct, pid) */
3887 #define LCLONE_VM 256 /* CLONE_VM */
3888 #define LCLONE_UNTRACED 8388608 /* CLONE_UNTRACED */
3889 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/page.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/page.h
3890 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/page.h 2007-01-10 20:10:37.000000000 +0100
3891 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/page.h 2006-10-13 14:45:18.000000000 +0200
3893 * selected bit it's possible to convert between KSEG_x and 0x40000000 where the
3894 * DRAM really resides. DRAM is virtually at 0xc.
3896 -#ifndef CONFIG_ETRAXFS_SIM
3897 +#ifndef CONFIG_ETRAXFS_SIM
3898 #define __pa(x) ((unsigned long)(x) & 0x7fffffff)
3899 #define __va(x) ((void *)((unsigned long)(x) | 0x80000000))
3901 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/pinmux.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/pinmux.h
3902 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/pinmux.h 2007-01-10 20:10:37.000000000 +0100
3903 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/pinmux.h 2005-07-02 14:30:13.000000000 +0200
3905 #ifndef _ASM_CRIS_ARCH_PINMUX_H
3906 #define _ASM_CRIS_ARCH_PINMUX_H
3914 int crisv32_pinmux_alloc(int port, int first_pin, int last_pin, enum pin_mode);
3915 int crisv32_pinmux_alloc_fixed(enum fixed_function function);
3916 int crisv32_pinmux_dealloc(int port, int first_pin, int last_pin);
3917 +int crisv32_pinmux_dealloc_fixed(enum fixed_function function);
3918 void crisv32_pinmux_dump(void);
3921 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/processor.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/processor.h
3922 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/processor.h 2007-01-10 20:10:37.000000000 +0100
3923 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/processor.h 2006-10-13 14:45:18.000000000 +0200
3925 unsigned long ccs; /* Saved flags register. */
3930 * User-space process size. This is hardcoded into a few places, so don't
3931 * changed it unless everything's clear!
3933 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/ptrace.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/ptrace.h
3934 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/ptrace.h 2007-01-10 20:10:37.000000000 +0100
3935 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/ptrace.h 2004-10-21 13:51:21.000000000 +0200
3937 #define CCS_SHIFT 10 /* Shift count for each level in CCS */
3939 /* pt_regs not only specifices the format in the user-struct during
3940 - * ptrace but is also the frame format used in the kernel prologue/epilogues
3941 + * ptrace but is also the frame format used in the kernel prologue/epilogues
3945 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/spinlock.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/spinlock.h
3946 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/spinlock.h 2007-01-10 20:10:37.000000000 +0100
3947 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/spinlock.h 2007-01-09 10:31:32.000000000 +0100
3949 __asm__ volatile ("move.d %1,%0" \
3950 : "=m" (lock->lock) \
3956 static inline int _raw_spin_trylock(spinlock_t *lock)
3959 unsigned long flags;
3960 local_irq_save(flags);
3961 - _raw_spin_lock(&rw->lock);
3962 + _raw_spin_lock(&rw->lock);
3968 unsigned long flags;
3969 local_irq_save(flags);
3970 - _raw_spin_lock(&rw->lock);
3971 + _raw_spin_lock(&rw->lock);
3975 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/system.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/system.h
3976 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/system.h 2007-01-10 20:10:37.000000000 +0100
3977 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/system.h 2006-10-13 14:45:18.000000000 +0200
3979 #define xchg(ptr,x) \
3980 ((__typeof__(*(ptr)))__xchg((unsigned long) (x),(ptr),sizeof(*(ptr))))
3982 -#define tas(ptr) (xchg((ptr),1))
3983 +#define tas(ptr) (xchg((ptr),1))
3985 struct __xchg_dummy { unsigned long a[100]; };
3986 #define __xg(x) ((struct __xchg_dummy *)(x))
3987 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/timex.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/timex.h
3988 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/timex.h 2007-01-10 20:10:37.000000000 +0100
3989 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/timex.h 2005-08-23 11:44:37.000000000 +0200
3991 #include <asm/arch/hwregs/timer_defs.h>
3994 - * The clock runs at 100MHz, we divide it by 1000000. If you change anything
3995 - * here you must check time.c as well.
3996 + * The clock runs at 100MHz, we divide it by 1000000. If you change anything
3997 + * here you must check time.c as well.
4000 #define CLOCK_TICK_RATE 100000000 /* Underlying frequency of the HZ timer */
4001 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/tlb.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/tlb.h
4002 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/tlb.h 2007-01-10 20:10:37.000000000 +0100
4003 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/tlb.h 2003-07-02 11:29:45.000000000 +0200
4005 #define _CRIS_ARCH_TLB_H
4008 - * The TLB is a 64-entry cache. Each entry has a 8-bit page_id that is used
4009 - * to store the "process" it belongs to (=> fast mm context switch). The
4010 + * The TLB is a 64-entry cache. Each entry has a 8-bit page_id that is used
4011 + * to store the "process" it belongs to (=> fast mm context switch). The
4012 * last page_id is never used so we can make TLB entries that never matches.
4014 #define NUM_TLB_ENTRIES 64
4015 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/uaccess.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/uaccess.h
4016 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/uaccess.h 2007-01-10 20:10:37.000000000 +0100
4017 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/uaccess.h 2006-01-04 07:13:04.000000000 +0100
4021 * Authors: Hans-Peter Nilsson (hp@axis.com)
4024 diff -urN linux-2.6.19.2.old/include/asm-cris/arch-v32/unistd.h linux-2.6.19.2.dev/include/asm-cris/arch-v32/unistd.h
4025 --- linux-2.6.19.2.old/include/asm-cris/arch-v32/unistd.h 2007-01-10 20:10:37.000000000 +0100
4026 +++ linux-2.6.19.2.dev/include/asm-cris/arch-v32/unistd.h 2005-10-31 09:50:44.000000000 +0100
4035 return (type) __a; \
4041 - : "r" (__n_), "0" (__a)); \
4042 + : "r" (__n_), "0" (__a) \
4045 return (type) __a; \
4051 - : "r" (__n_), "0" (__a), "r" (__b)); \
4052 + : "r" (__n_), "0" (__a), "r" (__b) \
4055 return (type) __a; \
4061 - : "r" (__n_), "0" (__a), "r" (__b), "r" (__c)); \
4062 + : "r" (__n_), "0" (__a), "r" (__b), "r" (__c) \
4065 return (type) __a; \
4070 : "r" (__n_), "0" (__a), "r" (__b), \
4071 - "r" (__c), "r" (__d)); \
4072 + "r" (__c), "r" (__d)\
4075 return (type) __a; \
4081 #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
4086 : "r" (__n_), "0" (__a), "r" (__b), \
4087 - "r" (__c), "r" (__d), "h" (__e)); \
4088 + "r" (__c), "r" (__d), "h" (__e) \
4091 return (type) __a; \
4096 : "r" (__n_), "0" (__a), "r" (__b), \
4097 - "r" (__c), "r" (__d), "h" (__e), "x" (__f)); \
4098 + "r" (__c), "r" (__d), "h" (__e), "x" (__f) \
4101 return (type) __a; \
4103 diff -urN linux-2.6.19.2.old/include/asm-cris/atomic.h linux-2.6.19.2.dev/include/asm-cris/atomic.h
4104 --- linux-2.6.19.2.old/include/asm-cris/atomic.h 2007-01-10 20:10:37.000000000 +0100
4105 +++ linux-2.6.19.2.dev/include/asm-cris/atomic.h 2006-07-03 15:11:43.000000000 +0200
4108 #include <asm/system.h>
4109 #include <asm/arch/atomic.h>
4110 +#include <linux/compiler.h>
4113 * Atomic operations that C can't guarantee us. Useful for
4115 unsigned long flags;
4117 cris_atomic_save(v, flags);
4118 - retval = (v->counter)++;
4119 + retval = ++(v->counter);
4120 cris_atomic_restore(v, flags);
4124 unsigned long flags;
4126 cris_atomic_save(v, flags);
4127 - retval = (v->counter)--;
4128 + retval = --(v->counter);
4129 cris_atomic_restore(v, flags);
4132 diff -urN linux-2.6.19.2.old/include/asm-cris/axisflashmap.h linux-2.6.19.2.dev/include/asm-cris/axisflashmap.h
4133 --- linux-2.6.19.2.old/include/asm-cris/axisflashmap.h 2007-01-10 20:10:37.000000000 +0100
4134 +++ linux-2.6.19.2.dev/include/asm-cris/axisflashmap.h 2006-09-07 14:24:25.000000000 +0200
4136 /* The partitiontable_head is located at offset +10: */
4137 struct partitiontable_head {
4138 __u16 magic; /* PARTITION_TABLE_MAGIC */
4139 - __u16 size; /* Length of ptable block (not header) */
4140 - __u32 checksum; /* simple longword sum */
4141 + __u16 size; /* Length of ptable block (entries + end marker) */
4142 + __u32 checksum; /* simple longword sum, over entries + end marker */
4145 /* And followed by partition table entries */
4146 struct partitiontable_entry {
4147 - __u32 offset; /* Offset is relative to the sector the ptable is in */
4149 + __u32 offset; /* relative to the sector the ptable is in */
4150 + __u32 size; /* in bytes */
4151 __u32 checksum; /* simple longword sum */
4153 - __u16 flags; /* bit 0: ro/rw = 1/0 */
4154 - __u32 future0; /* 16 bytes reserved for future use */
4155 + __u16 type; /* see type codes below */
4156 + __u16 flags; /* bit 0: ro/rw = 1/0 */
4157 + __u32 future0; /* 16 bytes reserved for future use */
4162 #define PARTITIONTABLE_END_MARKER 0xFFFFFFFF
4163 #define PARTITIONTABLE_END_MARKER_SIZE 4
4165 -/*#define PARTITION_TYPE_RESCUE 0x0000?*/ /* Not used, maybe it should? */
4166 +#define PARTITIONTABLE_END_PAD 10
4168 +/* Complete structure for whole partition table */
4169 +/* note that table may end before CONFIG_ETRAX_PTABLE_ENTRIES by setting
4170 + * offset of the last entry + 1 to PARTITIONTABLE_END_MARKER.
4172 +struct partitiontable {
4173 + __u8 skip[PARTITION_TABLE_OFFSET];
4174 + struct partitiontable_head head;
4175 + struct partitiontable_entry entries[];
4178 #define PARTITION_TYPE_PARAM 0x0001
4179 #define PARTITION_TYPE_KERNEL 0x0002
4180 #define PARTITION_TYPE_JFFS 0x0003
4181 +#define PARTITION_TYPE_JFFS2 0x0000
4183 +#define PARTITION_FLAGS_READONLY_MASK 0x0001
4184 +#define PARTITION_FLAGS_READONLY 0x0001
4186 /* The master mtd for the entire flash. */
4187 extern struct mtd_info* axisflash_mtd;
4188 diff -urN linux-2.6.19.2.old/include/asm-cris/bitops.h linux-2.6.19.2.dev/include/asm-cris/bitops.h
4189 --- linux-2.6.19.2.old/include/asm-cris/bitops.h 2007-01-10 20:10:37.000000000 +0100
4190 +++ linux-2.6.19.2.dev/include/asm-cris/bitops.h 2007-01-09 10:31:32.000000000 +0100
4192 #include <asm-generic/bitops/hweight.h>
4193 #include <asm-generic/bitops/find.h>
4195 -#include <asm-generic/bitops/ext2-non-atomic.h>
4196 +//#include <asm-generic/bitops/ext2-non-atomic.h>
4198 #define ext2_set_bit_atomic(l,n,a) test_and_set_bit(n,a)
4199 #define ext2_clear_bit_atomic(l,n,a) test_and_clear_bit(n,a)
4200 diff -urN linux-2.6.19.2.old/include/asm-cris/bug.h linux-2.6.19.2.dev/include/asm-cris/bug.h
4201 --- linux-2.6.19.2.old/include/asm-cris/bug.h 2007-01-10 20:10:37.000000000 +0100
4202 +++ linux-2.6.19.2.dev/include/asm-cris/bug.h 2006-06-21 10:29:15.000000000 +0200
4206 -#include <asm-generic/bug.h>
4207 +#include <asm/arch/bug.h>
4209 diff -urN linux-2.6.19.2.old/include/asm-cris/delay.h linux-2.6.19.2.dev/include/asm-cris/delay.h
4210 --- linux-2.6.19.2.old/include/asm-cris/delay.h 2007-01-10 20:10:37.000000000 +0100
4211 +++ linux-2.6.19.2.dev/include/asm-cris/delay.h 2006-10-11 19:46:19.000000000 +0200
4214 extern unsigned long loops_per_usec; /* arch/cris/mm/init.c */
4216 +/* May be defined by arch/delay.h. */
4218 static inline void udelay(unsigned long usecs)
4220 __delay(usecs * loops_per_usec);
4224 #endif /* defined(_CRIS_DELAY_H) */
4226 diff -urN linux-2.6.19.2.old/include/asm-cris/ethernet.h linux-2.6.19.2.dev/include/asm-cris/ethernet.h
4227 --- linux-2.6.19.2.old/include/asm-cris/ethernet.h 2007-01-10 20:10:37.000000000 +0100
4228 +++ linux-2.6.19.2.dev/include/asm-cris/ethernet.h 2006-07-06 07:58:52.000000000 +0200
4230 #define SET_ETH_DUPLEX_AUTO SIOCDEVPRIVATE+3 /* Auto neg duplex */
4231 #define SET_ETH_DUPLEX_HALF SIOCDEVPRIVATE+4 /* Full duplex */
4232 #define SET_ETH_DUPLEX_FULL SIOCDEVPRIVATE+5 /* Half duplex */
4233 +#define SET_ETH_ENABLE_LEDS SIOCDEVPRIVATE+6 /* Enable net LEDs */
4234 +#define SET_ETH_DISABLE_LEDS SIOCDEVPRIVATE+7 /* Disable net LEDs */
4235 +#define SET_ETH_AUTONEG SIOCDEVPRIVATE+8
4236 #endif /* _CRIS_ETHERNET_H */
4237 diff -urN linux-2.6.19.2.old/include/asm-cris/etraxgpio.h linux-2.6.19.2.dev/include/asm-cris/etraxgpio.h
4238 --- linux-2.6.19.2.old/include/asm-cris/etraxgpio.h 2007-01-10 20:10:37.000000000 +0100
4239 +++ linux-2.6.19.2.dev/include/asm-cris/etraxgpio.h 2007-01-09 10:31:32.000000000 +0100
4241 * For ETRAX FS (ARCH_V32):
4242 * /dev/gpioa minor 0, 8 bit GPIO, each bit can change direction
4243 * /dev/gpiob minor 1, 18 bit GPIO, each bit can change direction
4244 - * /dev/gpioc minor 2, 18 bit GPIO, each bit can change direction
4245 - * /dev/gpiod minor 3, 18 bit GPIO, each bit can change direction
4246 - * /dev/gpioe minor 4, 18 bit GPIO, each bit can change direction
4247 - * /dev/leds minor 5, Access to leds depending on kernelconfig
4248 + * /dev/gpioc minor 3, 18 bit GPIO, each bit can change direction
4249 + * /dev/gpiod minor 4, 18 bit GPIO, each bit can change direction
4250 + * /dev/gpioe minor 5, 18 bit GPIO, each bit can change direction
4251 + * /dev/leds minor 2, Access to leds depending on kernelconfig
4254 #ifndef _ASM_ETRAXGPIO_H
4255 #define _ASM_ETRAXGPIO_H
4258 +#include <linux/autoconf.h>
4261 /* etraxgpio _IOC_TYPE, bits 8 to 15 in ioctl cmd */
4262 #ifdef CONFIG_ETRAX_ARCH_V10
4263 #define ETRAXGPIO_IOCTYPE 43
4265 #define GPIO_MINOR_C 3
4266 #define GPIO_MINOR_D 4
4267 #define GPIO_MINOR_E 5
4268 +#ifdef CONFIG_ETRAX_VIRTUAL_GPIO
4269 +#define GPIO_MINOR_V 6
4270 +#define GPIO_MINOR_LAST 6
4272 #define GPIO_MINOR_LAST 5
4276 /* supported ioctl _IOC_NR's */
4278 diff -urN linux-2.6.19.2.old/include/asm-cris/fasttimer.h linux-2.6.19.2.dev/include/asm-cris/fasttimer.h
4279 --- linux-2.6.19.2.old/include/asm-cris/fasttimer.h 2007-01-10 20:10:37.000000000 +0100
4280 +++ linux-2.6.19.2.dev/include/asm-cris/fasttimer.h 2006-12-11 12:22:38.000000000 +0100
4282 -/* $Id: fasttimer.h,v 1.3 2004/05/14 10:19:19 starvik Exp $
4284 * linux/include/asm-cris/fasttimer.h
4286 * Fast timers for ETRAX100LX
4287 * This may be useful in other OS than Linux so use 2 space indentation...
4288 - * Copyright (C) 2000, 2002 Axis Communications AB
4289 + * Copyright (C) 2000-2006 Axis Communications AB
4291 #include <linux/time.h> /* struct timeval */
4292 #include <linux/timex.h>
4295 typedef void fast_timer_function_type(unsigned long);
4297 +struct fasttime_t {
4298 + unsigned long tv_jiff; /* jiffies */
4299 + unsigned long tv_usec; /* microseconds */
4302 struct fast_timer{ /* Close to timer_list */
4303 struct fast_timer *next;
4304 struct fast_timer *prev;
4305 - struct timeval tv_set;
4306 - struct timeval tv_expires;
4307 + struct fasttime_t tv_set;
4308 + struct fasttime_t tv_expires;
4309 unsigned long delay_us;
4310 fast_timer_function_type *function;
4313 void schedule_usleep(unsigned long us);
4316 -void fast_timer_init(void);
4317 +int fast_timer_init(void);
4320 diff -urN linux-2.6.19.2.old/include/asm-cris/hardirq.h linux-2.6.19.2.dev/include/asm-cris/hardirq.h
4321 --- linux-2.6.19.2.old/include/asm-cris/hardirq.h 2007-01-10 20:10:37.000000000 +0100
4322 +++ linux-2.6.19.2.dev/include/asm-cris/hardirq.h 2005-10-31 09:50:43.000000000 +0100
4324 #ifndef __ASM_HARDIRQ_H
4325 #define __ASM_HARDIRQ_H
4327 +#include <asm/irq.h>
4328 #include <linux/threads.h>
4329 #include <linux/cache.h>
4331 diff -urN linux-2.6.19.2.old/include/asm-cris/io.h linux-2.6.19.2.dev/include/asm-cris/io.h
4332 --- linux-2.6.19.2.old/include/asm-cris/io.h 2007-01-10 20:10:37.000000000 +0100
4333 +++ linux-2.6.19.2.dev/include/asm-cris/io.h 2006-01-04 07:13:03.000000000 +0100
4336 #define eth_io_copy_and_sum(a,b,c,d) eth_copy_and_sum((a),(void __force *)(b),(c),(d))
4338 -/* The following is junk needed for the arch-independent code but which
4339 - * we never use in the CRIS port
4340 +/* I/O port access. Normally there is no I/O space on CRIS but when Cardbus/PCI
4341 + * is enable the request is passed through the bridge.
4344 #define IO_SPACE_LIMIT 0xffff
4345 diff -urN linux-2.6.19.2.old/include/asm-cris/irq_regs.h linux-2.6.19.2.dev/include/asm-cris/irq_regs.h
4346 --- linux-2.6.19.2.old/include/asm-cris/irq_regs.h 1970-01-01 01:00:00.000000000 +0100
4347 +++ linux-2.6.19.2.dev/include/asm-cris/irq_regs.h 2007-01-09 10:31:32.000000000 +0100
4349 +#include <asm-generic/irq_regs.h>
4350 diff -urN linux-2.6.19.2.old/include/asm-cris/pgtable.h linux-2.6.19.2.dev/include/asm-cris/pgtable.h
4351 --- linux-2.6.19.2.old/include/asm-cris/pgtable.h 2007-01-10 20:10:37.000000000 +0100
4352 +++ linux-2.6.19.2.dev/include/asm-cris/pgtable.h 2007-01-12 15:41:37.000000000 +0100
4354 #define pte_unmap(pte) do { } while (0)
4355 #define pte_unmap_nested(pte) do { } while (0)
4356 #define pte_pfn(x) ((unsigned long)(__va((x).pte)) >> PAGE_SHIFT)
4357 -#define pfn_pte(pfn, prot) __pte((__pa((pfn) << PAGE_SHIFT)) | pgprot_val(prot))
4358 +#define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
4360 #define pte_ERROR(e) \
4361 printk("%s:%d: bad pte %p(%08lx).\n", __FILE__, __LINE__, &(e), pte_val(e))
4362 diff -urN linux-2.6.19.2.old/include/asm-cris/semaphore-helper.h linux-2.6.19.2.dev/include/asm-cris/semaphore-helper.h
4363 --- linux-2.6.19.2.old/include/asm-cris/semaphore-helper.h 2007-01-10 20:10:37.000000000 +0100
4364 +++ linux-2.6.19.2.dev/include/asm-cris/semaphore-helper.h 2005-08-23 11:44:35.000000000 +0200
4367 * These two _must_ execute atomically wrt each other.
4369 -extern inline void wake_one_more(struct semaphore * sem)
4370 +static inline void wake_one_more(struct semaphore * sem)
4372 atomic_inc(&sem->waking);
4375 -extern inline int waking_non_zero(struct semaphore *sem)
4376 +static inline int waking_non_zero(struct semaphore *sem)
4378 unsigned long flags;
4384 -extern inline int waking_non_zero_interruptible(struct semaphore *sem,
4385 +static inline int waking_non_zero_interruptible(struct semaphore *sem,
4386 struct task_struct *tsk)
4393 -extern inline int waking_non_zero_trylock(struct semaphore *sem)
4394 +static inline int waking_non_zero_trylock(struct semaphore *sem)
4397 unsigned long flags;
4398 diff -urN linux-2.6.19.2.old/include/asm-cris/semaphore.h linux-2.6.19.2.dev/include/asm-cris/semaphore.h
4399 --- linux-2.6.19.2.old/include/asm-cris/semaphore.h 2007-01-10 20:10:37.000000000 +0100
4400 +++ linux-2.6.19.2.dev/include/asm-cris/semaphore.h 2006-01-04 07:13:03.000000000 +0100
4406 extern void __down(struct semaphore * sem);
4407 extern int __down_interruptible(struct semaphore * sem);
4408 extern int __down_trylock(struct semaphore * sem);
4409 diff -urN linux-2.6.19.2.old/include/asm-cris/smp.h linux-2.6.19.2.dev/include/asm-cris/smp.h
4410 --- linux-2.6.19.2.old/include/asm-cris/smp.h 2007-01-10 20:10:37.000000000 +0100
4411 +++ linux-2.6.19.2.dev/include/asm-cris/smp.h 2005-10-31 09:50:43.000000000 +0100
4413 #include <linux/cpumask.h>
4415 extern cpumask_t phys_cpu_present_map;
4416 -#define cpu_possible_map phys_cpu_present_map
4417 +extern cpumask_t cpu_possible_map;
4419 #define __smp_processor_id() (current_thread_info()->cpu)
4421 diff -urN linux-2.6.19.2.old/include/asm-cris/sync_serial.h linux-2.6.19.2.dev/include/asm-cris/sync_serial.h
4422 --- linux-2.6.19.2.old/include/asm-cris/sync_serial.h 2007-01-10 20:10:37.000000000 +0100
4423 +++ linux-2.6.19.2.dev/include/asm-cris/sync_serial.h 2005-11-10 15:43:16.000000000 +0100
4427 * ioctl defines for synchronous serial port driver
4429 * Copyright (c) 2001-2003 Axis Communications AB
4431 - * Author: Mikael Starvik
4433 + * Author: Mikael Starvik
4447 /* Values for SSP_FRAME_SYNC */
4448 #define NORMAL_SYNC 1
4449 #define EARLY_SYNC 2
4450 +#define SECOND_WORD_SYNC 0x40000
4455 #define CLOCK_GATED 0x10000
4456 #define CLOCK_NOT_GATED 0x20000
4460 /* Values for SSP_IPOLARITY and SSP_OPOLARITY */
4461 #define CLOCK_NORMAL 1
4462 #define CLOCK_INVERT 2
4463 diff -urN linux-2.6.19.2.old/include/asm-cris/thread_info.h linux-2.6.19.2.dev/include/asm-cris/thread_info.h
4464 --- linux-2.6.19.2.old/include/asm-cris/thread_info.h 2007-01-10 20:10:37.000000000 +0100
4465 +++ linux-2.6.19.2.dev/include/asm-cris/thread_info.h 2006-03-22 11:01:27.000000000 +0100
4467 unsigned long flags; /* low level flags */
4468 __u32 cpu; /* current CPU */
4469 int preempt_count; /* 0 => preemptable, <0 => BUG */
4470 + __u32 tls; /* TLS for this thread */
4472 mm_segment_t addr_limit; /* thread address space:
4473 0-0xBFFFFFFF for user-thead
4475 #define TIF_NOTIFY_RESUME 1 /* resumption notification requested */
4476 #define TIF_SIGPENDING 2 /* signal pending */
4477 #define TIF_NEED_RESCHED 3 /* rescheduling necessary */
4478 +#define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */
4479 #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */
4480 #define TIF_MEMDIE 17
4483 #define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
4484 #define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
4485 #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
4486 +#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)
4487 #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
4489 #define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */
4490 diff -urN linux-2.6.19.2.old/include/asm-cris/unistd.h linux-2.6.19.2.dev/include/asm-cris/unistd.h
4491 --- linux-2.6.19.2.old/include/asm-cris/unistd.h 2007-01-10 20:10:37.000000000 +0100
4492 +++ linux-2.6.19.2.dev/include/asm-cris/unistd.h 2007-01-09 10:31:32.000000000 +0100
4494 #define __NR_io_submit 248
4495 #define __NR_io_cancel 249
4496 #define __NR_fadvise64 250
4497 +/* 251 is available for reuse (was briefly sys_set_zone_reclaim) */
4498 #define __NR_exit_group 252
4499 #define __NR_lookup_dcookie 253
4500 #define __NR_epoll_create 254
4501 @@ -292,10 +293,41 @@
4502 #define __NR_add_key 286
4503 #define __NR_request_key 287
4504 #define __NR_keyctl 288
4505 +#define __NR_ioprio_set 289
4506 +#define __NR_ioprio_get 290
4507 +#define __NR_inotify_init 291
4508 +#define __NR_inotify_add_watch 292
4509 +#define __NR_inotify_rm_watch 293
4510 +#define __NR_migrate_pages 294
4511 +#define __NR_openat 295
4512 +#define __NR_mkdirat 296
4513 +#define __NR_mknodat 297
4514 +#define __NR_fchownat 298
4515 +#define __NR_futimesat 299
4516 +#define __NR_fstatat64 300
4517 +#define __NR_unlinkat 301
4518 +#define __NR_renameat 302
4519 +#define __NR_linkat 303
4520 +#define __NR_symlinkat 304
4521 +#define __NR_readlinkat 305
4522 +#define __NR_fchmodat 306
4523 +#define __NR_faccessat 307
4524 +#define __NR_pselect6 308
4525 +#define __NR_ppoll 309
4526 +#define __NR_unshare 310
4527 +#define __NR_set_robust_list 311
4528 +#define __NR_get_robust_list 312
4529 +#define __NR_splice 313
4530 +#define __NR_sync_file_range 314
4531 +#define __NR_tee 315
4532 +#define __NR_vmsplice 316
4533 +#define __NR_move_pages 317
4534 +#define __NR_getcpu 318
4535 +#define __NR_epoll_pwait 319
4539 -#define NR_syscalls 289
4540 +#define NR_syscalls 320
4542 #include <asm/arch/unistd.h>
4545 #define __ARCH_WANT_SYS_SIGPENDING
4546 #define __ARCH_WANT_SYS_SIGPROCMASK
4547 #define __ARCH_WANT_SYS_RT_SIGACTION
4548 +#define __ARCH_WANT_SYS_RT_SIGSUSPEND
4551 * "Conditional" syscalls