diff options
author | Peter Wemm <peter@FreeBSD.org> | 2001-06-03 09:45:40 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2001-06-03 09:45:40 +0000 |
commit | eee598d8f3c85efc340cd7c69fbbaec64ed9b2d0 (patch) | |
tree | 3528373498aae11767e5875bbcb1a7ae12f924c1 | |
parent | 87826386e0046e51b3dcf42969394c3cea3e3194 (diff) |
Notes
-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 d8ef603dcccd..df487b2f981b 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 } |