Commit e919b593 authored by Thomas Klein's avatar Thomas Klein Committed by Jeff Garzik

ehea: Modified initial autoneg state determination

Logical partitions are not allowed to (try to) set the autonegotiation status.
This patch removes the respective function call from the port setup function.
Signed-off-by: default avatarThomas Klein <tklein@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 602e0d10
...@@ -642,6 +642,8 @@ int ehea_sense_port_attr(struct ehea_port *port) ...@@ -642,6 +642,8 @@ int ehea_sense_port_attr(struct ehea_port *port)
break; break;
} }
port->autoneg = 1;
/* Number of default QPs */ /* Number of default QPs */
port->num_def_qps = cb0->num_default_qps; port->num_def_qps = cb0->num_default_qps;
...@@ -2334,8 +2336,6 @@ static int ehea_setup_single_port(struct ehea_port *port, ...@@ -2334,8 +2336,6 @@ static int ehea_setup_single_port(struct ehea_port *port,
INIT_LIST_HEAD(&port->mc_list->list); INIT_LIST_HEAD(&port->mc_list->list);
ehea_set_portspeed(port, EHEA_SPEED_AUTONEG);
ret = ehea_sense_port_attr(port); ret = ehea_sense_port_attr(port);
if (ret) if (ret)
goto out; goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment