[PATCH] SDIO support for Globalscale Dreamplug

Warner Losh imp at bsdimp.com
Thu Aug 22 07:12:54 UTC 2013


On Aug 22, 2013, at 12:18 AM, Ilya Bakulin wrote:

> Hi Adrian,
> 
> On 21.08.13 23:37, Adrian Chadd wrote:
>> Hi!
>> 
>> The marvell wifi stuff isn't ARM specific, right? So it should live in
>> dev/ rather than arm/
> 
> Furthermore, it's only partly SDIO-specific. The same driver should work
> for USB- and PCIe-based versions of Marvell Avastar 88W8787 and 88W8797.
> The Linux driver is split into several files, by the way, for PCIe, USB
> and SDIO, then for station and AP mode.

We don't have any drivers in the tree that are this bus agnostic. Would be cool to grow some :)

> I think the best way to organize the code is to split it in layers, like
> it is for ath.
> I didn't know that the code is going to be universal when I started to
> code the driver,
> so that's why if is in sys/arm/mv.

Makes sense.

> The code in Linux driver is clean and understandable, although I would
> prefer to get the documentation for the chipset and not use Linux as the
> single source of information.
> What's with the licensing in this case by the way?

Copying ideas and facts: no problem.
Copying code: you must adhere to the license if you copied enough to be covered under copyright law....  It's complicated and best avoided.



More information about the freebsd-arm mailing list