Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/ingenic 'USB' -> 'USB OTG' to distinguish this...



details:   https://anonhg.NetBSD.org/src/rev/ac45092cec09
branches:  trunk
changeset: 807944:ac45092cec09
user:      macallan <macallan%NetBSD.org@localhost>
date:      Tue Apr 28 15:07:07 2015 +0000

description:
'USB' -> 'USB OTG' to distinguish this one from the other USB hosts

diffstat:

 sys/arch/mips/ingenic/ingenic_dwctwo.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 8de135aa964b -r ac45092cec09 sys/arch/mips/ingenic/ingenic_dwctwo.c
--- a/sys/arch/mips/ingenic/ingenic_dwctwo.c    Tue Apr 28 15:05:45 2015 +0000
+++ b/sys/arch/mips/ingenic/ingenic_dwctwo.c    Tue Apr 28 15:07:07 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ingenic_dwctwo.c,v 1.9 2015/03/17 09:27:09 macallan Exp $ */
+/*     $NetBSD: ingenic_dwctwo.c,v 1.10 2015/04/28 15:07:07 macallan Exp $ */
 
 /*-
  * Copyright (c) 2014 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ingenic_dwctwo.c,v 1.9 2015/03/17 09:27:09 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ingenic_dwctwo.c,v 1.10 2015/04/28 15:07:07 macallan Exp $");
 
 /*
  * adapted from bcm2835_dwctwo.c
@@ -134,9 +134,10 @@
                return;
        }
 
-       aprint_naive(": USB controller\n");
-       aprint_normal(": USB controller\n");
+       aprint_naive(": USB OTG controller\n");
+       aprint_normal(": USB OTG controller\n");
 
+       /* reset PHY, flash LED */
        gpio_set(5, 15, 0);
        delay(250000);
        gpio_set(5, 15, 1);



Home | Main Index | Thread Index | Old Index