git: iwm - DragonFly modifications and a bug fix

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Sep 17 23:01:00 PDT 2015


commit 45bc40b1cb6094fb94f499cf2d74a3fe7e81ba58
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Sep 17 22:56:20 2015 -0700

    iwm - DragonFly modifications and a bug fix
    
    * Modifications to make iwm build for DragonFly.
    
    * Fix a serious bug, iwm_stop_device() must clear the rxq stat
      data primarily to reset to hw rx ring index to 0.  Otherwise
      all packets already handled from 0 to the current hw rx ring index
      will be reprocessed on restart.
    
    * Implement iwmsleep() instead of using msleep().  iwmsleep() will
      handle exiting and re-entering the wlan_serializer.  Without this
      we can easily deadlock on the double lock.
    
    * Implement Makefile infrastructure.
    
    * Revert the FreeBSD patch to remove the per-debvice netif, since our
      802.11 infrastructure has not yet been updated for that.
    
    * Purge the ifq on start if the interface is not running.
    
    * Misc other DragonFly adjustments.

Summary of changes:
 sys/dev/netif/Makefile                |   2 +-
 sys/dev/netif/iwm/Makefile            |  13 +
 sys/dev/netif/iwm/fw/Makefile         |   4 +
 sys/dev/netif/iwm/fw/Makefile.inc     |  16 +
 sys/dev/netif/iwm/fw/iwm3160/Makefile |   7 +
 sys/dev/netif/iwm/fw/iwm7260/Makefile |   7 +
 sys/dev/netif/iwm/fw/iwm7265/Makefile |   7 +
 sys/dev/netif/iwm/if_iwm.c            | 734 ++++++++++++++++++++++++++--------
 sys/dev/netif/iwm/if_iwm_binding.c    |  27 +-
 sys/dev/netif/iwm/if_iwm_mac_ctxt.c   |  33 +-
 sys/dev/netif/iwm/if_iwm_pcie_trans.c |  30 +-
 sys/dev/netif/iwm/if_iwm_phy_ctxt.c   |  33 +-
 sys/dev/netif/iwm/if_iwm_phy_db.c     |  31 +-
 sys/dev/netif/iwm/if_iwm_power.c      |  29 +-
 sys/dev/netif/iwm/if_iwm_scan.c       |  31 +-
 sys/dev/netif/iwm/if_iwm_time_event.c |  29 +-
 sys/dev/netif/iwm/if_iwm_util.c       |  36 +-
 sys/dev/netif/iwm/if_iwmvar.h         |  17 +-
 18 files changed, 765 insertions(+), 321 deletions(-)
 create mode 100644 sys/dev/netif/iwm/Makefile
 create mode 100644 sys/dev/netif/iwm/fw/Makefile
 create mode 100644 sys/dev/netif/iwm/fw/Makefile.inc
 create mode 100644 sys/dev/netif/iwm/fw/iwm3160/Makefile
 create mode 100644 sys/dev/netif/iwm/fw/iwm7260/Makefile
 create mode 100644 sys/dev/netif/iwm/fw/iwm7265/Makefile

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/45bc40b1cb6094fb94f499cf2d74a3fe7e81ba58


-- 
DragonFly BSD source repository



More information about the Commits mailing list