The PCI IDs are generic VIA IDs. Only Biostar IDs are those of the LOM, but
that would not be a good choice for ID. Accept the generic IDs (+ DMI string)
for now because this will be generic soonish(tm) anyway.

Signed-off-by: Stefan Tauner <[email protected]>
---
 board_enable.c |   13 +++++++++++++
 print.c        |    2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/board_enable.c b/board_enable.c
index 8f01fc1..6221575 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -415,6 +415,18 @@ static void w83697xx_memw_enable(uint16_t port)
 
 /*
  * Suited for:
+ *  - Biostar M7VIQ: VIA KM266 + VT8235
+ */
+static int w83697xx_memw_enable_2e(void)
+{
+       w83697xx_memw_enable(0x2E);
+
+       return 0;
+}
+
+
+/*
+ * Suited for:
  *  - EPoX EP-8K5A2: VIA KT333 + VT8235
  *  - Albatron PM266A Pro: VIA P4M266A + VT8235
  *  - Shuttle AK31 (all versions): VIA KT266 + VT8233
@@ -2208,6 +2220,7 @@ const struct board_match board_matches[] = {
        {0x10DE, 0x0260, 0x1043, 0x81BC,  0x10DE, 0x026C, 0x1043, 0x8249, 
"^P5N-E SLI$",NULL, NULL,           P3, "ASUS",        "P5N-E SLI",             
0,   NT, it8718f_gpio63_raise},
        {0x8086, 0x24dd, 0x1043, 0x80a6,  0x8086, 0x2570, 0x1043, 0x8157, NULL, 
        NULL, NULL,           P3, "ASUS",        "P5PE-VM",               0,   
OK, intel_ich_gpio21_raise},
        {0x8086, 0x2443, 0x1043, 0x8027,  0x8086, 0x1130, 0x1043, 0x8027, NULL, 
        NULL, NULL,           P3, "ASUS",        "TUSL2-C",               0,   
NT, intel_ich_gpio21_raise},
+       {0x1106, 0x3177, 0x1106, 0x3177,  0x1106, 0x3116, 0x1106, 0x3116, 
"^KM266-8235$", NULL, NULL,         P3, "Biostar",     "M7VIQ",                 
0,   OK, w83697xx_memw_enable_2e},
        {0x10b7, 0x9055, 0x1028, 0x0082,  0x8086, 0x7190,      0,      0, NULL, 
        NULL, NULL,           P3, "Dell",        "OptiPlex GX1",          0,   
OK, intel_piix4_gpo30_lower},
        {0x8086, 0x3590, 0x1028, 0x016c,  0x1000, 0x0030, 0x1028, 0x016c, NULL, 
        NULL, NULL,           P3, "Dell",        "PowerEdge 1850",        0,   
OK, intel_ich_gpio23_raise},
        {0x10de, 0x03ea, 0x1019, 0x2602,  0x10de, 0x03e0, 0x1019, 0x2602, NULL, 
        NULL, NULL,           P3, "Elitegroup",  "GeForce6100SM-M",       0,   
OK, board_ecs_geforce6100sm_m},
diff --git a/print.c b/print.c
index 84a1604..4706589 100644
--- a/print.c
+++ b/print.c
@@ -721,7 +721,7 @@ const struct board_info boards_known[] = {
        B("Biostar",    "H61MU3",               0, NULL, "Probing works (Eon 
EN25Q32(A/B), 4096 kB, SPI), but parts of the flash are problematic: descriptor 
is r/o (conforming to ICH reqs), ME region is locked."),
        B("Biostar",    "M6TBA",                0, 
"ftp://ftp.biostar-usa.com/manuals/M6TBA/";, "No public report found. Owned by 
Uwe Hermann <[email protected]>. May work now."),
        B("Biostar",    "M7NCD Pro",            1, 
"http://www.biostar.com.tw/app/en/mb/content.php?S_ID=260";, NULL),
-       B("Biostar",    "M7VIQ",                0, NULL, "Missing board enable 
(W83697HF/F/HG/G), see 
http://www.flashrom.org/pipermail/flashrom/2012-February/008863.html";),
+       B("Biostar",    "M7VIQ",                1, NULL, NULL),
        B("Biostar",    "N61PB-M2S",            1, NULL, NULL),
        B("Biostar",    "N68S3+",               1, NULL, NULL),
        B("Biostar",    "P4M80-M4",             1, 
"http://www.biostar-usa.com/mbdetails.asp?model=p4m80-m4";, NULL),
-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner


_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to