Displaying 1 result from an estimated 1 matches for "apc_f_reason".
2010 Feb 02
1
Small patch to apcsmart driver
...s/apcsmart.h.orig 2009-12-09 16:52:56.000000000 +0100
+++ ./drivers/apcsmart.h 2009-12-09 16:54:34.000000000 +0100
@@ -98,6 +98,7 @@
#define APC_F_SECONDS 0x100000 /* Time in seconds */
#define APC_F_MINUTES 0x110000 /* Time in minutes */
#define APC_F_HOURS 0x120000 /* Time in hours */
+#define APC_F_REASON 0x130000 /* Reason of transfer */
#define APC_F_LEAVE 0 /* Just pass this through */
struct apc_vartab_t {
@@ -143,7 +144,7 @@
{ "input.transfer.high",
APC_F_VOLT, 'u' },
{ "input.transfer.reason",
- APC_POLL, 'G' },
+ APC_POLL|APC_F_REASON,...