diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-07-23 17:53:47 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-07-23 17:53:47 +0000 |
commit | e49e49d693b00414350ac23286319d5bfc40ac1e (patch) | |
tree | 5bbb3d3bb62f6739650c5716d00fb6b11300b1d2 /sys/dev/pci/hifn7751.c | |
parent | 94f38ed381bb95e337c11b8bf8a6a58b81f5dd70 (diff) |
Don't use a magic constant
Diffstat (limited to 'sys/dev/pci/hifn7751.c')
-rw-r--r-- | sys/dev/pci/hifn7751.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |