From b935a69b08a6b270c1e36e0592083fb219665986 Mon Sep 17 00:00:00 2001 From: stsp Date: Tue, 30 Jan 2024 15:33:32 +0000 Subject: [PATCH] enable qwx "ext" IRQs for data packets once we have moved into RUN state --- sys/dev/ic/qwx.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/dev/ic/qwx.c b/sys/dev/ic/qwx.c index ca20550f024..cc36b1d3295 100644 --- a/sys/dev/ic/qwx.c +++ b/sys/dev/ic/qwx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qwx.c,v 1.12 2024/01/30 15:32:04 stsp Exp $ */ +/* $OpenBSD: qwx.c,v 1.13 2024/01/30 15:33:32 stsp Exp $ */ /* * Copyright 2023 Stefan Sperling @@ -21482,12 +21482,17 @@ qwx_run(struct qwx_softc *sc) return ret; } + /* Enable "ext" IRQs for datapath. */ + sc->ops.irq_enable(sc); + return 0; } int qwx_run_stop(struct qwx_softc *sc) { + sc->ops.irq_disable(sc); + printf("%s: not implemented\n", __func__); return ENOTSUP; } -- 2.20.1