From owner-svn-src-head@FreeBSD.ORG Sun Feb 15 23:38:58 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2BC5106566C; Sun, 15 Feb 2009 23:38:58 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C05E78FC0A; Sun, 15 Feb 2009 23:38:58 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1FNcwQ5013961; Sun, 15 Feb 2009 23:38:58 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1FNcwWW013960; Sun, 15 Feb 2009 23:38:58 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <200902152338.n1FNcwWW013960@svn.freebsd.org> From: Andrew Thompson Date: Sun, 15 Feb 2009 23:38:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188664 - head/sys/dev/usb2/serial X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 23:38:59 -0000 Author: thompsa Date: Sun Feb 15 23:38:58 2009 New Revision: 188664 URL: http://svn.freebsd.org/changeset/base/188664 Log: Make uslcom compile, cut'n'paste errors from uplcom. Modified: head/sys/dev/usb2/serial/uslcom2.c Modified: head/sys/dev/usb2/serial/uslcom2.c ============================================================================== --- head/sys/dev/usb2/serial/uslcom2.c Sun Feb 15 23:29:13 2009 (r188663) +++ head/sys/dev/usb2/serial/uslcom2.c Sun Feb 15 23:38:58 2009 (r188664) @@ -39,8 +39,8 @@ __FBSDID("$FreeBSD$"); #if USB_DEBUG static int uslcom_debug = 0; -SYSCTL_NODE(_hw_usb2, OID_AUTO, uplcom, CTLFLAG_RW, 0, "USB uplcom"); -SYSCTL_INT(_hw_usb2_uplcom, OID_AUTO, debug, CTLFLAG_RW, +SYSCTL_NODE(_hw_usb2, OID_AUTO, uslcom, CTLFLAG_RW, 0, "USB uslcom"); +SYSCTL_INT(_hw_usb2_uslcom, OID_AUTO, debug, CTLFLAG_RW, &uslcom_debug, 0, "Debug level"); #endif @@ -188,15 +188,15 @@ static device_method_t uslcom_methods[] static devclass_t uslcom_devclass; static driver_t uslcom_driver = { - .name = "uplcom", + .name = "uslcom", .methods = uslcom_methods, .size = sizeof(struct uslcom_softc), }; -DRIVER_MODULE(uplcom, ushub, uslcom_driver, uslcom_devclass, NULL, 0); -MODULE_DEPEND(uplcom, usb2_serial, 1, 1, 1); -MODULE_DEPEND(uplcom, usb2_core, 1, 1, 1); -MODULE_VERSION(uplcom, 1); +DRIVER_MODULE(uslcom, ushub, uslcom_driver, uslcom_devclass, NULL, 0); +MODULE_DEPEND(uslcom, usb2_serial, 1, 1, 1); +MODULE_DEPEND(uslcom, usb2_core, 1, 1, 1); +MODULE_VERSION(uslcom, 1); static int uslcom_probe(device_t dev)