Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/sunxi Set has_io_bias_config flag



details:   https://anonhg.NetBSD.org/src/rev/99179ce45aa1
branches:  trunk
changeset: 451568:99179ce45aa1
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon May 27 23:26:42 2019 +0000

description:
Set has_io_bias_config flag

diffstat:

 sys/arch/arm/sunxi/sun9i_a80_gpio.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r c6271f2d7269 -r 99179ce45aa1 sys/arch/arm/sunxi/sun9i_a80_gpio.c
--- a/sys/arch/arm/sunxi/sun9i_a80_gpio.c       Mon May 27 23:26:20 2019 +0000
+++ b/sys/arch/arm/sunxi/sun9i_a80_gpio.c       Mon May 27 23:26:42 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun9i_a80_gpio.c,v 1.2 2018/04/03 16:01:25 bouyer Exp $ */
+/* $NetBSD: sun9i_a80_gpio.c,v 1.3 2019/05/27 23:26:42 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sun9i_a80_gpio.c,v 1.2 2018/04/03 16:01:25 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sun9i_a80_gpio.c,v 1.3 2019/05/27 23:26:42 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -213,9 +213,11 @@
 const struct sunxi_gpio_padconf sun9i_a80_padconf = {
        .npins = __arraycount(a80_pins),
        .pins = a80_pins,
+       .has_io_bias_config = true,
 };
 
 const struct sunxi_gpio_padconf sun9i_a80_r_padconf = {
        .npins = __arraycount(a80_r_pins),
        .pins = a80_r_pins,
+       .has_io_bias_config = true,
 };



Home | Main Index | Thread Index | Old Index