- Jul 29, 2016
-
-
Adam Wujek authored
We revert this commit, since we decided to support objects only from our own MIB. So we don't need this this specific time format. So, revert the commit: util: add the perverse SNMP 'string' time format Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
/var/lib/mibs/ietf/SNMPv2-TC DateAndTime ::= TEXTUAL-CONVENTION DISPLAY-HINT "2d-1d-1d,1d:1d:1d.1d,1a1d:1d" STATUS current DESCRIPTION "A date-time specification. field octets contents range ----- ------ -------- ----- 1 1-2 year* 0..65536 2 3 month 1..12 3 4 day 1..31 4 5 hour 0..23 5 6 minutes 0..59 6 7 seconds 0..60 (use 60 for leap-second) 7 8 deci-seconds 0..9 8 9 direction from UTC '+' / '-' 9 10 hours from UTC* 0..13 10 11 minutes from UTC 0..59 * Notes: - the value of year is in network-byte order - daylight saving time in New Zealand is +13 For example, Tuesday May 26, 1992 at 1:30:15 PM EDT would be displayed as: 1992-5-26,13:30:15.0,-4:0 Note that if only local time is known, then timezone information (fields 8-10) is not present." SYNTAX OCTET STRING (SIZE (8 | 11)) Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- Feb 15, 2016
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- Jan 20, 2016
-
-
Alessandro Rubini authored
This removes TRACE_DEV(), turning it into pll_verbose() and wrc_verbose(). The functions are enabled and disabled by kconfig, with defaults matching the previous behaviour. So nothing changes, but the binary is smaller because the previous wrc_debug_printf() was silent because of a run-time conditional (though hardwired false at build time). The condional is now at build time. We save around 2k, between strings and calling code, in all wrc builds (nothing is saved in wrs, which is verbose by default, nor in devel_build_test_defconfig where all verbose options are on)). Signed-off-by: Alessandro Rubini <rubini@gnudd.com> devel_build_test_defconfig: enable all verbose options Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- Oct 30, 2015
-
-
Alessandro Rubini authored
This commit fixes all copyright notes, using "git blame" as a reference. For simple files I just added a 2-lines boilerplate about being WR and GPL. Some parts I left untouched: trivial-init and related files (unclear to me what this is, and pf-microcode.h is magic binary pfilter values). tools/lm32-etheruart: I don't know what this is and who the author is libsdbfs: this comes from another repo and I'd better not change it sfp_lib.h and hal_shmem.h: I lost track about the origin of this, among the several packages. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- Jul 26, 2015
-
-
Alessandro Rubini authored
I added -Wstrict-prototypes, that used to be included in -Wall settings but is not. Actually, I think it should be an error to not specify an argument list by now. If any, -traditional is there for old timers. Fortunately no bug was exposed by the missing prototypes. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- Feb 12, 2013
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- Oct 05, 2012
-
-
Alessandro Rubini authored
If you find this patch with "git blame" please use "git blame -w" to have all white-space ignored while associating lines to commits. This commit has no practical effect but cleanup. I made it with sed like this: git grep -l '[ \t]$' | xargs sed -i 's/[ \t]*$//' However, I had to manually restore doc/wrpc_mon.png after the fact. Similarly, I restored the include/hw/*regs.h files, as they are (most likely) auto-generated.
-
- Jun 12, 2012
-
-
Tomasz Wlostowski authored
rewrote pps_gen driver (to match the libswitchhw one), removed remaining references to UTC timescale
-
- Jun 06, 2012
-
-
Tomasz Wlostowski authored
-