Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/dev/pci Pull up following revision(s) (requested by m...
details: https://anonhg.NetBSD.org/src/rev/8287f51af3df
branches: netbsd-8
changeset: 453057:8287f51af3df
user: martin <martin%NetBSD.org@localhost>
date: Thu Aug 01 13:45:55 2019 +0000
description:
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.
diffstat:
sys/dev/pci/agp_intel.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 789e0c7e1510 -r 8287f51af3df sys/dev/pci/agp_intel.c
--- a/sys/dev/pci/agp_intel.c Thu Aug 01 13:41:54 2019 +0000
+++ b/sys/dev/pci/agp_intel.c Thu Aug 01 13:45:55 2019 +0000
@@ -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 @@
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,
Home |
Main Index |
Thread Index |
Old Index