I've written a Sonics Silicon Backplane driver which is widely used for
Broadcom Wireless driver that bwi(4) can use this driver though it has
its own routines in it.
I don't have any knowledge to write a bus driver like this so I'm not
sure my approach is correct. Please review!
You can download a driver at:
http://people.freebsd.org/~weongyo/ssb_20091129.tar.gz
regards,
Weongyo Jeong
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"
Hi there Weongyo!
I´d like to know .. will it compile under 8.0-RELEASE or -STABLE?
Should I try your module instead of bwi(4)?
And just in case you find it usefull, in ssb_pci.c, {
PCI_VENDOR_BROADCOM, 0x4315, "Unknown" }, is actually a 'Broadcom
Wireless b/g (BCM4315/BCM22062000)'. I have one .. here you´ll find my
pciconf -lcvb usinf bwi(4) with parado´s firmware:
http://pastebin.com/f1f40900c
#bwi0@pci0:12:0:0: class=0x028000 card=0x000b1028
chip=0x431514e4 rev=0x01 hdr=0x00
# vendor = 'Broadcom Corporation'
# device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
# class = network
# cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0
# cap 09[58] = vendor (length 120)
# cap 05[e8] = MSI supports 1 message, 64 bit
# cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1)
bwi0: PHY: type 5, rev 1, ver 6
bwi0: RF: manu 0x17f, type 0x2062, rev 2
Hope that help :)
Best Regards
Gonzalo
Yes it should be.
> Should I try your module instead of bwi(4)?
No. ssb driver is a kind of bus driver that it's not a wireless driver
so can not use. But I'm working on new driver (aka bwn(4)) for
replacing bwi(4) that it uses v4 firmware (latest firmware) and supports
more H/Ws. It's almost done that it works to associate with AP and
pings for RX/TX but not public yet. When it's available let you know
for testing. :-)
>
> And just in case you find it usefull, in ssb_pci.c, {
> PCI_VENDOR_BROADCOM, 0x4315, "Unknown" }, is actually a 'Broadcom
> Wireless b/g (BCM4315/BCM22062000)'. I have one .. here you�ll find my
> pciconf -lcvb usinf bwi(4) with parado�s firmware:
> http://pastebin.com/f1f40900c
>
> #bwi0@pci0:12:0:0: class=0x028000 card=0x000b1028
> chip=0x431514e4 rev=0x01 hdr=0x00
> # vendor = 'Broadcom Corporation'
> # device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
> # class = network
> # cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0
> # cap 09[58] = vendor (length 120)
> # cap 05[e8] = MSI supports 1 message, 64 bit
> # cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1)
>
> bwi0: PHY: type 5, rev 1, ver 6
> bwi0: RF: manu 0x17f, type 0x2062, rev 2
>
> Hope that help :)
Thanks you for informations.
regards,
Weongyo Jeong
Good to know !
I´ll install FreeBSD 8.0 tomorrow and give your driver a go and as
soon as I have something, I´ll report back to you :)
>> Should I try your module instead of bwi(4)?
>
> No. ssb driver is a kind of bus driver that it's not a wireless driver
> so can not use. But I'm working on new driver (aka bwn(4)) for
> replacing bwi(4) that it uses v4 firmware (latest firmware) and supports
> more H/Ws. It's almost done that it works to associate with AP and
> pings for RX/TX but not public yet. When it's available let you know
> for testing. :-)
That´s even better than I expected because bwi(4) simply doesn´t
support my hardware!
So what shoudl I do?
Load it alonside bwi(4)?
Just load it and see what I get on /var/log/messages and dmesg and report back?
And since you are writing a new driver, can I help to make it work
with ACPI from the get go?
>>
>> And just in case you find it usefull, in ssb_pci.c, {
>> PCI_VENDOR_BROADCOM, 0x4315, "Unknown" }, is actually a 'Broadcom
>> Wireless b/g (BCM4315/BCM22062000)'. I have one .. here you´ll find my
>> pciconf -lcvb usinf bwi(4) with parado´s firmware:
>> http://pastebin.com/f1f40900c
>>
>> #bwi0@pci0:12:0:0: class=0x028000 card=0x000b1028
>> chip=0x431514e4 rev=0x01 hdr=0x00
>> # vendor = 'Broadcom Corporation'
>> # device = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
>> # class = network
>> # cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0
>> # cap 09[58] = vendor (length 120)
>> # cap 05[e8] = MSI supports 1 message, 64 bit
>> # cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1)
>>
>> bwi0: PHY: type 5, rev 1, ver 6
>> bwi0: RF: manu 0x17f, type 0x2062, rev 2
>>
>> Hope that help :)
>
> Thanks you for informations.
You are welcome !
I´ll be sending more info as I get my hands dirty with it :D
Best Regards
Gonzalo Nemmi
One more thing can we add BCM4315 to the list of known devices. Please
see the attached patch.
--
Aditya Sarawgi
Hi,
I have a 'Broadcom Wireless b/g (BCM4315/BCM22062000)' and I tested your
work. After loading the ssb kernel module, dmesg gives
ssb0: <Unknown> mem 0xf4000000-0xf4003fff irq 19 at device 0.0 on pci6
This card doesn't work with the bwi driver so I'm looking foward to test
your bwn driver.
--
Aditya Sarawgi
Please wait until I'm ready. It'd not take long time.
regards,
Weongyo Jeong
Applied in my local tree. Thanks you for reporting.