Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/pci Disable iwm_resume as it needs to be rewor...
details: https://anonhg.NetBSD.org/src-all/rev/2d3ace0e9e52
branches: trunk
changeset: 377842:2d3ace0e9e52
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Sun Oct 04 18:47:49 2020 +1100
description:
Disable iwm_resume as it needs to be reworked for the -phil stack.
diffstat:
sys/dev/pci/if_iwn.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r f8091c2c43fc -r 2d3ace0e9e52 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c Sun Oct 04 17:58:28 2020 +1100
+++ b/sys/dev/pci/if_iwn.c Sun Oct 04 18:47:49 2020 +1100
@@ -219,7 +219,7 @@ static int iwn_detach(device_t , int);
#if 0
static void iwn_power(int, void *);
#endif
-static bool iwn_resume(device_t, const pmf_qual_t *);
+__unused static bool iwn_resume(device_t, const pmf_qual_t *);
static int iwn_nic_lock(struct iwn_softc *);
static int iwn_eeprom_lock(struct iwn_softc *);
static int iwn_init_otprom(struct iwn_softc *);
@@ -811,6 +811,7 @@ iwn_config_complete(device_t self)
iwn_radiotap_attach(sc, vap->iv_ifp);
callout_setfunc(&sc->scan_to, iwn_next_scan, vap);
+#if 0
if (pmf_device_register(self, NULL, iwn_resume))
pmf_class_network_register(self, vap->iv_ifp);
else {
@@ -819,6 +820,7 @@ iwn_config_complete(device_t self)
}
ieee80211_announce(ic);
+#endif
return 0;
}
@@ -1273,7 +1275,7 @@ iwn_power(int why, void *arg)
}
#endif
-static bool
+__unused static bool
iwn_resume(device_t dv, const pmf_qual_t *qual)
{
return true;
Home |
Main Index |
Thread Index |
Old Index