[flashrom] [PATCH] (now for real!) Allow DMI supported board enables with subsystem ID zero.

Michael Karcher flashrom at mkarcher.dialup.fu-berlin.de
Thu Feb 4 11:19:32 CET 2010


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

Signed-off-by: Michael Karcher <flashrom at mkarcher.dialup.fu-berlin.de>

Now *REALLY* with the right patch. I supposed I knew how to operate git :(
---
 board_enable.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/board_enable.c b/board_enable.c
index 40db653..c73c8af 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





More information about the flashrom mailing list