Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add dk_geom to struct disk, from Christos.



details:   https://anonhg.NetBSD.org/src/rev/89eee500b450
branches:  trunk
changeset: 787016:89eee500b450
user:      martin <martin%NetBSD.org@localhost>
date:      Wed May 29 15:11:11 2013 +0000

description:
Add dk_geom to struct disk, from Christos.

diffstat:

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

diffs (17 lines):

diff -r 6367f55b5e88 -r 89eee500b450 sys/sys/disk.h
--- a/sys/sys/disk.h    Wed May 29 15:08:30 2013 +0000
+++ b/sys/sys/disk.h    Wed May 29 15:11:11 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disk.h,v 1.57 2012/06/10 17:05:18 mlelstv Exp $        */
+/*     $NetBSD: disk.h,v 1.58 2013/05/29 15:11:11 martin Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 2004 The NetBSD Foundation, Inc.
@@ -421,6 +421,7 @@
        TAILQ_ENTRY(disk) dk_link;      /* link in global disklist */
        const char      *dk_name;       /* disk name */
        prop_dictionary_t dk_info;      /* reference to disk-info dictionary */
+       struct disk_geom dk_geom;       /* cooked version of dk_info */
        int             dk_bopenmask;   /* block devices open */
        int             dk_copenmask;   /* character devices open */
        int             dk_openmask;    /* composite (bopen|copen) */



Home | Main Index | Thread Index | Old Index