summaryrefslogtreecommitdiff
path: root/util/superiotool/superiotool.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r--util/superiotool/superiotool.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index 14090309ee..ef2bfd6685 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -136,6 +136,14 @@ extern int dump, verbose, extra_dump;
extern int chip_found;
+/* Extra selector structure (see fintek.c) */
+struct extra_selector {
+ const char *name;
+ uint8_t idx;
+ uint8_t mask;
+ uint8_t val;
+};
+
struct superio_registers {
int32_t superio_id; /* Signed, as we need EOT. */
const char *name; /* Super I/O name */
@@ -144,6 +152,7 @@ struct superio_registers {
const char *name; /* LDN name */
int16_t idx[IDXSIZE];
int16_t def[IDXSIZE];
+ struct extra_selector esel;
} ldn[LDNSIZE];
};