]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29bc703ee79b7ec98227db7850648c540b698578
tree5f6f3b3cb5cb9e410baffd9fabd3e5c10c8a7843
parent6f3df4ee88b77216c8693b55d38133cedca45d1d
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