]> err.no Git - linux-2.6/commit
[TG3]: Fix SRAM access during tg3_init_one()
authorMichael Chan <mchan@broadcom.com>
Wed, 22 Mar 2006 09:05:31 +0000 (01:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2006 09:05:31 +0000 (01:05 -0800)
commitcaf636c760b33c72ebf018ff03c1b0d79ea6656a
treed8ac1d485a820abcb7a17b73d309bb752e3c6223
parent9a6b9f2e763a1d1492e164f13c13b995a9b98d78
[TG3]: Fix SRAM access during tg3_init_one()

5700 and 5701 will not return correct SRAM data when the chip is in
D3hot power state. tg3_get_eeprom_hw_cfg() must first put the device
in D0 before reading SRAM.

Thanks to Thomas Chenault at Dell for noticing this problem.

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