Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111606885
D32231.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
690 B
Referenced Files
None
Subscribers
None
D32231.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D32231: mgb: Fix nop interrupt handling
Attached
Detach File
Event Timeline
Log In to Comment