git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
infiniband
/
core
/
device.c
diff --git
a/drivers/infiniband/core/device.c
b/drivers/infiniband/core/device.c
index
b2f3cb9
..
63d2a39
100644
(file)
--- a/
drivers/infiniband/core/device.c
+++ b/
drivers/infiniband/core/device.c
@@
-385,7
+385,7
@@
void *ib_get_client_data(struct ib_device *device, struct ib_client *client)
EXPORT_SYMBOL(ib_get_client_data);
/**
EXPORT_SYMBOL(ib_get_client_data);
/**
- * ib_set_client_data -
G
et IB client context
+ * ib_set_client_data -
S
et IB client context
* @device:Device to set context for
* @client:Client to set context for
* @data:Context to set
* @device:Device to set context for
* @client:Client to set context for
* @data:Context to set
@@
-505,7
+505,7
@@
int ib_query_port(struct ib_device *device,
u8 port_num,
struct ib_port_attr *port_attr)
{
u8 port_num,
struct ib_port_attr *port_attr)
{
- if (device->node_type ==
IB_NODE
_SWITCH) {
+ if (device->node_type ==
RDMA_NODE_IB
_SWITCH) {
if (port_num)
return -EINVAL;
} else if (port_num < 1 || port_num > device->phys_port_cnt)
if (port_num)
return -EINVAL;
} else if (port_num < 1 || port_num > device->phys_port_cnt)
@@
-580,7
+580,7
@@
int ib_modify_port(struct ib_device *device,
u8 port_num, int port_modify_mask,
struct ib_port_modify *port_modify)
{
u8 port_num, int port_modify_mask,
struct ib_port_modify *port_modify)
{
- if (device->node_type ==
IB_NODE
_SWITCH) {
+ if (device->node_type ==
RDMA_NODE_IB
_SWITCH) {
if (port_num)
return -EINVAL;
} else if (port_num < 1 || port_num > device->phys_port_cnt)
if (port_num)
return -EINVAL;
} else if (port_num < 1 || port_num > device->phys_port_cnt)