Author: kevans
Date: Fri Jan 12 20:35:27 2018
New Revision: 327891
URL: https://svnweb.freebsd.org/changeset/base/327891

Log:
  allwinner/a83t_padconf: Rename "emac" function to "gmac" as per upstream DTS
  
  Although these should have been 'emac', upstream DTS is going with using
  'gmac' as the function name for the emac RGMII pins. Rename here to
  accommodate.
  
  emac support for the a83t should come in with the 4.16 DTS update, in
  another couple of months.

Modified:
  head/sys/arm/allwinner/a83t/a83t_padconf.c

Modified: head/sys/arm/allwinner/a83t/a83t_padconf.c
==============================================================================
--- head/sys/arm/allwinner/a83t/a83t_padconf.c  Fri Jan 12 20:25:57 2018        
(r327890)
+++ head/sys/arm/allwinner/a83t/a83t_padconf.c  Fri Jan 12 20:35:27 2018        
(r327891)
@@ -71,24 +71,24 @@ static const struct allwinner_pins a83t_pins[] = {
        { "PC17", 2, 17,  { "gpio_in", "gpio_out", "nand" } },
        { "PC18", 2, 18,  { "gpio_in", "gpio_out", "nand" } },
 
-       { "PD2",  3, 2,   { "gpio_in", "gpio_out", "lcd", NULL, "emac" } },
-       { "PD3",  3, 3,   { "gpio_in", "gpio_out", "lcd", NULL, "emac" } },
-       { "PD4",  3, 4,   { "gpio_in", "gpio_out", "lcd", NULL, "emac" } },
-       { "PD5",  3, 5,   { "gpio_in", "gpio_out", "lcd", NULL, "emac" } },
-       { "PD6",  3, 6,   { "gpio_in", "gpio_out", "lcd", NULL, "emac" } },
-       { "PD7",  3, 7,   { "gpio_in", "gpio_out", "lcd", NULL, "emac" } },
-       { "PD10", 3, 10,  { "gpio_in", "gpio_out", "lcd", NULL, "emac" } },
-       { "PD11", 3, 11,  { "gpio_in", "gpio_out", "lcd", NULL, "emac" } },
-       { "PD12", 3, 12,  { "gpio_in", "gpio_out", "lcd", NULL, "emac" } },
-       { "PD13", 3, 13,  { "gpio_in", "gpio_out", "lcd", NULL, "emac" } },
-       { "PD14", 3, 14,  { "gpio_in", "gpio_out", "lcd", NULL, "emac" } },
-       { "PD15", 3, 15,  { "gpio_in", "gpio_out", "lcd", NULL, "emac" } },
-       { "PD18", 3, 18,  { "gpio_in", "gpio_out", "lcd", "lvds", "emac" } },
-       { "PD19", 3, 19,  { "gpio_in", "gpio_out", "lcd", "lvds", "emac" } },
-       { "PD20", 3, 20,  { "gpio_in", "gpio_out", "lcd", "lvds", "emac" } },
-       { "PD21", 3, 21,  { "gpio_in", "gpio_out", "lcd", "lvds", "emac" } },
-       { "PD22", 3, 22,  { "gpio_in", "gpio_out", "lcd", "lvds", "emac" } },
-       { "PD23", 3, 23,  { "gpio_in", "gpio_out", "lcd", "lvds", "emac" } },
+       { "PD2",  3, 2,   { "gpio_in", "gpio_out", "lcd", NULL, "gmac" } },
+       { "PD3",  3, 3,   { "gpio_in", "gpio_out", "lcd", NULL, "gmac" } },
+       { "PD4",  3, 4,   { "gpio_in", "gpio_out", "lcd", NULL, "gmac" } },
+       { "PD5",  3, 5,   { "gpio_in", "gpio_out", "lcd", NULL, "gmac" } },
+       { "PD6",  3, 6,   { "gpio_in", "gpio_out", "lcd", NULL, "gmac" } },
+       { "PD7",  3, 7,   { "gpio_in", "gpio_out", "lcd", NULL, "gmac" } },
+       { "PD10", 3, 10,  { "gpio_in", "gpio_out", "lcd", NULL, "gmac" } },
+       { "PD11", 3, 11,  { "gpio_in", "gpio_out", "lcd", NULL, "gmac" } },
+       { "PD12", 3, 12,  { "gpio_in", "gpio_out", "lcd", NULL, "gmac" } },
+       { "PD13", 3, 13,  { "gpio_in", "gpio_out", "lcd", NULL, "gmac" } },
+       { "PD14", 3, 14,  { "gpio_in", "gpio_out", "lcd", NULL, "gmac" } },
+       { "PD15", 3, 15,  { "gpio_in", "gpio_out", "lcd", NULL, "gmac" } },
+       { "PD18", 3, 18,  { "gpio_in", "gpio_out", "lcd", "lvds", "gmac" } },
+       { "PD19", 3, 19,  { "gpio_in", "gpio_out", "lcd", "lvds", "gmac" } },
+       { "PD20", 3, 20,  { "gpio_in", "gpio_out", "lcd", "lvds", "gmac" } },
+       { "PD21", 3, 21,  { "gpio_in", "gpio_out", "lcd", "lvds", "gmac" } },
+       { "PD22", 3, 22,  { "gpio_in", "gpio_out", "lcd", "lvds", "gmac" } },
+       { "PD23", 3, 23,  { "gpio_in", "gpio_out", "lcd", "lvds", "gmac" } },
        { "PD24", 3, 24,  { "gpio_in", "gpio_out", "lcd", "lvds" } },
        { "PD25", 3, 25,  { "gpio_in", "gpio_out", "lcd", "lvds" } },
        { "PD26", 3, 26,  { "gpio_in", "gpio_out", "lcd", "lvds" } },
_______________________________________________
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"

Reply via email to