Module Name: src
Committed By: macallan
Date: Thu Apr 16 17:00:40 UTC 2009
Modified Files:
src/sys/dev/sbus: agten.c
Log Message:
use sparc_bus_map_large() to map the I128 framebuffer
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/sbus/agten.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/sbus/agten.c
diff -u src/sys/dev/sbus/agten.c:1.16 src/sys/dev/sbus/agten.c:1.17
--- src/sys/dev/sbus/agten.c:1.16 Fri Dec 12 18:48:25 2008
+++ src/sys/dev/sbus/agten.c Thu Apr 16 17:00:39 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: agten.c,v 1.16 2008/12/12 18:48:25 macallan Exp $ */
+/* $NetBSD: agten.c,v 1.17 2009/04/16 17:00:39 macallan Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agten.c,v 1.16 2008/12/12 18:48:25 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agten.c,v 1.17 2009/04/16 17:00:39 macallan Exp $");
/*
* a driver for the Fujitsu AG-10e SBus framebuffer
@@ -245,7 +245,7 @@
reg = prom_getpropint(node, "i128_fb_physaddr", -1);
sc->sc_i128_fbsz = prom_getpropint(node, "i128_fb_size", -1);
- if (sbus_bus_map(sc->sc_bustag,
+ if (sparc_bus_map_large(sc->sc_bustag,
sa->sa_reg[0].oa_space, sa->sa_reg[0].oa_base + reg,
sc->sc_stride * sc->sc_height, BUS_SPACE_MAP_LINEAR,
&sc->sc_i128_fbh) != 0) {