Page MenuHomeFreeBSD

D32231.diff
No OneTemporary

D32231.diff

diff --git a/sys/dev/mgb/if_mgb.c b/sys/dev/mgb/if_mgb.c
--- a/sys/dev/mgb/if_mgb.c
+++ b/sys/dev/mgb/if_mgb.c
@@ -779,16 +779,9 @@
intr_en = CSR_READ_REG(sc, MGB_INTR_ENBL_SET);
intr_sts &= intr_en;
- /*
- * NOTE: Debugging printfs here
- * will likely cause interrupt test failure.
- */
-
/* TODO: shouldn't continue if suspended */
- if ((intr_sts & MGB_INTR_STS_ANY) == 0) {
- device_printf(sc->dev, "non-mgb interrupt triggered.\n");
- return (FILTER_SCHEDULE_THREAD);
- }
+ if ((intr_sts & MGB_INTR_STS_ANY) == 0)
+ return (FILTER_STRAY);
if ((intr_sts & MGB_INTR_STS_TEST) != 0) {
sc->isr_test_flag = true;
CSR_WRITE_REG(sc, MGB_INTR_STS, MGB_INTR_STS_TEST);

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 6, 10:42 PM (14 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17020925
Default Alt Text
D32231.diff (690 B)

Event Timeline