Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb revert bPreferedVersion rename. It's named like ...



details:   https://anonhg.NetBSD.org/src/rev/f67cdc8958ca
branches:  trunk
changeset: 1026247:f67cdc8958ca
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Nov 14 08:32:07 2021 +0000

description:
revert bPreferedVersion rename. It's named like the by spec (from jmcneill).

diffstat:

 sys/dev/usb/uvideo.c    |  8 ++++----
 sys/dev/usb/uvideoreg.h |  4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r 929e09c3922d -r f67cdc8958ca sys/dev/usb/uvideo.c
--- a/sys/dev/usb/uvideo.c      Sun Nov 14 07:27:25 2021 +0000
+++ b/sys/dev/usb/uvideo.c      Sun Nov 14 08:32:07 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvideo.c,v 1.62 2021/11/13 21:13:41 andvar Exp $       */
+/*     $NetBSD: uvideo.c,v 1.63 2021/11/14 08:32:07 andvar Exp $       */
 
 /*
  * Copyright (c) 2008 Patrick Mahoney
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.62 2021/11/13 21:13:41 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.63 2021/11/14 08:32:07 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -2049,11 +2049,11 @@
                      UGETDW(probe.dwMaxPayloadTransferSize)));
        if (vs->vs_probelen == 34) {
                DPRINTFN(15, (" dwClockFrequency=%u bmFramingInfo=0x%02x "
-                             "bPreferredVersion=%d bMinVersion=%d "
+                             "bPreferedVersion=%d bMinVersion=%d "
                              "bMaxVersion=%d",
                              UGETDW(probe.dwClockFrequency),
                              probe.bmFramingInfo,
-                             probe.bPreferredVersion,
+                             probe.bPreferedVersion,
                              probe.bMinVersion,
                              probe.bMaxVersion));
        }
diff -r 929e09c3922d -r f67cdc8958ca sys/dev/usb/uvideoreg.h
--- a/sys/dev/usb/uvideoreg.h   Sun Nov 14 07:27:25 2021 +0000
+++ b/sys/dev/usb/uvideoreg.h   Sun Nov 14 08:32:07 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvideoreg.h,v 1.5 2021/11/13 21:13:41 andvar Exp $     */
+/*     $NetBSD: uvideoreg.h,v 1.6 2021/11/14 08:32:07 andvar Exp $     */
 
 /*
  * Copyright (c) 2008 Patrick Mahoney
@@ -644,7 +644,7 @@
        uByte           bmFramingInfo;
 #define UVIDEO_FRAMING_INFO_FID        (1<<0)
 #define UVIDEO_FRAMING_INFO_EOF        (1<<1)
-       uByte           bPreferredVersion;
+       uByte           bPreferedVersion;
        uByte           bMinVersion;
        uByte           bMaxVersion;
 } UPACKED uvideo_probe_and_commit_data_t;



Home | Main Index | Thread Index | Old Index