Commit 2eab70da authored by Michael Karcher's avatar Michael Karcher
Browse files

Allow DMI supported board enables with subsystem ID zero


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

Corresponding to flashrom svn r892.
Signed-off-by: default avatarMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
parent 975aa7e2
......@@ -1305,7 +1305,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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment