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 correct address for 64-bit flush page config...



details:   https://anonhg.NetBSD.org/src/rev/801bfe6ec22a
branches:  trunk
changeset: 329485:801bfe6ec22a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon May 26 19:15:39 2014 +0000

description:
Use correct address for 64-bit flush page config register.

diffstat:

 sys/dev/pci/agp_i810.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 96e3291cc0a4 -r 801bfe6ec22a sys/dev/pci/agp_i810.c
--- a/sys/dev/pci/agp_i810.c    Mon May 26 19:13:20 2014 +0000
+++ b/sys/dev/pci/agp_i810.c    Mon May 26 19:15:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: agp_i810.c,v 1.77 2014/05/26 19:13:20 riastradh Exp $  */
+/*     $NetBSD: agp_i810.c,v 1.78 2014/05/26 19:15:39 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.77 2014/05/26 19:13:20 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.78 2014/05/26 19:15:39 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -868,9 +868,9 @@
                                    AGP_I915_IFPADDR, 0);
                        } else {
                                pci_conf_write(sc->as_pc, sc->as_tag,
-                                   AGP_I915_IFPADDR, 0);
+                                   AGP_I965_IFPADDR, 0);
                                pci_conf_write(sc->as_pc, sc->as_tag,
-                                   AGP_I915_IFPADDR + 4, 0);
+                                   AGP_I965_IFPADDR + 4, 0);
                        }
                        isc->flush_addr = 0;
                        bus_space_free(isc->flush_bst, isc->flush_bsh,



Home | Main Index | Thread Index | Old Index