summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Moll <thomas.moll@sysgo.com>2010-05-27 01:44:01 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-27 20:12:51 +0400
commit933af4a6c4913ab4c0691c8fb27fc305063889cd (patch)
tree5bc7b63482131f184e006ef0d3346aac79d300cb /include
parenta52c8f521fed43bce53451d7dfddf2b42a2af689 (diff)
downloadlinux-933af4a6c4913ab4c0691c8fb27fc305063889cd.tar.xz
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')
-rw-r--r--include/linux/rio_regs.h5
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 @@
#define RIO_PORT_N_CTL_PWIDTH 0xc0000000
#define RIO_PORT_N_CTL_PWIDTH_1 0x00000000
#define RIO_PORT_N_CTL_PWIDTH_4 0x40000000
+#define RIO_PORT_N_CTL_P_TYP_SER 0x00000001
#define RIO_PORT_N_CTL_LOCKOUT 0x00000002
+#define RIO_PORT_N_CTL_EN_RX_SER 0x00200000
+#define RIO_PORT_N_CTL_EN_TX_SER 0x00400000
+#define RIO_PORT_N_CTL_EN_RX_PAR 0x08000000
+#define RIO_PORT_N_CTL_EN_TX_PAR 0x40000000
/*
* Error Management Extensions (RapidIO 1.3+, Part 8)