mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
Don't unlock the parent ppc lock until after releasing the ppbus.
Submitted by: csjp
This commit is contained in:
parent
1b1785d44c
commit
192204fece
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187740
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user