summaryrefslogtreecommitdiffstats
path: root/board_enable.c
diff options
context:
space:
mode:
Diffstat (limited to 'board_enable.c')
-rw-r--r--board_enable.c3
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,
OpenPOWER on IntegriCloud