From 47146d97c3a7db5e36dc28c7d567db48952bee76 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 2 Nov 2021 00:08:00 +0100 Subject: [PATCH] remove driver/spark_led.h Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/0b9a075f5794f7e2dd824b542b6e191d12d44645 Author: vanhofen Date: 2021-11-02 (Tue, 02 Nov 2021) Origin message was: ------------------ - remove driver/spark_led.h ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/spark_led.h | 61 ------------------------------------------ 1 file changed, 61 deletions(-) delete mode 100644 src/driver/spark_led.h diff --git a/src/driver/spark_led.h b/src/driver/spark_led.h deleted file mode 100644 index 6908b0012..000000000 --- a/src/driver/spark_led.h +++ /dev/null @@ -1,61 +0,0 @@ -/* ugly: this is copied from frontcontroller utility, but the driver - * does not seem to provide userspace headers... :-( */ - - -/* this setups the mode temporarily (for one ioctl) - * to the desired mode. currently the "normal" mode - * is the compatible vfd mode - */ -struct set_mode_s { - int compat; /* 0 = compatibility mode to vfd driver; 1 = nuvoton mode */ -}; - -struct set_brightness_s { - int level; -}; - -struct set_icon_s { - int icon_nr; - int on; -}; - -struct set_led_s { - int led_nr; - int on; -}; - -/* time must be given as follows: - * time[0] & time[1] = mjd ??? - * time[2] = hour - * time[3] = min - * time[4] = sec - */ -struct set_standby_s { - char time[5]; -}; - -struct set_time_s { - char time[5]; -}; - -struct aotom_ioctl_data { - union - { - struct set_icon_s icon; - struct set_led_s led; - struct set_brightness_s brightness; - struct set_mode_s mode; - struct set_standby_s standby; - struct set_time_s time; - } u; -}; - -/* a strange way of defining ioctls... but anyway... */ -#define VFDGETTIME 0xc0425afa -#define VFDSETTIME 0xc0425afb -#define VFDSTANDBY 0xc0425afc -#define VFDSETLED 0xc0425afe -#define VFDDISPLAYCHARS 0xc0425a00 -#define VFDDISPLAYCLR 0xc0425b00 -#define VFDSETMODE 0xc0425aff -