summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>2001-03-23 08:58:36 +0000
committerkato <kato@FreeBSD.org>2001-03-23 08:58:36 +0000
commitb2e6597c8d3b09fb50937da80d30cd83c27c48cc (patch)
treee3796ac6ab1fa8ea875df4094b5e71166d36971d /sys/pc98
parent72f60d880d95918cb0e240686615ea2437d6d3d0 (diff)
downloadFreeBSD-src-b2e6597c8d3b09fb50937da80d30cd83c27c48cc.zip
FreeBSD-src-b2e6597c8d3b09fb50937da80d30cd83c27c48cc.tar.gz
Merged from sys/i386/isa/npx.c revision 1.93.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/pc98/npx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/pc98/npx.c b/sys/pc98/pc98/npx.c
index c8c0c73..c656736d 100644
--- a/sys/pc98/pc98/npx.c
+++ b/sys/pc98/pc98/npx.c
@@ -972,7 +972,7 @@ timezero(funcname, func)
{
void *buf;
-#define BUFSIZE 1000000
+#define BUFSIZE 1048576
long usec;
struct timeval finish, start;
@@ -987,8 +987,8 @@ timezero(funcname, func)
if (usec <= 0)
usec = 1;
if (bootverbose)
- printf("%s bandwidth = %ld bytes/sec\n",
- funcname, (long)(BUFSIZE * (int64_t)1000000 / usec));
+ printf("%s bandwidth = %lu kBps\n", funcname,
+ (u_int32_t)(((BUFSIZE >> 10) * 1000000) / usec));
free(buf, M_TEMP);
return (usec);
}
OpenPOWER on IntegriCloud