Felix Held | 0ffebac | 2021-02-05 22:26:00 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <device/device.h> |
| 4 | #include <device/pci.h> |
| 5 | #include <device/pci_ids.h> |
| 6 | |
| 7 | static struct device_operations internal_pcie_gpp_ops = { |
| 8 | .read_resources = pci_bus_read_resources, |
| 9 | .set_resources = pci_dev_set_resources, |
| 10 | .enable_resources = pci_bus_enable_resources, |
| 11 | .scan_bus = pci_scan_bridge, |
| 12 | .reset_bus = pci_bus_reset, |
| 13 | }; |
| 14 | |
Felix Held | 0ffebac | 2021-02-05 22:26:00 +0100 | [diff] [blame] | 15 | static const struct pci_driver internal_pcie_gpp_driver __pci_driver = { |
| 16 | .ops = &internal_pcie_gpp_ops, |
| 17 | .vendor = PCI_VENDOR_ID_AMD, |
Felix Held | abeecec | 2021-02-16 18:42:15 +0100 | [diff] [blame^] | 18 | .device = PCI_DEVICE_ID_AMD_FAM17H_MODEL60H_PCIE_GPP_BUSABC, |
Felix Held | 0ffebac | 2021-02-05 22:26:00 +0100 | [diff] [blame] | 19 | }; |