Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/sparc64/dev Pull up revision 1.49 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/70d459eda06f
branches:  netbsd-1-6
changeset: 527888:70d459eda06f
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Jun 12 01:28:09 2002 +0000

description:
Pull up revision 1.49 (requested by eeh in ticket #254):
Use the correct bus handle to generate the handle for the streaming buffers.

diffstat:

 sys/arch/sparc64/dev/psycho.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4c2ba42af48f -r 70d459eda06f sys/arch/sparc64/dev/psycho.c
--- a/sys/arch/sparc64/dev/psycho.c     Wed Jun 12 01:23:47 2002 +0000
+++ b/sys/arch/sparc64/dev/psycho.c     Wed Jun 12 01:28:09 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psycho.c,v 1.48 2002/05/16 20:28:33 eeh Exp $  */
+/*     $NetBSD: psycho.c,v 1.48.2.1 2002/06/12 01:28:09 lukem Exp $    */
 
 /*
  * Copyright (c) 2001, 2002 Eduardo E. Horvath
@@ -490,7 +490,7 @@
 
 
                if (PROM_getproplen(sc->sc_node, "no-streaming-cache") < 0) {
-                       bus_space_subregion(sc->sc_bustag, sc->sc_bh,
+                       bus_space_subregion(sc->sc_bustag, pci_ctl,
                                offsetof(struct pci_ctl, pci_strbuf),
                                sizeof (struct iommu_strbuf), 
                                &sc->sc_is->is_sb[0]);
@@ -519,7 +519,7 @@
                sc->sc_configaddr = osc->sc_configaddr;
 
                if (PROM_getproplen(sc->sc_node, "no-streaming-cache") < 0) {
-                       bus_space_subregion(sc->sc_bustag, sc->sc_bh,
+                       bus_space_subregion(sc->sc_bustag, pci_ctl,
                                offsetof(struct pci_ctl, pci_strbuf),
                                sizeof (struct iommu_strbuf), 
                                &sc->sc_is->is_sb[1]);



Home | Main Index | Thread Index | Old Index