summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-03 07:36:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-03 07:36:45 +0000
commita796d9d06b310e539e44e289c87004069b1d72cd (patch)
tree01e4b792fd8d6cba0516143231e9009c4f47e404 /sys/arch/i386/pci
parent0f5c469424787ff83996b06da7e8512f9009b4e2 (diff)
fix attach message
Diffstat (limited to 'sys/arch/i386/pci')
-rw-r--r--sys/arch/i386/pci/pchb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/i386/pci/pchb.c b/sys/arch/i386/pci/pchb.c
index c0422cc87cd..3703fa2a1b8 100644
--- a/sys/arch/i386/pci/pchb.c
+++ b/sys/arch/i386/pci/pchb.c
@@ -113,18 +113,18 @@ pchbattach(parent, self, aux)
switch (PCI_PRODUCT(pa->pa_id)) {
case PCI_PRODUCT_INTEL_PCI450_PB:
bcreg = pci_conf_read(pa->pa_pc, pa->pa_tag,
- PCISET_BUSCONFIG_REG);
+ PCISET_BUSCONFIG_REG);
bdnum = PCISET_BRIDGE_NUMBER(bcreg);
pbnum = PCISET_PCI_BUS_NUMBER(bcreg);
switch (bdnum & PCISET_BRIDGETYPE_MASK) {
default:
- printf(": bdnum=%x (reserved)\n", bdnum);
+ printf(": bdnum=%x (reserved)", bdnum);
break;
case PCISET_TYPE_COMPAT:
- printf(": Compatibility PB (bus %d)\n", pbnum);
+ printf(": Compatibility PB (bus %d)", pbnum);
break;
case PCISET_TYPE_AUX:
- printf(": Auxiliary PB (bus %d)\n", pbnum);
+ printf(": Auxiliary PB (bus %d)", pbnum);
/*
* This host bridge has a second PCI bus.
* Configure it.
@@ -146,14 +146,14 @@ pchbattach(parent, self, aux)
bcreg &= ~I82424_BCTL_CPUPCI_POSTEN;
pci_conf_write(pa->pa_pc, pa->pa_tag,
I82424_CPU_BCTL_REG, bcreg);
- printf(": disabled CPU-PCI write posting\n");
+ printf(": disabled CPU-PCI write posting");
}
break;
default:
- printf("\n");
break;
}
}
+ printf("\n");
}
int