summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/dc/if_dc.c3
-rw-r--r--sys/pci/if_dc.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index 85002ed..3f73bcb 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -2933,7 +2933,10 @@ static void dc_intr(arg)
if (ifp->if_snd.ifq_head != NULL)
dc_start(ifp);
+#ifdef DEVICE_POLLING
done:
+#endif /* DEVICE_POLLING */
+
DC_UNLOCK(sc);
return;
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c
index 85002ed..3f73bcb 100644
--- a/sys/pci/if_dc.c
+++ b/sys/pci/if_dc.c
@@ -2933,7 +2933,10 @@ static void dc_intr(arg)
if (ifp->if_snd.ifq_head != NULL)
dc_start(ifp);
+#ifdef DEVICE_POLLING
done:
+#endif /* DEVICE_POLLING */
+
DC_UNLOCK(sc);
return;
OpenPOWER on IntegriCloud