bwn: Porting from FreeBSD
authorImre Vadasz <imre@vdsz.com>
Thu, 27 Mar 2014 20:24:28 +0000 (21:24 +0100)
committerSascha Wildner <saw@online.de>
Sat, 5 Apr 2014 17:38:36 +0000 (19:38 +0200)
commita0ab8429dd1cce13c0f31a0bf66620e34f83b8a7
treeaa9033df8370ef5c4d3e860c6e7e940229f537e6
parentcab56acedd33a5caa88e4a9de2e685a24c8beabf
bwn: Porting from FreeBSD

* Adding bwn and siba_bwn to sys/conf/files and to the X86_64_GENERIC kernel
  configuration.

* Replacing BWN_LOCK, BWN_UNLOCK, BWN_ASSERT_SERIALIZED with
  wlan_global_serializer.

* Increasing some alignments from 4K to 8K and some from 1 byte to 4 bytes.

* Changing slot counts for RX and TX from 64 to 256, which is the same size
  as used by b43 in Linux.

* Allow overriding the BWN_TXRING_SLOTS and BWN_RXRING_SLOTS values in the
  kernel configuration.

* Some style fixes. Removing unneeded NULL checks.

* Replace a DELAY(50000) with tsleep.

* Can't use kmalloc to allocate memory for dma like in FreeBSD and Linux.

* A few typo and grammar fixes in the bwn.4 manpage.
19 files changed:
share/man/man4/Makefile
share/man/man4/bwn.4
share/man/man4/wlan.4
share/man/man4/wlan_amrr.4
sys/conf/files
sys/conf/options
sys/config/GENERIC
sys/config/LINT
sys/config/LINT64
sys/config/X86_64_GENERIC
sys/dev/netif/Makefile
sys/dev/netif/bwn/Makefile [new file with mode: 0644]
sys/dev/netif/bwn/bwn/Makefile [new file with mode: 0644]
sys/dev/netif/bwn/bwn/if_bwn.c
sys/dev/netif/bwn/bwn/if_bwnreg.h
sys/dev/netif/bwn/bwn/if_bwnvar.h
sys/dev/netif/bwn/siba/Makefile [new file with mode: 0644]
sys/dev/netif/bwn/siba/siba_bwn.c
sys/dev/netif/bwn/siba/siba_core.c