Fix STPC PCI IDs again

This commit is contained in:
RichardG867
2020-07-07 17:00:40 -03:00
parent adb500c63b
commit d8e3e44f59

View File

@@ -524,7 +524,9 @@ stpc_setup(stpc_t *dev)
{ {
stpc_log("STPC: setup()\n"); stpc_log("STPC: setup()\n");
uint32_t local = dev->local;
memset(dev, 0, sizeof(stpc_t)); memset(dev, 0, sizeof(stpc_t));
dev->local = local;
/* Northbridge */ /* Northbridge */
dev->pci_conf[0][0x00] = 0x4a; dev->pci_conf[0][0x00] = 0x4a;