1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

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)
This commit is contained in:
Andrew Turner 2018-03-05 10:11:30 +00:00
parent c5691e5922
commit a29169fda3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330489

View File

@ -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);