From owner-cvs-src-old@FreeBSD.ORG Wed Feb 11 14:25:21 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA3B31065672 for ; Wed, 11 Feb 2009 14:25:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A81FB8FC08 for ; Wed, 11 Feb 2009 14:25:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1BEPLXK037780 for ; Wed, 11 Feb 2009 14:25:21 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1BEPLah037779 for cvs-src-old@freebsd.org; Wed, 11 Feb 2009 14:25:21 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200902111425.n1BEPLah037779@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Wed, 11 Feb 2009 14:25:09 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ppbus lpt.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 14:25:22 -0000 jhb 2009-02-11 14:25:09 UTC FreeBSD src repository Modified files: sys/dev/ppbus lpt.c Log: SVN rev 188484 on 2009-02-11 14:25:09Z by jhb Fix lptopen() and lptclose() to not trash the state of the HAVEBUS flag in 'sc_state'. This allows the lpt_release_ppbus() calls in those two routines to actually release the ppbus and thus fixes the hangs noticed with the lpt(4) driver since the recent ppbus changes. The old lpt(4) driver didn't actually check the HAVEBUS flag in lpt_release_ppbus() which is why these bugs weren't noticed before. Revision Changes Path 1.49 +8 -11 src/sys/dev/ppbus/lpt.c