git: backlight(9): Initial port.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sat Mar 11 11:21:13 PST 2023


commit 0085a56d0dbf7abe96dfbf1dc294d29800f96275
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Sat Mar 11 19:25:47 2023 +0100

    backlight(9): Initial port.
    
     - backlight(9) is a generic panel backlight driver.
     - backlight(8) is the userland program to control
       backlight devices' properties.
     - Required by linuxkpi
    
    Taken from: FreeBSD

Summary of changes:
 sys/conf/files                                     |   2 +
 sys/conf/kmod.mk                                   |   2 +-
 sys/config/LINT64                                  |   3 +
 sys/dev/misc/Makefile                              |   2 +-
 sys/dev/misc/backlight/Makefile                    |   5 +
 sys/dev/misc/backlight/backlight.c                 | 151 +++++++++++++++
 .../dev/misc/backlight/backlight.h                 |  11 +-
 .../mixer_if.m => misc/backlight/backlight_if.m}   |  60 +++---
 usr.sbin/autofs/token.l => sys/sys/backlight.h     |  57 +++---
 usr.bin/Makefile                                   |   1 +
 .../testcases/link => usr.bin/backlight}/Makefile  |   3 +-
 usr.bin/backlight/backlight.8                      | 102 ++++++++++
 usr.bin/backlight/backlight.c                      | 208 +++++++++++++++++++++
 13 files changed, 540 insertions(+), 67 deletions(-)
 create mode 100644 sys/dev/misc/backlight/Makefile
 create mode 100644 sys/dev/misc/backlight/backlight.c
 copy lib/liby/yyerror.h => sys/dev/misc/backlight/backlight.h (87%)
 copy sys/dev/{sound/pcm/mixer_if.m => misc/backlight/backlight_if.m} (60%)
 copy usr.sbin/autofs/token.l => sys/sys/backlight.h (64%)
 copy {test/stress/stress2/testcases/link => usr.bin/backlight}/Makefile (52%)
 create mode 100644 usr.bin/backlight/backlight.8
 create mode 100644 usr.bin/backlight/backlight.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0085a56d0dbf7abe96dfbf1dc294d29800f96275


-- 
DragonFly BSD source repository


More information about the Commits mailing list