diff options
author | Warner Losh <imp@FreeBSD.org> | 2002-11-14 05:22:37 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2002-11-14 05:22:37 +0000 |
commit | a4bbd12ff1cb50aca790b4047a32a8e92c30e48f (patch) | |
tree | cac62a5c189088e99d39d3bb2dbc048628a57ee2 /sys/i386/pci | |
parent | b20360c8e61e495956ec9c2ad2c3abb310a0048f (diff) | |
download | src-a4bbd12ff1cb50aca790b4047a32a8e92c30e48f.tar.gz src-a4bbd12ff1cb50aca790b4047a32a8e92c30e48f.zip |
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.
Notes
Notes:
svn path=/head/; revision=106901
Diffstat (limited to 'sys/i386/pci')
-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 fac5c32fdf8e..830692222c14 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 fac5c32fdf8e..830692222c14 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) |