diff options
-rw-r--r-- | sys/i386/isa/wd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/isa/wd.c b/sys/i386/isa/wd.c index 479ca2e..36e1d4f 100644 --- a/sys/i386/isa/wd.c +++ b/sys/i386/isa/wd.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)wd.c 7.2 (Berkeley) 5/9/91 - * $Id: wd.c,v 1.165 1998/05/06 22:14:42 julian Exp $ + * $Id: wd.c,v 1.166 1998/05/07 01:15:23 julian Exp $ */ /* TODO: @@ -2091,7 +2091,8 @@ failed: du->dk_dd.d_ntracks * du->dk_dd.d_nsectors; du->dk_dd.d_secperunit = du->dk_dd.d_secpercyl * du->dk_dd.d_ncylinders; - if (du->dk_dd.d_secperunit < wp->wdp_lbasize) { + if (wp->wdp_cylinders == 16383 && + du->dk_dd.d_secperunit < wp->wdp_lbasize) { du->dk_dd.d_secperunit = wp->wdp_lbasize; du->dk_dd.d_ncylinders = du->dk_dd.d_secperunit / du->dk_dd.d_secpercyl; |