commit | 7f8b0cd89c10621f456e3eebcd290d3946122d6d | [log] [tgz] |
---|---|---|
author | Felix Singer <felix.singer@9elements.com> | Sun Nov 10 11:04:08 2019 +0100 |
committer | Patrick Georgi <pgeorgi@google.com> | Fri Nov 22 10:47:43 2019 +0000 |
tree | 018baa84262893975bd353807594d0d7f4052a4f | |
parent | 94146009a190383a581618fd969bf2276fb73585 [diff] [blame] |
sb/i82801ix: Use macros instead of hard-coded IDs This patch replaces hard-coded PCI IDs with macros from pci_ids.h and cleans up some code. Change-Id: Ie6ea72ac49eb015ef5cbaa98ed2b3400072000b5 Signed-off-by: Felix Singer <felix.singer@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36705 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/southbridge/intel/i82801ix/usb_ehci.c b/src/southbridge/intel/i82801ix/usb_ehci.c index 47254f9..4c875ad 100644 --- a/src/southbridge/intel/i82801ix/usb_ehci.c +++ b/src/southbridge/intel/i82801ix/usb_ehci.c
@@ -51,8 +51,8 @@ } static const unsigned short pci_device_ids[] = { - 0x293a, - 0x293c, + PCI_DEVICE_ID_INTEL_82801IB_EHCI1, + PCI_DEVICE_ID_INTEL_82801IB_EHCI2, 0 };