Source-Changes-HG archive

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

[src/trunk]: src/sys/dev pmf-powerdown == false --> pmf-no-powerdown == true



details:   https://anonhg.NetBSD.org/src/rev/57842fb6f75e
branches:  trunk
changeset: 934442:57842fb6f75e
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Jun 12 15:34:20 2020 +0000

description:
pmf-powerdown == false  -->  pmf-no-powerdown == true

diffstat:

 sys/dev/cardbus/cardbus.c |  8 ++++----
 sys/dev/ic/ath.c          |  6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 8f37c3c3869a -r 57842fb6f75e sys/dev/cardbus/cardbus.c
--- a/sys/dev/cardbus/cardbus.c Fri Jun 12 15:25:26 2020 +0000
+++ b/sys/dev/cardbus/cardbus.c Fri Jun 12 15:34:20 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cardbus.c,v 1.109 2019/11/10 21:16:34 chs Exp $        */
+/*     $NetBSD: cardbus.c,v 1.110 2020/06/12 15:34:20 thorpej Exp $    */
 
 /*
  * Copyright (c) 1997, 1998, 1999 and 2000
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cardbus.c,v 1.109 2019/11/10 21:16:34 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cardbus.c,v 1.110 2020/06/12 15:34:20 thorpej Exp $");
 
 #include "opt_cardbus.h"
 
@@ -775,7 +775,7 @@
 static void
 disable_function(struct cardbus_softc *sc, int function)
 {
-       bool powerdown;
+       bool no_powerdown;
        cardbus_devfunc_t ct;
        device_t dv;
        int i;
@@ -788,7 +788,7 @@
                        continue;
                dv = ct->ct_device;
                if (prop_dictionary_get_bool(device_properties(dv),
-                   "pmf-powerdown", &powerdown) && !powerdown)
+                   "pmf-no-powerdown", &no_powerdown) && no_powerdown)
                        return;
        }
        /* power-off because no functions are enabled */
diff -r 8f37c3c3869a -r 57842fb6f75e sys/dev/ic/ath.c
--- a/sys/dev/ic/ath.c  Fri Jun 12 15:25:26 2020 +0000
+++ b/sys/dev/ic/ath.c  Fri Jun 12 15:34:20 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ath.c,v 1.130 2020/01/29 14:09:58 thorpej Exp $        */
+/*     $NetBSD: ath.c,v 1.131 2020/06/12 15:34:20 thorpej Exp $        */
 
 /*-
  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -41,7 +41,7 @@
 __FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.104 2005/09/16 10:09:23 ru Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.130 2020/01/29 14:09:58 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.131 2020/06/12 15:34:20 thorpej Exp $");
 #endif
 
 /*
@@ -307,7 +307,7 @@
        sc->sc_ah = ah;
 
        if (!prop_dictionary_set_bool(device_properties(sc->sc_dev),
-           "pmf-powerdown", false))
+           "pmf-no-powerdown", true))
                goto bad;
 
        /*



Home | Main Index | Thread Index | Old Index