summaryrefslogtreecommitdiffstats
path: root/sys/amd64/pci/pci_cfgreg.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-11-14 05:22:37 +0000
committerimp <imp@FreeBSD.org>2002-11-14 05:22:37 +0000
commit98e8cbaed54d6ecd763a99beca14a97d49d6d4d0 (patch)
treecac62a5c189088e99d39d3bb2dbc048628a57ee2 /sys/amd64/pci/pci_cfgreg.c
parent7e20f49bf65628e70023397eca24c864ab2e456f (diff)
downloadFreeBSD-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/amd64/pci/pci_cfgreg.c')
-rw-r--r--sys/amd64/pci/pci_cfgreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c
index fac5c32..8306922 100644
--- a/sys/amd64/pci/pci_cfgreg.c
+++ b/sys/amd64/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)
OpenPOWER on IntegriCloud