summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-04 20:47:36 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-04 20:47:36 +0000
commitaae8bd8930df34d176df0c9d43b9f7ea4bb1efa9 (patch)
treebbd68e412001d672b34b8d2f63203efe01372d02 /sys/dev/pci
parent33823eae7705f06296a10ec5411a0272eb863114 (diff)
Back from coma. Fix dmesg printfs.
ok oga@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/agp_via.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/agp_via.c b/sys/dev/pci/agp_via.c
index eb25a67e1f3..0c8effd07fe 100644
--- a/sys/dev/pci/agp_via.c
+++ b/sys/dev/pci/agp_via.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: agp_via.c,v 1.10 2008/11/09 22:47:54 oga Exp $ */
+/* $OpenBSD: agp_via.c,v 1.11 2009/01/04 20:47:35 grange Exp $ */
/* $NetBSD: agp_via.c,v 1.2 2001/09/15 00:25:00 thorpej Exp $ */
/*-
@@ -124,14 +124,14 @@ agp_via_attach(struct device *parent, struct device *self, void *aux)
agpsel = pci_conf_read(pa->pa_pc, pa->pa_tag, AGP_VIA_AGPSEL);
if ((agpsel & (1 << 1)) == 0) {
asc->regs = via_v3_regs;
- printf("v3, ");
+ printf(": v3");
} else {
asc->regs = via_v2_regs;
- printf("v2 compat mode, ");
+ printf(": v2 compat mode");
}
} else {
asc->regs = via_v2_regs;
- printf("v2, ");
+ printf(": v2");
}
@@ -148,7 +148,7 @@ agp_via_attach(struct device *parent, struct device *self, void *aux)
* aperture so that the gatt size reduces.
*/
if (agp_via_set_aperture(asc, size / 2)) {
- printf("can't set aperture size\n");
+ printf(", can't set aperture size\n");
return;
}
}