From 17de794ed258c5d413448314a260a4aed1bf2751 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 20 Apr 2008 00:42:28 +0000 Subject: - Add some more defines. - Use one of the new defines in the re(4) code to remove a magic number. - Correct a comment. - Fix a typo. Most of this is from NetBSD. ok dlg@ --- sys/dev/ic/re.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ic/re.c') diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index 4daa4406c61..941ed8c0ad2 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.78 2008/03/20 23:54:57 brad Exp $ */ +/* $OpenBSD: re.c,v 1.79 2008/04/20 00:42:27 brad Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -610,7 +610,7 @@ re_reset(struct rl_softc *sc) if (i == RL_TIMEOUT) printf("%s: reset never completed!\n", sc->sc_dev.dv_xname); - CSR_WRITE_1(sc, 0x82, 1); + CSR_WRITE_1(sc, RL_LDPS, 1); } #ifdef RE_DIAG -- cgit v1.2.3