Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Add OPMODE_FD (full-duplex) to the media-related ...



details:   https://anonhg.NetBSD.org/src/rev/c59058f99031
branches:  trunk
changeset: 480895:c59058f99031
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Jan 22 21:05:53 2000 +0000

description:
Add OPMODE_FD (full-duplex) to the media-related OPMODE bitmask.  This
will cause the Tulip to be reset when this bit is toggled.  This is
apparently required for some chip revs.

>From Matt Thomas.

diffstat:

 sys/dev/ic/tulipreg.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4d1ca3a98c82 -r c59058f99031 sys/dev/ic/tulipreg.h
--- a/sys/dev/ic/tulipreg.h     Sat Jan 22 19:53:53 2000 +0000
+++ b/sys/dev/ic/tulipreg.h     Sat Jan 22 21:05:53 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tulipreg.h,v 1.14 1999/12/07 18:24:01 thorpej Exp $    */
+/*     $NetBSD: tulipreg.h,v 1.15 2000/01/22 21:05:53 thorpej Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -563,7 +563,7 @@
 #define        OPMODE_WINB_REIO        0x80000000      /* receive early intr on */
 
 /* Shorthand for media-related OPMODE bits */
-#define        OPMODE_MEDIA_BITS       (OPMODE_PS|OPMODE_PCS|OPMODE_SCR)
+#define        OPMODE_MEDIA_BITS       (OPMODE_FD|OPMODE_PS|OPMODE_PCS|OPMODE_SCR)
 
 /* CSR7 - Interrupt Enable */
 #define        CSR_INTEN               TULIP_CSR7



Home | Main Index | Thread Index | Old Index