]> git.baikalelectronics.ru Git - kernel.git/commit
tulip: explicity set to D0 power state during init
authorSteven Walter <stevenrwalter@gmail.com>
Mon, 31 May 2010 17:11:53 +0000 (17:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Jun 2010 07:15:50 +0000 (00:15 -0700)
commit241e38a4ecedf2c2ed1ebcbed1399e59c60398c4
tree39b696896fa39a627b5dd97657c0cf96808e6e97
parentd6ffbad7a9d23ca295aa0f8a633a5eaeb0576dca
tulip: explicity set to D0 power state during init

During the first suspend the chip would refuse to enter D3.  Subsequent
suspends worked okay.  During resume the chip is commanded into D0.
Doing so during initialization fixes the initial suspend.

Signed-off-by: Steven Walter <stevenrwalter@gmail.com>
Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tulip/tulip_core.c