diff options
Diffstat (limited to 'include/linux/rio.h')
| -rw-r--r-- | include/linux/rio.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/linux/rio.h b/include/linux/rio.h index aa2323893e8d..37b95c4af99d 100644 --- a/include/linux/rio.h +++ b/include/linux/rio.h | |||
| @@ -163,6 +163,7 @@ enum rio_device_state { | |||
| 163 | * @dst_ops: Destination operation capabilities | 163 | * @dst_ops: Destination operation capabilities |
| 164 | * @comp_tag: RIO component tag | 164 | * @comp_tag: RIO component tag |
| 165 | * @phys_efptr: RIO device extended features pointer | 165 | * @phys_efptr: RIO device extended features pointer |
| 166 | * @phys_rmap: LP-Serial Register Map Type (1 or 2) | ||
| 166 | * @em_efptr: RIO Error Management features pointer | 167 | * @em_efptr: RIO Error Management features pointer |
| 167 | * @dma_mask: Mask of bits of RIO address this device implements | 168 | * @dma_mask: Mask of bits of RIO address this device implements |
| 168 | * @driver: Driver claiming this device | 169 | * @driver: Driver claiming this device |
| @@ -193,6 +194,7 @@ struct rio_dev { | |||
| 193 | u32 dst_ops; | 194 | u32 dst_ops; |
| 194 | u32 comp_tag; | 195 | u32 comp_tag; |
| 195 | u32 phys_efptr; | 196 | u32 phys_efptr; |
| 197 | u32 phys_rmap; | ||
| 196 | u32 em_efptr; | 198 | u32 em_efptr; |
| 197 | u64 dma_mask; | 199 | u64 dma_mask; |
| 198 | struct rio_driver *driver; /* RIO driver claiming this device */ | 200 | struct rio_driver *driver; /* RIO driver claiming this device */ |
| @@ -237,11 +239,6 @@ struct rio_dbell { | |||
| 237 | void *dev_id; | 239 | void *dev_id; |
| 238 | }; | 240 | }; |
| 239 | 241 | ||
| 240 | enum rio_phy_type { | ||
| 241 | RIO_PHY_PARALLEL, | ||
| 242 | RIO_PHY_SERIAL, | ||
| 243 | }; | ||
| 244 | |||
| 245 | /** | 242 | /** |
| 246 | * struct rio_mport - RIO master port info | 243 | * struct rio_mport - RIO master port info |
| 247 | * @dbells: List of doorbell events | 244 | * @dbells: List of doorbell events |
| @@ -259,8 +256,8 @@ enum rio_phy_type { | |||
| 259 | * @id: Port ID, unique among all ports | 256 | * @id: Port ID, unique among all ports |
| 260 | * @index: Port index, unique among all port interfaces of the same type | 257 | * @index: Port index, unique among all port interfaces of the same type |
| 261 | * @sys_size: RapidIO common transport system size | 258 | * @sys_size: RapidIO common transport system size |
| 262 | * @phy_type: RapidIO phy type | ||
| 263 | * @phys_efptr: RIO port extended features pointer | 259 | * @phys_efptr: RIO port extended features pointer |
| 260 | * @phys_rmap: LP-Serial EFB Register Mapping type (1 or 2). | ||
| 264 | * @name: Port name string | 261 | * @name: Port name string |
| 265 | * @dev: device structure associated with an mport | 262 | * @dev: device structure associated with an mport |
| 266 | * @priv: Master port private data | 263 | * @priv: Master port private data |
| @@ -289,8 +286,8 @@ struct rio_mport { | |||
| 289 | * 0 - Small size. 256 devices. | 286 | * 0 - Small size. 256 devices. |
| 290 | * 1 - Large size, 65536 devices. | 287 | * 1 - Large size, 65536 devices. |
| 291 | */ | 288 | */ |
| 292 | enum rio_phy_type phy_type; /* RapidIO phy type */ | ||
| 293 | u32 phys_efptr; | 289 | u32 phys_efptr; |
| 290 | u32 phys_rmap; | ||
| 294 | unsigned char name[RIO_MAX_MPORT_NAME]; | 291 | unsigned char name[RIO_MAX_MPORT_NAME]; |
| 295 | struct device dev; | 292 | struct device dev; |
| 296 | void *priv; /* Master port private data */ | 293 | void *priv; /* Master port private data */ |
| @@ -425,7 +422,7 @@ struct rio_ops { | |||
| 425 | int (*add_inb_buffer)(struct rio_mport *mport, int mbox, void *buf); | 422 | int (*add_inb_buffer)(struct rio_mport *mport, int mbox, void *buf); |
| 426 | void *(*get_inb_message)(struct rio_mport *mport, int mbox); | 423 | void *(*get_inb_message)(struct rio_mport *mport, int mbox); |
| 427 | int (*map_inb)(struct rio_mport *mport, dma_addr_t lstart, | 424 | int (*map_inb)(struct rio_mport *mport, dma_addr_t lstart, |
| 428 | u64 rstart, u32 size, u32 flags); | 425 | u64 rstart, u64 size, u32 flags); |
| 429 | void (*unmap_inb)(struct rio_mport *mport, dma_addr_t lstart); | 426 | void (*unmap_inb)(struct rio_mport *mport, dma_addr_t lstart); |
| 430 | int (*query_mport)(struct rio_mport *mport, | 427 | int (*query_mport)(struct rio_mport *mport, |
| 431 | struct rio_mport_attr *attr); | 428 | struct rio_mport_attr *attr); |
