Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/pmax/dev Pull up rev 1.45 from the trunk:



details:   https://anonhg.NetBSD.org/src/rev/079bfe1c320f
branches:  netbsd-1-4
changeset: 468122:079bfe1c320f
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Apr 08 15:12:51 1999 +0000

description:
Pull up rev 1.45 from the trunk:
        Allow the fake installation diskimage to be 2MB as well as 32MB
        in size.

diffstat:

 sys/arch/pmax/dev/rz.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 05f9bdac9006 -r 079bfe1c320f sys/arch/pmax/dev/rz.c
--- a/sys/arch/pmax/dev/rz.c    Thu Apr 08 08:28:08 1999 +0000
+++ b/sys/arch/pmax/dev/rz.c    Thu Apr 08 15:12:51 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rz.c,v 1.44 1999/03/09 00:37:01 mrg Exp $      */
+/*     $NetBSD: rz.c,v 1.44.2.1 1999/04/08 15:12:51 simonb Exp $       */
 
 /*
  * Copyright (c) 1992, 1993
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: rz.c,v 1.44 1999/03/09 00:37:01 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rz.c,v 1.44.2.1 1999/04/08 15:12:51 simonb Exp $");
 
 /*
  * SCSI CCS (Command Command Set) disk driver.
@@ -961,7 +961,8 @@
            strlen(lp->d_packname) == 0 &&
            lp->d_npartitions == RAW_PART+1 &&
            lp->d_partitions[0].p_offset == 0 &&
-           lp->d_partitions[0].p_size == 65536 &&
+           (lp->d_partitions[0].p_size == 4096 ||
+            lp->d_partitions[0].p_size == 65536 ) &&
 #if 0
            lp->d_partitions[0].p_size == lp->d_partitions[RAW_PART].p_size &&
 #endif



Home | Main Index | Thread Index | Old Index