mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
remove driver/spark_led.h
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0b9a075f57
Author: vanhofen <vanhofen@gmx.de>
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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user