Am 18.01.19 um 10:59 schrieb Alexey Dokuchaev:
On Sun, Sep 03, 2017 at 10:06:49AM -0700, Adrian Chadd wrote:
hi!

It's coming! Landon is going to start on the SIBA bus code and will
start on the MAC core integration. I'll then do the PHY testing!
Hi Adrian,

Just discovered this thread (and PR 202501).  Any news about BCM43228
support in fresh -CURRENT?

./danfe

On 3 September 2017 at 09:56,  <jens.l...@gmx.de> wrote:
Is there a change to get the Broadcom Wireless BCM43228 card working? At the
BWNWiki the BCM4322 chip is supported. Look in then Linux b43 documentation
http://linuxwireless.sipsolutions.net/en/users/Drivers/b43/ the card has the
same PHY. So I have tried to build the Kernel with the BWN_GPL_PHY option
and add the device id 0x4359 to the siba_bwn.c File as ???Broadcom BCM43228
802.11a/b/g/n Wireless???. But as result I have got:

siba_bwn0: <Broadcom BCM43228 802.11a/b/g/n Wireless> mem
0xf0200000-0xf0203fff irq 17 at device 0.0 on pci2

siba_bwn0: unknown PCI did (17241)

siba_bwn0: unknown the chipset ID 0

siba_bwn0: unsupported coreid (unknown)

siba_bwn0: warn: bad SPROM CRC

siba_bwn0: unknown SPROM revision 0.

device_attach: siba_bwn0 attach returned 92

pci0:2:0:0: Device leaked memory resources

Is the code ready and I miss something or is the N(16) PHY still
unsupported? Thank you for some hints.

Hi,

here is my update. When use FreeBSD 12.0-STABLE #1 r342378M with "options BWN_GPL_PHY" in Kernel, I get:


bwn_pci0: <Broadcom BCM43228 802.11n Dual-Band Wireless> mem 0xf0200000-0xf0203fff irq 17 at device 0.0 on pci2
bhndb0: <PCI-BHND bridge> on bwn_pci0
bhndb0: Using MSI interrupts on bwn_pci0
bhnd0: <BCM43228 BCMA bus> on bhndb0
bhnd_chipc0: <Broadcom ChipCommon I/O Controller, rev 37> mem 0x18000000-0x18000fff,0x18100000-0x18100fff irq 0 at core 0 on bhnd0
bhnd_nvram0: <SPROM/OTP> mem 0x18000800-0x18000bff on bhnd_chipc0
bhnd_pmu0: <Broadcom ChipCommon PMU, rev 10> on bhnd_chipc0
gpio0: <Broadcom ChipCommon GPIO> mem 0x18000000-0x18000fff on bhnd_chipc0
bhnd_hostb0: <Broadcom PCIe-G1 Host-PCI bridge, rev 18> mem 0x18002000-0x18002fff,0x8000000-0xfffffff,0x8000000000000000-0xffffffffffffffff,0x18102000-0x18102fff,0x18104000-0x18104fff irq 2 at core 2 on bhnd0 bhnd0: <Broadcom SDIO Device Core, rev 7> mem 0x18003000-0x18003fff,0x18103000-0x18103fff irq 2 at core 3 (no driver attached) bhnd0: <Broadcom 802.11 MAC/PHY/Radio, rev 30> mem 0x18001000-0x18001fff,0x18101000-0x18101fff irq 1 at core 1 (no driver attached)


when add the chip ID to bhnd_ids.h (as below) and load the if_bwn kernel module.


#define      PCI_DEVID_BCM43228_D11N         0x4359  /* 43228 802.11n DualBand device */

The card ID 0x0607 is still in bhnd_ids.h, see pciconf output of the Card.


bwn_pci0@pci0:2:0:0:    class=0x028000 card=0x060714e4 chip=0x435914e4 rev=0x00 hdr=0x00
    vendor     = 'Broadcom Inc. and subsidiaries'
    device     = 'BCM43228 802.11a/b/g/n'
    class      = network
    bar   [10] = type Memory, range 64, base 0xf0200000, size 16384, enabled
    cap 01[40] = powerspec 3  supports D0 D1 D2 D3  current D0
    cap 09[58] = vendor (length 120)
    cap 05[48] = MSI supports 1 message, 64 bit
    cap 10[d0] = PCI-Express 1 endpoint max data 128(128)
                 link x1(x1) speed 2.5(2.5) ASPM L1(L1)
    ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected
    ecap 0002[13c] = VC 1 max VC0
    ecap 0003[160] = Serial 1 00009dfffff32068
    ecap 0004[16c] = Power Budgeting 1

But no drivers were attached to core 1 and 7,  may I need the SDIO driver?

_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to