blob: c3ca1f4771b7cd73e57760ac40242c33abcee4b8 [file] [log] [blame]
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +00001/*
2 * This file is part of the flashrom project.
3 *
4 * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
5 * Copyright (C) 2009 Carl-Daniel Hailfinger
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
Peter Lemenkov4adf8a62010-06-01 10:13:17 +000022#include <stdio.h>
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000023#include <string.h>
24#include <stdlib.h>
25#include <time.h>
26#include "flash.h"
27#include "flashchips.h"
Carl-Daniel Hailfinger5b997c32010-07-27 22:41:39 +000028#include "programmer.h"
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000029
Mathias Krausea60faab2011-01-17 07:50:42 +000030static const char wiki_header[] = "= Supported devices =\n\n\
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000031<div style=\"margin-top:0.5em; padding:0.5em 0.5em 0.5em 0.5em; \
Stefan Taunerf74a7b92011-09-14 22:09:48 +000032background-color:#eeeeee; text-align:right; border:1px solid #aabbcc;\">\
33<small>\n\
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000034Please do '''not''' edit these tables in the wiki directly, they are \
35generated by pasting '''flashrom -z''' output.<br />\
36'''Last update:''' %s(generated by flashrom %s)\n</small></div>\n";
37
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +000038#if CONFIG_INTERNAL == 1
Mathias Krausea60faab2011-01-17 07:50:42 +000039static const char chipset_th[] = "{| border=\"0\" style=\"font-size: smaller\"\n\
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000040|- bgcolor=\"#6699dd\"\n! align=\"left\" | Vendor\n\
Stefan Taunerf74a7b92011-09-14 22:09:48 +000041! align=\"left\" | Southbridge\n! align=\"center\" | PCI IDs\n\
42! align=\"center\" | Status\n\n";
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000043
Mathias Krausea60faab2011-01-17 07:50:42 +000044static const char board_th[] = "{| border=\"0\" style=\"font-size: smaller\" \
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000045valign=\"top\"\n|- bgcolor=\"#6699dd\"\n! align=\"left\" | Vendor\n\
Stefan Taunerf74a7b92011-09-14 22:09:48 +000046! align=\"left\" | Mainboard\n! align=\"left\" | Required option\n\
47! align=\"center\" | Status\n\n";
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000048
Mathias Krausea60faab2011-01-17 07:50:42 +000049static const char board_intro[] = "\
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000050\n== Supported mainboards ==\n\n\
51In general, it is very likely that flashrom works out of the box even if your \
52mainboard is not listed below.\n\nThis is a list of mainboards where we have \
53verified that they either do or do not need any special initialization to \
54make flashrom work (given flashrom supports the respective chipset and flash \
55chip), or that they do not yet work at all. If they do not work, support may \
56or may not be added later.\n\n\
Stefan Taunerd06d9412011-06-12 19:47:55 +000057Mainboards (or individual revisions) which don't appear in the list may or may \
58not work (we don't know, someone has to give it a try). Please report any \
59further verified mainboards on the [[Mailinglist|mailing list]].\n";
Carl-Daniel Hailfinger8841d3e2010-05-15 15:04:37 +000060#endif
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000061
Stefan Taunerf74a7b92011-09-14 22:09:48 +000062static const char chip_th[] = "{\
63| border=\"0\" style=\"font-size: smaller\" valign=\"top\"\n\
64|- bgcolor=\"#6699dd\"\n\
65! align=\"left\" | Vendor\n\
66! align=\"left\" | Device\n\
67! align=\"center\" | Size [kB]\n\
68! align=\"center\" | Type\n\
69! align=\"center\" colspan=\"4\" | Status\n\
70! align=\"center\" colspan=\"2\" | Voltage [V]\n\n\
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000071|- bgcolor=\"#6699ff\"\n| colspan=\"4\" | &nbsp;\n\
Stefan Taunerf74a7b92011-09-14 22:09:48 +000072| Probe\n| Read\n| Erase\n| Write\n\
73| align=\"center\" | min \n| align=\"center\" | max\n\n";
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000074
Mathias Krausea60faab2011-01-17 07:50:42 +000075static const char programmer_section[] = "\
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000076\n== Supported programmers ==\n\nThis is a list \
77of supported PCI devices flashrom can use as programmer:\n\n{| border=\"0\" \
78valign=\"top\"\n| valign=\"top\"|\n\n{| border=\"0\" style=\"font-size: \
79smaller\" valign=\"top\"\n|- bgcolor=\"#6699dd\"\n! align=\"left\" | Vendor\n\
Stefan Taunerf74a7b92011-09-14 22:09:48 +000080! align=\"left\" | Device\n! align=\"center\" | PCI IDs\n\
81! align=\"center\" | Status\n\n";
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000082
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +000083#if CONFIG_INTERNAL == 1
Mathias Krausea60faab2011-01-17 07:50:42 +000084static const char laptop_intro[] = "\n== Supported laptops/notebooks ==\n\n\
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000085In general, flashing laptops is more difficult because laptops\n\n\
86* often use the flash chip for stuff besides the BIOS,\n\
87* often have special protection stuff which has to be handled by flashrom,\n\
88* often use flash translation circuits which need drivers in flashrom.\n\n\
89<div style=\"margin-top:0.5em; padding:0.5em 0.5em 0.5em 0.5em; \
90background-color:#ff6666; align:right; border:1px solid #000000;\">\n\
91'''IMPORTANT:''' At this point we recommend to '''not''' use flashrom on \
92untested laptops unless you have a means to recover from a flashing that goes \
93wrong (a working backup flash chip and/or good soldering skills).\n</div>\n";
94
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +000095static void print_supported_chipsets_wiki(int cols)
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +000096{
97 int i, j, enablescount = 0, color = 1;
98 const struct penable *e;
99
100 for (e = chipset_enables; e->vendor_name != NULL; e++)
101 enablescount++;
102
103 printf("\n== Supported chipsets ==\n\nTotal amount of supported "
104 "chipsets: '''%d'''\n\n{| border=\"0\" valign=\"top\"\n| "
105 "valign=\"top\"|\n\n%s", enablescount, chipset_th);
106
107 e = chipset_enables;
108 for (i = 0, j = 0; e[i].vendor_name != NULL; i++, j++) {
109 /* Alternate colors if the vendor changes. */
110 if (i > 0 && strcmp(e[i].vendor_name, e[i - 1].vendor_name))
111 color = !color;
112
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000113 printf("|- bgcolor=\"#%s\"\n| %s || %s "
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000114 "|| %04x:%04x || %s\n", (color) ? "eeeeee" : "dddddd",
115 e[i].vendor_name, e[i].device_name,
116 e[i].vendor_id, e[i].device_id,
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000117 (e[i].status == OK) ? "{{OK}}" : "{{?3}}");
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000118
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000119 /* Split table in 'cols' columns. */
120 if (j >= (enablescount / cols + 1)) {
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000121 printf("\n|}\n\n| valign=\"top\"|\n\n%s", chipset_th);
122 j = 0;
123 }
124 }
125
126 printf("\n|}\n\n|}\n");
127}
128
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000129static void wiki_helper(const char *devicetype, int cols,
130 const struct board_info boards[])
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000131{
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000132 int i, j, k = 0, boardcount_good = 0, boardcount_bad = 0, color = 1;
133 int num_notes = 0;
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000134 char *notes = calloc(1, 1);
135 char tmp[900 + 1];
Carl-Daniel Hailfinger97d5b122011-08-31 16:19:50 +0000136 const struct board_match *b = board_matches;
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000137
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000138 for (i = 0; boards[i].vendor != NULL; i++) {
139 if (boards[i].working)
140 boardcount_good++;
141 else
142 boardcount_bad++;
143 }
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000144
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000145 printf("\n\nTotal amount of supported %s: '''%d'''. "
146 "Not yet supported (i.e., known-bad): '''%d'''.\n\n"
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000147 "{| border=\"0\" valign=\"top\"\n| valign=\"top\"|\n\n%s",
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000148 devicetype, boardcount_good, boardcount_bad, board_th);
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000149
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000150 for (i = 0, j = 0; boards[i].vendor != NULL; i++, j++) {
151
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000152 /* Alternate colors if the vendor changes. */
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000153 if (i > 0 && strcmp(boards[i].vendor, boards[i - 1].vendor))
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000154 color = !color;
155
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000156 k = 0;
Carl-Daniel Hailfinger4146ced2010-06-07 11:10:43 +0000157 while ((b[k].vendor_name != NULL) &&
158 (strcmp(b[k].vendor_name, boards[i].vendor) ||
159 strcmp(b[k].board_name, boards[i].name))) {
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000160 k++;
161 }
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000162
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000163 printf("|- bgcolor=\"#%s\"\n| %s || %s%s %s%s || %s%s%s%s "
164 "|| {{%s}}", (color) ? "eeeeee" : "dddddd",
165 boards[i].vendor,
166 boards[i].url ? "[" : "",
167 boards[i].url ? boards[i].url : "",
168 boards[i].name,
169 boards[i].url ? "]" : "",
170 b[k].lb_vendor ? "-m " : "&mdash;",
171 b[k].lb_vendor ? b[k].lb_vendor : "",
172 b[k].lb_vendor ? ":" : "",
173 b[k].lb_vendor ? b[k].lb_part : "",
174 (boards[i].working) ? "OK" : "No");
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000175
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000176 if (boards[i].note) {
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000177 printf("<sup>%d</sup>\n", num_notes + 1);
Mathias Krausea60faab2011-01-17 07:50:42 +0000178 snprintf(tmp, sizeof(tmp), "<sup>%d</sup> %s<br />\n",
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000179 1 + num_notes++, boards[i].note);
Mathias Krausea60faab2011-01-17 07:50:42 +0000180 notes = strcat_realloc(notes, tmp);
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000181 } else {
182 printf("\n");
183 }
184
185 /* Split table in 'cols' columns. */
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000186 if (j >= ((boardcount_good + boardcount_bad) / cols + 1)) {
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000187 printf("\n|}\n\n| valign=\"top\"|\n\n%s", board_th);
188 j = 0;
189 }
190 }
191
192 printf("\n|}\n\n|}\n");
193
194 if (num_notes > 0)
195 printf("\n<small>\n%s</small>\n", notes);
196 free(notes);
197}
198
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000199static void print_supported_boards_wiki(void)
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000200{
201 printf("%s", board_intro);
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000202 wiki_helper("boards", 2, boards_known);
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000203
204 printf("%s", laptop_intro);
Peter Lemenkov4adf8a62010-06-01 10:13:17 +0000205 wiki_helper("laptops", 1, laptops_known);
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000206}
Carl-Daniel Hailfinger8841d3e2010-05-15 15:04:37 +0000207#endif
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000208
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000209static void print_supported_chips_wiki(int cols)
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000210{
211 int i = 0, c = 1, chipcount = 0;
Carl-Daniel Hailfinger4c823182011-05-04 00:39:50 +0000212 const struct flashchip *f, *old = NULL;
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000213 uint32_t t;
Stefan Tauner00155492011-06-26 20:45:35 +0000214 char *s;
Stefan Taunerf74a7b92011-09-14 22:09:48 +0000215 char vmax[6];
216 char vmin[6];
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000217
Stefan Tauner93f70232011-07-26 14:33:46 +0000218 for (f = flashchips; f->name != NULL; f++) {
219 /* Don't count "unknown XXXX SPI chip" entries. */
220 if (!strncmp(f->name, "unknown", 7))
221 continue;
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000222 chipcount++;
Stefan Tauner93f70232011-07-26 14:33:46 +0000223 }
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000224
225 printf("\n== Supported chips ==\n\nTotal amount of supported "
226 "chips: '''%d'''\n\n{| border=\"0\" valign=\"top\"\n"
227 "| valign=\"top\"|\n\n%s", chipcount, chip_th);
228
229 for (f = flashchips; f->name != NULL; f++, i++) {
230 /* Don't print "unknown XXXX SPI chip" entries. */
231 if (!strncmp(f->name, "unknown", 7))
232 continue;
233
234 /* Alternate colors if the vendor changes. */
235 if (old != NULL && strcmp(old->vendor, f->vendor))
236 c = !c;
237
238 t = f->tested;
Stefan Tauner00155492011-06-26 20:45:35 +0000239 s = flashbuses_to_text(f->bustype);
Stefan Taunerf74a7b92011-09-14 22:09:48 +0000240 sprintf(vmin, "%0.03f", f->voltage.min / (double)1000);
241 sprintf(vmax, "%0.03f", f->voltage.max / (double)1000);
242 /* '{{%s}}' is used in combination with 'OK', 'No' and '?3' to
243 * select special formatting templates for the bg color. */
244 printf("|- bgcolor=\"#%s\"\n| %s || %s || align=\"right\" | %d "
245 "|| %s || {{%s}} || {{%s}} || {{%s}} || {{%s}}"
246 "|| %s || %s \n",
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000247 (c == 1) ? "eeeeee" : "dddddd", f->vendor, f->name,
Stefan Tauner00155492011-06-26 20:45:35 +0000248 f->total_size, s,
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000249 (t & TEST_OK_PROBE) ? "OK" :
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000250 (t & TEST_BAD_PROBE) ? "No" : "?3",
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000251 (t & TEST_OK_READ) ? "OK" :
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000252 (t & TEST_BAD_READ) ? "No" : "?3",
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000253 (t & TEST_OK_ERASE) ? "OK" :
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000254 (t & TEST_BAD_ERASE) ? "No" : "?3",
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000255 (t & TEST_OK_WRITE) ? "OK" :
Stefan Taunerf74a7b92011-09-14 22:09:48 +0000256 (t & TEST_BAD_WRITE) ? "No" : "?3",
257 f->voltage.min ? vmin : "N/A",
258 f->voltage.min ? vmax : "N/A");
Stefan Tauner00155492011-06-26 20:45:35 +0000259 free(s);
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000260
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000261 /* Split table into 'cols' columns. */
262 if (i >= (chipcount / cols + 1)) {
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000263 printf("\n|}\n\n| valign=\"top\"|\n\n%s", chip_th);
264 i = 0;
265 }
266
267 old = f;
268 }
269
270 printf("\n|}\n\n|}\n");
271}
272
Carl-Daniel Hailfingerd9535582011-03-08 00:09:11 +0000273/* Not needed for CONFIG_INTERNAL, but for all other PCI-based programmers. */
Carl-Daniel Hailfingerb713d2e2011-05-08 00:24:18 +0000274#if CONFIG_NIC3COM+CONFIG_NICREALTEK+CONFIG_NICNATSEMI+CONFIG_GFXNVIDIA+CONFIG_DRKAISER+CONFIG_SATASII+CONFIG_ATAHPT+CONFIG_NICINTEL+CONFIG_NICINTEL_SPI+CONFIG_OGP_SPI+CONFIG_SATAMV >= 1
Carl-Daniel Hailfingerad3cc552010-07-03 11:02:10 +0000275static void print_supported_pcidevs_wiki(const struct pcidev_status *devs)
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000276{
277 int i = 0;
278 static int c = 0;
279
280 /* Alternate colors if the vendor changes. */
281 c = !c;
282
283 for (i = 0; devs[i].vendor_name != NULL; i++) {
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000284 printf("|- bgcolor=\"#%s\"\n| %s || %s || "
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000285 "%04x:%04x || {{%s}}\n", (c) ? "eeeeee" : "dddddd",
286 devs[i].vendor_name, devs[i].device_name,
287 devs[i].vendor_id, devs[i].device_id,
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000288 (devs[i].status == NT) ? "?3" : "OK");
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000289 }
290}
Carl-Daniel Hailfingerd9535582011-03-08 00:09:11 +0000291#endif
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000292
Carl-Daniel Hailfingerf5292052009-11-17 09:57:34 +0000293void print_supported_wiki(void)
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000294{
295 time_t t = time(NULL);
296
297 printf(wiki_header, ctime(&t), flashrom_version);
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000298 print_supported_chips_wiki(2);
Carl-Daniel Hailfinger9e3a6c42010-10-08 12:40:09 +0000299#if CONFIG_INTERNAL == 1
Uwe Hermanna6d9c4b2010-05-24 15:28:12 +0000300 print_supported_chipsets_wiki(3);
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000301 print_supported_boards_wiki();
Carl-Daniel Hailfinger8841d3e2010-05-15 15:04:37 +0000302#endif
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000303 printf("%s", programmer_section);
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000304#if CONFIG_NIC3COM == 1
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000305 print_supported_pcidevs_wiki(nics_3com);
306#endif
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000307#if CONFIG_NICREALTEK == 1
Uwe Hermann829ed842010-05-24 17:39:14 +0000308 print_supported_pcidevs_wiki(nics_realtek);
Uwe Hermann829ed842010-05-24 17:39:14 +0000309#endif
Andrew Morgan74a828a2010-07-21 15:12:07 +0000310#if CONFIG_NICNATSEMI == 1
311 print_supported_pcidevs_wiki(nics_natsemi);
312#endif
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000313#if CONFIG_GFXNVIDIA == 1
Uwe Hermann2b5cb512009-10-06 20:25:48 +0000314 print_supported_pcidevs_wiki(gfx_nvidia);
315#endif
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000316#if CONFIG_DRKAISER == 1
Uwe Hermann07c54c82009-09-25 01:31:51 +0000317 print_supported_pcidevs_wiki(drkaiser_pcidev);
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000318#endif
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000319#if CONFIG_SATASII == 1
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000320 print_supported_pcidevs_wiki(satas_sii);
321#endif
Carl-Daniel Hailfinger71127722010-05-31 15:27:27 +0000322#if CONFIG_ATAHPT == 1
Uwe Hermannddd5c9e2010-02-21 21:17:00 +0000323 print_supported_pcidevs_wiki(ata_hpt);
324#endif
Carl-Daniel Hailfingerb713d2e2011-05-08 00:24:18 +0000325#if CONFIG_NICINTEL == 1
326 print_supported_pcidevs_wiki(nics_intel);
327#endif
Idwer Vollering004f4b72010-09-03 18:21:21 +0000328#if CONFIG_NICINTEL_SPI == 1
329 print_supported_pcidevs_wiki(nics_intel_spi);
330#endif
Mark Marshall90021f22010-12-03 14:48:11 +0000331#if CONFIG_OGP_SPI == 1
332 print_supported_pcidevs_wiki(ogp_spi);
333#endif
Carl-Daniel Hailfinger9a1105c2011-02-04 21:37:59 +0000334#if CONFIG_SATAMV == 1
335 print_supported_pcidevs_wiki(satas_mv);
336#endif
Carl-Daniel Hailfinger9c8476b2009-09-16 12:19:03 +0000337 printf("\n|}\n");
338}
339