summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-03-13 22:11:24 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-03-13 22:11:24 +0000
commit5b993a9910e52a92a3f6667bade7a3aa224f8d51 (patch)
tree3fd44917e99d7ec13b5a78f1e4e57c42c3b60c7c /sys/dev/pci
parent49addd1cfb29ed9b63c9c010663a8c32b2451729 (diff)
make the dmseg printing look a little nicer.
ok dlg@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/ami_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/ami_pci.c b/sys/dev/pci/ami_pci.c
index 6fd9cc2d3f9..979b80207bd 100644
--- a/sys/dev/pci/ami_pci.c
+++ b/sys/dev/pci/ami_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami_pci.c,v 1.36 2006/03/04 05:21:22 brad Exp $ */
+/* $OpenBSD: ami_pci.c,v 1.37 2006/03/13 22:11:23 brad Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -240,7 +240,7 @@ ami_pci_attach(struct device *parent, struct device *self, void *aux)
return;
}
- printf(": %s", intrstr);
+ printf(": %s\n", intrstr);
csr = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_SUBSYS_ID_REG);
for (ssp = ami_pci_subsys; ssp->id; ssp++) {
@@ -295,7 +295,7 @@ ami_pci_attach(struct device *parent, struct device *self, void *aux)
panic("ami device dissapeared between match() and attach()");
}
- printf(" %s %s\n%s", model, lhc, sc->sc_dev.dv_xname);
+ printf("%s: %s, %s", sc->sc_dev.dv_xname, model, lhc);
if (ami_attach(sc)) {
pci_intr_disestablish(pa->pa_pc, sc->sc_ih);