1STRUCT RIO_DEV(9)                  Internals                 STRUCT RIO_DEV(9)
2
3
4

NAME

6       struct_rio_dev - RIO device info
7

SYNOPSIS

9       struct rio_dev {
10         struct list_head global_list;
11         struct list_head net_list;
12         struct rio_net * net;
13         u16 did;
14         u16 vid;
15         u32 device_rev;
16         u16 asm_did;
17         u16 asm_vid;
18         u16 asm_rev;
19         u16 efptr;
20         u32 pef;
21         u32 swpinfo;
22         u32 src_ops;
23         u32 dst_ops;
24         u32 comp_tag;
25         u32 phys_efptr;
26         u32 em_efptr;
27         u64 dma_mask;
28         struct rio_switch * rswitch;
29         struct rio_driver * driver;
30         struct device dev;
31         struct resource riores[RIO_MAX_DEV_RESOURCES];
32         int (* pwcback) (struct rio_dev *rdev, union rio_pw_msg *msg, int step);
33         u16 destid;
34       };
35

MEMBERS

37       global_list
38           Node in list of all RIO devices
39
40       net_list
41           Node in list of RIO devices in a network
42
43       net
44           Network this device is a part of
45
46       did
47           Device ID
48
49       vid
50           Vendor ID
51
52       device_rev
53           Device revision
54
55       asm_did
56           Assembly device ID
57
58       asm_vid
59           Assembly vendor ID
60
61       asm_rev
62           Assembly revision
63
64       efptr
65           Extended feature pointer
66
67       pef
68           Processing element features
69
70       swpinfo
71           Switch port info
72
73       src_ops
74           Source operation capabilities
75
76       dst_ops
77           Destination operation capabilities
78
79       comp_tag
80           RIO component tag
81
82       phys_efptr
83           RIO device extended features pointer
84
85       em_efptr
86           RIO Error Management features pointer
87
88       dma_mask
89           Mask of bits of RIO address this device implements
90
91       rswitch
92           Pointer to struct rio_switch if valid for this device
93
94       driver
95           Driver claiming this device
96
97       dev
98           Device model device
99
100       riores[RIO_MAX_DEV_RESOURCES]
101           RIO resources this device owns
102
103       pwcback
104           port-write callback function for this device
105
106       destid
107           Network destination ID
108

AUTHOR

110       Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
111           Author.
112
114Kernel Hackers Manual 2.6.       November 2011               STRUCT RIO_DEV(9)
Impressum