Skip to content

Commit

Permalink
ehea: Modified initial autoneg state determination
Browse files Browse the repository at this point in the history
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: Thomas Klein <tklein@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Thomas Klein authored and Jeff Garzik committed Jan 23, 2007
1 parent 602e0d1 commit e919b59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ehea/ehea_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,8 @@ int ehea_sense_port_attr(struct ehea_port *port)
break;
}

port->autoneg = 1;

/* Number of default QPs */
port->num_def_qps = cb0->num_default_qps;

Expand Down Expand Up @@ -2334,8 +2336,6 @@ static int ehea_setup_single_port(struct ehea_port *port,

INIT_LIST_HEAD(&port->mc_list->list);

ehea_set_portspeed(port, EHEA_SPEED_AUTONEG);

ret = ehea_sense_port_attr(port);
if (ret)
goto out;
Expand Down

0 comments on commit e919b59

Please sign in to comment.