Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Use the right BAR for MMIO register sizing on i810.
details: https://anonhg.NetBSD.org/src/rev/d48f6149d253
branches: trunk
changeset: 801951:d48f6149d253
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Aug 24 22:56:18 2014 +0000
description:
Use the right BAR for MMIO register sizing on i810.
diffstat:
sys/dev/pci/agp_i810.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 86bb99c40f5d -r d48f6149d253 sys/dev/pci/agp_i810.c
--- a/sys/dev/pci/agp_i810.c Sun Aug 24 21:42:06 2014 +0000
+++ b/sys/dev/pci/agp_i810.c Sun Aug 24 22:56:18 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: agp_i810.c,v 1.113 2014/08/22 15:26:28 riastradh Exp $ */
+/* $NetBSD: agp_i810.c,v 1.114 2014/08/24 22:56:18 riastradh Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.113 2014/08/22 15:26:28 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.114 2014/08/24 22:56:18 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -425,7 +425,7 @@
apbase = AGP_I810_GMADR;
mmadr_bar = AGP_I810_MMADR;
if (pci_mapreg_info(isc->vga_pa.pa_pc, isc->vga_pa.pa_tag,
- AGP_I965_MMADR, mmadr_type, NULL, &isc->size, NULL))
+ AGP_I810_MMADR, mmadr_type, NULL, &isc->size, NULL))
isc->size = 512*1024; /* XXX */
gtt_bar = 0;
gtt_off = AGP_I810_GTT;
Home |
Main Index |
Thread Index |
Old Index