From owner-cvs-all@FreeBSD.ORG Thu Apr 10 16:15:13 2003 Return-Path: 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 8DF0337B401; Thu, 10 Apr 2003 16:15:13 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D080D43F93; Thu, 10 Apr 2003 16:15:12 -0700 (PDT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3ANFC0U033601; Thu, 10 Apr 2003 16:15:12 -0700 (PDT) (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3ANFCXP033600; Thu, 10 Apr 2003 16:15:12 -0700 (PDT) Message-Id: <200304102315.h3ANFCXP033600@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 10 Apr 2003 16:15:12 -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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 10 Apr 2003 23:15:14 -0000 mux 2003/04/10 16:15:12 PDT FreeBSD src repository Modified files: sys/dev/fxp if_fxp.c Log: - Clean up the fxp_release() and fxp_detach() functions. - Be sure to teardown the interrupt first so that "kldunload if_fxp" doesn't panic the box. It's now deadlocking rather than crashing, which isn't really better, but I'm unsure this is fxp(4)'s fault. - Change a bus_dmamap_sync() call to also do a BUS_DMASYNC_PREREAD now that we can pass several operations. Revision Changes Path 1.167 +46 -46 src/sys/dev/fxp/if_fxp.c