summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_sk.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-09-25 04:50:27 +0000
committerwpaul <wpaul@FreeBSD.org>1999-09-25 04:50:27 +0000
commitb47b9d0cc0c8111f4bfa3e2f64092741e0ef3e03 (patch)
treece95042c0ccda8fd7c910afdd45a8be256d75b22 /sys/pci/if_sk.c
parent18137fc0e5ab7728fbc9a93e314fa19ad993d2c4 (diff)
downloadFreeBSD-src-b47b9d0cc0c8111f4bfa3e2f64092741e0ef3e03.zip
FreeBSD-src-b47b9d0cc0c8111f4bfa3e2f64092741e0ef3e03.tar.gz
Call sk_start() at the end of sk_intr() if there's packets in the
interface send queue that need to be processed.
Diffstat (limited to 'sys/pci/if_sk.c')
-rw-r--r--sys/pci/if_sk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/pci/if_sk.c b/sys/pci/if_sk.c
index 95bf540..edb941f 100644
--- a/sys/pci/if_sk.c
+++ b/sys/pci/if_sk.c
@@ -1703,6 +1703,11 @@ static void sk_intr(xsc)
CSR_WRITE_4(sc, SK_IMR, sc->sk_intrmask);
+ if (ifp0 != NULL && ifp0->if_snd.ifq_head != NULL)
+ sk_start(ifp0);
+ if (ifp1 != NULL && ifp1->if_snd.ifq_head != NULL)
+ sk_start(ifp1);
+
return;
}
OpenPOWER on IntegriCloud