diff options
author | 2006-08-10 00:48:47 +0000 | |
---|---|---|
committer | 2006-08-10 00:48:47 +0000 | |
commit | 60372d04f012c54c28ccba1107203f392117b7ef (patch) | |
tree | 969359a039ee9ad85d9c5199f11bd95b4536ef6d /sys/dev/pci/mpi_pci.c | |
parent | Add -a option as per single unix. Rewrote the code to generate (diff) | |
download | wireguard-openbsd-60372d04f012c54c28ccba1107203f392117b7ef.tar.xz wireguard-openbsd-60372d04f012c54c28ccba1107203f392117b7ef.zip |
fix an obvious typo. found by Quentin Garnier.
Diffstat (limited to 'sys/dev/pci/mpi_pci.c')
-rw-r--r-- | sys/dev/pci/mpi_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/mpi_pci.c b/sys/dev/pci/mpi_pci.c index 429c383c1c4..3f48c2479df 100644 --- a/sys/dev/pci/mpi_pci.c +++ b/sys/dev/pci/mpi_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi_pci.c,v 1.11 2006/07/04 18:17:22 marco Exp $ */ +/* $OpenBSD: mpi_pci.c,v 1.12 2006/08/10 00:48:47 dlg Exp $ */ /* * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -120,7 +120,7 @@ mpi_pci_attach(struct device *parent, struct device *self, void *aux) } /* disable the expansion rom */ - PWRITE(psc, PCI_ROM_REG, PREAD(psc, PCI_ROM_REG & ~PCI_ROM_ENABLE)); + PWRITE(psc, PCI_ROM_REG, PREAD(psc, PCI_ROM_REG) & ~PCI_ROM_ENABLE); /* hook up the interrupt */ if (pci_intr_map(pa, &ih)) { |