tg3: Add new FW_TSO flag
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 6 Mar 2013 17:02:29 +0000 (17:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Mar 2013 20:31:31 +0000 (15:31 -0500)
commit1caf13ebc8c0809ad6203c0836391ba593b13530
tree45d8730f10cf48251968d9031cdb0f1e5d2840c8
parenta6f3587ca24da9c150269fe76cb2eabc6df96b90
tg3: Add new FW_TSO flag

tg3 used the fw_needed member loosely as a synonym for firmware TSO. Now
that the 57766 needs firmware download support, fw_needed can no longer be
used like this. This patch creates a new FW_TSO flag and changes the
code to use it.

Also rearrange all the TSO flags together in the enum.

Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/broadcom/tg3.h