Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2009 13:08:14 -0800
From:      Sean Bruno <sean.bruno@dsl-only.net>
To:        freebsd-current@freebsd.org
Subject:   LPT Panic at assert lpt.c::222
Message-ID:  <1233004094.9302.0.camel@localhost.localdomain>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Just tested today's -current and was greeted with a panic in PPBUS at an
assert.

The following patch seems to be appropriate.  Comments?

Sean

[-- Attachment #2 --]
Index: lpt.c
===================================================================
--- lpt.c	(revision 187738)
+++ lpt.c	(working copy)
@@ -380,8 +380,8 @@
 	}
 
 	ppb_wctr(ppbus, LPC_NINIT);
+	lpt_release_ppbus(dev);
 	ppb_unlock(ppbus);
-	lpt_release_ppbus(dev);
 
 	/* declare our interrupt handler */
 	sc->sc_intr_resource = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1233004094.9302.0.camel>