Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amiga/dev Remove duplicate vgaw() accidentally intr...



details:   https://anonhg.NetBSD.org/src/rev/5f82f66a13bb
branches:  trunk
changeset: 830339:5f82f66a13bb
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Mar 05 04:23:00 2018 +0000

description:
Remove duplicate vgaw() accidentally introduced in the previous revision.

diffstat:

 sys/arch/amiga/dev/grf_et.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 8e4f33d9368e -r 5f82f66a13bb sys/arch/amiga/dev/grf_et.c
--- a/sys/arch/amiga/dev/grf_et.c       Mon Mar 05 04:21:36 2018 +0000
+++ b/sys/arch/amiga/dev/grf_et.c       Mon Mar 05 04:23:00 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grf_et.c,v 1.35 2018/03/05 02:41:19 christos Exp $ */
+/*     $NetBSD: grf_et.c,v 1.36 2018/03/05 04:23:00 rin Exp $ */
 
 /*
  * Copyright (c) 1997 Klaus Burkert
@@ -37,7 +37,7 @@
 #include "opt_amigacons.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grf_et.c,v 1.35 2018/03/05 02:41:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grf_et.c,v 1.36 2018/03/05 04:23:00 rin Exp $");
 
 #include "grfet.h"
 #include "ite.h"
@@ -1605,7 +1605,6 @@
 
        vgar4HDR(ba);
        vgaw(ba, VDAC_COMMAND, 0x10); /* set ERPF */
-       vgaw(ba, VDAC_COMMAND, 0x10); /* set ERPF */
 
        vgaw(ba, VDAC_XINDEX, 9);
        check.cc[0] = vgar(ba, VDAC_XDATA);



Home | Main Index | Thread Index | Old Index