git: bwn: Porting from FreeBSD
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Apr 5 10:45:53 PDT 2014
commit a0ab8429dd1cce13c0f31a0bf66620e34f83b8a7
Author: Imre Vadasz <imre at vdsz.com>
Date: Thu Mar 27 21:24:28 2014 +0100
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.
Summary of changes:
share/man/man4/Makefile | 2 +
share/man/man4/bwn.4 | 23 +-
share/man/man4/wlan.4 | 1 +
share/man/man4/wlan_amrr.4 | 1 +
sys/conf/files | 3 +
sys/conf/options | 8 +
sys/config/GENERIC | 2 +
sys/config/LINT | 6 +
sys/config/LINT64 | 6 +
sys/config/X86_64_GENERIC | 2 +
sys/dev/netif/Makefile | 2 +-
sys/{bus/u4b/misc => dev/netif/bwn}/Makefile | 2 +-
sys/dev/netif/bwn/bwn/Makefile | 6 +
sys/dev/netif/bwn/bwn/if_bwn.c | 603 +++++++++++----------------
sys/dev/netif/bwn/bwn/if_bwnreg.h | 15 +-
sys/dev/netif/bwn/bwn/if_bwnvar.h | 28 +-
sys/dev/netif/bwn/siba/Makefile | 6 +
sys/dev/netif/bwn/siba/siba_bwn.c | 65 +--
sys/dev/netif/bwn/siba/siba_core.c | 56 ++-
19 files changed, 371 insertions(+), 466 deletions(-)
copy sys/{bus/u4b/misc => dev/netif/bwn}/Makefile (60%)
create mode 100644 sys/dev/netif/bwn/bwn/Makefile
create mode 100644 sys/dev/netif/bwn/siba/Makefile
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a0ab8429dd1cce13c0f31a0bf66620e34f83b8a7
--
DragonFly BSD source repository
More information about the Commits
mailing list