diff options
-rw-r--r-- | sys/dev/pci/fixup_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/fixup_pci.c b/sys/dev/pci/fixup_pci.c index d8ef603..df487b2 100644 --- a/sys/dev/pci/fixup_pci.c +++ b/sys/dev/pci/fixup_pci.c @@ -88,13 +88,13 @@ fixwsc_natoma(device_t dev) if (pmccfg & 0x8000) { printf("Correcting Natoma config for SMP\n"); pmccfg &= ~0x8000; - pci_write_config(dev, 0x50, 2, pmccfg); + pci_write_config(dev, 0x50, pmccfg, 2); } #else if ((pmccfg & 0x8000) == 0) { printf("Correcting Natoma config for non-SMP\n"); pmccfg |= 0x8000; - pci_write_config(dev, 0x50, 2, pmccfg); + pci_write_config(dev, 0x50, pmccfg, 2); } #endif } |