diff options
author | Michael Chan <mchan@broadcom.com> | 2006-03-27 23:19:00 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-28 17:02:38 -0800 |
commit | 100c4673307f5806788791b9b886877c806afd96 (patch) | |
tree | 0269abfbf85bfa2e149d027393c8c27d1e00bec6 /net | |
parent | ff18ff023495a4f1ce7c65e7c376c4720eccf4da (diff) |
[TG3]: Speed up SRAM access
Speed up SRAM read and write functions if possible by using MMIO
instead of config. cycles. With this change, the post reset signature
done at the end of D3 power change must now be moved before the D3
power change.
IBM reported a problem on powerpc blades during ethtool self test
that was caused by the memory test taking excessively long. Config.
cycles are very slow on powerpc and the memory test can take more
than 10 seconds to complete using config. cycles. As a result, NETDEV
WATCHDOG can be triggered during self test and the chip can end up in
a funny state.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions