From 55bcdaeda56ed49a8b19bf2e49f241a860ba268c Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Sat, 24 Jan 1998 06:54:17 +0000 Subject: [PATCH] Sync with sys/i386/isa/wd.c revision 1.148. --- sys/pc98/pc98/wd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/pc98/pc98/wd.c b/sys/pc98/pc98/wd.c index fd360394391a..80a3b971ecad 100644 --- a/sys/pc98/pc98/wd.c +++ b/sys/pc98/pc98/wd.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)wd.c 7.2 (Berkeley) 5/9/91 - * $Id: wd.c,v 1.40 1998/01/18 15:10:03 kato Exp $ + * $Id: wd.c,v 1.41 1998/01/24 02:54:43 eivind Exp $ */ /* TODO: @@ -2694,6 +2694,8 @@ static void wd_drvinit(void *unused) { if( ! wd_devsw_installed ) { + if (wd_bdevsw.d_maxio == 0) + wd_bdevsw.d_maxio = 248 * 512; bdevsw_add_generic(BDEV_MAJOR,CDEV_MAJOR, &wd_bdevsw); wd_devsw_installed = 1; }