aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rio.h
diff options
context:
space:
mode:
authorZhang Wei <wei.zhang@freescale.com>2008-04-18 16:33:44 -0400
committerPaul Mackerras <paulus@samba.org>2008-04-29 05:40:29 -0400
commit61b269179df582bb363f871e88f732fe8af62a5e (patch)
tree30781b72103c54b7a8535014f647bfefac0e606f /include/linux/rio.h
parent182e143beeb3529208f805f1ac543606c1e2cc8c (diff)
[RAPIDIO] Add serial RapidIO controller support, which includes MPC8548, MPC8641
Signed-off-by: Zhang Wei <wei.zhang@freescale.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/linux/rio.h')
-rw-r--r--include/linux/rio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/rio.h b/include/linux/rio.h
index 4a064bcd7c0c..cfb66bbc0f27 100644
--- a/include/linux/rio.h
+++ b/include/linux/rio.h
@@ -145,6 +145,11 @@ struct rio_dbell {
145 void *dev_id; 145 void *dev_id;
146}; 146};
147 147
148enum rio_phy_type {
149 RIO_PHY_PARALLEL,
150 RIO_PHY_SERIAL,
151};
152
148/** 153/**
149 * struct rio_mport - RIO master port info 154 * struct rio_mport - RIO master port info
150 * @dbells: List of doorbell events 155 * @dbells: List of doorbell events
@@ -178,6 +183,7 @@ struct rio_mport {
178 * 0 - Small size. 256 devices. 183 * 0 - Small size. 256 devices.
179 * 1 - Large size, 65536 devices. 184 * 1 - Large size, 65536 devices.
180 */ 185 */
186 enum rio_phy_type phy_type; /* RapidIO phy type */
181 unsigned char name[40]; 187 unsigned char name[40];
182 void *priv; /* Master port private data */ 188 void *priv; /* Master port private data */
183}; 189};