From owner-svn-src-all@FreeBSD.ORG Mon Jan 5 19:49:21 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B32BEFD; Mon, 5 Jan 2015 19:49:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F0EB3059; Mon, 5 Jan 2015 19:49:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t05JnLX9004910; Mon, 5 Jan 2015 19:49:21 GMT (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t05JnLVL004908; Mon, 5 Jan 2015 19:49:21 GMT (envelope-from jhb@FreeBSD.org) Message-Id: <201501051949.t05JnLVL004908@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jhb set sender to jhb@FreeBSD.org using -f From: John Baldwin Date: Mon, 5 Jan 2015 19:49:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276715 - head/sys/dev/tws X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2015 19:49:21 -0000 Author: jhb Date: Mon Jan 5 19:49:20 2015 New Revision: 276715 URL: https://svnweb.freebsd.org/changeset/base/276715 Log: Use struct thread * directly instead of d_thread_t. This driver is not likely to be merged back to stable/4. Reviewed by: delphij Modified: head/sys/dev/tws/tws.c head/sys/dev/tws/tws_user.c Modified: head/sys/dev/tws/tws.c ============================================================================== --- head/sys/dev/tws/tws.c Mon Jan 5 19:15:35 2015 (r276714) +++ head/sys/dev/tws/tws.c Mon Jan 5 19:49:20 2015 (r276715) @@ -113,7 +113,7 @@ static struct cdevsw tws_cdevsw = { */ int -tws_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td) +tws_open(struct cdev *dev, int oflags, int devtype, struct thread *td) { struct tws_softc *sc = dev->si_drv1; @@ -123,7 +123,7 @@ tws_open(struct cdev *dev, int oflags, i } int -tws_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td) +tws_close(struct cdev *dev, int fflag, int devtype, struct thread *td) { struct tws_softc *sc = dev->si_drv1; Modified: head/sys/dev/tws/tws_user.c ============================================================================== --- head/sys/dev/tws/tws_user.c Mon Jan 5 19:15:35 2015 (r276714) +++ head/sys/dev/tws/tws_user.c Mon Jan 5 19:49:20 2015 (r276715) @@ -41,7 +41,7 @@ int tws_ioctl(struct cdev *dev, long unsigned int cmd, caddr_t buf, int flags, - d_thread_t *proc); + struct thread *td); void tws_passthru_complete(struct tws_request *req); extern void tws_circular_aenq_insert(struct tws_softc *sc, struct tws_circular_q *cq, struct tws_event_packet *aen); @@ -60,7 +60,7 @@ extern void tws_timeout(void *arg); int tws_ioctl(struct cdev *dev, u_long cmd, caddr_t buf, int flags, - d_thread_t *proc) + struct thread *td) { struct tws_softc *sc = (struct tws_softc *)(dev->si_drv1); int error;