diff options
Diffstat (limited to 'dev/pcidev.cc')
-rw-r--r-- | dev/pcidev.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/pcidev.cc b/dev/pcidev.cc index c74fb035c..54990cef3 100644 --- a/dev/pcidev.cc +++ b/dev/pcidev.cc @@ -190,7 +190,7 @@ PciDev::WriteConfig(int offset, int size, uint32_t data) htoa((word_value & ~0x3) | (htoa(config.data[offset]) & 0x3)); - if (word_value &= ~0x1) { + if (word_value & ~0x1) { Addr base_addr = (word_value & ~0x1) + TSUNAMI_PCI0_IO; Addr base_size = BARSize[barnum]; |