Author: jhibbits Date: Fri Mar 24 01:52:10 2017 New Revision: 315880 URL: https://svnweb.freebsd.org/changeset/base/315880
Log: Don't bother checking core version We already constrain by SoC, so there's no need to check the core version, too. Modified: head/sys/powerpc/mpc85xx/mpc85xx_gpio.c Modified: head/sys/powerpc/mpc85xx/mpc85xx_gpio.c ============================================================================== --- head/sys/powerpc/mpc85xx/mpc85xx_gpio.c Fri Mar 24 01:30:18 2017 (r315879) +++ head/sys/powerpc/mpc85xx/mpc85xx_gpio.c Fri Mar 24 01:52:10 2017 (r315880) @@ -179,7 +179,6 @@ mpc85xx_gpio_pin_toggle(device_t dev, ui static int mpc85xx_gpio_probe(device_t dev) { - uint16_t vers; uint32_t svr; if (!ofw_bus_status_okay(dev)) @@ -188,16 +187,6 @@ mpc85xx_gpio_probe(device_t dev) if (!ofw_bus_is_compatible(dev, "gpio")) return (ENXIO); - vers = mfpvr() >> 16; - switch (vers) { - case FSL_E500v1: - case FSL_E500v2: - case FSL_E500mc: - break; - default: - return (ENXIO); - } - svr = mfspr(SPR_SVR); switch (SVR_VER(svr)) { case SVR_MPC8533: _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"