Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 1 | /* |
| 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 | |
Carl-Daniel Hailfinger | 831e8f4 | 2010-05-30 22:24:40 +0000 | [diff] [blame] | 22 | #include <stdio.h> |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 23 | #include <string.h> |
| 24 | #include <stdlib.h> |
| 25 | #include "flash.h" |
| 26 | #include "flashchips.h" |
| 27 | |
| 28 | /* |
| 29 | * Return a string corresponding to the bustype parameter. |
| 30 | * Memory is obtained with malloc() and can be freed with free(). |
| 31 | */ |
| 32 | char *flashbuses_to_text(enum chipbustype bustype) |
| 33 | { |
| 34 | char *ret = calloc(1, 1); |
| 35 | if (bustype == CHIP_BUSTYPE_UNKNOWN) { |
| 36 | ret = strcat_realloc(ret, "Unknown,"); |
| 37 | /* |
| 38 | * FIXME: Once all chipsets and flash chips have been updated, NONSPI |
| 39 | * will cease to exist and should be eliminated here as well. |
| 40 | */ |
| 41 | } else if (bustype == CHIP_BUSTYPE_NONSPI) { |
| 42 | ret = strcat_realloc(ret, "Non-SPI,"); |
| 43 | } else { |
| 44 | if (bustype & CHIP_BUSTYPE_PARALLEL) |
| 45 | ret = strcat_realloc(ret, "Parallel,"); |
| 46 | if (bustype & CHIP_BUSTYPE_LPC) |
| 47 | ret = strcat_realloc(ret, "LPC,"); |
| 48 | if (bustype & CHIP_BUSTYPE_FWH) |
| 49 | ret = strcat_realloc(ret, "FWH,"); |
| 50 | if (bustype & CHIP_BUSTYPE_SPI) |
| 51 | ret = strcat_realloc(ret, "SPI,"); |
| 52 | if (bustype == CHIP_BUSTYPE_NONE) |
| 53 | ret = strcat_realloc(ret, "None,"); |
| 54 | } |
| 55 | /* Kill last comma. */ |
| 56 | ret[strlen(ret) - 1] = '\0'; |
| 57 | ret = realloc(ret, strlen(ret) + 1); |
| 58 | return ret; |
| 59 | } |
| 60 | |
| 61 | #define POS_PRINT(x) do { pos += strlen(x); printf(x); } while (0) |
| 62 | |
| 63 | static int digits(int n) |
| 64 | { |
| 65 | int i; |
| 66 | |
| 67 | if (!n) |
| 68 | return 1; |
| 69 | |
| 70 | for (i = 0; n; ++i) |
| 71 | n /= 10; |
| 72 | |
| 73 | return i; |
| 74 | } |
| 75 | |
| 76 | void print_supported_chips(void) |
| 77 | { |
| 78 | int okcol = 0, pos = 0, i, chipcount = 0; |
| 79 | struct flashchip *f; |
| 80 | |
| 81 | for (f = flashchips; f->name != NULL; f++) { |
| 82 | if (GENERIC_DEVICE_ID == f->model_id) |
| 83 | continue; |
| 84 | okcol = max(okcol, strlen(f->vendor) + 1 + strlen(f->name)); |
| 85 | } |
| 86 | okcol = (okcol + 7) & ~7; |
| 87 | |
| 88 | for (f = flashchips; f->name != NULL; f++) |
| 89 | chipcount++; |
| 90 | |
| 91 | printf("\nSupported flash chips (total: %d):\n\n", chipcount); |
| 92 | POS_PRINT("Vendor: Device:"); |
| 93 | while (pos < okcol) { |
| 94 | printf("\t"); |
| 95 | pos += 8 - (pos % 8); |
| 96 | } |
| 97 | |
| 98 | printf("Tested OK:\tKnown BAD: Size/KB: Type:\n\n"); |
| 99 | printf("(P = PROBE, R = READ, E = ERASE, W = WRITE)\n\n"); |
| 100 | |
| 101 | for (f = flashchips; f->name != NULL; f++) { |
| 102 | /* Don't print "unknown XXXX SPI chip" entries. */ |
| 103 | if (!strncmp(f->name, "unknown", 7)) |
| 104 | continue; |
| 105 | |
| 106 | printf("%s", f->vendor); |
| 107 | for (i = 0; i < 10 - strlen(f->vendor); i++) |
| 108 | printf(" "); |
| 109 | printf("%s", f->name); |
| 110 | |
| 111 | pos = 10 + strlen(f->name); |
| 112 | while (pos < okcol) { |
| 113 | printf("\t"); |
| 114 | pos += 8 - (pos % 8); |
| 115 | } |
| 116 | if ((f->tested & TEST_OK_MASK)) { |
| 117 | if ((f->tested & TEST_OK_PROBE)) |
| 118 | POS_PRINT("P "); |
| 119 | if ((f->tested & TEST_OK_READ)) |
| 120 | POS_PRINT("R "); |
| 121 | if ((f->tested & TEST_OK_ERASE)) |
| 122 | POS_PRINT("E "); |
| 123 | if ((f->tested & TEST_OK_WRITE)) |
| 124 | POS_PRINT("W "); |
| 125 | } |
| 126 | while (pos < okcol + 9) { |
| 127 | printf("\t"); |
| 128 | pos += 8 - (pos % 8); |
| 129 | } |
| 130 | if ((f->tested & TEST_BAD_MASK)) { |
| 131 | if ((f->tested & TEST_BAD_PROBE)) |
| 132 | printf("P "); |
| 133 | if ((f->tested & TEST_BAD_READ)) |
| 134 | printf("R "); |
| 135 | if ((f->tested & TEST_BAD_ERASE)) |
| 136 | printf("E "); |
| 137 | if ((f->tested & TEST_BAD_WRITE)) |
| 138 | printf("W "); |
| 139 | } |
| 140 | |
| 141 | printf("\t %d", f->total_size); |
| 142 | for (i = 0; i < 10 - digits(f->total_size); i++) |
| 143 | printf(" "); |
| 144 | printf("%s\n", flashbuses_to_text(f->bustype)); |
| 145 | } |
| 146 | } |
| 147 | |
Carl-Daniel Hailfinger | 66ef4e5 | 2009-12-13 22:28:00 +0000 | [diff] [blame] | 148 | #if INTERNAL_SUPPORT == 1 |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 149 | void print_supported_chipsets(void) |
| 150 | { |
| 151 | int i, j, chipsetcount = 0; |
| 152 | const struct penable *c = chipset_enables; |
| 153 | |
| 154 | for (i = 0; c[i].vendor_name != NULL; i++) |
| 155 | chipsetcount++; |
| 156 | |
| 157 | printf("\nSupported chipsets (total: %d):\n\nVendor: " |
| 158 | "Chipset: PCI IDs:\n\n", chipsetcount); |
| 159 | |
| 160 | for (i = 0; c[i].vendor_name != NULL; i++) { |
| 161 | printf("%s", c[i].vendor_name); |
| 162 | for (j = 0; j < 25 - strlen(c[i].vendor_name); j++) |
| 163 | printf(" "); |
| 164 | printf("%s", c[i].device_name); |
| 165 | for (j = 0; j < 25 - strlen(c[i].device_name); j++) |
| 166 | printf(" "); |
| 167 | printf("%04x:%04x%s\n", c[i].vendor_id, c[i].device_id, |
| 168 | (c[i].status == OK) ? "" : " (untested)"); |
| 169 | } |
| 170 | } |
| 171 | |
Uwe Hermann | e1aa75e | 2009-06-18 14:04:44 +0000 | [diff] [blame] | 172 | void print_supported_boards_helper(const struct board_info *b, const char *msg) |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 173 | { |
| 174 | int i, j, boardcount = 0; |
| 175 | |
| 176 | for (i = 0; b[i].vendor != NULL; i++) |
| 177 | boardcount++; |
| 178 | |
Uwe Hermann | e1aa75e | 2009-06-18 14:04:44 +0000 | [diff] [blame] | 179 | printf("\n%s (total: %d):\n\n", msg, boardcount); |
| 180 | |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 181 | for (i = 0; b[i].vendor != NULL; i++) { |
| 182 | printf("%s", b[i].vendor); |
| 183 | for (j = 0; j < 25 - strlen(b[i].vendor); j++) |
| 184 | printf(" "); |
| 185 | printf("%s", b[i].name); |
Uwe Hermann | 5714614 | 2009-09-25 01:22:42 +0000 | [diff] [blame] | 186 | for (j = 0; j < 28 - strlen(b[i].name); j++) |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 187 | printf(" "); |
| 188 | printf("\n"); |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | void print_supported_boards(void) |
| 193 | { |
| 194 | int i, j, boardcount = 0; |
| 195 | struct board_pciid_enable *b = board_pciid_enables; |
| 196 | |
| 197 | for (i = 0; b[i].vendor_name != NULL; i++) |
| 198 | boardcount++; |
| 199 | |
| 200 | printf("\nSupported boards which need write-enable code (total: %d):" |
Uwe Hermann | 5714614 | 2009-09-25 01:22:42 +0000 | [diff] [blame] | 201 | "\n\nVendor: Board: " |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 202 | "Required option:\n\n", boardcount); |
| 203 | |
| 204 | for (i = 0; b[i].vendor_name != NULL; i++) { |
| 205 | printf("%s", b[i].vendor_name); |
| 206 | for (j = 0; j < 25 - strlen(b[i].vendor_name); j++) |
| 207 | printf(" "); |
| 208 | printf("%s", b[i].board_name); |
Uwe Hermann | 5714614 | 2009-09-25 01:22:42 +0000 | [diff] [blame] | 209 | for (j = 0; j < 30 - strlen(b[i].board_name); j++) |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 210 | printf(" "); |
| 211 | if (b[i].lb_vendor != NULL) |
| 212 | printf("-m %s:%s\n", b[i].lb_vendor, b[i].lb_part); |
| 213 | else |
| 214 | printf("(none, board is autodetected)\n"); |
| 215 | } |
| 216 | |
Uwe Hermann | e1aa75e | 2009-06-18 14:04:44 +0000 | [diff] [blame] | 217 | print_supported_boards_helper(boards_ok, |
| 218 | "Supported boards which don't need write-enable code"); |
| 219 | print_supported_boards_helper(boards_bad, |
| 220 | "Boards which have been verified to NOT work yet"); |
| 221 | print_supported_boards_helper(laptops_ok, |
| 222 | "Laptops which have been verified to work"); |
| 223 | print_supported_boards_helper(laptops_bad, |
| 224 | "Laptops which have been verified to NOT work yet"); |
Uwe Hermann | ba290d1 | 2009-06-17 12:07:12 +0000 | [diff] [blame] | 225 | } |
Carl-Daniel Hailfinger | 66ef4e5 | 2009-12-13 22:28:00 +0000 | [diff] [blame] | 226 | #endif |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 227 | |
Carl-Daniel Hailfinger | f529205 | 2009-11-17 09:57:34 +0000 | [diff] [blame] | 228 | void print_supported(void) |
| 229 | { |
| 230 | print_supported_chips(); |
Carl-Daniel Hailfinger | 66ef4e5 | 2009-12-13 22:28:00 +0000 | [diff] [blame] | 231 | #if INTERNAL_SUPPORT == 1 |
Carl-Daniel Hailfinger | f529205 | 2009-11-17 09:57:34 +0000 | [diff] [blame] | 232 | print_supported_chipsets(); |
| 233 | print_supported_boards(); |
Carl-Daniel Hailfinger | 66ef4e5 | 2009-12-13 22:28:00 +0000 | [diff] [blame] | 234 | #endif |
Adam Jurkowski | 516f932 | 2009-12-14 03:07:31 +0000 | [diff] [blame] | 235 | #if (NIC3COM_SUPPORT == 1) || (GFXNVIDIA_SUPPORT == 1) || (DRKAISER_SUPPORT == 1) || (SATASII_SUPPORT == 1) |
Carl-Daniel Hailfinger | f529205 | 2009-11-17 09:57:34 +0000 | [diff] [blame] | 236 | printf("\nSupported PCI devices flashrom can use " |
| 237 | "as programmer:\n\n"); |
Adam Jurkowski | 516f932 | 2009-12-14 03:07:31 +0000 | [diff] [blame] | 238 | #endif |
Carl-Daniel Hailfinger | f529205 | 2009-11-17 09:57:34 +0000 | [diff] [blame] | 239 | #if NIC3COM_SUPPORT == 1 |
| 240 | print_supported_pcidevs(nics_3com); |
| 241 | #endif |
Uwe Hermann | 829ed84 | 2010-05-24 17:39:14 +0000 | [diff] [blame] | 242 | #if NICREALTEK_SUPPORT == 1 |
| 243 | print_supported_pcidevs(nics_realtek); |
| 244 | print_supported_pcidevs(nics_realteksmc1211); |
| 245 | #endif |
Carl-Daniel Hailfinger | f529205 | 2009-11-17 09:57:34 +0000 | [diff] [blame] | 246 | #if GFXNVIDIA_SUPPORT == 1 |
| 247 | print_supported_pcidevs(gfx_nvidia); |
| 248 | #endif |
| 249 | #if DRKAISER_SUPPORT == 1 |
| 250 | print_supported_pcidevs(drkaiser_pcidev); |
| 251 | #endif |
| 252 | #if SATASII_SUPPORT == 1 |
| 253 | print_supported_pcidevs(satas_sii); |
| 254 | #endif |
Carl-Daniel Hailfinger | 8841d3e | 2010-05-15 15:04:37 +0000 | [diff] [blame] | 255 | #if ATAHPT_SUPPORT == 1 |
| 256 | print_supported_pcidevs(ata_hpt); |
| 257 | #endif |
Carl-Daniel Hailfinger | f529205 | 2009-11-17 09:57:34 +0000 | [diff] [blame] | 258 | } |
| 259 | |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 260 | |
Carl-Daniel Hailfinger | 66ef4e5 | 2009-12-13 22:28:00 +0000 | [diff] [blame] | 261 | #if INTERNAL_SUPPORT == 1 |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 262 | /* Please keep this list alphabetically ordered by vendor/board. */ |
| 263 | const struct board_info boards_ok[] = { |
| 264 | /* Verified working boards that don't need write-enables. */ |
Carl-Daniel Hailfinger | cceafa2 | 2010-05-26 01:45:41 +0000 | [diff] [blame] | 265 | #if defined(__i386__) || defined(__x86_64__) |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 266 | { "Abit", "AX8", }, |
| 267 | { "Abit", "Fatal1ty F-I90HD", }, |
| 268 | { "Advantech", "PCM-5820", }, |
| 269 | { "ASI", "MB-5BLMP", }, |
| 270 | { "ASRock", "A770CrossFire", }, |
Idwer Vollering | fcd070e | 2009-12-01 12:55:18 +0000 | [diff] [blame] | 271 | { "ASRock", "K8S8X", }, |
Zachary O Dillard | 9bd5eec | 2009-12-14 04:11:12 +0000 | [diff] [blame] | 272 | { "ASRock", "M3A790GXH/128M" }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 273 | { "ASUS", "A7N8X Deluxe", }, |
| 274 | { "ASUS", "A7N8X-E Deluxe", }, |
Michael Karcher | 98eff46 | 2010-03-24 22:55:56 +0000 | [diff] [blame] | 275 | { "ASUS", "A7V133", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 276 | { "ASUS", "A7V400-MX", }, |
| 277 | { "ASUS", "A7V8X-MX", }, |
| 278 | { "ASUS", "A8N-E", }, |
| 279 | { "ASUS", "A8NE-FM/S", }, |
| 280 | { "ASUS", "A8N-SLI", }, |
| 281 | { "ASUS", "A8N-SLI Premium", }, |
| 282 | { "ASUS", "A8V Deluxe", }, |
| 283 | { "ASUS", "A8V-E Deluxe", }, |
| 284 | { "ASUS", "A8V-E SE", }, |
Carl-Daniel Hailfinger | 964f274 | 2009-11-14 03:58:58 +0000 | [diff] [blame] | 285 | { "ASUS", "K8V", }, |
| 286 | { "ASUS", "K8V SE Deluxe", }, |
Idwer Vollering | fcd070e | 2009-12-01 12:55:18 +0000 | [diff] [blame] | 287 | { "ASUS", "K8V-X SE", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 288 | { "ASUS", "M2A-MX", }, |
| 289 | { "ASUS", "M2A-VM", }, |
| 290 | { "ASUS", "M2N-E", }, |
| 291 | { "ASUS", "M2V", }, |
| 292 | { "ASUS", "M3A78-EM", }, |
| 293 | { "ASUS", "P2B", }, |
| 294 | { "ASUS", "P2B-D", }, |
| 295 | { "ASUS", "P2B-DS", }, |
| 296 | { "ASUS", "P2B-F", }, |
| 297 | { "ASUS", "P2L97-S", }, |
Michael Karcher | d4e5359 | 2010-03-25 09:23:46 +0000 | [diff] [blame] | 298 | { "ASUS", "P5B", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 299 | { "ASUS", "P5B-Deluxe", }, |
| 300 | { "ASUS", "P5KC", }, |
| 301 | { "ASUS", "P5L-MX", }, |
Michael Karcher | e06a9c8 | 2010-03-24 22:56:08 +0000 | [diff] [blame] | 302 | { "ASUS", "P6T Deluxe", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 303 | { "ASUS", "P6T Deluxe V2", }, |
| 304 | { "A-Trend", "ATC-6220", }, |
| 305 | { "BCOM", "WinNET100", }, |
Idwer Vollering | fcd070e | 2009-12-01 12:55:18 +0000 | [diff] [blame] | 306 | { "DFI", "Blood-Iron P35 T2RL", }, |
Carl-Daniel Hailfinger | 6a0269e | 2009-11-15 17:20:21 +0000 | [diff] [blame] | 307 | { "Elitegroup", "K7S5A", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 308 | { "Elitegroup", "P6VAP-A+", }, |
Carl-Daniel Hailfinger | 01f3ef4 | 2010-03-25 02:50:40 +0000 | [diff] [blame] | 309 | { "GIGABYTE", "GA-2761GXDK", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 310 | { "GIGABYTE", "GA-6BXC", }, |
| 311 | { "GIGABYTE", "GA-6BXDU", }, |
| 312 | { "GIGABYTE", "GA-6ZMA", }, |
| 313 | { "GIGABYTE", "GA-7ZM", }, |
Michael Karcher | d4e5359 | 2010-03-25 09:23:46 +0000 | [diff] [blame] | 314 | { "GIGABYTE", "GA-965P-DS4", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 315 | { "GIGABYTE", "GA-EP35-DS3L", }, |
| 316 | { "GIGABYTE", "GA-EX58-UD4P", }, |
Carl-Daniel Hailfinger | 01f3ef4 | 2010-03-25 02:50:40 +0000 | [diff] [blame] | 317 | { "GIGABYTE", "GA-M57SLI-S4", }, |
| 318 | { "GIGABYTE", "GA-M61P-S3", }, |
Raúl Soriano | 8111e7f | 2010-03-14 00:00:14 +0000 | [diff] [blame] | 319 | { "GIGABYTE", "GA-MA69VM-S2", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 320 | { "GIGABYTE", "GA-MA770T-UD3P", }, |
Carl-Daniel Hailfinger | 01f3ef4 | 2010-03-25 02:50:40 +0000 | [diff] [blame] | 321 | { "GIGABYTE", "GA-MA78G-DS3H", }, |
| 322 | { "GIGABYTE", "GA-MA78GM-S2H", }, |
| 323 | { "GIGABYTE", "GA-MA78GPM-DS2H", }, |
| 324 | { "GIGABYTE", "GA-MA790FX-DQ6", }, |
| 325 | { "GIGABYTE", "GA-MA790GP-DS4H", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 326 | { "Intel", "EP80759", }, |
| 327 | { "Jetway", "J7F4K1G5D-PB", }, |
Uwe Hermann | 14b3e1e | 2009-10-06 20:23:29 +0000 | [diff] [blame] | 328 | { "MSI", "MS-6153", }, |
| 329 | { "MSI", "MS-6156", }, |
Michael Karcher | b90c221 | 2010-03-24 22:56:14 +0000 | [diff] [blame] | 330 | { "MSI", "MS-6330 (K7T Turbo)", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 331 | { "MSI", "MS-6570 (K7N2)", }, |
| 332 | { "MSI", "MS-7065", }, |
| 333 | { "MSI", "MS-7168 (Orion)", }, |
| 334 | { "MSI", "MS-7236 (945PL Neo3)", }, |
| 335 | { "MSI", "MS-7255 (P4M890M)", }, |
Michael Karcher | d4e5359 | 2010-03-25 09:23:46 +0000 | [diff] [blame] | 336 | { "MSI", "MS-7312 (K9MM-V)", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 337 | { "MSI", "MS-7345 (P35 Neo2-FIR)", }, |
| 338 | { "MSI", "MS-7368 (K9AG Neo2-Digital)", }, |
Michael Karcher | c85fa45 | 2010-03-24 22:56:19 +0000 | [diff] [blame] | 339 | { "MSI", "MS-7376 (K9A2 Platinum)", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 340 | { "NEC", "PowerMate 2000", }, |
| 341 | { "PC Engines", "Alix.1c", }, |
| 342 | { "PC Engines", "Alix.2c2", }, |
| 343 | { "PC Engines", "Alix.2c3", }, |
| 344 | { "PC Engines", "Alix.3c3", }, |
| 345 | { "PC Engines", "Alix.3d3", }, |
Michael Karcher | d4e5359 | 2010-03-25 09:23:46 +0000 | [diff] [blame] | 346 | { "PC Engines", "WRAP.2E", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 347 | { "RCA", "RM4100", }, |
Michael Karcher | c85fa45 | 2010-03-24 22:56:19 +0000 | [diff] [blame] | 348 | { "Shuttle", "FD37", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 349 | { "Sun", "Blade x6250", }, |
| 350 | { "Supermicro", "H8QC8", }, |
Michael Karcher | d4e5359 | 2010-03-25 09:23:46 +0000 | [diff] [blame] | 351 | { "Supermicro", "X8DTT-F", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 352 | { "Thomson", "IP1000", }, |
| 353 | { "TriGem", "Lomita", }, |
| 354 | { "T-Online", "S-100", }, |
| 355 | { "Tyan", "iS5375-1U", }, |
| 356 | { "Tyan", "S1846", }, |
| 357 | { "Tyan", "S2466", }, |
| 358 | { "Tyan", "S2881", }, |
| 359 | { "Tyan", "S2882", }, |
| 360 | { "Tyan", "S2882-D", }, |
| 361 | { "Tyan", "S2891", }, |
| 362 | { "Tyan", "S2892", }, |
| 363 | { "Tyan", "S2895", }, |
| 364 | { "Tyan", "S3095", }, |
| 365 | { "Tyan", "S5180", }, |
| 366 | { "Tyan", "S5191", }, |
| 367 | { "Tyan", "S5197", }, |
| 368 | { "Tyan", "S5211", }, |
| 369 | { "Tyan", "S5211-1U", }, |
| 370 | { "Tyan", "S5220", }, |
| 371 | { "Tyan", "S5375", }, |
| 372 | { "Tyan", "S5376G2NR/S5376WAG2NR", }, |
| 373 | { "Tyan", "S5377", }, |
Michael Karcher | d4e5359 | 2010-03-25 09:23:46 +0000 | [diff] [blame] | 374 | { "Tyan", "S5382 (Tempest i5000PW)", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 375 | { "Tyan", "S5397", }, |
Luc Verhaegen | 73d2119 | 2009-12-23 00:54:26 +0000 | [diff] [blame] | 376 | { "VIA", "EPIA-CN", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 377 | { "VIA", "EPIA-EX15000G", }, |
| 378 | { "VIA", "EPIA-LN", }, |
| 379 | { "VIA", "EPIA-M700", }, |
| 380 | { "VIA", "EPIA-NX15000G", }, |
Luc Verhaegen | 73d2119 | 2009-12-23 00:54:26 +0000 | [diff] [blame] | 381 | { "VIA", "EPIA-SP", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 382 | { "VIA", "NAB74X0", }, |
| 383 | { "VIA", "pc2500e", }, |
Carl-Daniel Hailfinger | 01f3ef4 | 2010-03-25 02:50:40 +0000 | [diff] [blame] | 384 | { "VIA", "PC3500G", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 385 | { "VIA", "VB700X", }, |
Carl-Daniel Hailfinger | cceafa2 | 2010-05-26 01:45:41 +0000 | [diff] [blame] | 386 | #endif |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 387 | {}, |
| 388 | }; |
| 389 | |
| 390 | /* Please keep this list alphabetically ordered by vendor/board. */ |
| 391 | const struct board_info boards_bad[] = { |
| 392 | /* Verified non-working boards (for now). */ |
Carl-Daniel Hailfinger | cceafa2 | 2010-05-26 01:45:41 +0000 | [diff] [blame] | 393 | #if defined(__i386__) || defined(__x86_64__) |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 394 | { "Abit", "IS-10", }, |
| 395 | { "ASRock", "K7VT4A+", }, |
| 396 | { "ASUS", "MEW-AM", }, |
| 397 | { "ASUS", "MEW-VM", }, |
| 398 | { "ASUS", "P3B-F", }, |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 399 | { "ASUS", "P5BV-M", }, |
| 400 | { "Biostar", "M6TBA", }, |
| 401 | { "Boser", "HS-6637", }, |
| 402 | { "DFI", "855GME-MGF", }, |
| 403 | { "FIC", "VA-502", }, |
| 404 | { "MSI", "MS-6178", }, |
| 405 | { "MSI", "MS-7260 (K9N Neo)", }, |
| 406 | { "Soyo", "SY-5VD", }, |
| 407 | { "Sun", "Fire x4150", }, |
| 408 | { "Sun", "Fire x4200", }, |
| 409 | { "Sun", "Fire x4540", }, |
| 410 | { "Sun", "Fire x4600", }, |
Carl-Daniel Hailfinger | cceafa2 | 2010-05-26 01:45:41 +0000 | [diff] [blame] | 411 | #endif |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 412 | {}, |
| 413 | }; |
| 414 | |
| 415 | /* Please keep this list alphabetically ordered by vendor/board. */ |
| 416 | const struct board_info laptops_ok[] = { |
| 417 | /* Verified working laptops. */ |
Carl-Daniel Hailfinger | cceafa2 | 2010-05-26 01:45:41 +0000 | [diff] [blame] | 418 | #if defined(__i386__) || defined(__x86_64__) |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 419 | { "Lenovo", "3000 V100 TF05Cxx", }, |
Michael Karcher | 93539da | 2010-03-24 23:10:01 +0000 | [diff] [blame] | 420 | { "Acer", "Aspire 1520", }, |
Carl-Daniel Hailfinger | cceafa2 | 2010-05-26 01:45:41 +0000 | [diff] [blame] | 421 | #endif |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 422 | {}, |
| 423 | }; |
| 424 | |
| 425 | /* Please keep this list alphabetically ordered by vendor/board. */ |
| 426 | const struct board_info laptops_bad[] = { |
| 427 | /* Verified non-working laptops (for now). */ |
Carl-Daniel Hailfinger | cceafa2 | 2010-05-26 01:45:41 +0000 | [diff] [blame] | 428 | #if defined(__i386__) || defined(__x86_64__) |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 429 | { "Acer", "Aspire One", }, |
| 430 | { "ASUS", "Eee PC 701 4G", }, |
| 431 | { "Dell", "Latitude CPi A366XT", }, |
| 432 | { "HP/Compaq", "nx9010", }, |
| 433 | { "IBM/Lenovo", "Thinkpad T40p", }, |
| 434 | { "IBM/Lenovo", "240", }, |
Carl-Daniel Hailfinger | cceafa2 | 2010-05-26 01:45:41 +0000 | [diff] [blame] | 435 | #endif |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 436 | {}, |
| 437 | }; |
Carl-Daniel Hailfinger | 66ef4e5 | 2009-12-13 22:28:00 +0000 | [diff] [blame] | 438 | #endif |
Uwe Hermann | d0e347d | 2009-10-06 13:00:00 +0000 | [diff] [blame] | 439 | |