Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/pmax/dev Pullup 1.34 [mhitch]:
details: https://anonhg.NetBSD.org/src/rev/2a43c1a19fc3
branches: netbsd-1-5
changeset: 489738:2a43c1a19fc3
user: tv <tv%NetBSD.org@localhost>
date: Mon Oct 16 21:50:31 2000 +0000
description:
Pullup 1.34 [mhitch]:
Use uncached memory so this has a chance of working on R4x00 DECstations.
diffstat:
sys/arch/pmax/dev/px.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r af5ba1495e4c -r 2a43c1a19fc3 sys/arch/pmax/dev/px.c
--- a/sys/arch/pmax/dev/px.c Mon Oct 16 21:39:41 2000 +0000
+++ b/sys/arch/pmax/dev/px.c Mon Oct 16 21:50:31 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: px.c,v 1.31.2.1 2000/06/30 16:27:33 simonb Exp $ */
+/* $NetBSD: px.c,v 1.31.2.2 2000/10/16 21:50:31 tv Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: px.c,v 1.31.2.1 2000/06/30 16:27:33 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: px.c,v 1.31.2.2 2000/10/16 21:50:31 tv Exp $");
/*
* px.c: driver for the DEC TURBOchannel 2D and 3D accelerated framebuffers
@@ -367,7 +367,7 @@
/* Align to 8KB. px_info struct gets the first 4KB */
bufpa = (bufpa + 8191) & ~8191;
- pxi = (struct px_info *)MIPS_PHYS_TO_KSEG0(bufpa);
+ pxi = (struct px_info *)MIPS_PHYS_TO_KSEG1(bufpa);
px_unit[unit] = pxi;
bufpa += PXMAP_INFO_SIZE;
@@ -396,7 +396,7 @@
*/
if (pxi->pxi_option) {
bufpa = MIPS_KSEG0_TO_PHYS(slotbase + PXG_SRAM_OFFSET);
- pxi->pxi_rbuf = (int *)MIPS_PHYS_TO_KSEG0(bufpa);
+ pxi->pxi_rbuf = (int *)MIPS_PHYS_TO_KSEG1(bufpa);
pxi->pxi_rbuf_phys = bufpa;
pxi->pxi_rbuf_size = px_probe_sram(pxi);
}
Home |
Main Index |
Thread Index |
Old Index