tg3: Fix tx mailbox initialization
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 20 Jan 2010 16:58:08 +0000 (16:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jan 2010 03:21:01 +0000 (19:21 -0800)
commitc2353a3214ff5813c4b719b3cdacbe939b1c63a0
tree5f6f3b3cb5cb9e410baffd9fabd3e5c10c8a7843
parent5fd68fbdaf75505a2400826c7f314a1f3121a5f7
tg3: Fix tx mailbox initialization

If a device supports MSI-X interrupts, the driver assumes TSS will be
available.  This is not true for the 57765.  This patch changes the code
so that only the default tx mailbox is initialized if TSS is not
available.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c