diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-12-27 18:40:40 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-12-27 18:40:40 +0000 |
commit | 67af690ee07d5a399f50424f9be9f9342e3f98ad (patch) | |
tree | ca759f720ff9a095c080e357db4211f444318477 | |
parent | 841a9973f2d1825203bdee79593a44767b515e26 (diff) | |
download | flashrom-67af690ee07d5a399f50424f9be9f9342e3f98ad.zip flashrom-67af690ee07d5a399f50424f9be9f9342e3f98ad.tar.gz |
print_wiki.c: print programmers of type OTHER too
Corresponding to flashrom svn r1633.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
-rw-r--r-- | print_wiki.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/print_wiki.c b/print_wiki.c index 4f34f29..81f7efb 100644 --- a/print_wiki.c +++ b/print_wiki.c @@ -373,6 +373,22 @@ static void print_supported_devs_wiki() } } printf("\n|}\n\n|}\n"); + + printf("\n== Other programmers ==\n\n" + "{%s", th_start); + printf("! align=\"left\" | Programmer\n" + "! align=\"left\" | Note\n\n"); + + for (i = 0; i < PROGRAMMER_INVALID; i++) { + static int c = 0; + const struct programmer_entry prog = programmer_table[i]; + if (prog.type == OTHER && prog.devs.note != NULL) { + c = !c; + printf("|- bgcolor=\"#%s\"\n", (c) ? "eeeeee" : "dddddd"); + printf("| %s || %s", prog.name, prog.devs.note); + } + } + printf("\n|}\n\n|}\n"); } void print_supported_wiki(void) |