diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-08-10 00:48:48 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-08-10 00:48:48 +0000 |
commit | c68b8f301dbb77c01c429ef5ac71ceaf8be4bf3e (patch) | |
tree | f225c46dde9079e0bce91f11bbeb0ba3e356a65a /sys/dev/pci | |
parent | 73b5f955d2ae026d1ad44e3affa2610007804a32 (diff) |
fix an obvious typo. found by Quentin Garnier.
Diffstat (limited to 'sys/dev/pci')
-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)) { |