]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add basic bwn(4) support for the (BCMA-based) BCM43224 and BCM43225.
authorlandonf <landonf@FreeBSD.org>
Thu, 14 Dec 2017 06:45:04 +0000 (06:45 +0000)
committerlandonf <landonf@FreeBSD.org>
Thu, 14 Dec 2017 06:45:04 +0000 (06:45 +0000)
commit888843e26a4e393f405c1c6cbdfc5b701670d363
tree4571d02054a725bda640d5db7bb2b721b798461d
parentea6981525cddaa37d64adf488828744fb50759a6
Add basic bwn(4) support for the (BCMA-based) BCM43224 and BCM43225.

- Add the BCM4322X D11 core revision and missing BCM43224 PCI device ID to
  our device tables.
- Disable the DMA engine parity check (rather than adding parity support
  to the to-be-replaced bwn(4) DMA implementation).

Currently, N-PHY support in bwn(4) is GPL licensed, and is not included by
default. Until this is replaced with Broadcom's ISC-licensed N-PHY
implementation, bwn(4) must be rebuilt to enable N-PHY support.

To build bwn(4) with N-PHY support, add the following lines to your kernel
configuration file and rebuild the kernel (and modules):

options BWN_GPL_PHY

To test bwn(4) with a BCM43224/BCM43225 device, install the firmware from
the net/bwn-firmware-kmod port, and place the following lines in
loader.conf(5):

hw.bwn_pci.preferred="1"

if_bwn_pci_load="YES
bwn_v4_ucode_load="YES"
bwn_v4_n_ucode_load="YES"
bwn_v4_lp_ucode_load="YES"

Approved by: adrian (mentor, implicit)
Sponsored by: The FreeBSD Foundation
sys/dev/bwn/if_bwn.c
sys/dev/bwn/if_bwn_bhnd.c
sys/dev/bwn/if_bwn_pci.c
sys/dev/bwn/if_bwnreg.h