mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
atpic: make sure atpic_init is called after IO APIC initialization
After r269510 the IO APIC and ATPIC initialization is done at the same
order, which means atpic_init can be called before the IO APIC has
been initalized. In that case the ATPIC will take over the interrupt
sources, preventing the IO APIC from registering them.
Reported by: David Wolfskill <david@catwhisker.org>
Tested by: David Wolfskill <david@catwhisker.org>,
Trond Endrestøl <Trond.Endrestol@fagskolen.gjovik.no>
Sponsored by: Citrix Systems R&D
This commit is contained in:
parent
3da0b29d99
commit
e68c8d7f2b
1 changed files with 1 additions and 1 deletions
|
|
@ -524,7 +524,7 @@ atpic_init(void *dummy __unused)
|
|||
intr_register_source(&ai->at_intsrc);
|
||||
}
|
||||
}
|
||||
SYSINIT(atpic_init, SI_SUB_INTR, SI_ORDER_SECOND + 1, atpic_init, NULL);
|
||||
SYSINIT(atpic_init, SI_SUB_INTR, SI_ORDER_FOURTH, atpic_init, NULL);
|
||||
|
||||
void
|
||||
atpic_handle_intr(u_int vector, struct trapframe *frame)
|
||||
|
|
|
|||
Loading…
Reference in a new issue