Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/dev/pci Pull up following revision(s) (requested by j...
details: https://anonhg.NetBSD.org/src/rev/73259f6a99a3
branches: netbsd-7
changeset: 799940:73259f6a99a3
user: martin <martin%NetBSD.org@localhost>
date: Mon Jul 11 10:39:42 2016 +0000
description:
Pull up following revision(s) (requested by jmcneill in ticket #1203):
sys/dev/pci/lynxfb.c: revision 1.5
fix inverted screen blanking logic
diffstat:
sys/dev/pci/lynxfb.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r d96124f0d6e3 -r 73259f6a99a3 sys/dev/pci/lynxfb.c
--- a/sys/dev/pci/lynxfb.c Mon Jul 11 10:37:51 2016 +0000
+++ b/sys/dev/pci/lynxfb.c Mon Jul 11 10:39:42 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lynxfb.c,v 1.4 2012/03/14 13:41:07 nonaka Exp $ */
+/* $NetBSD: lynxfb.c,v 1.4.16.1 2016/07/11 10:39:42 martin Exp $ */
/* $OpenBSD: smfb.c,v 1.13 2011/07/21 20:36:12 miod Exp $ */
/*
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lynxfb.c,v 1.4 2012/03/14 13:41:07 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lynxfb.c,v 1.4.16.1 2016/07/11 10:39:42 martin Exp $");
#include "opt_wsemul.h"
@@ -824,11 +824,11 @@
}
static void
-lynxfb_blank(struct lynxfb *fb, int blank)
+lynxfb_blank(struct lynxfb *fb, int enable)
{
- fb->blank = blank;
- if (!blank) {
+ fb->blank = !enable;
+ if (enable) {
lynxfb_vgats_write(fb, 0x31,
lynxfb_vgats_read(fb, 0x31) | 0x01);
} else {
Home |
Main Index |
Thread Index |
Old Index