Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst/arch/i386 Allow install on /dev/ca??.



details:   https://anonhg.NetBSD.org/src/rev/37bec714bff7
branches:  trunk
changeset: 483711:37bec714bff7
user:      ad <ad%NetBSD.org@localhost>
date:      Thu Mar 16 14:55:23 2000 +0000

description:
Allow install on /dev/ca??.

diffstat:

 distrib/utils/sysinst/arch/i386/md.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r e7ca3be5532c -r 37bec714bff7 distrib/utils/sysinst/arch/i386/md.h
--- a/distrib/utils/sysinst/arch/i386/md.h      Thu Mar 16 14:54:56 2000 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.h      Thu Mar 16 14:55:23 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.h,v 1.15 1999/06/20 06:08:19 cgd Exp $      */
+/*     $NetBSD: md.h,v 1.16 2000/03/16 14:55:23 ad Exp $       */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -93,11 +93,11 @@
 /*
  * Disk names accepted as valid targets for a from-scratch installation.
  *
- * On  i386, we allow "wd"  ST-506/IDE disks and  "sd" scsi disks.
+ * On  i386, we allow "wd"  ST-506/IDE disks,  "sd" scsi disks, "ca" arrays.
  */
 EXTERN char *disk_names[]
 #ifdef MAIN
-= {"wd", "sd", NULL}
+= {"wd", "sd", "ca", NULL}
 #endif
 ;
 
@@ -107,9 +107,9 @@
  * this must return 1 for a character that matches the first
  * characters of each member of disk_names.
  *
- * On  i386, that means matching 'w' for st-506/ide and 's' for sd.
+ * On  i386, that means matching 'w' for st-506/ide, 's' for sd and 'c' for ca.
  */
-#define ISDISKSTART(dn)        (dn == 'w' || dn == 's')
+#define ISDISKSTART(dn)        (dn == 'w' || dn == 's' || dn == 'c')
 
 /*
  * Machine-specific command to write a new label to a disk.



Home | Main Index | Thread Index | Old Index