Author: andrew
Date: Mon Mar 5 10:11:30 2018
New Revision: 330489
URL: https://svnweb.freebsd.org/changeset/base/330489
Log:
Register each GICv3 ITS driver with a useful cross reference. We currently
only use the first driver, however this may change in the future and
hardware exists with multiple ITS devices.
Sponsored by: DARPA, AFRL
Sponsored by: Cavium (Hardware)
Modified:
head/sys/arm64/arm64/gicv3_its.c
Modified: head/sys/arm64/arm64/gicv3_its.c
==============================================================================
--- head/sys/arm64/arm64/gicv3_its.c Mon Mar 5 10:09:18 2018
(r330488)
+++ head/sys/arm64/arm64/gicv3_its.c Mon Mar 5 10:11:30 2018
(r330489)
@@ -1734,7 +1734,7 @@ gicv3_its_acpi_attach(device_t dev)
if (err != 0)
return (err);
- sc->sc_pic = intr_pic_register(dev, 1);
+ sc->sc_pic = intr_pic_register(dev, device_get_unit(dev) + 1);
intr_pic_add_handler(device_get_parent(dev), sc->sc_pic,
gicv3_its_intr, sc, GIC_FIRST_LPI, LPI_NIRQS);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"