Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/arch/zaurus/dev Pull up following revision(s) (reques...



details:   https://anonhg.NetBSD.org/src/rev/8f1345255c0a
branches:  netbsd-9
changeset: 964359:8f1345255c0a
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Apr 21 17:51:34 2021 +0000

description:
Pull up following revision(s) (requested by tsutsui in ticket #1247):

        sys/arch/zaurus/dev/w100lcd.c: revision 1.3

Make LCD BrightnessUp/BrightnessDown work on C7x0/860.

Patch from steleto:
 https://gist.github.com/steleto/10f62a074bff0c188fcc10c14ef40b5a

and also confirmed by me on SL-C700.

Worth to pullup to netbsd-9.

diffstat:

 sys/arch/zaurus/dev/w100lcd.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r f94a6aa9de29 -r 8f1345255c0a sys/arch/zaurus/dev/w100lcd.c
--- a/sys/arch/zaurus/dev/w100lcd.c     Fri Apr 16 17:04:59 2021 +0000
+++ b/sys/arch/zaurus/dev/w100lcd.c     Wed Apr 21 17:51:34 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: w100lcd.c,v 1.2 2012/02/10 11:25:42 tsutsui Exp $ */
+/* $NetBSD: w100lcd.c,v 1.2.56.1 2021/04/21 17:51:34 martin Exp $ */
 /*
  * Copyright (c) 2002, 2003  Genetec Corporation.  All rights reserved.
  * Written by Hiroyuki Bessho for Genetec Corporation.
@@ -39,7 +39,9 @@
  * LCD on/off switch and backlight brightness are done in lcdctl.c.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: w100lcd.c,v 1.2 2012/02/10 11:25:42 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: w100lcd.c,v 1.2.56.1 2021/04/21 17:51:34 martin Exp $");
+
+#include "lcdctl.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -58,6 +60,9 @@
 
 #include <zaurus/zaurus/zaurus_var.h>
 #include <zaurus/dev/w100lcdvar.h>
+#if NLCDCTL > 0
+#include <zaurus/dev/lcdctlvar.h>
+#endif
 
 /*
  * wsdisplay glue



Home | Main Index | Thread Index | Old Index