diff options
author | hselasky <hselasky@FreeBSD.org> | 2011-06-04 20:40:24 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2011-06-04 20:40:24 +0000 |
commit | e9d242e0e447f3025156133301d432e91adaab05 (patch) | |
tree | dc0018048bf289eafea20c55840f63f9231c23e5 /sys/dev | |
parent | e9eb5d3b9cabfc492871c5e6a6b40f13063f17f9 (diff) | |
download | FreeBSD-src-e9d242e0e447f3025156133301d432e91adaab05.zip FreeBSD-src-e9d242e0e447f3025156133301d432e91adaab05.tar.gz |
Rename recently added USB serial driver.
Suggested by: YongHyeon PYUN
MFC after: 7 days
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/serial/umcs.c (renamed from sys/dev/usb/serial/umcs7840.c) | 10 | ||||
-rw-r--r-- | sys/dev/usb/serial/umcs.h (renamed from sys/dev/usb/serial/umcs7840.h) | 0 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/serial/umcs7840.c b/sys/dev/usb/serial/umcs.c index 34b68a1..c74044e 100644 --- a/sys/dev/usb/serial/umcs7840.c +++ b/sys/dev/usb/serial/umcs.c @@ -66,21 +66,21 @@ __FBSDID("$FreeBSD$"); #include <dev/usb/usb_cdc.h> #include "usbdevs.h" -#define USB_DEBUG_VAR umcs7840_debug +#define USB_DEBUG_VAR umcs_debug #include <dev/usb/usb_debug.h> #include <dev/usb/usb_process.h> #include <dev/usb/serial/usb_serial.h> -#include <dev/usb/serial/umcs7840.h> +#include <dev/usb/serial/umcs.h> #define UMCS7840_MODVER 1 #ifdef USB_DEBUG -static int umcs7840_debug = 0; +static int umcs_debug = 0; -SYSCTL_NODE(_hw_usb, OID_AUTO, umcs7840, CTLFLAG_RW, 0, "USB umcs7840 quadport serial adapter"); -SYSCTL_INT(_hw_usb_umcs7840, OID_AUTO, debug, CTLFLAG_RW, &umcs7840_debug, 0, "Debug level"); +SYSCTL_NODE(_hw_usb, OID_AUTO, umcs, CTLFLAG_RW, 0, "USB umcs quadport serial adapter"); +SYSCTL_INT(_hw_usb_umcs, OID_AUTO, debug, CTLFLAG_RW, &umcs_debug, 0, "Debug level"); #endif /* USB_DEBUG */ diff --git a/sys/dev/usb/serial/umcs7840.h b/sys/dev/usb/serial/umcs.h index 310b4af..310b4af 100644 --- a/sys/dev/usb/serial/umcs7840.h +++ b/sys/dev/usb/serial/umcs.h |