diff options
author | Thomas Moll <thomas.moll@sysgo.com> | 2010-05-26 17:44:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 12:12:51 -0400 |
commit | 933af4a6c4913ab4c0691c8fb27fc305063889cd (patch) | |
tree | 5bc7b63482131f184e006ef0d3346aac79d300cb /include/linux/rio_regs.h | |
parent | a52c8f521fed43bce53451d7dfddf2b42a2af689 (diff) |
rapidio: add enabling SRIO port RX and TX
Add the functionality to enable Input receiver and Output transmitter of
every port, to allow non-maintenance traffic.
Signed-off-by: Thomas Moll <thomas.moll@sysgo.com>
Signed-off-by: Alexandre Bounine <abounine@tundra.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Li Yang <leoli@freescale.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/rio_regs.h')
-rw-r--r-- | include/linux/rio_regs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/rio_regs.h b/include/linux/rio_regs.h index 96ba2159d9fe..aedee0489fb4 100644 --- a/include/linux/rio_regs.h +++ b/include/linux/rio_regs.h | |||
@@ -243,7 +243,12 @@ | |||
243 | #define RIO_PORT_N_CTL_PWIDTH 0xc0000000 | 243 | #define RIO_PORT_N_CTL_PWIDTH 0xc0000000 |
244 | #define RIO_PORT_N_CTL_PWIDTH_1 0x00000000 | 244 | #define RIO_PORT_N_CTL_PWIDTH_1 0x00000000 |
245 | #define RIO_PORT_N_CTL_PWIDTH_4 0x40000000 | 245 | #define RIO_PORT_N_CTL_PWIDTH_4 0x40000000 |
246 | #define RIO_PORT_N_CTL_P_TYP_SER 0x00000001 | ||
246 | #define RIO_PORT_N_CTL_LOCKOUT 0x00000002 | 247 | #define RIO_PORT_N_CTL_LOCKOUT 0x00000002 |
248 | #define RIO_PORT_N_CTL_EN_RX_SER 0x00200000 | ||
249 | #define RIO_PORT_N_CTL_EN_TX_SER 0x00400000 | ||
250 | #define RIO_PORT_N_CTL_EN_RX_PAR 0x08000000 | ||
251 | #define RIO_PORT_N_CTL_EN_TX_PAR 0x40000000 | ||
247 | 252 | ||
248 | /* | 253 | /* |
249 | * Error Management Extensions (RapidIO 1.3+, Part 8) | 254 | * Error Management Extensions (RapidIO 1.3+, Part 8) |