Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add a dtype for flash memory disks.



details:   https://anonhg.NetBSD.org/src/rev/1c47759b6711
branches:  trunk
changeset: 572540:1c47759b6711
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jan 07 18:29:15 2005 +0000

description:
Add a dtype for flash memory disks.

diffstat:

 sys/sys/disklabel.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 7b44130c3cae -r 1c47759b6711 sys/sys/disklabel.h
--- a/sys/sys/disklabel.h       Fri Jan 07 12:37:55 2005 +0000
+++ b/sys/sys/disklabel.h       Fri Jan 07 18:29:15 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel.h,v 1.89 2004/08/30 16:15:03 thorpej Exp $   */
+/*     $NetBSD: disklabel.h,v 1.90 2005/01/07 18:29:15 matt Exp $      */
 
 /*
  * Copyright (c) 1987, 1988, 1993
@@ -281,6 +281,7 @@
 #define        DTYPE_JFS2              16              /* IBM JFS2 */
 #define        DTYPE_CGD               17              /* cryptographic pseudo-disk */
 #define        DTYPE_VINUM             18              /* vinum volume */
+#define        DTYPE_FLASH             19              /* flash memory devices */
 
 #ifdef DKTYPENAMES
 static const char *const dktypenames[] = {
@@ -303,6 +304,7 @@
        "jfs",
        "cgd",
        "vinum",
+       "flash",
        NULL
 };
 #define        DKMAXTYPES      (sizeof(dktypenames) / sizeof(dktypenames[0]) - 1)



Home | Main Index | Thread Index | Old Index