Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Handle the DL10022 case.



details:   https://anonhg.NetBSD.org/src/rev/3c64e2a71a23
branches:  trunk
changeset: 510705:3c64e2a71a23
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jun 05 02:31:16 2001 +0000

description:
Handle the DL10022 case.

diffstat:

 sys/dev/ic/ne2000.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 513935fb2592 -r 3c64e2a71a23 sys/dev/ic/ne2000.c
--- a/sys/dev/ic/ne2000.c       Tue Jun 05 02:27:02 2001 +0000
+++ b/sys/dev/ic/ne2000.c       Tue Jun 05 02:31:16 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ne2000.c,v 1.32 2001/02/12 18:49:04 thorpej Exp $      */
+/*     $NetBSD: ne2000.c,v 1.33 2001/06/05 02:31:16 thorpej Exp $      */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -171,6 +171,7 @@
                memsize = 8192 * 2;
                break;
        case NE2000_TYPE_DL10019:
+       case NE2000_TYPE_DL10022:
                memsize = 8192 * 3;
                break;
        }
@@ -860,8 +861,10 @@
                kip->name = "ne2000";
                break;
        case NE2000_TYPE_DL10019:
+       case NE2000_TYPE_DL10022:
                dp->mem_start = dp->mem_size = 8192 * 3;
-               kip->name = "dl10019";
+               kip->name = (np->sc_type == NE2000_TYPE_DL10019) ?
+                   "dl10022" : "dl10019";
                break;
        case NE2000_TYPE_AX88190:
                dp->rcr_proto = ED_RCR_INTT;



Home | Main Index | Thread Index | Old Index