]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Move power state transitions to init_one
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 13 Jul 2011 09:27:28 +0000 (09:27 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 15 May 2012 08:21:36 +0000 (16:21 +0800)
commit2a17a1aea2f7fd2201fb60054b23ffac9f397605
tree590c4ef9348518ace4ab4b69698a1ff528a5106c
parent6448b60508e272ffeb229f44666d57f47963cadd
tg3: Move power state transitions to init_one

The tg3 driver is going to require memory mapped register access much
sooner than before.  This patch makes sure the device is in the D0 power
state as soon as possible, and moves the code that enables the memory
arbiter outside tg3_get_eeprom_hw_cfg() where it can be more easily
monitored.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 168212858712b12c65e0fa1bec6c9c65808e7621)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/tg3.c