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:
parent
f4f5cb1ffb
commit
1936600631
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100687
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user