iwm - DragonFly modifications and a bug fix
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 18 Sep 2015 05:56:20 +0000 (22:56 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 18 Sep 2015 05:56:20 +0000 (22:56 -0700)
commit45bc40b1cb6094fb94f499cf2d74a3fe7e81ba58
tree33fb3b2059ea79b5e66fe333534494d713e64ec2
parent24a8d46a22f9106b0c1466c41ba73460d7d22262
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.
18 files changed:
sys/dev/netif/Makefile
sys/dev/netif/iwm/Makefile [new file with mode: 0644]
sys/dev/netif/iwm/fw/Makefile [new file with mode: 0644]
sys/dev/netif/iwm/fw/Makefile.inc [new file with mode: 0644]
sys/dev/netif/iwm/fw/iwm3160/Makefile [new file with mode: 0644]
sys/dev/netif/iwm/fw/iwm7260/Makefile [new file with mode: 0644]
sys/dev/netif/iwm/fw/iwm7265/Makefile [new file with mode: 0644]
sys/dev/netif/iwm/if_iwm.c
sys/dev/netif/iwm/if_iwm_binding.c
sys/dev/netif/iwm/if_iwm_mac_ctxt.c
sys/dev/netif/iwm/if_iwm_pcie_trans.c
sys/dev/netif/iwm/if_iwm_phy_ctxt.c
sys/dev/netif/iwm/if_iwm_phy_db.c
sys/dev/netif/iwm/if_iwm_power.c
sys/dev/netif/iwm/if_iwm_scan.c
sys/dev/netif/iwm/if_iwm_time_event.c
sys/dev/netif/iwm/if_iwm_util.c
sys/dev/netif/iwm/if_iwmvar.h