mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: via/k8t890: Compose a list of PCI IDs
BUG=None BRANCH=None TEST=None Signed-off-by: Kysti Mlkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/17549 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) Change-Id: Ic474e17b70d64b63356a0ba7dd1649e5a6ff3a30 Reviewed-on: https://chromium-review.googlesource.com/415059 Commit-Ready: Aaron Durbin <adurbin@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
a19eb959db
commit
5789e5ed11
1 changed files with 10 additions and 20 deletions
|
@ -147,26 +147,16 @@ static const struct pci_driver northbridge_driver __pci_driver = {
|
|||
.device = PCI_DEVICE_ID_VIA_K8T890CE_PEG,
|
||||
};
|
||||
|
||||
static const struct pci_driver pcie_drvd3f0 __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_VIA,
|
||||
.device = PCI_DEVICE_ID_VIA_K8T890CE_PEX0,
|
||||
static const unsigned short pci_device_ids[] = {
|
||||
PCI_DEVICE_ID_VIA_K8T890CE_PEX0,
|
||||
PCI_DEVICE_ID_VIA_K8T890CE_PEX1,
|
||||
PCI_DEVICE_ID_VIA_K8T890CE_PEX2,
|
||||
PCI_DEVICE_ID_VIA_K8T890CE_PEX3,
|
||||
0,
|
||||
};
|
||||
|
||||
static const struct pci_driver pcie_drvd3f1 __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_VIA,
|
||||
.device = PCI_DEVICE_ID_VIA_K8T890CE_PEX1,
|
||||
};
|
||||
|
||||
static const struct pci_driver pcie_drvd3f2 __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_VIA,
|
||||
.device = PCI_DEVICE_ID_VIA_K8T890CE_PEX2,
|
||||
};
|
||||
|
||||
static const struct pci_driver pcie_drvd3f3 __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_VIA,
|
||||
.device = PCI_DEVICE_ID_VIA_K8T890CE_PEX3,
|
||||
static const struct pci_driver pex_driver __pci_driver = {
|
||||
.ops = &pcie_ops,
|
||||
.vendor = PCI_VENDOR_ID_VIA,
|
||||
.devices = pci_device_ids,
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue