[TG3]: Add new hard_start_xmit
authorMichael Chan <mchan@broadcom.com>
Tue, 21 Mar 2006 06:28:05 +0000 (22:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:28:05 +0000 (22:28 -0800)
commit5a6f3074c2ea5a7b4ff5b18f0e1fd9b1257e1a29
tree4bc683f620e3176ae70932f5f865fe47423eb083
parent1b27777a9b9b2b6d1c06000b7a31262d198b4238
[TG3]: Add new hard_start_xmit

Support 5787 hardware TSO using a new flag TG3_FLG2_HW_TSO_2.

Since the TSO interface is slightly different and these chips have
finally fixed the 4GB DMA problem and do not have the 40-bit DMA
problem, a new hard_start_xmit is used for these chips. All previous
chips will use the old hard_start_xmit that is now renamed
tg3_start_xmit_dma_bug().

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