diff options
author | mkarcher <mkarcher@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-02-04 10:58:50 +0000 |
---|---|---|
committer | mkarcher <mkarcher@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-02-04 10:58:50 +0000 |
commit | fd1ac066248cff6ed04c60e77e490fa8f9e36808 (patch) | |
tree | 0d5c7159dfd9a0c5d470ad74206f973a085699ec /board_enable.c | |
parent | efad14885a50a8ff9df3c4825699ec5b06412e60 (diff) | |
download | flashrom-fd1ac066248cff6ed04c60e77e490fa8f9e36808.tar.gz |
Allow DMI supported board enables with subsystem ID zero.
This is needed for the Intel SE440BX-2 as well as the Asus P5A.
Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@892 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'board_enable.c')
-rw-r--r-- | board_enable.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board_enable.c b/board_enable.c index ff56d33..1fe41f7 100644 --- a/board_enable.c +++ b/board_enable.c @@ -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, |