Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2011 17:17:49 +0100
From:      Marius Strobl <marius@alchemy.franken.de>
To:        dave jones <s.dave.jones@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Question about GPIO bitbang MII
Message-ID:  <20111101161749.GA38912@alchemy.franken.de>
In-Reply-To: <CANf5e8YhZRRncpyq6473X54RSq7zc5Mj5=ygAyB4XUE9iNSC1w@mail.gmail.com>
References:  <CANf5e8bcAfrXX%2BuqzVRoZJPmsvyPegx%2BFOYHSt-GHwEigUCoeg@mail.gmail.com> <20111009165838.GA19886@alchemy.franken.de> <CANf5e8YhZRRncpyq6473X54RSq7zc5Mj5=ygAyB4XUE9iNSC1w@mail.gmail.com>

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

On Mon, Oct 10, 2011 at 03:56:32PM +0800, dave jones wrote:
> 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.
> 

FYI, I've committed the patch to head in r226995. I'll probably try to get
it into 9.0 due to the bus barrier additions done as part of it.

Marius



home | help

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