diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-03-13 22:11:24 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-03-13 22:11:24 +0000 |
commit | 5b993a9910e52a92a3f6667bade7a3aa224f8d51 (patch) | |
tree | 3fd44917e99d7ec13b5a78f1e4e57c42c3b60c7c /sys/dev | |
parent | 49addd1cfb29ed9b63c9c010663a8c32b2451729 (diff) |
make the dmseg printing look a little nicer.
ok dlg@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/ami.c | 6 | ||||
-rw-r--r-- | sys/dev/pci/ami_pci.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c index 20234bea17a..87e98f45f26 100644 --- a/sys/dev/ic/ami.c +++ b/sys/dev/ic/ami.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ami.c,v 1.110 2006/03/13 12:08:40 dlg Exp $ */ +/* $OpenBSD: ami.c,v 1.111 2006/03/13 22:11:23 brad Exp $ */ /* * Copyright (c) 2001 Michael Shalayeff @@ -524,7 +524,7 @@ ami_attach(struct ami_softc *sc) sc->sc_link.adapter_buswidth = sc->sc_maxunits; #ifdef AMI_DEBUG - printf(": FW %s, BIOS v%s, %dMB RAM\n" + printf(", FW %s, BIOS v%s, %dMB RAM\n" "%s: %d channels, %d %ss, %d logical drives, " "openings %d, max commands %d, quirks: %04x\n", sc->sc_fwver, sc->sc_biosver, sc->sc_memory, @@ -532,7 +532,7 @@ ami_attach(struct ami_softc *sc) sc->sc_channels, sc->sc_targets, p, sc->sc_nunits, sc->sc_link.openings, sc->sc_maxcmds, sc->sc_flags); #else - printf(": FW %s, BIOS v%s, %dMB RAM\n" + printf(", FW %s, BIOS v%s, %dMB RAM\n" "%s: %d channels, %d %ss, %d logical drives\n", sc->sc_fwver, sc->sc_biosver, sc->sc_memory, sc->sc_dev.dv_xname, 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); |