git: if_iwm - Implement apmg_wake_up_wa workaround properly for 7000 family.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Sep 18 05:42:40 PDT 2016


commit ce43f57f5308b579ea21e8a5a29969114ba2247d
Author: Imre Vadász <imre at vdsz.com>
Date:   Fri Sep 16 22:44:40 2016 +0200

    if_iwm - Implement apmg_wake_up_wa workaround properly for 7000 family.
    
    * Add iwm_pcie_set_cmd_in_flight() and iwm_pcie_clear_cmd_in_flight()
      helper methods.
    
    * Use ring->queued tracking in the command queue to set/clear the
      cmd_hold_nic_awake bit at the right points.
    
    Taken-From: Linux iwlwifi

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c            | 21 ++++++++++---
 sys/dev/netif/iwm/if_iwm_pcie_trans.c | 58 +++++++++++++++++++++++++++++++++++
 sys/dev/netif/iwm/if_iwm_pcie_trans.h |  3 ++
 sys/dev/netif/iwm/if_iwm_util.c       | 13 ++------
 sys/dev/netif/iwm/if_iwmvar.h         |  5 +++
 5 files changed, 86 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ce43f57f5308b579ea21e8a5a29969114ba2247d


-- 
DragonFly BSD source repository



More information about the Commits mailing list