Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb s/UBS/USB/ in a macro and its use.



details:   https://anonhg.NetBSD.org/src/rev/9d580498f186
branches:  trunk
changeset: 945366:9d580498f186
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Oct 27 13:46:33 2020 +0000

description:
s/UBS/USB/ in a macro and its use.

pointed out by nisimura@.

diffstat:

 sys/dev/usb/usbnet.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4a13de647838 -r 9d580498f186 sys/dev/usb/usbnet.h
--- a/sys/dev/usb/usbnet.h      Tue Oct 27 13:42:22 2020 +0000
+++ b/sys/dev/usb/usbnet.h      Tue Oct 27 13:46:33 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbnet.h,v 1.17 2020/03/15 23:04:51 thorpej Exp $      */
+/*     $NetBSD: usbnet.h,v 1.18 2020/10/27 13:46:33 mrg Exp $  */
 
 /*
  * Copyright (c) 2019 Matthew R. Green
@@ -219,7 +219,7 @@
        int                     un_mii_offset;
 };
 
-#define UBSNET_MII_DECL(name, capmask, loc, off, flags)        \
+#define USBNET_MII_DECL(name, capmask, loc, off, flags)        \
        struct usbnet_mii name = {                      \
                .un_mii_capmask = capmask,              \
                .un_mii_phyloc = loc,                   \
@@ -227,7 +227,7 @@
                .un_mii_flags = flags,                  \
        }
 #define USBNET_MII_DECL_DEFAULT(name)                          \
-       UBSNET_MII_DECL(name, 0xffffffff, MII_PHY_ANY, MII_OFFSET_ANY, 0)
+       USBNET_MII_DECL(name, 0xffffffff, MII_PHY_ANY, MII_OFFSET_ANY, 0)
 
 /*
  * Generic USB ethernet structure.  Use this as ifp->if_softc and set as



Home | Main Index | Thread Index | Old Index