Don't unlock the parent ppc lock until after releasing the ppbus.

Submitted by:	csjp
This commit is contained in:
jhb 2009-01-26 20:58:05 +00:00
parent dfa58632b6
commit 311c01fa8a

View File

@ -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,