[TG3]: Fix bug in 40-bit DMA workaround code
authorMichael Chan <mchan@broadcom.com>
Tue, 28 Mar 2006 07:16:49 +0000 (23:16 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 29 Mar 2006 01:02:36 +0000 (17:02 -0800)
commit6728a8e2e180b96ac7940dd4d766c52f8e177717
treed29f63bb0b6ee3560d12f21dc7431207508704ab
parent008652b337364ee994a0cd71d88a0fe9f00fc7ca
[TG3]: Fix bug in 40-bit DMA workaround code

Need to check the TG3_FLAG_40BIT_DMA_BUG flag in the workaround code
path instead of device flags.

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