mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
[bhnd] Fix ChipCommon probing.
ChipCommon probing uses mapping table "chipc_devices". It calls bhnd_device_lookup, which iterate over mapping table with end condition: entry->desc != NULL So if mapping table contains row with description equals to NULL, it will stop processing of mapping. I.e. description is mandatory field and should be not NULL. This patch corrects mapping table for ChipCommon. Submitted by: Michael Zhilin <mizhka@gmail.com> Differential Revision: https://reviews.freebsd.org/D6088
This commit is contained in:
parent
8d170e6ac1
commit
8a3fcfa7be
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ static struct bhnd_device_quirk chipc_quirks[];
|
|||
|
||||
/* Supported device identifiers */
|
||||
static const struct bhnd_device chipc_devices[] = {
|
||||
BHND_DEVICE(CC, NULL, chipc_quirks),
|
||||
BHND_DEVICE(CC, "CC", chipc_quirks),
|
||||
BHND_DEVICE_END
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue