]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Remove incorrect switch to aux power
authorNithin Sujir <nsujir@broadcom.com>
Mon, 29 Jul 2013 20:58:35 +0000 (13:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jul 2013 06:38:52 +0000 (23:38 -0700)
commit9ca0bfd3c82de653abca500361238aea918595c6
tree88f123769d879c2394f4228cd38f4d12123b9474
parent5dea3e2c884f43afd4bc1f7e37e7e1b88c7775e5
tg3: Remove incorrect switch to aux power

During probe, the driver is incorrectly switching the power to Vaux on
the 5717 and later devices. At this point, we are in D0 state and
drawing maximum power. We also definitely have Vmain available. It
doesn't make sense to switch to Vaux since it has a lesser maximum power
draw and we might go over the limit. On a new system, we observe that
not all ports are recognized in some of the slots with this call in
place.

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c