]> err.no Git - linux-2.6/commit
[TG3]: Refine DMA boundary setting.
authorDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2005 05:50:10 +0000 (22:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2005 05:50:10 +0000 (22:50 -0700)
commit59e6b4343299373bc10dd131ab5142f53ddd838a
tree1381e9d661f4ff83e89cb17678ce4813a90c4afb
parent15f9850d3c2d46f5851a424d2990a18b5bb5ebfd
[TG3]: Refine DMA boundary setting.

Extract DMA boundary bit selection into a seperate
function, tg3_calc_dma_bndry().  Call this from
tg3_test_dma().

Make DMA test more reliable by using no DMA boundry
setting during the test.  If the test passes, then
use the setting we selected before the test.

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