aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2009-01-26 20:58:05 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2009-01-26 20:58:05 +0000
commit192204fece571a6c7e95462018fe0baa16b7da16 (patch)
treefb3f3e57f34e076b0c8cf74120cd574f08f767ad /sys/dev/ppbus
parent1b1785d44c05c1e0cf63eed1c12e44a2ff0af702 (diff)
Notes
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r--sys/dev/ppbus/lpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c
index 4c8850825302..6da65f1f62a9 100644
--- a/sys/dev/ppbus/lpt.c
+++ b/sys/dev/ppbus/lpt.c
@@ -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,