From owner-cvs-all@FreeBSD.ORG Mon Dec 5 20:49:46 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13CBC16A41F; Mon, 5 Dec 2005 20:49:46 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DB9F43D5C; Mon, 5 Dec 2005 20:49:45 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jB5Knjra058216; Mon, 5 Dec 2005 20:49:45 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB5KnjsK058215; Mon, 5 Dec 2005 20:49:45 GMT (envelope-from jhb) Message-Id: <200512052049.jB5KnjsK058215@repoman.freebsd.org> From: John Baldwin Date: Mon, 5 Dec 2005 20:49:45 +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/dev/nve if_nve.c if_nvereg.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: Mon, 05 Dec 2005 20:49:46 -0000 jhb 2005-12-05 20:49:45 UTC FreeBSD src repository Modified files: sys/dev/nve if_nve.c if_nvereg.h Log: - Don't make the driver lock recursive, it shouldn't be recursively acquired anywhere in the driver now. - Axe the spin mutex used for the nve_oslock*() routines. The driver lock already provides sufficient synchronization. - Don't mess around with IFF_UP when the link state changes. IFF_UP is an administrative flag, not a link status indicator. MFC after: 1 week Revision Changes Path 1.16 +1 -15 src/sys/dev/nve/if_nve.c 1.5 +0 -3 src/sys/dev/nve/if_nvereg.h