[infiniband] Rename IB_PKEY_NONE to IB_PKEY_DEFAULT

There is no such thing as a non-existent partition.
This commit is contained in:
Michael Brown
2009-11-13 19:02:04 +00:00
parent bbc530c0dd
commit 58b6794c11
3 changed files with 3 additions and 3 deletions

View File

@@ -867,7 +867,7 @@ struct ib_device * alloc_ibdev ( size_t priv_size ) {
INIT_LIST_HEAD ( &ibdev->qps );
ibdev->port_state = IB_PORT_STATE_DOWN;
ibdev->lid = IB_LID_NONE;
ibdev->pkey = IB_PKEY_NONE;
ibdev->pkey = IB_PKEY_DEFAULT;
}
return ibdev;
}