1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Set interrupt clear pointer for SBus slots to point to correct spot.

This commit is contained in:
Matt Jacob 2002-07-25 20:14:59 +00:00
parent f4f5cb1ffb
commit 1936600631
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100687

View File

@ -674,9 +674,9 @@ sbus_setup_intr(device_t dev, device_t child,
* intr registers.
*/
slot = INTSLOT(vec);
intrmapptr = SBR_SLOT0_INT_MAP + slot * 8;
intrclrptr = SBR_SLOT0_INT_CLR + inr * 8;
intrclrptr = SBR_SLOT0_INT_CLR +
(slot * 8 * 8) + (INTPRI(vec) * 8);
/* Enable the interrupt, insert IGN. */
intrmap = inr | sc->sc_ign;
} else {