- Nov 01, 2016
-
-
Grzegorz Daniluk authored
-
- Oct 27, 2016
-
-
Grzegorz Daniluk authored
-
- Jun 10, 2016
-
-
Adam Wujek authored
By making struct wr_minic non static it is possible for mini SNMP to get RX/TX counters' values directly from the memory instead of writing a separate function that will call minic_get_stats. Avoiding extra function saves about 100 bytes. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- Apr 04, 2016
-
-
Alessandro Rubini authored
WARNING: wr_switch_defconfig doesn't build, this is fixed in next commit Unfortunately this commit makes the internal communication between minic and lan asymmetric: on receive the tag is discarded (and the longer header falls into the payload) while on transmit it must be provided by lan.c. The reason is that on receive we can trim 4 bytes from the payload, but on send we can't add 4 bytes without a memmove. The functions receive pointers to two different header structures, so hopefully user errors will be signalled by the compiler. Still, users interact with net.c, which hides vlan completely from them. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
We used to have "struct ethhdr" local in net.c, passing "void *hdr" to minic. We exports the structure to an header so to use it in communicating with the minic. Unfortunaltey, ethhdr is defined elsewhere too, so we'd better rename to wr_ethhdr. This is a step towards the introduction of vlans, but has no technical effect by itself. 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 14, 2013
-
-
Signed-off-by: Aurelio Colosimo <aurelio@aureliocolosimo.it>
-
- Oct 05, 2012
-
-
Alessandro Rubini authored
This is massive: 4k lines changed (but only 840 if you ignore space-only changes). In this case "git blame -w" won't always find the right patch, and it may fall on this patch -- because those 800 lines changed in content too. This has been done with find . -name '*.[ch]' | xargs -n 1 ./scripts/Lindent Statistics: all changes and ignoring blank space: morgana% git diff --stat HEAD~1 | tail -1 77 files changed, 3774 insertions(+), 3709 deletions(-) morgana% git diff -w --stat HEAD~1 | tail -1 61 files changed, 894 insertions(+), 829 deletions(-) However, after this step I hand-fixed some very ugly long expressions (leaving them long: no content change at all is there). Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- Sep 25, 2012
-
-
Grzegorz Daniluk authored
-
- Mar 08, 2012
-
-
Grzegorz Daniluk authored
-
- Apr 12, 2011
-
-
Grzegorz Daniluk authored
-
- Apr 08, 2011
-
-
Tomasz Wlostowski authored
-