Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2011 11:35:02 +1000
From:      richo <richo@psych0tik.net>
To:        freebsd-wireless@freebsd.org
Subject:   Re: BCM4313 support
Message-ID:  <20110819013501.GA29282@richh-desktop.boxdice.com.au>
In-Reply-To: <4E4D50AF.6070908@shadowsun.net>
References:  <CAD%2BDecweP-csPCnGG0sTHBHAcZhYy4ivtfOXtdSZo8BfAAJLtw@mail.gmail.com> <CAJ-Vmombsf8DBpDGkoc1o=F4n2aU6T7AiJ6DTqw0CazfrB1nrA@mail.gmail.com> <4E4C0DC9.8070808@shadowsun.net> <CAJ-Vmokunf5=UmoXYiWjin9kOsS2rciip3gwLYzgDdzJxWcy7Q@mail.gmail.com> <4E4D50AF.6070908@shadowsun.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 18/08/11 13:49 -0400, Eric McCorkle wrote:
>On 8/17/11 7:12 PM, Adrian Chadd wrote:
>>On 18 August 2011 02:51, Eric McCorkle<eric@shadowsun.net>  wrote:
>>
>>>
>>>I have been working on porting the BroadCom linux driver.  I don't have much
>>>time to work on it, though, and it's a rather daunting task.
>>
>>Cool! Is there anything we can do to help?
>>
>
>Well, my objective is a working BCM 4322 (the card on macbooks) 
>driver.  Someone who better understands linux drivers could take a 
>look at the wrapper code for the linux driver, and might be able to 
>port it.
>
>More info: The broadcom linux driver consists of a closed-source 
>object file, compiled with standard linux kernel calling conventions, 
>and a bunch of linux wrapper code.  It appears that the Broadcom 
>engineers did a relatively good job; the object file makes calls to 
>the kernel via an osl (presumably OS layer) interface, which seems 
>pretty generic.  One of the headers appears to define the linux 
>instance of this layer, but it would seem others exist (probably for 
>windows, for instance).  The rest of the code is simply linux driver 
>stuff that sets up interfaces, etc.
>
>The closed source .o file itself isn't stripped at all, and between 
>the known compiler flags and the headers that give types for 
>everything, there's enough information for complete 
>reverse-compilation.  I've been working on this myself, but I have 
>very limited time to devote to it.

Is what you have so far available anywhere?

I've been putting off learning more about drivers for some time, and have a
macbook 3,1 that I want to install FreeBSD on. I can probably kill two birds
with one stone.

I also have some older hardware with a broadcom nic of some kind (uses the
b43 driver on linux) that I can fiddle with.

Cheers

richo

-- 
richo || Today's excuse: 

We've picked COBOL as the language of choice.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJOTb3FAAoJEIKiWz6J5yQVGrIIAMIdQ9E+sYo0/TEY3eDDA+fo
45wa9WwWg+KOgEg3xqQkMUES2xzNdqJ2U2CMetJLBqgaIC58NvEUork6/j967aQO
5wCrc73fB6KcwQERAGTA/YidkqOoIALq4zKCWaGZj535kCbQbcZMHxfx0ovjh4GM
rcidmQRm35ydsKyGVZs0x2vsGm57njhNFq0TeT2jY0vZopuWOlHJQOzzStm1kavA
4qUaZkKg/K4j//R7i6AqMe8U0wn8ExRuvHOocijYLuw1CPh+zs/jxw9kqeaCSdMW
nykoGuKb3qyyl4YVsd77fGJvBmifQjYckKtW/PspQYvdMQj1v0pW0fsmpYKHF2Y=
=W+qA
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110819013501.GA29282>