Date: Sat, 18 Feb 2017 18:24:03 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r313917 - head/sys/arm/freescale/imx Message-ID: <201702181824.v1IIO3Te039162@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Sat Feb 18 18:24:03 2017 New Revision: 313917 URL: https://svnweb.freebsd.org/changeset/base/313917 Log: Change the naming of imx{5,6} gpio pins to exactly match the names used in the chip reference manuals: GPIOn_IOnn. Modified: head/sys/arm/freescale/imx/imx_gpio.c Modified: head/sys/arm/freescale/imx/imx_gpio.c ============================================================================== --- head/sys/arm/freescale/imx/imx_gpio.c Sat Feb 18 14:44:14 2017 (r313916) +++ head/sys/arm/freescale/imx/imx_gpio.c Sat Feb 18 18:24:03 2017 (r313917) @@ -727,7 +727,7 @@ imx51_gpio_attach(device_t dev) (READ4(sc, IMX_GPIO_OE_REG) & (1U << i)) ? GPIO_PIN_OUTPUT : GPIO_PIN_INPUT; snprintf(sc->gpio_pins[i].gp_name, GPIOMAXNAME, - "imx_gpio%d.%d", unit, i); + "GPIO%d_IO%02d", unit + 1, i); } #ifdef INTRNG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702181824.v1IIO3Te039162>