Module Name: src
Committed By: mrg
Date: Wed Oct 28 01:51:45 UTC 2020
Modified Files:
src/sys/dev/usb: usbnet.h
Log Message:
s/USENET/USBNET/ in another place i just happened to find by
typo-ing "UBS" as "USE".
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/usb/usbnet.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/usbnet.h
diff -u src/sys/dev/usb/usbnet.h:1.18 src/sys/dev/usb/usbnet.h:1.19
--- src/sys/dev/usb/usbnet.h:1.18 Tue Oct 27 13:46:33 2020
+++ src/sys/dev/usb/usbnet.h Wed Oct 28 01:51:45 2020
@@ -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 @@ void usbnet_stop(struct usbnet *, struct
/* 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 @@ if_##name##_modcmd(modcmd_t cmd, void *a
\
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; \