Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Oct 2011 17:24:39 +0800
From:      dave jones <s.dave.jones@gmail.com>
To:        Aleksandr Rybalko <ray@dlink.ua>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Question about GPIO bitbang MII
Message-ID:  <CANf5e8Z5QQNdyRqLdrZfsJr5AH=CK0fhbPa1oRgZRk6UN1ouBg@mail.gmail.com>
In-Reply-To: <20111007110028.bae63f84.ray@dlink.ua>
References:  <CANf5e8bcAfrXX%2BuqzVRoZJPmsvyPegx%2BFOYHSt-GHwEigUCoeg@mail.gmail.com> <20111007110028.bae63f84.ray@dlink.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 7, 2011 at 4:00 PM, Aleksandr Rybalko wrote:
> On Fri, 7 Oct 2011 10:34:58 +0800
> dave jones <s.dave.jones@gmail.com> 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.
>>>
>>> Best regards,
>>> Dave.
>
> Hi Dave,

Hi, Alex,

> you can try my script for now :) (Attached as text)
> then we will do something with that problem.
> I'm not sure that script works fine, because i was use it for detect is
> attached device MDIO controlled or I2C.
>
> BTW, which device use MDIO attached to GPIO?

Thanks for the script. Mine is pxa255 with SMSC LAN91C110.
Since I have trouble mounting filesystem via NFS, I can't run your script.

> And this is PHY or switch, if second take a look on
> http://zrouter.org/hg/FreeBSD/head/file/03dd18c85162/head/sys/dev/switch

This is PHY.

> WBW
> --
> Alexandr Rybalko <ray@dlink.ua>
> aka Alex RAY <ray@ddteam.net>

Best regards,
Dave.



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