summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-07-22 18:05:11 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-07-22 18:05:11 +0000
commit0420128a3730779b2f8bb40ae431c700e59baf46 (patch)
treee2fcccb57beee53603f6fdb33cbae054fcee2e20 /sys/dev
parentff456862fd76a0f2f7cf6ba6d941d21b5563c4ad (diff)
uninitialized variable; pointed out by sam@errno.com
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/hifn7751.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index a789660a96b..a75e4d769b5 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.125 2002/07/21 19:55:33 jason Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.126 2002/07/22 18:05:10 jason Exp $ */
/*
* Invertex AEON / Hifn 7751 driver
@@ -197,7 +197,7 @@ hifn_attach(parent, self, aux)
if (sc->sc_flags & HIFN_IS_7811) {
u_int32_t revid;
- READ_REG_1(sc, HIFN_1_REVID);
+ revid = READ_REG_1(sc, HIFN_1_REVID);
if (revid == 0x2)
sc->sc_flags |= HIFN_NO_BURSTWRITE;
}