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/0e9a9f787b76
branches: trunk
changeset: 947469:0e9a9f787b76
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 c4dba93096b3 -r 0e9a9f787b76 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
@@ -138,7 +138,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 *);
@@ -738,6 +738,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 {
@@ -746,6 +747,7 @@
}
ieee80211_announce(ic);
+#endif
return 0;
}
@@ -1200,7 +1202,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