Module Name: src
Committed By: martin
Date: Thu Aug 1 13:45:55 UTC 2019
Modified Files:
src/sys/dev/pci [netbsd-8]: agp_intel.c
Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #1311):
sys/dev/pci/agp_intel.c: revision 1.38
fix a >15 year old code rework bug, and add a missing break;.
the code in rev 1.7 looks like it does in this change, but rev 1.8 would
write the I443 AGP_INTEL_AGPCTRL value, and then the other value.
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.37.48.1 src/sys/dev/pci/agp_intel.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_intel.c
diff -u src/sys/dev/pci/agp_intel.c:1.37 src/sys/dev/pci/agp_intel.c:1.37.48.1
--- src/sys/dev/pci/agp_intel.c:1.37 Mon Apr 4 20:37:56 2011
+++ src/sys/dev/pci/agp_intel.c Thu Aug 1 13:45:55 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: agp_intel.c,v 1.37 2011/04/04 20:37:56 dyoung Exp $ */
+/* $NetBSD: agp_intel.c,v 1.37.48.1 2019/08/01 13:45:55 martin Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_intel.c,v 1.37 2011/04/04 20:37:56 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_intel.c,v 1.37.48.1 2019/08/01 13:45:55 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -209,6 +209,7 @@ agp_intel_init(struct agp_softc *sc)
case CHIP_I443:
pci_conf_write(sc->as_pc, sc->as_tag, AGP_INTEL_AGPCTRL,
AGPCTRL_AGPRSE | AGPCTRL_GTLB);
+ break;
default:
pci_conf_write(sc->as_pc, sc->as_tag, AGP_INTEL_AGPCTRL,