Date: Mon, 26 Jan 2009 20:58:05 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r187740 - head/sys/dev/ppbus Message-ID: <200901262058.n0QKw50L062808@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Mon Jan 26 20:58:05 2009 New Revision: 187740 URL: http://svn.freebsd.org/changeset/base/187740 Log: Don't unlock the parent ppc lock until after releasing the ppbus. Submitted by: csjp Modified: head/sys/dev/ppbus/lpt.c Modified: head/sys/dev/ppbus/lpt.c ============================================================================== --- head/sys/dev/ppbus/lpt.c Mon Jan 26 20:24:04 2009 (r187739) +++ head/sys/dev/ppbus/lpt.c Mon Jan 26 20:58:05 2009 (r187740) @@ -380,8 +380,8 @@ lpt_attach(device_t dev) } ppb_wctr(ppbus, LPC_NINIT); - ppb_unlock(ppbus); lpt_release_ppbus(dev); + ppb_unlock(ppbus); /* declare our interrupt handler */ sc->sc_intr_resource = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901262058.n0QKw50L062808>