Dynamically attach ampintc(4) and make it register itself as an interrupt
authorkettenis <kettenis@openbsd.org>
Thu, 4 Aug 2016 15:52:52 +0000 (15:52 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 4 Aug 2016 15:52:52 +0000 (15:52 +0000)
commit6fc522b170aec3f74aa118c9c88b931d30a95f59
tree1955c1f53d927ebef1fa3cbe77cda2b915240300
parentaa81c5dd3632425d88e393d7fc4ffa8f5e670a67
Dynamically attach ampintc(4) and make it register itself as an interrupt
controller.  Switch all i.MX6 devices over to the new FDT-aware interrupt
establish API and enable imxgpc(4).

This may break other platforms that use ampintc(4) as their interrupt
controller.  We will fix this as soon as possible by switching them over
to the new interrupt establish API as well.

This also removes the hack in fec(4) to avoid the gpio-based interrupt
workaround.  This commit is an essential step on the road to fix that
issue properly.

ok patrick@, jsg@
sys/arch/arm/cortex/ampintc.c
sys/arch/arm/cortex/files.cortex
sys/arch/armv7/conf/GENERIC
sys/arch/armv7/conf/RAMDISK
sys/arch/armv7/imx/if_fec.c
sys/arch/armv7/imx/imxahci.c
sys/arch/armv7/imx/imxehci.c
sys/arch/armv7/imx/imxesdhc.c
sys/arch/armv7/imx/imxiic.c
sys/arch/armv7/imx/imxuart.c