From ee08866b7e0cf6dbbae46409f38bc14343e1604f Mon Sep 17 00:00:00 2001 From: stefanct Date: Mon, 2 Jun 2014 00:45:57 +0000 Subject: print_wiki.c: refine header and include a legend explaining the test state representation. Signed-off-by: Stefan Tauner Acked-by: Stefan Tauner git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1816 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- print_wiki.c | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) (limited to 'print_wiki.c') diff --git a/print_wiki.c b/print_wiki.c index b01ab75..85663db 100644 --- a/print_wiki.c +++ b/print_wiki.c @@ -29,11 +29,33 @@ static const char wiki_header[] = "= Supported devices =\n\n\
\ +background-color:#eeeeee; text-align:left; border:1px solid #aabbcc;\">\ \n\ -Please do '''not''' edit these tables in the wiki directly, they are \ -generated by pasting '''flashrom -z''' output.
\ -'''Last update:''' %s(generated by flashrom %s)\n
\n"; +'''Last update:''' %s(generated by flashrom %s)
\n\ +The tables below are generated from flashrom's source by copying the output of '''flashrom -z'''.

\n\ +A short explanation of the cells representing the support state follows:
\n\ +{| border=\"0\" valign=\"top\"\n\ +! style=\"text-align:left;\" |\n\ +! style=\"text-align:left;\" |\n\ +|-\n\ +|{{OK}}\n\ +| The feature was '''tested and should work''' in general unless there is a bug in flashrom or another component in \ +the system prohibits some functionality.\n\ +|-\n\ +|{{Dep}}\n\ +| '''Configuration-dependent'''. The feature was tested and should work in general but there are common \ +configurations that drastically limit flashrom's capabilities or make it completely stop working.\n\ +|-\n\ +|{{?3}}\n\ +| The feature is '''untested''' but believed to be working.\n\ +|-\n\ +|{{NA}}\n\ +| The feature is '''not applicable''' in this configuration (e.g. write operations on ROM chips).\n\ +|-\n\ +|{{No}}\n\ +| The feature is '''known to not work'''. Don't bother testing (nor reporting. Patches welcome! ;).\n\ +|}\n\ +\n"; static const char th_start[] = "| valign=\"top\"|\n\n\ {| border=\"0\" style=\"font-size: smaller\" valign=\"top\"\n\ -- cgit v1.2.1