[coreboot-gerrit] New patch to review for coreboot: nb/intel/i945/gma.c: Homogenize code for PCI IDs.
HAOUAS Elyes (ehaouas@noos.fr)
gerrit at coreboot.org
Fri Oct 28 11:08:01 CEST 2016
HAOUAS Elyes (ehaouas at noos.fr) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17174
-gerrit
commit 01fd0064767608b62af2b681b5d0637938a6be8a
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date: Fri Oct 28 10:56:59 2016 +0200
nb/intel/i945/gma.c: Homogenize code for PCI IDs.
Change-Id: Ic01565cb730c49a5fe77c8f4990276970964f101
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
src/northbridge/intel/i945/gma.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c
index aefec8f..d64fca7 100644
--- a/src/northbridge/intel/i945/gma.c
+++ b/src/northbridge/intel/i945/gma.c
@@ -748,16 +748,26 @@ static struct device_operations gma_func1_ops = {
.ops_pci = &gma_pci_ops,
};
-static const unsigned short pci_device_ids[] = { 0x27a2, 0x27ae, 0x2772, 0 };
+static const unsigned short i945_gma_func0_ids[] = {
+ 0x2772,
+ 0x27a2,
+ 0x27ae,
+ 0
+};
+
+static const unsigned short i945_gma_func1_ids[] = {
+ 0x27a6,
+ 0
+};
static const struct pci_driver i945_gma_func0_driver __pci_driver = {
.ops = &gma_func0_ops,
.vendor = PCI_VENDOR_ID_INTEL,
- .devices = pci_device_ids,
+ .devices = i945_gma_func0_ids,
};
static const struct pci_driver i945_gma_func1_driver __pci_driver = {
.ops = &gma_func1_ops,
.vendor = PCI_VENDOR_ID_INTEL,
- .device = 0x27a6,
+ .devices = i945_gma_func1_ids,
};
More information about the coreboot-gerrit
mailing list