Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci nuke pasto in gffb_init()
details: https://anonhg.NetBSD.org/src/rev/2ec058c57b81
branches: trunk
changeset: 368983:2ec058c57b81
user: macallan <macallan%NetBSD.org@localhost>
date: Mon Aug 15 11:55:52 2022 +0000
description:
nuke pasto in gffb_init()
diffstat:
sys/dev/pci/gffb.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r 8611c7643602 -r 2ec058c57b81 sys/dev/pci/gffb.c
--- a/sys/dev/pci/gffb.c Mon Aug 15 11:43:56 2022 +0000
+++ b/sys/dev/pci/gffb.c Mon Aug 15 11:55:52 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gffb.c,v 1.20 2022/03/10 18:13:31 andvar Exp $ */
+/* $NetBSD: gffb.c,v 1.21 2022/08/15 11:55:52 macallan Exp $ */
/*
* Copyright (c) 2013 Michael Lorenz
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gffb.c,v 1.20 2022/03/10 18:13:31 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gffb.c,v 1.21 2022/08/15 11:55:52 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -811,11 +811,6 @@
GFFB_WRITE_4(GFFB_PTIMER + 0x840, 3);
GFFB_WRITE_4(GFFB_PTIMER + 0x500, 0);
GFFB_WRITE_4(GFFB_PTIMER + 0x400, 0xffffffff);
- for (i = 0; i < 8; i++) {
- GFFB_WRITE_4(GFFB_PMC + 0x240 + (i * 0x10), 0);
- GFFB_WRITE_4(GFFB_PMC + 0x244 + (i * 0x10),
- sc->sc_vramsize - 1);
- }
for (i = 0; i < 8; i++) {
GFFB_WRITE_4(GFFB_PFB + 0x0240 + (i * 0x10), 0);
Home |
Main Index |
Thread Index |
Old Index