diff options
author | imp <imp@FreeBSD.org> | 2002-11-14 05:22:37 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-11-14 05:22:37 +0000 |
commit | 98e8cbaed54d6ecd763a99beca14a97d49d6d4d0 (patch) | |
tree | cac62a5c189088e99d39d3bb2dbc048628a57ee2 /sys/i386 | |
parent | 7e20f49bf65628e70023397eca24c864ab2e456f (diff) | |
download | FreeBSD-src-98e8cbaed54d6ecd763a99beca14a97d49d6d4d0.zip FreeBSD-src-98e8cbaed54d6ecd763a99beca14a97d49d6d4d0.tar.gz |
MFp4:
o Fix small style nit. This was supposed to be part of the last batch of
style fixes, but somehow didn't get merged.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/pci/pci_cfgreg.c | 2 | ||||
-rw-r--r-- | sys/i386/pci/pci_pir.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c index fac5c32..8306922 100644 --- a/sys/i386/pci/pci_cfgreg.c +++ b/sys/i386/pci/pci_cfgreg.c @@ -717,7 +717,7 @@ pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) && reg <= PCI_REGMAX && bytes != 3 && (unsigned) bytes <= 4 - && (reg & (bytes -1)) == 0) { + && (reg & (bytes - 1)) == 0) { switch (cfgmech) { case 1: outl(CONF1_ADDR_PORT, (1 << 31) diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index fac5c32..8306922 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -717,7 +717,7 @@ pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) && reg <= PCI_REGMAX && bytes != 3 && (unsigned) bytes <= 4 - && (reg & (bytes -1)) == 0) { + && (reg & (bytes - 1)) == 0) { switch (cfgmech) { case 1: outl(CONF1_ADDR_PORT, (1 << 31) |