summaryrefslogtreecommitdiffstats
path: root/sys/scsi/sd.c
diff options
context:
space:
mode:
authordufault <dufault@FreeBSD.org>1995-03-15 14:22:12 +0000
committerdufault <dufault@FreeBSD.org>1995-03-15 14:22:12 +0000
commita2ba9cd1b8ee3df0f77c580a3f92fa591873ea5c (patch)
treefe70ef9e140150260e09472556888a192eb7f6a7 /sys/scsi/sd.c
parentc20bdce1e09ff7c3db7910a8b0353fadb210e6f1 (diff)
downloadFreeBSD-src-a2ba9cd1b8ee3df0f77c580a3f92fa591873ea5c.zip
FreeBSD-src-a2ba9cd1b8ee3df0f77c580a3f92fa591873ea5c.tar.gz
1. Add text for ASC/ASCQ
2. Clean up probe messages. This is how I propose it looks for 2.1 so if you don't like it you have my e-mail address.
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r--sys/scsi/sd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 0e40f22..b334b4c 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992
*
- * $Id: sd.c,v 1.52 1995/03/04 20:51:03 dufault Exp $
+ * $Id: sd.c,v 1.53 1995/03/06 05:36:59 davidg Exp $
*/
#define SPLSD splbio
@@ -185,6 +185,9 @@ sdattach(struct scsi_link *sc_link)
dp = &(sd->params);
+ printf("\n");
+ sc_print_addr(sc_link);
+
if (sc_link->adapter->adapter_info) {
sd->ad_info = ((*(sc_link->adapter->adapter_info)) (sc_link->adapter_unit));
sd->cmdscount = sd->ad_info & AD_INF_MAX_CMDS;
@@ -208,7 +211,7 @@ sdattach(struct scsi_link *sc_link)
* -- this avoids the division below from falling over
*/
if(dp->secsiz == 0) dp->secsiz = 512;
- printf("%ldMB (%ld total sec), %d cyl, %d head, %d sec, bytes/sec %d\n",
+ printf("%ldMB (%ld sectors), %d C %d H %d S/T %d B/S",
dp->disksize / ((1024L * 1024L) / dp->secsiz),
dp->disksize,
dp->cyls,
OpenPOWER on IntegriCloud