Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/luna68k/stand/boot Slightly modify sd attach messag...
details: https://anonhg.NetBSD.org/src/rev/2cb77d56fe2e
branches: trunk
changeset: 784184:2cb77d56fe2e
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Mon Jan 21 13:21:04 2013 +0000
description:
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
diffstat:
sys/arch/luna68k/stand/boot/sd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0795e118dfee -r 2cb77d56fe2e sys/arch/luna68k/stand/boot/sd.c
--- a/sys/arch/luna68k/stand/boot/sd.c Mon Jan 21 11:58:12 2013 +0000
+++ b/sys/arch/luna68k/stand/boot/sd.c Mon Jan 21 13:21:04 2013 +0000
@@ -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 @@
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",
Home |
Main Index |
Thread Index |
Old Index