Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Make sc_vendor in ohci_softc the same size as th...



details:   https://anonhg.NetBSD.org/src/rev/552ff6454e91
branches:  trunk
changeset: 756320:552ff6454e91
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Mon Jul 12 04:16:51 2010 +0000

description:
Make sc_vendor in ohci_softc the same size as that in uhci_softc and ehci_softc.
This change prevents some truncated OHCI vendor names in some verbose cases:
uhub0 at usb0: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
...
uhub1 at usb1: ATI Technologies EHCI root hub, class 9/0, rev 2.00/1.00, addr 1

diffstat:

 sys/dev/usb/ohcivar.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2f2d92f052ce -r 552ff6454e91 sys/dev/usb/ohcivar.h
--- a/sys/dev/usb/ohcivar.h     Mon Jul 12 03:39:05 2010 +0000
+++ b/sys/dev/usb/ohcivar.h     Mon Jul 12 04:16:51 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohcivar.h,v 1.47 2010/02/24 22:38:09 dyoung Exp $      */
+/*     $NetBSD: ohcivar.h,v 1.48 2010/07/12 04:16:51 jakllsch Exp $    */
 /*     $FreeBSD: src/sys/dev/usb/ohcivar.h,v 1.13 1999/11/17 22:33:41 n_hibma Exp $    */
 
 /*
@@ -121,7 +121,7 @@
 
        usbd_xfer_handle sc_intrxfer;
 
-       char sc_vendor[16];
+       char sc_vendor[32];
        int sc_id_vendor;
 
        u_int32_t sc_control;           /* Preserved during suspend/standby */



Home | Main Index | Thread Index | Old Index