Author: jhibbits Date: Tue Mar 1 03:41:48 2016 New Revision: 296251 URL: https://svnweb.freebsd.org/changeset/base/296251
Log: Add another compatibility check for QorIQ GPIO driver. Some MPC85xx GPIO controllers are compatible with QorIQ. It may make more sense in the future to rename this and mpc85xx_gpio.c, as mpc85xx_gpio.c appears to only be compatible with a few mpc85xx SoCs. All other MPC85xx SoCs use the same controller as QorIQ. Modified: head/sys/powerpc/mpc85xx/qoriq_gpio.c Modified: head/sys/powerpc/mpc85xx/qoriq_gpio.c ============================================================================== --- head/sys/powerpc/mpc85xx/qoriq_gpio.c Tue Mar 1 02:59:06 2016 (r296250) +++ head/sys/powerpc/mpc85xx/qoriq_gpio.c Tue Mar 1 03:41:48 2016 (r296251) @@ -219,7 +219,8 @@ static int qoriq_gpio_probe(device_t dev) { - if (!ofw_bus_is_compatible(dev, "fsl,qoriq-gpio")) + if (!ofw_bus_is_compatible(dev, "fsl,qoriq-gpio") && + !ofw_bus_is_compatible(dev, "fsl,mpc8572-gpio")) return (ENXIO); device_set_desc(dev, "Freescale QorIQ GPIO driver"); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"