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/69f62f88916f
branches: trunk
changeset: 364201:69f62f88916f
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 f77f7990d9f2 -r 69f62f88916f 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 @@
#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_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 @@
}
ieee80211_announce(ic);
+#endif
return 0;
}
@@ -1273,7 +1275,7 @@
}
#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