wlan - Sync dev/netif/bwn/bwn from FreeBSD
authorImre Vadász <imre@vdsz.com>
Sun, 15 May 2016 22:07:24 +0000 (00:07 +0200)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 24 May 2016 04:33:27 +0000 (21:33 -0700)
commit6fdfc437b19ef07aaed57054b1189ebfbd59defd
tree86995be3164c92f4396f33ef5636c10fdcea0be1
parentdd3f3f080b7c394141ceedf89c0c6a15e29f9203
wlan - Sync dev/netif/bwn/bwn from FreeBSD

* Sync dev/netif/bwn/bwn from FreeBSD, fbsd git dd885b9a0a0e, May 11 2016.

* Straight report from FreeBSD using new infrastructure.

* Add bwn back to build

* Using contigmalloc for allocating dr_txhdr_cache, because kmalloc on
  DragonFly wouldn't always give us physically contiguous memory.

* Keeping the old code for (MSI) interrupt allocation, which puts things
  into the softc struct, and not into the bwn_mac struct like the new code.

* XXX Not tested yet, also some local changes might be missing still.
* XXX Didn't sync dev/netif/bwn/siba_bwn from FreeBSD yet, but bwn might
      already work for the previously supported chipsets like this.
17 files changed:
sys/conf/files
sys/dev/netif/Makefile
sys/dev/netif/bwn/bwn/Makefile
sys/dev/netif/bwn/bwn/if_bwn.c
sys/dev/netif/bwn/bwn/if_bwn_chipid.h [new file with mode: 0644]
sys/dev/netif/bwn/bwn/if_bwn_debug.h [new file with mode: 0644]
sys/dev/netif/bwn/bwn/if_bwn_misc.h [new file with mode: 0644]
sys/dev/netif/bwn/bwn/if_bwn_phy_common.c [new file with mode: 0644]
sys/dev/netif/bwn/bwn/if_bwn_phy_common.h [new file with mode: 0644]
sys/dev/netif/bwn/bwn/if_bwn_phy_g.c [new file with mode: 0644]
sys/dev/netif/bwn/bwn/if_bwn_phy_g.h [new file with mode: 0644]
sys/dev/netif/bwn/bwn/if_bwn_phy_lp.c [new file with mode: 0644]
sys/dev/netif/bwn/bwn/if_bwn_phy_lp.h [new file with mode: 0644]
sys/dev/netif/bwn/bwn/if_bwn_util.c [new file with mode: 0644]
sys/dev/netif/bwn/bwn/if_bwn_util.h [new file with mode: 0644]
sys/dev/netif/bwn/bwn/if_bwnreg.h
sys/dev/netif/bwn/bwn/if_bwnvar.h