summaryrefslogtreecommitdiff
path: root/sys/dev/ata
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1996-11-27 10:50:39 +0000
committerthorpej <thorpej@NetBSD.org>1996-11-27 10:50:39 +0000
commit3b4e2a1ac991059bf6905ef2a438ba30e80291fa (patch)
treef3534a9e9c3cce5b811b737317f6be66247a30cc /sys/dev/ata
parent041a23ac7f89d665dfde17aa56b46307380016fb (diff)
In wdattach(), when printing out info about the drive, make the output
look a little more like a SCSI disk's. This has the pleasant side-effect of preventing the output from annoyingly extending past 80 columns.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r--sys/dev/ata/wd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index 5ef5168bd7e..549ec46dcfb 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wd.c,v 1.154 1996/11/07 05:23:07 mikel Exp $ */
+/* $NetBSD: wd.c,v 1.155 1996/11/27 10:50:39 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@@ -331,15 +331,15 @@ wdattach(parent, self, aux)
}
*q++ = '\0';
- printf(": %dMB, %d cyl, %d head, %d sec, %d bytes/sec <%s>\n",
+ printf(": <%s>\n%s: %dMB, %d cyl, %d head, %d sec, %d bytes/sec\n",
+ buf, wd->sc_dev.dv_xname,
wd->sc_params.wdp_cylinders *
- (wd->sc_params.wdp_heads * wd->sc_params.wdp_sectors) /
- (1048576 / DEV_BSIZE),
+ (wd->sc_params.wdp_heads * wd->sc_params.wdp_sectors) /
+ (1048576 / DEV_BSIZE),
wd->sc_params.wdp_cylinders,
wd->sc_params.wdp_heads,
wd->sc_params.wdp_sectors,
- DEV_BSIZE,
- buf);
+ DEV_BSIZE);
if ((wd->sc_params.wdp_capabilities & WD_CAP_DMA) != 0 &&
wdc->sc_drq != DRQUNK) {