diff options
author | David Vrabel <david.vrabel@csr.com> | 2008-11-19 09:48:07 -0500 |
---|---|---|
committer | David Vrabel <david.vrabel@csr.com> | 2008-11-19 09:48:07 -0500 |
commit | dba0a918722ee0f0ba3442575e4448c3ab622be4 (patch) | |
tree | fdb466cf09e7916135098d651b18924b2fe9ba5f /include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_version_defs.h | |
parent | 0996e6382482ce9014787693d3884e9468153a5c (diff) | |
parent | 7f0f598a0069d1ab072375965a4b69137233169c (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into for-upstream
Diffstat (limited to 'include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_version_defs.h')
-rw-r--r-- | include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_version_defs.h | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_version_defs.h b/include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_version_defs.h deleted file mode 100644 index 20de425e652..00000000000 --- a/include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_version_defs.h +++ /dev/null | |||
@@ -1,96 +0,0 @@ | |||
1 | #ifndef __iop_version_defs_h | ||
2 | #define __iop_version_defs_h | ||
3 | |||
4 | /* | ||
5 | * This file is autogenerated from | ||
6 | * file: iop_version.r | ||
7 | * | ||
8 | * by ../../../tools/rdesc/bin/rdes2c -outfile iop_version_defs.h iop_version.r | ||
9 | * Any changes here will be lost. | ||
10 | * | ||
11 | * -*- buffer-read-only: t -*- | ||
12 | */ | ||
13 | /* Main access macros */ | ||
14 | #ifndef REG_RD | ||
15 | #define REG_RD( scope, inst, reg ) \ | ||
16 | REG_READ( reg_##scope##_##reg, \ | ||
17 | (inst) + REG_RD_ADDR_##scope##_##reg ) | ||
18 | #endif | ||
19 | |||
20 | #ifndef REG_WR | ||
21 | #define REG_WR( scope, inst, reg, val ) \ | ||
22 | REG_WRITE( reg_##scope##_##reg, \ | ||
23 | (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) | ||
24 | #endif | ||
25 | |||
26 | #ifndef REG_RD_VECT | ||
27 | #define REG_RD_VECT( scope, inst, reg, index ) \ | ||
28 | REG_READ( reg_##scope##_##reg, \ | ||
29 | (inst) + REG_RD_ADDR_##scope##_##reg + \ | ||
30 | (index) * STRIDE_##scope##_##reg ) | ||
31 | #endif | ||
32 | |||
33 | #ifndef REG_WR_VECT | ||
34 | #define REG_WR_VECT( scope, inst, reg, index, val ) \ | ||
35 | REG_WRITE( reg_##scope##_##reg, \ | ||
36 | (inst) + REG_WR_ADDR_##scope##_##reg + \ | ||
37 | (index) * STRIDE_##scope##_##reg, (val) ) | ||
38 | #endif | ||
39 | |||
40 | #ifndef REG_RD_INT | ||
41 | #define REG_RD_INT( scope, inst, reg ) \ | ||
42 | REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg ) | ||
43 | #endif | ||
44 | |||
45 | #ifndef REG_WR_INT | ||
46 | #define REG_WR_INT( scope, inst, reg, val ) \ | ||
47 | REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) | ||
48 | #endif | ||
49 | |||
50 | #ifndef REG_RD_INT_VECT | ||
51 | #define REG_RD_INT_VECT( scope, inst, reg, index ) \ | ||
52 | REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg + \ | ||
53 | (index) * STRIDE_##scope##_##reg ) | ||
54 | #endif | ||
55 | |||
56 | #ifndef REG_WR_INT_VECT | ||
57 | #define REG_WR_INT_VECT( scope, inst, reg, index, val ) \ | ||
58 | REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg + \ | ||
59 | (index) * STRIDE_##scope##_##reg, (val) ) | ||
60 | #endif | ||
61 | |||
62 | #ifndef REG_TYPE_CONV | ||
63 | #define REG_TYPE_CONV( type, orgtype, val ) \ | ||
64 | ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) | ||
65 | #endif | ||
66 | |||
67 | #ifndef reg_page_size | ||
68 | #define reg_page_size 8192 | ||
69 | #endif | ||
70 | |||
71 | #ifndef REG_ADDR | ||
72 | #define REG_ADDR( scope, inst, reg ) \ | ||
73 | ( (inst) + REG_RD_ADDR_##scope##_##reg ) | ||
74 | #endif | ||
75 | |||
76 | #ifndef REG_ADDR_VECT | ||
77 | #define REG_ADDR_VECT( scope, inst, reg, index ) \ | ||
78 | ( (inst) + REG_RD_ADDR_##scope##_##reg + \ | ||
79 | (index) * STRIDE_##scope##_##reg ) | ||
80 | #endif | ||
81 | |||
82 | /* C-code for register scope iop_version */ | ||
83 | |||
84 | /* Register r_version, scope iop_version, type r */ | ||
85 | typedef struct { | ||
86 | unsigned int nr : 8; | ||
87 | unsigned int dummy1 : 24; | ||
88 | } reg_iop_version_r_version; | ||
89 | #define REG_RD_ADDR_iop_version_r_version 0 | ||
90 | |||
91 | |||
92 | /* Constants */ | ||
93 | enum { | ||
94 | regk_iop_version_v2_0 = 0x00000002 | ||
95 | }; | ||
96 | #endif /* __iop_version_defs_h */ | ||