Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix MMIO registers sizes for pre-Ironlake chipsets.
details: https://anonhg.NetBSD.org/src/rev/a26efe612cd8
branches: trunk
changeset: 329867:a26efe612cd8
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Jun 12 18:41:46 2014 +0000
description:
Fix MMIO registers sizes for pre-Ironlake chipsets.
diffstat:
sys/dev/pci/agp_i810.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 1ced27fb81b0 -r a26efe612cd8 sys/dev/pci/agp_i810.c
--- a/sys/dev/pci/agp_i810.c Thu Jun 12 18:33:42 2014 +0000
+++ b/sys/dev/pci/agp_i810.c Thu Jun 12 18:41:46 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: agp_i810.c,v 1.101 2014/06/12 18:33:42 riastradh Exp $ */
+/* $NetBSD: agp_i810.c,v 1.102 2014/06/12 18:41:46 riastradh Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.101 2014/06/12 18:33:42 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.102 2014/06/12 18:41:46 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -390,7 +390,7 @@
case CHIP_G33:
apbase = AGP_I915_GMADR;
mmadr_bar = AGP_I915_MMADR;
- isc->size = 2*1024*1024;
+ isc->size = 512*1024;
gtt_bar = AGP_I915_GTTADR;
gtt_off = ~(bus_size_t)0; /* XXXGCC */
break;
@@ -398,7 +398,7 @@
apbase = AGP_I965_GMADR;
mmadr_bar = AGP_I965_MMADR;
mmadr_type |= PCI_MAPREG_MEM_TYPE_64BIT;
- isc->size = 2*1024*1024;
+ isc->size = 512*1024;
gtt_bar = 0;
gtt_off = AGP_I965_GTT;
break;
@@ -406,7 +406,7 @@
apbase = AGP_I965_GMADR;
mmadr_bar = AGP_I965_MMADR;
mmadr_type |= PCI_MAPREG_MEM_TYPE_64BIT;
- isc->size = 2*1024*1024;
+ isc->size = 512*1024;
gtt_bar = 0;
gtt_off = AGP_G4X_GTT;
break;
Home |
Main Index |
Thread Index |
Old Index