Module Name:    src
Committed By:   tsutsui
Date:           Mon Jan 21 13:21:05 UTC 2013

Modified Files:
        src/sys/arch/luna68k/stand/boot: sd.c

Log Message:
Slightly modify sd attach message, as kernel does.

before:
 sd0: HITACHI DK315C-14 rev H7H6, 2807459 512 byte blocks

after:
 sd0: HITACHI DK315C-14 rev H7H6, 512 bytes/sect x 2807459 sectors


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/luna68k/stand/boot/sd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/luna68k/stand/boot/sd.c
diff -u src/sys/arch/luna68k/stand/boot/sd.c:1.3 src/sys/arch/luna68k/stand/boot/sd.c:1.4
--- src/sys/arch/luna68k/stand/boot/sd.c:1.3	Mon Jan 14 01:37:57 2013
+++ src/sys/arch/luna68k/stand/boot/sd.c	Mon Jan 21 13:21:04 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: sd.c,v 1.3 2013/01/14 01:37:57 tsutsui Exp $	*/
+/*	$NetBSD: sd.c,v 1.4 2013/01/21 13:21:04 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -199,7 +199,7 @@ sdident(struct sd_softc *sc, struct hp_d
 	printf("sd%d: %s %s rev %s", hd->hp_unit, idstr, &idstr[8],
 	       &idstr[24]);
 
-	printf(", %d %d byte blocks\n", sc->sc_blks, sc->sc_blksize);
+	printf(", %d bytes/sect x %d sectors\n", sc->sc_blksize, sc->sc_blks);
 	if (sc->sc_blksize != DEV_BSIZE) {
 		if (sc->sc_blksize < DEV_BSIZE) {
 			printf("sd%d: need %d byte blocks - drive ignored\n",

Reply via email to