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 Add 'ed' to list of known/va...



details:   https://anonhg.NetBSD.org/src/rev/47475fd11b64
branches:  trunk
changeset: 511289:47475fd11b64
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Jun 16 14:33:08 2001 +0000

description:
Add 'ed' to list of known/valid disk names

diffstat:

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

diffs (31 lines):

diff -r bcd9ee7888af -r 47475fd11b64 distrib/utils/sysinst/arch/i386/md.h
--- a/distrib/utils/sysinst/arch/i386/md.h      Sat Jun 16 13:58:18 2001 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.h      Sat Jun 16 14:33:08 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.h,v 1.27 2001/01/27 07:34:39 jmc Exp $      */
+/*     $NetBSD: md.h,v 1.28 2001/06/16 14:33:08 jdolecek Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -106,7 +106,7 @@
  */
 EXTERN char *disk_names[]
 #ifdef MAIN
-= {"wd", "sd", "ld", NULL}
+= {"wd", "sd", "ld", "ed", NULL}
 #endif
 ;
 
@@ -118,9 +118,10 @@
  * 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, 's' for sd and 'l' for ld.
+ * On  i386, that means matching 'w' for st-506/ide, 's' for sd and 'l' for ld,
+ * 'e' for ed.
  */
-#define ISDISKSTART(dn)        (dn == 'w' || dn == 's' || dn == 'l')
+#define ISDISKSTART(dn)        (dn == 'w' || dn == 's' || dn == 'l' || dn == 'e')
 
 /*
  * Machine-specific command to write a new label to a disk.



Home | Main Index | Thread Index | Old Index