Use "KB" instead of "Kb" for KiloBytes, consistently with other

drivers and common practices.
This commit is contained in:
Luigi Rizzo 1998-10-30 10:57:09 +00:00
parent fc006fb4ee
commit 9525e8f53c
4 changed files with 12 additions and 12 deletions

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: atapi-cd.c,v 1.2 1998/10/08 06:41:44 sos Exp $
* $Id: atapi-cd.c,v 1.3 1998/10/15 08:11:54 sos Exp $
*/
#include "wdc.h"
@ -262,9 +262,9 @@ acd_describe(struct acd *cdp)
printf("acd%d: drive speed ", cdp->lun);
if (cdp->cap.cur_speed != cdp->cap.max_speed)
printf("%d - ", cdp->cap.cur_speed * 1000 / 1024);
printf("%dKb/sec", cdp->cap.max_speed * 1000 / 1024);
printf("%dKB/sec", cdp->cap.max_speed * 1000 / 1024);
if (cdp->cap.buf_size)
printf(", %dKb cache\n", cdp->cap.buf_size);
printf(", %dKB cache\n", cdp->cap.buf_size);
printf("acd%d: supported read types:", cdp->lun);
comma = 0;

View File

@ -13,7 +13,7 @@
* all derivative works or modified versions.
*
* From: Version 1.9, Mon Oct 9 20:27:42 MSK 1995
* $Id: wcd.c,v 1.58 1998/09/08 20:57:47 sos Exp $
* $Id: wcd.c,v 1.59 1998/09/15 08:15:29 gibbs Exp $
*/
#include "wdc.h"
@ -456,9 +456,9 @@ void wcd_describe (struct wcd *t)
printf ("wcd%d: ", t->lun);
if (t->cap.cur_speed != t->cap.max_speed)
printf ("%d/", t->cap.cur_speed * 1000 / 1024);
printf ("%dKb/sec", t->cap.max_speed * 1000 / 1024);
printf ("%dKB/sec", t->cap.max_speed * 1000 / 1024);
if (t->cap.buf_size)
printf (", %dKb cache", t->cap.buf_size);
printf (", %dKB cache", t->cap.buf_size);
if (t->cap.audio_play)
printf (", audio play");

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: atapi-cd.c,v 1.2 1998/10/08 06:41:44 sos Exp $
* $Id: atapi-cd.c,v 1.3 1998/10/15 08:11:54 sos Exp $
*/
#include "wdc.h"
@ -262,9 +262,9 @@ acd_describe(struct acd *cdp)
printf("acd%d: drive speed ", cdp->lun);
if (cdp->cap.cur_speed != cdp->cap.max_speed)
printf("%d - ", cdp->cap.cur_speed * 1000 / 1024);
printf("%dKb/sec", cdp->cap.max_speed * 1000 / 1024);
printf("%dKB/sec", cdp->cap.max_speed * 1000 / 1024);
if (cdp->cap.buf_size)
printf(", %dKb cache\n", cdp->cap.buf_size);
printf(", %dKB cache\n", cdp->cap.buf_size);
printf("acd%d: supported read types:", cdp->lun);
comma = 0;

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: atapi-cd.c,v 1.2 1998/10/08 06:41:44 sos Exp $
* $Id: atapi-cd.c,v 1.3 1998/10/15 08:11:54 sos Exp $
*/
#include "wdc.h"
@ -262,9 +262,9 @@ acd_describe(struct acd *cdp)
printf("acd%d: drive speed ", cdp->lun);
if (cdp->cap.cur_speed != cdp->cap.max_speed)
printf("%d - ", cdp->cap.cur_speed * 1000 / 1024);
printf("%dKb/sec", cdp->cap.max_speed * 1000 / 1024);
printf("%dKB/sec", cdp->cap.max_speed * 1000 / 1024);
if (cdp->cap.buf_size)
printf(", %dKb cache\n", cdp->cap.buf_size);
printf(", %dKB cache\n", cdp->cap.buf_size);
printf("acd%d: supported read types:", cdp->lun);
comma = 0;