diff options
author | Maciej S. Szmigiero <mail@maciej.szmigiero.name> | 2016-03-12 18:18:06 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-14 15:51:29 -0400 |
commit | 464be1e0be687ffbad64014099f7d0c1a5f3723e (patch) | |
tree | 488ef5405c1413a38624fdc46d981b6381ffb7f7 | |
parent | 4fa8c3cc70b2a0aa090bce174c6f2ac148453690 (diff) |
mISDN: Order IPAC register defines
It looks like IPAC/ISAC chips register defines weren't in any particular
order.
Order them by their number to make it easier to spot holes.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Acked-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/isdn/hardware/mISDN/ipac.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/drivers/isdn/hardware/mISDN/ipac.h b/drivers/isdn/hardware/mISDN/ipac.h index 8121e046b739..76aa6f8f298e 100644 --- a/drivers/isdn/hardware/mISDN/ipac.h +++ b/drivers/isdn/hardware/mISDN/ipac.h | |||
@@ -99,32 +99,32 @@ struct ipac_hw { | |||
99 | 99 | ||
100 | /* All registers original Siemens Spec */ | 100 | /* All registers original Siemens Spec */ |
101 | /* IPAC/ISAC registers */ | 101 | /* IPAC/ISAC registers */ |
102 | #define ISAC_MASK 0x20 | ||
103 | #define ISAC_ISTA 0x20 | 102 | #define ISAC_ISTA 0x20 |
104 | #define ISAC_STAR 0x21 | 103 | #define ISAC_MASK 0x20 |
105 | #define ISAC_CMDR 0x21 | 104 | #define ISAC_CMDR 0x21 |
105 | #define ISAC_STAR 0x21 | ||
106 | #define ISAC_MODE 0x22 | ||
107 | #define ISAC_TIMR 0x23 | ||
106 | #define ISAC_EXIR 0x24 | 108 | #define ISAC_EXIR 0x24 |
107 | #define ISAC_ADF2 0x39 | 109 | #define ISAC_RBCL 0x25 |
110 | #define ISAC_RSTA 0x27 | ||
111 | #define ISAC_RBCH 0x2A | ||
108 | #define ISAC_SPCR 0x30 | 112 | #define ISAC_SPCR 0x30 |
109 | #define ISAC_ADF1 0x38 | ||
110 | #define ISAC_CIR0 0x31 | 113 | #define ISAC_CIR0 0x31 |
111 | #define ISAC_CIX0 0x31 | 114 | #define ISAC_CIX0 0x31 |
112 | #define ISAC_CIR1 0x33 | ||
113 | #define ISAC_CIX1 0x33 | ||
114 | #define ISAC_STCR 0x37 | ||
115 | #define ISAC_MODE 0x22 | ||
116 | #define ISAC_RSTA 0x27 | ||
117 | #define ISAC_RBCL 0x25 | ||
118 | #define ISAC_RBCH 0x2A | ||
119 | #define ISAC_TIMR 0x23 | ||
120 | #define ISAC_SQXR 0x3b | ||
121 | #define ISAC_SQRR 0x3b | ||
122 | #define ISAC_MOSR 0x3a | ||
123 | #define ISAC_MOCR 0x3a | ||
124 | #define ISAC_MOR0 0x32 | 115 | #define ISAC_MOR0 0x32 |
125 | #define ISAC_MOX0 0x32 | 116 | #define ISAC_MOX0 0x32 |
117 | #define ISAC_CIR1 0x33 | ||
118 | #define ISAC_CIX1 0x33 | ||
126 | #define ISAC_MOR1 0x34 | 119 | #define ISAC_MOR1 0x34 |
127 | #define ISAC_MOX1 0x34 | 120 | #define ISAC_MOX1 0x34 |
121 | #define ISAC_STCR 0x37 | ||
122 | #define ISAC_ADF1 0x38 | ||
123 | #define ISAC_ADF2 0x39 | ||
124 | #define ISAC_MOCR 0x3a | ||
125 | #define ISAC_MOSR 0x3a | ||
126 | #define ISAC_SQRR 0x3b | ||
127 | #define ISAC_SQXR 0x3b | ||
128 | 128 | ||
129 | #define ISAC_RBCH_XAC 0x80 | 129 | #define ISAC_RBCH_XAC 0x80 |
130 | 130 | ||
@@ -212,13 +212,13 @@ struct ipac_hw { | |||
212 | #define ISAC_CMD_DUI 0xF | 212 | #define ISAC_CMD_DUI 0xF |
213 | 213 | ||
214 | /* ISAC/ISACX/IPAC/IPACX L1 indications */ | 214 | /* ISAC/ISACX/IPAC/IPACX L1 indications */ |
215 | #define ISAC_IND_RS 0x1 | ||
216 | #define ISAC_IND_PU 0x7 | ||
217 | #define ISAC_IND_DR 0x0 | 215 | #define ISAC_IND_DR 0x0 |
216 | #define ISAC_IND_RS 0x1 | ||
218 | #define ISAC_IND_SD 0x2 | 217 | #define ISAC_IND_SD 0x2 |
219 | #define ISAC_IND_DIS 0x3 | 218 | #define ISAC_IND_DIS 0x3 |
220 | #define ISAC_IND_EI 0x6 | ||
221 | #define ISAC_IND_RSY 0x4 | 219 | #define ISAC_IND_RSY 0x4 |
220 | #define ISAC_IND_EI 0x6 | ||
221 | #define ISAC_IND_PU 0x7 | ||
222 | #define ISAC_IND_ARD 0x8 | 222 | #define ISAC_IND_ARD 0x8 |
223 | #define ISAC_IND_TI 0xA | 223 | #define ISAC_IND_TI 0xA |
224 | #define ISAC_IND_ATI 0xB | 224 | #define ISAC_IND_ATI 0xB |
@@ -339,9 +339,9 @@ struct ipac_hw { | |||
339 | #define ISACX__AUX 0x08 | 339 | #define ISACX__AUX 0x08 |
340 | #define ISACX__CIC 0x10 | 340 | #define ISACX__CIC 0x10 |
341 | #define ISACX__ST 0x20 | 341 | #define ISACX__ST 0x20 |
342 | #define IPACX__ON 0x2C | ||
342 | #define IPACX__ICB 0x40 | 343 | #define IPACX__ICB 0x40 |
343 | #define IPACX__ICA 0x80 | 344 | #define IPACX__ICA 0x80 |
344 | #define IPACX__ON 0x2C | ||
345 | 345 | ||
346 | /* ISACX/IPACX _CMDRD (W) */ | 346 | /* ISACX/IPACX _CMDRD (W) */ |
347 | #define ISACX_CMDRD_XRES 0x01 | 347 | #define ISACX_CMDRD_XRES 0x01 |