svn commit: r314515 - stable/11/sys/arm/freescale/imx

Ian Lepore ian at FreeBSD.org
Wed Mar 1 21:19:47 UTC 2017


Author: ian
Date: Wed Mar  1 21:19:46 2017
New Revision: 314515
URL: https://svnweb.freebsd.org/changeset/base/314515

Log:
  MFC r313917:
  
    Change the naming of imx{5,6} gpio pins to exactly match the names used in
    the reference manual.

Modified:
  stable/11/sys/arm/freescale/imx/imx_gpio.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/arm/freescale/imx/imx_gpio.c
==============================================================================
--- stable/11/sys/arm/freescale/imx/imx_gpio.c	Wed Mar  1 21:18:42 2017	(r314514)
+++ stable/11/sys/arm/freescale/imx/imx_gpio.c	Wed Mar  1 21:19:46 2017	(r314515)
@@ -728,7 +728,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


More information about the svn-src-all mailing list