Skip to content
Commit e0c1d14a authored by Su Bao Cheng's avatar Su Bao Cheng Committed by David S. Miller
Browse files

stmmac: pci: Adjust IOT2000 matching



Since there are more IOT2040 variants with identical hardware but
different asset tags, the asset tag matching should be adjusted to
support them.

For the board name "SIMATIC IOT2000", currently there are 2 types of
hardware, IOT2020 and IOT2040. The IOT2020 is identified by its unique
asset tag. Match on it first. If we then match on the board name only,
we will catch all IOT2040 variants. In the future there will be no other
devices with the "SIMATIC IOT2000" DMI board name but different
hardware.

Signed-off-by: default avatarSu Bao Cheng <baocheng.su@siemens.com>
Reviewed-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a7cf2cc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment