diff options
| -rw-r--r-- | arch/powerpc/sysdev/fsl_rio.c | 9 | ||||
| -rw-r--r-- | include/linux/rio.h | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c index 3d920376f58e..a0fa4ebb39c6 100644 --- a/arch/powerpc/sysdev/fsl_rio.c +++ b/arch/powerpc/sysdev/fsl_rio.c | |||
| @@ -176,6 +176,7 @@ struct rio_priv { | |||
| 176 | 176 | ||
| 177 | /** | 177 | /** |
| 178 | * fsl_rio_doorbell_send - Send a MPC85xx doorbell message | 178 | * fsl_rio_doorbell_send - Send a MPC85xx doorbell message |
| 179 | * @mport: RapidIO master port info | ||
| 179 | * @index: ID of RapidIO interface | 180 | * @index: ID of RapidIO interface |
| 180 | * @destid: Destination ID of target device | 181 | * @destid: Destination ID of target device |
| 181 | * @data: 16-bit info field of RapidIO doorbell message | 182 | * @data: 16-bit info field of RapidIO doorbell message |
| @@ -211,6 +212,7 @@ static int fsl_rio_doorbell_send(struct rio_mport *mport, | |||
| 211 | 212 | ||
| 212 | /** | 213 | /** |
| 213 | * fsl_local_config_read - Generate a MPC85xx local config space read | 214 | * fsl_local_config_read - Generate a MPC85xx local config space read |
| 215 | * @mport: RapidIO master port info | ||
| 214 | * @index: ID of RapdiIO interface | 216 | * @index: ID of RapdiIO interface |
| 215 | * @offset: Offset into configuration space | 217 | * @offset: Offset into configuration space |
| 216 | * @len: Length (in bytes) of the maintenance transaction | 218 | * @len: Length (in bytes) of the maintenance transaction |
| @@ -232,6 +234,7 @@ static int fsl_local_config_read(struct rio_mport *mport, | |||
| 232 | 234 | ||
| 233 | /** | 235 | /** |
| 234 | * fsl_local_config_write - Generate a MPC85xx local config space write | 236 | * fsl_local_config_write - Generate a MPC85xx local config space write |
| 237 | * @mport: RapidIO master port info | ||
| 235 | * @index: ID of RapdiIO interface | 238 | * @index: ID of RapdiIO interface |
| 236 | * @offset: Offset into configuration space | 239 | * @offset: Offset into configuration space |
| 237 | * @len: Length (in bytes) of the maintenance transaction | 240 | * @len: Length (in bytes) of the maintenance transaction |
| @@ -254,6 +257,7 @@ static int fsl_local_config_write(struct rio_mport *mport, | |||
| 254 | 257 | ||
| 255 | /** | 258 | /** |
| 256 | * fsl_rio_config_read - Generate a MPC85xx read maintenance transaction | 259 | * fsl_rio_config_read - Generate a MPC85xx read maintenance transaction |
| 260 | * @mport: RapidIO master port info | ||
| 257 | * @index: ID of RapdiIO interface | 261 | * @index: ID of RapdiIO interface |
| 258 | * @destid: Destination ID of transaction | 262 | * @destid: Destination ID of transaction |
| 259 | * @hopcount: Number of hops to target device | 263 | * @hopcount: Number of hops to target device |
| @@ -295,6 +299,7 @@ fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, | |||
| 295 | 299 | ||
| 296 | /** | 300 | /** |
| 297 | * fsl_rio_config_write - Generate a MPC85xx write maintenance transaction | 301 | * fsl_rio_config_write - Generate a MPC85xx write maintenance transaction |
| 302 | * @mport: RapidIO master port info | ||
| 298 | * @index: ID of RapdiIO interface | 303 | * @index: ID of RapdiIO interface |
| 299 | * @destid: Destination ID of transaction | 304 | * @destid: Destination ID of transaction |
| 300 | * @hopcount: Number of hops to target device | 305 | * @hopcount: Number of hops to target device |
| @@ -985,8 +990,8 @@ static inline void fsl_rio_info(struct device *dev, u32 ccsr) | |||
| 985 | } | 990 | } |
| 986 | 991 | ||
| 987 | /** | 992 | /** |
| 988 | * fsl_rio_setup - Setup MPC85xx RapidIO interface | 993 | * fsl_rio_setup - Setup Freescale PowerPC RapidIO interface |
| 989 | * @fsl_rio_setup - Setup Freescale PowerPC RapidIO interface | 994 | * @dev: of_device pointer |
| 990 | * | 995 | * |
| 991 | * Initializes MPC85xx RapidIO hardware interface, configures | 996 | * Initializes MPC85xx RapidIO hardware interface, configures |
| 992 | * master port with system-specific info, and registers the | 997 | * master port with system-specific info, and registers the |
diff --git a/include/linux/rio.h b/include/linux/rio.h index cfb66bbc0f27..0201849480da 100644 --- a/include/linux/rio.h +++ b/include/linux/rio.h | |||
| @@ -163,6 +163,8 @@ enum rio_phy_type { | |||
| 163 | * @ops: configuration space functions | 163 | * @ops: configuration space functions |
| 164 | * @id: Port ID, unique among all ports | 164 | * @id: Port ID, unique among all ports |
| 165 | * @index: Port index, unique among all port interfaces of the same type | 165 | * @index: Port index, unique among all port interfaces of the same type |
| 166 | * @sys_size: RapidIO common transport system size | ||
| 167 | * @phy_type: RapidIO phy type | ||
| 166 | * @name: Port name string | 168 | * @name: Port name string |
| 167 | * @priv: Master port private data | 169 | * @priv: Master port private data |
| 168 | */ | 170 | */ |
