Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/amiga/dev Pull up revision 1.2 (requested by is):



details:   https://anonhg.NetBSD.org/src/rev/954b5b20d73d
branches:  netbsd-1-4
changeset: 470194:954b5b20d73d
user:      he <he%NetBSD.org@localhost>
date:      Sun Jan 23 13:38:01 2000 +0000

description:
Pull up revision 1.2 (requested by is):
  Add support for X-surf board.

diffstat:

 sys/arch/amiga/dev/if_ne_zbus.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 9bc35e5d1057 -r 954b5b20d73d sys/arch/amiga/dev/if_ne_zbus.c
--- a/sys/arch/amiga/dev/if_ne_zbus.c   Sun Jan 23 13:35:44 2000 +0000
+++ b/sys/arch/amiga/dev/if_ne_zbus.c   Sun Jan 23 13:38:01 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ne_zbus.c,v 1.1 1998/11/11 22:26:27 veego Exp $     */
+/*     $NetBSD: if_ne_zbus.c,v 1.1.4.1 2000/01/23 13:38:01 he Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -89,7 +89,6 @@
 #define        NE_ARIADNE_II_ASICBASE  0x0310  /* 0x0620 */
 #define        NE_ARIADNE_II_ASICSIZE  0x20
 
-
 int
 ne_zbus_match(parent, cf, aux)
        struct device *parent;
@@ -102,6 +101,10 @@
        if (zap->manid == 2167 && zap->prodid == 202)
                return (1);
 
+       /* X-serv ethernet card */
+       if (zap->manid == 4626 && zap->prodid == 23)
+               return (1);
+
        return (0);
 }
 
@@ -131,6 +134,9 @@
        dsc->init_card = rtl80x9_init_card;
 
        zsc->sc_bst.base = (u_long)zap->va + 0;
+       if (zap->manid == 4626)
+                zsc->sc_bst.base += 0x8000;
+
        zsc->sc_bst.stride = 1;
        zsc->sc_bst.absm = &amiga_interleaved_wordaccess_methods;
 



Home | Main Index | Thread Index | Old Index