From owner-cvs-src@FreeBSD.ORG Wed Aug 24 20:28:57 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 1FF8C16A41F; Wed, 24 Aug 2005 20:28:57 +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 D3B7243D48; Wed, 24 Aug 2005 20:28:56 +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 j7OKSuhL069879; Wed, 24 Aug 2005 20:28:56 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7OKSuef069878; Wed, 24 Aug 2005 20:28:56 GMT (envelope-from jhb) Message-Id: <200508242028.j7OKSuef069878@repoman.freebsd.org> From: John Baldwin Date: Wed, 24 Aug 2005 20:28:56 +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/hme if_hme.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Aug 2005 20:28:57 -0000 jhb 2005-08-24 20:28:56 UTC FreeBSD src repository Modified files: sys/dev/hme if_hme.c Log: - Remove redundant assertions that the driver lock is not held in attach() and detach() since mtx_lock() will assert that already since the driver lock is not recursive. - Move the call to callout_init_mtx() before hme_stop() so that the callout_stop() in hme_stop() doesn't operate on an uninitialized callout structure during attach. Reported by: yongari (2) MFC after: 3 days Revision Changes Path 1.42 +2 -5 src/sys/dev/hme/if_hme.c