summaryrefslogtreecommitdiff
path: root/sys/dev/pci/agp_amd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-26 15:35:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-26 15:35:18 +0000
commit522370568a7e1ff9f9c84cf277a796ca18a945df (patch)
tree5e7987626740c4b1ab8a063af3f8ea89b3be934a /sys/dev/pci/agp_amd.c
parent3dc2115b1effca39cdb1a9e361df7b7f444f7816 (diff)
correct newlines surrounding the sub-bus configuration, and unify
pchb's further ok reyk oga
Diffstat (limited to 'sys/dev/pci/agp_amd.c')
-rw-r--r--sys/dev/pci/agp_amd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/agp_amd.c b/sys/dev/pci/agp_amd.c
index ce9c3b2f850..361a1ad1cde 100644
--- a/sys/dev/pci/agp_amd.c
+++ b/sys/dev/pci/agp_amd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: agp_amd.c,v 1.5 2007/11/25 17:11:12 oga Exp $ */
+/* $OpenBSD: agp_amd.c,v 1.6 2007/11/26 15:35:15 deraadt Exp $ */
/* $NetBSD: agp_amd.c,v 1.6 2001/10/06 02:48:50 thorpej Exp $ */
@@ -164,7 +164,7 @@ agp_amd_attach(struct agp_softc *sc, struct pci_attach_args *pa)
asc = malloc(sizeof *asc, M_AGP, M_NOWAIT | M_ZERO);
if (asc == NULL) {
- printf(": can't allocate softc\n");
+ printf("can't allocate softc\n");
/* agp_generic_detach(sc) */
return (ENOMEM);
}
@@ -172,13 +172,13 @@ agp_amd_attach(struct agp_softc *sc, struct pci_attach_args *pa)
error = pci_mapreg_map(pa, AGP_AMD751_REGISTERS,
PCI_MAPREG_TYPE_MEM, 0, &asc->iot, &asc->ioh, NULL, NULL, 0);
if (error != 0) {
- printf(": can't map AGP registers\n");
+ printf("can't map AGP registers\n");
agp_generic_detach(sc);
return (error);
}
if (agp_map_aperture(pa, sc, AGP_APBASE, PCI_MAPREG_TYPE_MEM) != 0) {
- printf(": can't map aperture\n");
+ printf("can't map aperture\n");
agp_generic_detach(sc);
free(asc, M_AGP);
return (ENXIO);