Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm26/iobus Revert last change, which shouldn't hav...



details:   https://anonhg.NetBSD.org/src/rev/bc3a5ae4f052
branches:  trunk
changeset: 507322:bc3a5ae4f052
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Tue Mar 20 00:04:28 2001 +0000

description:
Revert last change, which shouldn't have applied to this file.

diffstat:

 sys/arch/arm26/iobus/upc_iobus.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 6750333bbed7 -r bc3a5ae4f052 sys/arch/arm26/iobus/upc_iobus.c
--- a/sys/arch/arm26/iobus/upc_iobus.c  Tue Mar 20 00:03:27 2001 +0000
+++ b/sys/arch/arm26/iobus/upc_iobus.c  Tue Mar 20 00:04:28 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: upc_iobus.c,v 1.6 2001/03/20 00:03:10 bjh21 Exp $ */
+/* $NetBSD: upc_iobus.c,v 1.7 2001/03/20 00:04:28 bjh21 Exp $ */
 /*-
  * Copyright (c) 2000 Ben Harris
  * All rights reserved.
@@ -32,7 +32,7 @@
 
 #include <sys/param.h>
 
-__RCSID("$NetBSD: upc_iobus.c,v 1.6 2001/03/20 00:03:10 bjh21 Exp $");
+__RCSID("$NetBSD: upc_iobus.c,v 1.7 2001/03/20 00:04:28 bjh21 Exp $");
 
 #include <sys/device.h>
 
@@ -91,8 +91,8 @@
        struct upc_softc *upc = &sc->sc_upc;
 
        upc->sc_iot = ioa->ioa_tag;
-       bus_space_map(ioa->ioa_tag, MEMC_IO_BASE + ioa->ioa_base,
-           UPC_BUS_SIZE, 0, &upc->sc_ioh);
+       bus_space_map(ioa->ioa_tag, ioa->ioa_base, UPC_BUS_SIZE, 0,
+                     &upc->sc_ioh);
        upc_attach(upc);
 
        if (upc->sc_irq4.uih_func != NULL) {



Home | Main Index | Thread Index | Old Index