Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Remove duplicate TULIP_SET/TULIP_CLR.



details:   https://anonhg.NetBSD.org/src/rev/7d4eb5eb7ecb
branches:  trunk
changeset: 532114:7d4eb5eb7ecb
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 31 17:27:40 2002 +0000

description:
Remove duplicate TULIP_SET/TULIP_CLR.

diffstat:

 sys/dev/ic/tulip.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r b3a738ffb3d9 -r 7d4eb5eb7ecb sys/dev/ic/tulip.c
--- a/sys/dev/ic/tulip.c        Fri May 31 16:49:50 2002 +0000
+++ b/sys/dev/ic/tulip.c        Fri May 31 17:27:40 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tulip.c,v 1.113 2002/05/03 08:48:12 mycroft Exp $      */
+/*     $NetBSD: tulip.c,v 1.114 2002/05/31 17:27:40 thorpej Exp $      */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2002 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tulip.c,v 1.113 2002/05/03 08:48:12 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tulip.c,v 1.114 2002/05/31 17:27:40 thorpej Exp $");
 
 #include "bpfilter.h"
 
@@ -5150,13 +5150,6 @@
        return (0);
 }
 
-
-#define TULIP_SET(sc, reg, x) \
-        TULIP_WRITE((sc), (reg), TULIP_READ((sc), (reg)) | (x))
-
-#define TULIP_CLR(sc, reg, x) \
-       TULIP_WRITE((sc), (reg), TULIP_READ((sc), (reg)) & ~(x))
-
 void
 tlp_2114x_nway_auto(sc)
        struct tulip_softc *sc;



Home | Main Index | Thread Index | Old Index