|
@@ -10903,11 +10903,13 @@ static void tg3_timer(unsigned long __opaque)
|
|
{
|
|
{
|
|
struct tg3 *tp = (struct tg3 *) __opaque;
|
|
struct tg3 *tp = (struct tg3 *) __opaque;
|
|
|
|
|
|
- if (tp->irq_sync || tg3_flag(tp, RESET_TASK_PENDING))
|
|
|
|
- goto restart_timer;
|
|
|
|
-
|
|
|
|
spin_lock(&tp->lock);
|
|
spin_lock(&tp->lock);
|
|
|
|
|
|
|
|
+ if (tp->irq_sync || tg3_flag(tp, RESET_TASK_PENDING)) {
|
|
|
|
+ spin_unlock(&tp->lock);
|
|
|
|
+ goto restart_timer;
|
|
|
|
+ }
|
|
|
|
+
|
|
if (tg3_asic_rev(tp) == ASIC_REV_5717 ||
|
|
if (tg3_asic_rev(tp) == ASIC_REV_5717 ||
|
|
tg3_flag(tp, 57765_CLASS))
|
|
tg3_flag(tp, 57765_CLASS))
|
|
tg3_chk_missed_msi(tp);
|
|
tg3_chk_missed_msi(tp);
|