Module Name:    src
Committed By:   riastradh
Date:           Mon May 26 19:15:39 UTC 2014

Modified Files:
        src/sys/dev/pci: agp_i810.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/dev/pci/agp_i810.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/pci/agp_i810.c
diff -u src/sys/dev/pci/agp_i810.c:1.77 src/sys/dev/pci/agp_i810.c:1.78
--- src/sys/dev/pci/agp_i810.c:1.77	Mon May 26 19:13:20 2014
+++ src/sys/dev/pci/agp_i810.c	Mon May 26 19:15:39 2014
@@ -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_i810_detach(struct agp_softc *sc)
 				    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,

Reply via email to