Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/awin pass usb_restrict_gpio from fex to gpio...



details:   https://anonhg.NetBSD.org/src/rev/9702232b876a
branches:  trunk
changeset: 333348:9702232b876a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Oct 30 00:32:55 2014 +0000

description:
pass usb_restrict_gpio from fex to gpio driver

diffstat:

 sys/arch/evbarm/awin/awin_machdep.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r e1b5e67dfc39 -r 9702232b876a sys/arch/evbarm/awin/awin_machdep.c
--- a/sys/arch/evbarm/awin/awin_machdep.c       Wed Oct 29 23:01:46 2014 +0000
+++ b/sys/arch/evbarm/awin/awin_machdep.c       Thu Oct 30 00:32:55 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awin_machdep.c,v 1.22 2014/10/29 10:28:03 joerg Exp $ */
+/*     $NetBSD: awin_machdep.c,v 1.23 2014/10/30 00:32:55 jmcneill Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.22 2014/10/29 10:28:03 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.23 2014/10/30 00:32:55 jmcneill Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -768,12 +768,15 @@
                { "usb0drv",            "usbc0", "usb_drv_vbus_gpio" },
                { "usb0iddet",          "usbc0", "usb_id_gpio" },
                { "usb0vbusdet",        "usbc0", "usb_det_vbus_gpio" },
+               { "usb0restrict",       "usbc0", "usb_restrict_gpio" },
                { "usb1drv",            "usbc1", "usb_drv_vbus_gpio" },
                { "usb1iddet",          "usbc1", "usb_id_gpio" },
                { "usb1vbusdet",        "usbc1", "usb_det_vbus_gpio" },
+               { "usb1restrict",       "usbc1", "usb_restrict_gpio" },
                { "usb2drv",            "usbc2", "usb_drv_vbus_gpio" },
                { "usb2iddet",          "usbc2", "usb_id_gpio" },
                { "usb2vbusdet",        "usbc2", "usb_det_vbus_gpio" },
+               { "usb2restrict",       "usbc2", "usb_restrict_gpio" },
                { "status-led1",        "leds_para", "leds_pin_1" },
                { "status-led2",        "leds_para", "leds_pin_2" },
                { "status-led3",        "leds_para", "leds_pin_3" },



Home | Main Index | Thread Index | Old Index