svn commit: r318408 - head/sys/arm/mv
Zbigniew Bodek
zbb at FreeBSD.org
Wed May 17 15:56:11 UTC 2017
Author: zbb
Date: Wed May 17 15:56:09 2017
New Revision: 318408
URL: https://svnweb.freebsd.org/changeset/base/318408
Log:
Correct MPIC order of attachment
If MPIC happens to be a slave interrupt controller (as on Armada38x),
it should be attached after primary interrupt controller.
Thus BUS_PASS_ORDER_LATE was added to default BUS_PASS_INTERRUPT.
This change doesn't affect the cases when MPIC is standalone IC.
Submitted by: Bartosz Szczepanek <bsz at semihalf.com>
Obtained from: Semihalf
Sponsored by: Stormshield, Netgate
Reviewed by: loos
Differential revision: https://reviews.freebsd.org/D10715
Modified:
head/sys/arm/mv/mpic.c
Modified: head/sys/arm/mv/mpic.c
==============================================================================
--- head/sys/arm/mv/mpic.c Wed May 17 15:54:33 2017 (r318407)
+++ head/sys/arm/mv/mpic.c Wed May 17 15:56:09 2017 (r318408)
@@ -398,7 +398,7 @@ static driver_t mv_mpic_driver = {
static devclass_t mv_mpic_devclass;
EARLY_DRIVER_MODULE(mpic, simplebus, mv_mpic_driver, mv_mpic_devclass, 0, 0,
- BUS_PASS_INTERRUPT);
+ BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
#ifndef INTRNG
int
More information about the svn-src-head
mailing list