From: stsp Date: Tue, 30 Jan 2024 15:33:32 +0000 (+0000) Subject: enable qwx "ext" IRQs for data packets once we have moved into RUN state X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b935a69b08a6b270c1e36e0592083fb219665986;p=openbsd enable qwx "ext" IRQs for data packets once we have moved into RUN state --- 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; }