]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ehca: Change query_port() to return LINK_UP instead UNKNOWN
authorHoang-Nam Nguyen <hnguyen@linux.vnet.ibm.com>
Thu, 15 Feb 2007 16:10:06 +0000 (17:10 +0100)
committerRoland Dreier <rolandd@cisco.com>
Fri, 16 Feb 2007 21:57:34 +0000 (13:57 -0800)
commit4439301822a15018439550a991acaad3b84dc101
tree5c1d42e45323a48c8c55f17430d1ab0f223e6043
parent06f5aa92549d5afd41411938c36b627fedaf3fce
IB/ehca: Change query_port() to return LINK_UP instead UNKNOWN

Set the port phys state as returned from ehca_query_port() to LINK_UP.
ehca actually represents a logical HCA, whose phys/link state always
is LINK_UP.

Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_hca.c