Author: adrian
Date: Thu May 19 05:09:20 2016
New Revision: 300195
URL: https://svnweb.freebsd.org/changeset/base/300195

Log:
  [bwn] quieten the "invalid firmware state".
  
  That pops up in the rev 5xx / 6xx microcode on the later cores
  (4312, 4322.) I'm not sure why this is happening yet and I'll
  dig into it, but Linux b43 does the same thing.

Modified:
  head/sys/dev/bwn/if_bwn.c

Modified: head/sys/dev/bwn/if_bwn.c
==============================================================================
--- head/sys/dev/bwn/if_bwn.c   Thu May 19 05:06:48 2016        (r300194)
+++ head/sys/dev/bwn/if_bwn.c   Thu May 19 05:09:20 2016        (r300195)
@@ -3774,8 +3774,11 @@ bwn_mac_enable(struct bwn_mac *mac)
        state = bwn_shm_read_2(mac, BWN_SHARED,
            BWN_SHARED_UCODESTAT);
        if (state != BWN_SHARED_UCODESTAT_SUSPEND &&
-           state != BWN_SHARED_UCODESTAT_SLEEP)
-               device_printf(sc->sc_dev, "warn: firmware state (%d)\n", state);
+           state != BWN_SHARED_UCODESTAT_SLEEP) {
+               DPRINTF(sc, BWN_DEBUG_FW,
+                   "%s: warn: firmware state (%d)\n",
+                   __func__, state);
+       }
 
        mac->mac_suspended--;
        KASSERT(mac->mac_suspended >= 0,
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to