Get number of interrupt cells from device tree instead of guessing based
authortobhe <tobhe@openbsd.org>
Mon, 22 Aug 2022 12:34:55 +0000 (12:34 +0000)
committertobhe <tobhe@openbsd.org>
Mon, 22 Aug 2022 12:34:55 +0000 (12:34 +0000)
commit16f2ec56243d2929a9aba9623457955491732cb9
tree0ec1102b994013a0bb4747546474f45ad372b576
parent0dea91ce81ba26e05986afcd3518a761bdb998e2
Get number of interrupt cells from device tree instead of guessing based
on version.  Fixes M2 Macbook Air 2022 which reports version 2 but only
uses 3 cells.

ok kettenis@
sys/arch/arm64/dev/aplintc.c