summaryrefslogtreecommitdiff
path: root/sys/arch/pmax/dev/rz.c
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1997-07-07 08:22:40 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1997-07-07 08:22:40 +0000
commit96a4ce63e0e4684a336e9c40d8b2b7a5f392281c (patch)
treed2965f162d3356d969ea5ab630fa18bf85b12935 /sys/arch/pmax/dev/rz.c
parentab2996908b2b88ea0ae32cc3623ac4ee05a8c6bd (diff)
let the bootup output fit into 80 columns and make more look like the
one for wd and sd drives
Diffstat (limited to 'sys/arch/pmax/dev/rz.c')
-rw-r--r--sys/arch/pmax/dev/rz.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/pmax/dev/rz.c b/sys/arch/pmax/dev/rz.c
index c6b4cac3075..a695cd3a6de 100644
--- a/sys/arch/pmax/dev/rz.c
+++ b/sys/arch/pmax/dev/rz.c
@@ -418,9 +418,11 @@ rzprobe(xxxsd)
if (revl[i] != ' ')
break;
revl[i+1] = 0;
- printf(" %s %s rev %s", vid, pid, revl);
+ printf(" <%s %s rev %s>\n", vid, pid, revl);
}
- printf(", %d %d byte blocks\n", sc->sc_blks, sc->sc_blksize);
+ if (sc->sc_blks) printf("rz%d: %dMB, %d %d byte blocks\n",
+ sd->sd_unit, (sc->sc_blks * sc->sc_blksize) / 1048576,
+ sc->sc_blks, sc->sc_blksize);
if (!inqbuf.rmb && sc->sc_blksize != DEV_BSIZE) {
if (sc->sc_blksize < DEV_BSIZE) {
printf("rz%d: need %d byte blocks - drive ignored\n",