summaryrefslogtreecommitdiff
path: root/sys/dev/pci/lofn.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-05-09 21:13:05 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-05-09 21:13:05 +0000
commit8238f8fef4703a2083ec2694ddccbf247b905cfc (patch)
tree08812bfcf11aab52ccd71e2ffeb0ceae42d286b9 /sys/dev/pci/lofn.c
parent2aa85f49b68e153438ffc0397599407bb9e7df59 (diff)
Set correct bit in IER
Diffstat (limited to 'sys/dev/pci/lofn.c')
-rw-r--r--sys/dev/pci/lofn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/lofn.c b/sys/dev/pci/lofn.c
index 923460b520d..d05cd6b6c67 100644
--- a/sys/dev/pci/lofn.c
+++ b/sys/dev/pci/lofn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lofn.c,v 1.15 2002/05/09 19:13:09 jason Exp $ */
+/* $OpenBSD: lofn.c,v 1.16 2002/05/09 21:13:04 jason Exp $ */
/*
* Copyright (c) 2001-2002 Jason L. Wright (jason@thought.net)
@@ -153,7 +153,7 @@ lofn_attach(parent, self, aux)
/* Enable RNG */
WRITE_REG_0(sc, LOFN_REL_CFG2,
READ_REG_0(sc, LOFN_REL_CFG2) | LOFN_CFG2_RNGENA);
- sc->sc_ier |= LOFN_REL_IER;
+ sc->sc_ier |= LOFN_IER_RDY;
WRITE_REG(sc, LOFN_REL_IER, sc->sc_ier);
/* Enable ALU */