Source-Changes-HG archive

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

[src/netbsd-8]: src/usr.bin/fstat Pull up following revision(s) (requested by...



details:   https://anonhg.NetBSD.org/src/rev/3929f394ad98
branches:  netbsd-8
changeset: 435049:3929f394ad98
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Jun 09 15:41:37 2018 +0000

description:
Pull up following revision(s) (requested by nat in ticket #873):
        usr.bin/fstat/misc.c: revision 1.18
Update fstat for audio(4) and pad(4) devices.
XXX - pullup 8.
Ok christos@.

diffstat:

 usr.bin/fstat/misc.c |  16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r dcfcc1bfdd12 -r 3929f394ad98 usr.bin/fstat/misc.c
--- a/usr.bin/fstat/misc.c      Sat Jun 09 15:40:05 2018 +0000
+++ b/usr.bin/fstat/misc.c      Sat Jun 09 15:41:37 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: misc.c,v 1.17 2016/12/30 21:08:23 christos Exp $       */
+/*     $NetBSD: misc.c,v 1.17.6.1 2018/06/09 15:41:37 martin Exp $     */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: misc.c,v 1.17 2016/12/30 21:08:23 christos Exp $");
+__RCSID("$NetBSD: misc.c,v 1.17.6.1 2018/06/09 15:41:37 martin Exp $");
 
 #include <stdbool.h>
 #include <sys/param.h>
@@ -102,7 +102,11 @@
     { .n_name = "vnops" },
 #define NL_XENEVT      17
     { .n_name = "xenevt_fileops" },
-#define NL_MAX         18
+#define NL_AUDIO       18
+    { .n_name = "audio_fileops" },
+#define NL_PAD         19
+    { .n_name = "pad_fileops" },
+#define NL_MAX         20
     { .n_name = NULL }
 };
 
@@ -277,6 +281,12 @@
        case NL_CRYPTO:
                printf("* crypto %p\n", f->f_data);
                return 0;
+       case NL_AUDIO:
+               printf("* audio %p\n", f->f_data);
+               return 0;
+       case NL_PAD:
+               printf("* pad %p\n", f->f_data);
+               return 0;
        case NL_MAX:
                printf("* %s ops=%p %p\n", name, f->f_ops, f->f_data);
                return 0;



Home | Main Index | Thread Index | Old Index