Question about GPIO bitbang MII

dave jones s.dave.jones at gmail.com
Mon Oct 10 07:56:33 UTC 2011


On Mon, Oct 10, 2011 at 12:58 AM, Marius Strobl  wrote:
> On Fri, Oct 07, 2011 at 10:34:58AM +0800, dave jones wrote:
>> Hi,
>>
>> Does FreeBSD have gpio bitbang api for MII? If not, any driver in tree using
>> gpio-bitbang mii that I can refer to? Thanks.
>> It seems like OpenBSD, NetBSD and Linux have added support to gpio bitbang mii,
>> and it's useful for porting embedded devices.
>>
>
> If what you are referring to is their mii_bitbang.[c,h] then I've a patch
> which (im)ports these and converts drivers to take advantage of it here:
> http://people.freebsd.org/~marius/mii_bitbang.diff
> You can also hook up that generic MII bitbang'ing code up to GPIO.

Awesome! This is what I want, thank you very much, Marius.

> Marius

Best regards,
Dave.


More information about the freebsd-net mailing list