Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/s3c2xx0 + set vendor name as Samsung.



details:   https://anonhg.NetBSD.org/src/rev/7e2f32cbef63
branches:  trunk
changeset: 551118:7e2f32cbef63
user:      bsh <bsh%NetBSD.org@localhost>
date:      Fri Aug 29 12:38:48 2003 +0000

description:
+ set vendor name as Samsung.
+ delete debug printf() and use aprint_normal()

diffstat:

 sys/arch/arm/s3c2xx0/ohci_s3c24x0.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r 71d0be61b9f1 -r 7e2f32cbef63 sys/arch/arm/s3c2xx0/ohci_s3c24x0.c
--- a/sys/arch/arm/s3c2xx0/ohci_s3c24x0.c       Fri Aug 29 12:36:44 2003 +0000
+++ b/sys/arch/arm/s3c2xx0/ohci_s3c24x0.c       Fri Aug 29 12:38:48 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci_s3c24x0.c,v 1.1 2003/08/05 11:28:59 bsh Exp $ */
+/*     $NetBSD: ohci_s3c24x0.c,v 1.2 2003/08/29 12:38:48 bsh Exp $ */
 
 /* derived from ohci_pci.c */
 
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci_s3c24x0.c,v 1.1 2003/08/05 11:28:59 bsh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci_s3c24x0.c,v 1.2 2003/08/29 12:38:48 bsh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -99,6 +99,8 @@
        usbd_status r;
        char *devname = sc->sc.sc_bus.bdev.dv_xname;
 
+       aprint_normal("\n");
+
        sc->sc.iot = sa->sa_iot;
        /*ohcidebug=15;*/
 
@@ -112,7 +114,6 @@
        bus_space_write_4(sc->sc.iot, sc->sc.ioh, OHCI_INTERRUPT_DISABLE,
                          OHCI_ALL_INTRS);
 
-       printf("dmat = %p\n", sa->sa_dmat);
        sc->sc.sc_bus.dmatag = sa->sa_dmat;
 
        /* Enable the device. */
@@ -125,7 +126,7 @@
                return;
        }
 
-       /*strlcpy(sc->sc.sc_vendor, "Samsung", sizeof sc->sc.sc_id_vendor);*/
+       strlcpy(sc->sc.sc_vendor, "Samsung", sizeof sc->sc.sc_vendor);
        
        r = ohci_init(&sc->sc);
        if (r != USBD_NORMAL_COMPLETION) {



Home | Main Index | Thread Index | Old Index