summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorMario Scheithauer <mario.scheithauer@siemens.com>2022-05-19 12:06:33 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-05-20 11:22:03 +0000
commit5b757b597a3e75c6d0d17025288de8d162a77f52 (patch)
treeb98e4a03330f95ba07d81aae07cefaff24aca509 /src/soc
parente1c385ebe142845012e0a844d798fa7268c1cfd8 (diff)
soc/intel/ehl: Use defines for Ethernet controller IDs
Use defines for a better reading of the code. Change-Id: I8e696240d649c0ea2341b8f04b62eebffebc1d57 Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64519 Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/elkhartlake/tsn_gbe.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/soc/intel/elkhartlake/tsn_gbe.c b/src/soc/intel/elkhartlake/tsn_gbe.c
index 4d8944a6b4..a90c4af25e 100644
--- a/src/soc/intel/elkhartlake/tsn_gbe.c
+++ b/src/soc/intel/elkhartlake/tsn_gbe.c
@@ -43,7 +43,12 @@ static struct device_operations gbe_tsn_ops = {
.init = gbe_tsn_init,
};
-static const unsigned short gbe_tsn_device_ids[] = { 0x4b32, 0x4ba0, 0x4bb0, 0 };
+static const unsigned short gbe_tsn_device_ids[] = {
+ PCI_DID_INTEL_EHL_GBE_HOST,
+ PCI_DID_INTEL_EHL_GBE_PSE_0,
+ PCI_DID_INTEL_EHL_GBE_PSE_1,
+ 0
+};
static const struct pci_driver gbe_tsn_driver __pci_driver = {
.ops = &gbe_tsn_ops,