- Jun 10, 2016
-
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
To update an entry when SFP database is in the eeprom, particular entry is searched then simply updated. On the other hand, when SFP database is in the flash simple update is not possible. First old database is copied to the memory, then updated in memory. After, the erase of the entire flash block is performed. At the end updated information is written into the flash. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- Oct 27, 2015
-
-
Alessandro Rubini authored
We have not been using mprintf for ages now, and it's better for the code to explicitly call pp_printf, so people is aware of it. We might "#define printf pp_printf", but currently we'd better not. Maybe when we turn this into a real operating system, next millennium... Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- Oct 08, 2015
-
-
Alessandro Rubini authored
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>
-
- Jan 08, 2015
-
-
Grzegorz Daniluk authored
-
- Nov 18, 2014
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
eeprom_present() returned a value nobody used. Rename to eeprom_init() instead. Also, save the two parameters so that they are not needed in other functions (see later commits). Also, turn int8_t to int as function arguments (int is better for the CPU). This adds 20 bytes to the legacy case, and removes 4 to the sdb case. The legacy size is reduced by later commits. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- Oct 07, 2014
-
-
Some declaration was int8_t, some int32_t and some didn't match the function definition. Now everything returns just int. Anyway the functions return only 0 or -1, so there are no problems returning int. Moreover in this way the resulting assembler is smaller for every target architecture (even if here we always build for lm32) This reduces the binary by 30 bytes.
-
- Oct 10, 2013
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- Oct 01, 2013
-
-
Grzegorz Daniluk authored
-
- May 20, 2013
-
-
Alessandro Rubini authored
The command is not documented, and it looks like is not useful either (I understand it has been useful when setting up the init area initially) Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- May 14, 2013
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- Nov 01, 2012
-
-
Alessandro Rubini authored
This adds copyright notes to all non-trivial source files, unless they where already there (i.e. dev/endpoint.c alone). I found authorship using the following script, run on commit "a2721762 documentation updated" (i.e, before automatic reindentation and other trivial stuff by me): git grep -l . | grep -v sockitowm/ | \ while read F; do echo "##### $F" git blame -w $F | \ sed -e 's/^[^ ]* .//' -e 's/-[0-9][0-9]-[0-9][0-9] .*$//' | \ sort | uniq -c | sort -rn done Then I augmented each file with this boilerplate: /* * This work is part of the White Rabbit project * * Copyright (C) 2011 CERN (www.cern.ch) * Copyright (C) 2011,2012 CERN (www.cern.ch) * Copyright (C) 2012 CERN (www.cern.ch) * Copyright (C) 2011 GSI (www.gsi.de) * Copyright (C) 2011,2012 GSI (www.gsi.de) * Copyright (C) 2012 GSI (www.gsi.de) * Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch> * Author: Grzegorz Daniluk <grzegorz.daniluk@cern.ch> * Author: Wesley W. Terpstra <w.terpstra@gsi.de> * * Released according to the GNU GPL, version 2 or any later version. */ Then I removed all the lines that didn't apply. Sometimes I reordered the authors to reflect who is the main author. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 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>
-
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.
-
- Aug 12, 2012
-
-
Grzegorz Daniluk authored
-
- Aug 03, 2012
-
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
- Jul 19, 2012
-
-
Grzegorz Daniluk authored
-
- Jul 18, 2012
-
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
- Jul 17, 2012
-
-
Grzegorz Daniluk authored
-
- May 24, 2012
-
-
Grzegorz Daniluk authored
-
- Mar 08, 2012
-
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
- Mar 07, 2012
-
-
Grzegorz Daniluk authored
-