diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2010-08-02 07:25:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-02 18:46:27 -0400 |
commit | 774ee7525ff94e597844c9f7f6a48938906df698 (patch) | |
tree | 84b5ca465552911e0e234fbd900bab0e07d13915 /drivers | |
parent | 6de34cb963a934953fdd365937b4b75959256602 (diff) |
tg3: Disable TSS also during tg3_close()
The TSS flag needs to be turned off during tg3_close(). If the device
fails to allocate more than one MSI-X vector the next time the device is
brought up, transmits will fail.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/tg3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 98ca0d20d206..12a2dd77c367 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -8864,7 +8864,7 @@ static void tg3_ints_fini(struct tg3 *tp) | |||
8864 | else if (tp->tg3_flags2 & TG3_FLG2_USING_MSI) | 8864 | else if (tp->tg3_flags2 & TG3_FLG2_USING_MSI) |
8865 | pci_disable_msi(tp->pdev); | 8865 | pci_disable_msi(tp->pdev); |
8866 | tp->tg3_flags2 &= ~TG3_FLG2_USING_MSI_OR_MSIX; | 8866 | tp->tg3_flags2 &= ~TG3_FLG2_USING_MSI_OR_MSIX; |
8867 | tp->tg3_flags3 &= ~TG3_FLG3_ENABLE_RSS; | 8867 | tp->tg3_flags3 &= ~(TG3_FLG3_ENABLE_RSS | TG3_FLG3_ENABLE_TSS); |
8868 | } | 8868 | } |
8869 | 8869 | ||
8870 | static int tg3_open(struct net_device *dev) | 8870 | static int tg3_open(struct net_device *dev) |