From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Robin Getz <rgetz@blackfin.uclinux.org>
Cc: netdev@vger.kernel.org
Subject: Re: 802.1Q support?
Date: Mon, 12 Jan 2009 22:46:57 +0200 [thread overview]
Message-ID: <20090112204657.GP5688@mea-ext.zmailer.org> (raw)
In-Reply-To: <200901121148.26905.rgetz@blackfin.uclinux.org>
On Mon, Jan 12, 2009 at 11:48:26AM -0500, Robin Getz wrote:
> I'm trying to understand the "standard" way to control a switch which
> supports VLAN.
"Standard" way would be to telnet to it, and issue IOS commands..
(or any other variant of things.)
> Pick any one of:
>
> Infineon XWAY ADM6999 (eight-port 10/100 plus one MII)
> http://www.infineon.com/cms/en/product/channel.html?channel=ff80808112ab681d0112ab68ce8d0043
>
> Micrel MS8993M (2 port 10/100 plus one MII)
> http://www.micrel.com/_PDF/Ethernet/ks8993m_pb.pdf
>
> Broadcom BCM5325E (five port 10/100 plus one MII)
> http://www.broadcom.com/collateral/pb/5325E-PB00-R.pdf
>
> Realtek (five port 10/100 plus one MII)
> http://www1.futureelectronics.com/doc/REALTEK%20SEMICONDUCTOR/Realtek%20Semiconductor%20RTL8306SD-GR.pdf
>
> They all have multiple MAC/PHYs which are exposed to the wire, and a
> single MII interface - which normally connects directly to a SOC's MII/MAC.
>
> I would have thought that there would be separate drivers for these in the
> phylib, but I didn't find anything that looked like it would work.
> (or expose the right interface (all the vendor specific VLAN registers) so
> I can program them properly from userspace)...
>
> It is possible to hack up the specific EMAC driver to do everything, but
> that doesn't seem like the right way to do it...
In Linux Kernel there is VLAN support - but that happens well inside the
network stack, not at network card drivers.
Doing something similar to what vconfig tool does is definitely an option.
Doing it with vconfig ? Probably not. Layering problem, you see.
> Any pointers appreciated.
> Thanks.
/Matti Aarnio
next prev parent reply other threads:[~2009-01-12 20:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-12 16:48 802.1Q support? Robin Getz
2009-01-12 20:43 ` Florian Fainelli
2009-01-13 12:31 ` Robin Getz
2009-01-13 13:29 ` Florian Fainelli
2009-01-13 16:54 ` Robin Getz
2009-01-19 9:07 ` Lennert Buytenhek
2009-01-19 9:17 ` Lennert Buytenhek
2009-01-12 20:46 ` Matti Aarnio [this message]
2009-01-19 9:14 ` Lennert Buytenhek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090112204657.GP5688@mea-ext.zmailer.org \
--to=matti.aarnio@zmailer.org \
--cc=netdev@vger.kernel.org \
--cc=rgetz@blackfin.uclinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).