Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/dev Apparently, clockport present at offset 0...



details:   https://anonhg.NetBSD.org/src/rev/e7c2ef22fd26
branches:  trunk
changeset: 782353:e7c2ef22fd26
user:      rkujawa <rkujawa%NetBSD.org@localhost>
date:      Mon Oct 29 23:45:34 2012 +0000

description:
Apparently, clockport present at offset 0xC00 is the first clockport.

diffstat:

 sys/arch/amiga/dev/xsurf.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 6d9e354d380e -r e7c2ef22fd26 sys/arch/amiga/dev/xsurf.c
--- a/sys/arch/amiga/dev/xsurf.c        Mon Oct 29 18:11:36 2012 +0000
+++ b/sys/arch/amiga/dev/xsurf.c        Mon Oct 29 23:45:34 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xsurf.c,v 1.1 2012/05/15 17:35:44 rkujawa Exp $ */
+/*     $NetBSD: xsurf.c,v 1.2 2012/10/29 23:45:34 rkujawa Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xsurf.c,v 1.1 2012/05/15 17:35:44 rkujawa Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xsurf.c,v 1.2 2012/10/29 23:45:34 rkujawa Exp $");
 
 /*
  * X-Surf driver, split from ne_zbus. 
@@ -124,7 +124,7 @@
        aprint_normal(": Individual Computers X-Surf\n");
 
        /* Add clockport. */
-       xaa_gencp1.xaa_base = (bus_addr_t)zap->va + XSURF_CP1_BASE;
+       xaa_gencp1.xaa_base = (bus_addr_t)zap->va + XSURF_CP2_BASE;
        strcpy(xaa_gencp1.xaa_name, "gencp_xsurf");
        config_found_ia(sc->sc_dev, "xsurfbus", &xaa_gencp1, xsurf_print);
 
@@ -135,7 +135,7 @@
        }
 
        /* Otherwise add one more clockport and continue... */
-       xaa_gencp2.xaa_base = (bus_addr_t)zap->va + XSURF_CP2_BASE;
+       xaa_gencp2.xaa_base = (bus_addr_t)zap->va + XSURF_CP1_BASE;
        strcpy(xaa_gencp2.xaa_name, "gencp_xsurf");
        config_found_ia(sc->sc_dev, "xsurfbus", &xaa_gencp2, xsurf_print);
                



Home | Main Index | Thread Index | Old Index