Merged from sys/i386/isa/npx.c revision 1.93.

This commit is contained in:
KATO Takenori 2001-03-23 08:58:36 +00:00
parent ff11a33db4
commit d6cab84130

View File

@ -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);
}