@@ -39,14 +39,6 @@
#include <rdma/ib_mad.h>
-struct ib_port {
- struct kobject kobj;
- struct ib_device *ibdev;
- struct attribute_group gid_group;
- struct attribute_group pkey_group;
- u8 port_num;
-};
-
struct port_attribute {
struct attribute attr;
ssize_t (*show)(struct ib_port *, struct port_attribute *, char *buf);
@@ -1154,6 +1154,14 @@ struct ib_device {
u8 phys_port_cnt;
};
+struct ib_port {
+ struct kobject kobj;
+ struct ib_device *ibdev;
+ struct attribute_group gid_group;
+ struct attribute_group pkey_group;
+ u8 port_num;
+};
+
struct ib_client {
char *name;
void (*add) (struct ib_device *);