Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen print 'backend features' instead of just 'f...



details:   https://anonhg.NetBSD.org/src/rev/136e529d0c83
branches:  trunk
changeset: 1009063:136e529d0c83
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Apr 11 16:02:41 2020 +0000

description:
print 'backend features' instead of just 'features' for the detected backend
features, so that it's clear it's just capability rather than something
actually used by the frontend driver

diffstat:

 sys/arch/xen/xen/xbd_xenbus.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 84b62c2f8325 -r 136e529d0c83 sys/arch/xen/xen/xbd_xenbus.c
--- a/sys/arch/xen/xen/xbd_xenbus.c     Sat Apr 11 16:00:34 2020 +0000
+++ b/sys/arch/xen/xen/xbd_xenbus.c     Sat Apr 11 16:02:41 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xbd_xenbus.c,v 1.100 2020/04/10 11:41:04 jdolecek Exp $      */
+/*      $NetBSD: xbd_xenbus.c,v 1.101 2020/04/11 16:02:41 jdolecek Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.100 2020/04/10 11:41:04 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.101 2020/04/11 16:02:41 jdolecek Exp $");
 
 #include "opt_xen.h"
 
@@ -576,7 +576,8 @@
                                buf, (int)dg->dg_secsize, sc->sc_xbdsize);
                snprintb(buf, sizeof(buf), BLKIF_FEATURE_BITS,
                    sc->sc_features);
-               aprint_normal_dev(sc->sc_dksc.sc_dev, "features %s\n", buf);
+               aprint_normal_dev(sc->sc_dksc.sc_dev,
+                   "backend features %s\n", buf);
 
                /* Discover wedges on this disk. */
                dkwedge_discover(&sc->sc_dksc.sc_dkdev);



Home | Main Index | Thread Index | Old Index