-/* $OpenBSD: bcm2835_mbox.c,v 1.3 2022/04/06 18:59:28 naddy Exp $ */
+/* $OpenBSD: bcm2835_mbox.c,v 1.4 2022/08/27 20:31:45 mglocker Exp $ */
/*
* Copyright (c) 2020 Tobias Heider <tobhe@openbsd.org>
void *sc_ih;
- struct mutex sc_lock;
struct mutex sc_intr_lock;
int sc_chan[BCMMBOX_NUM_CHANNELS];
uint32_t sc_mbox[BCMMBOX_NUM_CHANNELS];
}
bcmmbox_sc = sc;
- mtx_init(&sc->sc_lock, IPL_NONE);
mtx_init(&sc->sc_intr_lock, IPL_VM);
if (faa->fa_nreg < 1) {