From e49e49d693b00414350ac23286319d5bfc40ac1e Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Tue, 23 Jul 2002 17:53:47 +0000 Subject: Don't use a magic constant --- sys/dev/pci/hifn7751.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/hifn7751.c') diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c index e60d5f95654..8e3918cdb7f 100644 --- a/sys/dev/pci/hifn7751.c +++ b/sys/dev/pci/hifn7751.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hifn7751.c,v 1.127 2002/07/23 17:50:33 jason Exp $ */ +/* $OpenBSD: hifn7751.c,v 1.128 2002/07/23 17:53:46 jason Exp $ */ /* * Invertex AEON / Hifn 7751 driver @@ -200,7 +200,7 @@ hifn_attach(parent, self, aux) u_int32_t revid; revid = READ_REG_1(sc, HIFN_1_REVID); - if (revid == 0x2) + if (revid == HIFN_REVID_7811_PB3_2) sc->sc_flags |= HIFN_NO_BURSTWRITE; } -- cgit v1.2.3