Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add driver entry point to augment a default disklabe...



details:   https://anonhg.NetBSD.org/src/rev/cb696114ef09
branches:  trunk
changeset: 349354:cb696114ef09
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Thu Dec 08 12:21:54 2016 +0000

description:
Add driver entry point to augment a default disklabel with driver specific
data. Legacy data like RPM values, typenames but also special paritioning
representing disk formats.

Bump kernel rev.

diffstat:

 sys/sys/disk.h  |  3 ++-
 sys/sys/param.h |  4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 3636ef869bcb -r cb696114ef09 sys/sys/disk.h
--- a/sys/sys/disk.h    Thu Dec 08 11:34:40 2016 +0000
+++ b/sys/sys/disk.h    Thu Dec 08 12:21:54 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disk.h,v 1.68 2016/11/28 08:42:20 mlelstv Exp $        */
+/*     $NetBSD: disk.h,v 1.69 2016/12/08 12:21:54 mlelstv Exp $        */
 
 /*-
  * Copyright (c) 1996, 1997, 2004 The NetBSD Foundation, Inc.
@@ -482,6 +482,7 @@
        int     (*d_lastclose)(device_t);
        int     (*d_discard)(device_t, off_t, off_t);
        int     (*d_firstopen)(device_t, dev_t, int, int);
+       void    (*d_label)(device_t, struct disklabel *lp);
 };
 #endif
 
diff -r 3636ef869bcb -r cb696114ef09 sys/sys/param.h
--- a/sys/sys/param.h   Thu Dec 08 11:34:40 2016 +0000
+++ b/sys/sys/param.h   Thu Dec 08 12:21:54 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.510 2016/11/28 08:42:20 mlelstv Exp $      */
+/*     $NetBSD: param.h,v 1.511 2016/12/08 12:21:54 mlelstv Exp $      */
 
 /*-
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -67,7 +67,7 @@
  *     2.99.9          (299000900)
  */
 
-#define        __NetBSD_Version__      799004300       /* NetBSD 7.99.43 */
+#define        __NetBSD_Version__      799004400       /* NetBSD 7.99.44 */
 
 #define __NetBSD_Prereq__(M,m,p) (((((M) * 100000000) + \
     (m) * 1000000) + (p) * 100) <= __NetBSD_Version__)



Home | Main Index | Thread Index | Old Index