From owner-cvs-all@FreeBSD.ORG Thu Oct 27 21:23:01 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 4E00A16A41F; Thu, 27 Oct 2005 21:23:01 +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 4501743D69; Thu, 27 Oct 2005 21:22:59 +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 j9RLMwAe036129; Thu, 27 Oct 2005 21:22:58 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9RLMwWK036128; Thu, 27 Oct 2005 21:22:58 GMT (envelope-from jhb) Message-Id: <200510272122.j9RLMwWK036128@repoman.freebsd.org> From: John Baldwin Date: Thu, 27 Oct 2005 21:22:58 +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/pci if_wb.c if_wbreg.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: Thu, 27 Oct 2005 21:23:01 -0000 jhb 2005-10-27 21:22:58 UTC FreeBSD src repository Modified files: sys/pci if_wb.c if_wbreg.h Log: Fixup locking and mark MPSAFE. - Add locked variants of init() and start(). - Use callout_*() to manage callout. - Test IFF_DRV_RUNNING rather than IFF_UP in wb_intr() to see if we are still active when an interrupt comes in. I couldn't find any of these cards anywhere to test on myself, and google turns up references to FreeBSD and OpenBSD manpages for this driver when trying to locate a card that way. I'm not sure anyone actually uses these cards with FreeBSD. Tested by: NO ONE (despite repeated requests) Revision Changes Path 1.87 +60 -43 src/sys/pci/if_wb.c 1.14 +1 -1 src/sys/pci/if_wbreg.h