Module Name: src Committed By: mrg Date: Tue Feb 5 11:20:21 UTC 2019
Modified Files: src/sys/dev/pci: agp_intel.c Log Message: 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.38 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.38 --- src/sys/dev/pci/agp_intel.c:1.37 Mon Apr 4 20:37:56 2011 +++ src/sys/dev/pci/agp_intel.c Tue Feb 5 11:20:21 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.38 2019/02/05 11:20:21 mrg 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.38 2019/02/05 11:20:21 mrg 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,