This is needed for the Intel SE440BX-2 as well as the Asus P5A.

Thanks to Carl-Daniel Hailfinger for pointing out wrong logic in
the patch.

Zach: please retry with this one instead of the previous version of
this patch. You can unpatch the previous version by
patch -R < oldpatch.diff

Signed-off-by: Michael Karcher <[email protected]>
---
 board_enable.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/board_enable.c b/board_enable.c
index 40db653..66afab4 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -1312,7 +1312,8 @@ static struct board_pciid_enable 
*board_match_pci_card_ids(void)
        struct board_pciid_enable *board = board_pciid_enables;
 
        for (; board->vendor_name; board++) {
-               if (!board->first_card_vendor || !board->first_card_device)
+               if (!board->first_card_vendor || 
+                   (!board->first_card_device && !board->dmi_pattern))
                        continue;
 
                if (!pci_card_find(board->first_vendor, board->first_device,
-- 
1.6.5


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

Reply via email to