Enable ext IRQs like the Linux driver does it, not later. I did this
differently due to problems in early development that have since
been fixed.
Fixes an interrupt storm during resume which prevents things like
key installation from working, leaving the network link dead.
-/* $OpenBSD: qwx.c,v 1.63 2024/06/11 10:06:35 stsp Exp $ */
+/* $OpenBSD: qwx.c,v 1.64 2024/08/17 08:12:46 stsp Exp $ */
/*
* Copyright 2023 Stefan Sperling <stsp@openbsd.org>
goto err_core_stop;
}
-#if 0 /* TODO: Is this in the right spot for OpenBSD? */
sc->ops.irq_enable(sc);
-#endif
-
#if 0
mutex_unlock(&ab->core_lock);
#endif
return ret;
}
- /* Enable "ext" IRQs for datapath. */
- sc->ops.irq_enable(sc);
-
return 0;
}