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/USENET/USBNET/ in another place i just happene...



details:   https://anonhg.NetBSD.org/src/rev/0526df1f1906
branches:  trunk
changeset: 941719:0526df1f1906
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Oct 28 01:51:45 2020 +0000

description:
s/USENET/USBNET/ in another place i just happened to find by
typo-ing "UBS" as "USE".

diffstat:

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

diffs (42 lines):

diff -r 692f769c1ca2 -r 0526df1f1906 sys/dev/usb/usbnet.h
--- a/sys/dev/usb/usbnet.h      Wed Oct 28 01:51:36 2020 +0000
+++ b/sys/dev/usb/usbnet.h      Wed Oct 28 01:51:45 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbnet.h,v 1.18 2020/10/27 13:46:33 mrg Exp $  */
+/*     $NetBSD: usbnet.h,v 1.19 2020/10/28 01:51:45 mrg Exp $  */
 
 /*
  * Copyright (c) 2019 Matthew R. Green
@@ -367,15 +367,15 @@
 /* module hook up */
 
 #ifdef _MODULE
-#define USENET_INIT(name)                                              \
+#define USBNET_INIT(name)                                              \
        error = config_init_component(cfdriver_ioconf_##name,           \
            cfattach_ioconf_##name, cfdata_ioconf_##name);
-#define USENET_FINI(name)                                              \
+#define USBNET_FINI(name)                                              \
        error = config_fini_component(cfdriver_ioconf_##name,           \
            cfattach_ioconf_##name, cfdata_ioconf_##name);
 #else
-#define USENET_INIT(name)
-#define USENET_FINI(name)
+#define USBNET_INIT(name)
+#define USBNET_FINI(name)
 #endif
 
 #define USBNET_MODULE(name)                                            \
@@ -389,10 +389,10 @@
                                                                        \
        switch (cmd) {                                                  \
        case MODULE_CMD_INIT:                                           \
-               USENET_INIT(name)                                       \
+               USBNET_INIT(name)                                       \
                return error;                                           \
        case MODULE_CMD_FINI:                                           \
-               USENET_FINI(name)                                       \
+               USBNET_FINI(name)                                       \
                return error;                                           \
        default:                                                        \
                return ENOTTY;                                          \



Home | Main Index | Thread Index | Old Index