summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--board_enable.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/board_enable.c b/board_enable.c
index a3eae33..e28a3f3 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -648,10 +648,10 @@ static struct board_pciid_enable *board_match_coreboot_name(const char *vendor,
struct board_pciid_enable *partmatch = NULL;
for (; board->name; board++) {
- if (vendor && (!board->lb_vendor || strcmp(board->lb_vendor, vendor)))
+ if (vendor && (!board->lb_vendor || strcasecmp(board->lb_vendor, vendor)))
continue;
- if (!board->lb_part || strcmp(board->lb_part, part))
+ if (!board->lb_part || strcasecmp(board->lb_part, part))
continue;
if (!pci_dev_find(board->first_vendor, board->first_device))
@@ -678,8 +678,7 @@ static struct board_pciid_enable *board_match_coreboot_name(const char *vendor,
if (partmatch)
return partmatch;
- printf("NOT FOUND %s:%s\n", vendor, part);
-
+ printf("\nUnknown vendor:board in coreboot table: %s:%s\n\n", vendor, part);
return NULL;
}
OpenPOWER on IntegriCloud