aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/rs690/rs690_gfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/rs690/rs690_gfx.c')
-rw-r--r--src/southbridge/amd/rs690/rs690_gfx.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/southbridge/amd/rs690/rs690_gfx.c b/src/southbridge/amd/rs690/rs690_gfx.c
index ebddda2b51..d4c8755f8a 100644
--- a/src/southbridge/amd/rs690/rs690_gfx.c
+++ b/src/southbridge/amd/rs690/rs690_gfx.c
@@ -211,12 +211,22 @@ static struct device_operations pcie_ops = {
.ops_pci = &lops_pci,
};
-static struct pci_driver pcie_driver __pci_driver = {
+/*
+ * The dev id of 690G is 791E, while the id of 690M, 690T is 791F.
+ * We should list both of them here.
+ * */
+static struct pci_driver pcie_driver_690t __pci_driver = {
.ops = &pcie_ops,
.vendor = PCI_VENDOR_ID_ATI,
.device = PCI_DEVICE_ID_ATI_RS690MT_INT_GFX,
};
+static struct pci_driver pcie_driver_690 __pci_driver = {
+ .ops = &pcie_ops,
+ .vendor = PCI_VENDOR_ID_ATI,
+ .device = PCI_DEVICE_ID_ATI_RS690_INT_GFX,
+};
+
/* step 12 ~ step 14 from rpr */
static void single_port_configuration(device_t nb_dev, device_t dev)
{