From owner-cvs-all@FreeBSD.ORG Wed Sep 24 19:43:26 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7250106566B; Wed, 24 Sep 2008 19:43:26 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 893688FC08; Wed, 24 Sep 2008 19:43:26 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m8OJhQcl008563; Wed, 24 Sep 2008 19:43:26 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8OJhQPJ008540; Wed, 24 Sep 2008 19:43:26 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200809241943.m8OJhQPJ008540@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Wed, 24 Sep 2008 19:43:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sys tty.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2008 19:43:26 -0000 ed 2008-09-24 19:43:09 UTC FreeBSD src repository Modified files: sys/sys tty.h Log: SVN rev 183332 on 2008-09-24 19:43:09Z by ed Add another TTY locking migration macro: tty_getlock(). Some subsystems (HPS-USB) like to lock down the TTY through a more generic approach, namely the regular mtx(9) macro's. Allow the TTY lock to be obtained through the new macro. Discussed with: hps, thompsa Revision Changes Path 1.109 +1 -0 src/sys/sys/tty.h