summaryrefslogtreecommitdiff
path: root/sys/dev/isa/wd.c
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-09-22 09:02:35 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-09-22 09:02:35 +0000
commitae088f6cd0dd52119e7b1778b4079139c9d1cf55 (patch)
treeb47a51dcba512ec551e682b8ed93532fadab0e5e /sys/dev/isa/wd.c
parent9c2ab109e1cb32e9953408c7232de8c9f3292428 (diff)
Get some things ready for later.
Diffstat (limited to 'sys/dev/isa/wd.c')
-rw-r--r--sys/dev/isa/wd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/isa/wd.c b/sys/dev/isa/wd.c
index 91c08555d59..2d2d63418e1 100644
--- a/sys/dev/isa/wd.c
+++ b/sys/dev/isa/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.18 1996/09/16 02:36:10 downsj Exp $ */
+/* $OpenBSD: wd.c,v 1.19 1996/09/22 09:02:32 downsj Exp $ */
/* $NetBSD: wd.c,v 1.150 1996/05/12 23:54:03 mycroft Exp $ */
/*
@@ -175,7 +175,7 @@ wdattach(parent, self, aux)
printf(": <%s>\n", buf);
if (d_link->sc_lp->d_type != DTYPE_ST506) {
- printf("%s: %dMB, %d cyl, %d head, %d sec, %d bytes/sec\n",
+ printf("%s: %dMB, %d cyl, %d head, %d sec, %d bytes/sec (%dKB cache)\n",
self->dv_xname,
d_link->sc_params.wdp_cylinders *
(d_link->sc_params.wdp_heads *
@@ -183,7 +183,8 @@ wdattach(parent, self, aux)
d_link->sc_params.wdp_cylinders,
d_link->sc_params.wdp_heads,
d_link->sc_params.wdp_sectors,
- DEV_BSIZE);
+ DEV_BSIZE,
+ d_link->sc_params.wdp_bufsize / 2);
}
#if NISADMA > 0