From owner-cvs-src@FreeBSD.ORG Wed Jun 2 15:59:58 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81DCF16A4CE; Wed, 2 Jun 2004 15:59:58 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 637E543D2F; Wed, 2 Jun 2004 15:59:58 -0700 (PDT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i52MxwFO094821; Wed, 2 Jun 2004 15:59:58 -0700 (PDT) (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i52Mxwbi094820; Wed, 2 Jun 2004 15:59:58 -0700 (PDT) (envelope-from mux) Message-Id: <200406022259.i52Mxwbi094820@repoman.freebsd.org> From: Maxime Henrion Date: Wed, 2 Jun 2004 15:59:58 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/fxp if_fxp.c if_fxpvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 22:59:58 -0000 mux 2004/06/02 15:59:58 PDT FreeBSD src repository Modified files: sys/dev/fxp if_fxp.c if_fxpvar.h Log: Abstract the locking in fxp(4) a bit more by using macros for mtx_assert() and mtx_owned(), as it is done in other places, for instance proc locking. Revision Changes Path 1.214 +7 -6 src/sys/dev/fxp/if_fxp.c 1.32 +4 -2 src/sys/dev/fxp/if_fxpvar.h