Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Oops, the "auto" capability was getting masked of...



details:   https://anonhg.NetBSD.org/src/rev/b06681868bec
branches:  trunk
changeset: 514050:b06681868bec
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Aug 20 20:22:53 2001 +0000

description:
Oops, the "auto" capability was getting masked off by mistake.
Fixes a panic reported by Chuck Silvers.

diffstat:

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

diffs (18 lines):

diff -r 58f2a838bdb6 -r b06681868bec sys/dev/ic/smc91cxx.c
--- a/sys/dev/ic/smc91cxx.c     Mon Aug 20 19:29:59 2001 +0000
+++ b/sys/dev/ic/smc91cxx.c     Mon Aug 20 20:22:53 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smc91cxx.c,v 1.34 2001/07/07 15:59:38 thorpej Exp $    */
+/*     $NetBSD: smc91cxx.c,v 1.35 2001/08/20 20:22:53 thorpej Exp $    */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -302,7 +302,7 @@
        SMC_SELECT_BANK(sc, 1);
        tmp = bus_space_read_2(bst, bsh, CONFIG_REG_W);
 
-       miicapabilities = BMSR_MEDIAMASK;
+       miicapabilities = BMSR_MEDIAMASK|BMSR_ANEG;
        switch (sc->sc_chipid) {
        case CHIP_91100:
                /*



Home | Main Index | Thread Index | Old Index