Re: Embedded switch instead of stadard PHY

2011-05-11 Thread Adrian Chadd
What I'm trying to figure out (and gave up because I have other things to do :-) is whether it's feasible to stick a device on the MII bus but not have it actually be a PHY. Adrian ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/m

Re: Embedded switch instead of stadard PHY

2011-05-11 Thread Rafal Jaworowski
On 2011-05-08, at 11:36, Damjan Marion wrote: > > On May 8, 2011, at 9:58 AM, Adrian Chadd wrote: > >> On 8 May 2011 01:22, Damjan Marion wrote: >> >>> I would like to implement support for embedded switch on WRT350Nv2 router >>> which is based on 88F5181L SoC (ARM). FreeBSD already have sup

Re: Embedded switch instead of stadard PHY

2011-05-10 Thread Adrian Chadd
On 11 May 2011 01:01, Warner Losh wrote: > Most switches are on the PHY bus, so you can program their registers.  Many > are on the PHY bus multiple times.  Once for the real(ish) PHY they provide > and once for the switch registers they expose (for some, "twice" means up to > 4 times).  Some

Re: Embedded switch instead of stadard PHY

2011-05-10 Thread Warner Losh
On May 8, 2011, at 7:52 AM, Damjan Marion wrote > On May 8, 2011, at 3:16 PM, Marius Strobl wrote: >> On Sat, May 07, 2011 at 07:22:23PM +0200, Damjan Marion wrote: > Yes, my initial idea is to attach manually only to one PHY, but problem > is that either i can attach to PHY12-15 which is reporti

Re: Embedded switch instead of stadard PHY

2011-05-10 Thread Warner Losh
On May 9, 2011, at 12:30 AM, Adrian Chadd wrote: > On 8 May 2011 21:16, Marius Strobl wrote: > > [snip] > >> Depends on what you understand by properly. One idea I particularly >> like is to handle switch ports as pseudo-interfaces hanging off of the >> the MAC driver parent roughly similar to

Re: Embedded switch instead of stadard PHY

2011-05-08 Thread Adrian Chadd
On 8 May 2011 21:16, Marius Strobl wrote: [snip] > Depends on what you understand by properly. One idea I particularly > like is to handle switch ports as pseudo-interfaces hanging off of the > the MAC driver parent roughly similar to vlan(4). That way you'd have > per port link status and could

Re: Embedded switch instead of stadard PHY

2011-05-08 Thread Marius Strobl
On Sun, May 08, 2011 at 03:52:29PM +0200, Damjan Marion wrote: > > On May 8, 2011, at 3:16 PM, Marius Strobl wrote: > > > On Sat, May 07, 2011 at 07:22:23PM +0200, Damjan Marion wrote: > >> > >> Hi, > >> > >> > >> I would like to implement support for embedded switch on WRT350Nv2 router > >>

Re: Embedded switch instead of stadard PHY

2011-05-08 Thread Damjan Marion
On May 8, 2011, at 3:16 PM, Marius Strobl wrote: > On Sat, May 07, 2011 at 07:22:23PM +0200, Damjan Marion wrote: >> >> Hi, >> >> >> I would like to implement support for embedded switch on WRT350Nv2 router >> which is based on 88F5181L SoC (ARM). FreeBSD already have support for >> embedded

Re: Embedded switch instead of stadard PHY

2011-05-08 Thread Marius Strobl
On Sat, May 07, 2011 at 07:22:23PM +0200, Damjan Marion wrote: > > Hi, > > > I would like to implement support for embedded switch on WRT350Nv2 router > which is based on 88F5181L SoC (ARM). FreeBSD already have support for > embedded gigabit card (if_mge) but in case if this router MAC is con

Re: Embedded switch instead of stadard PHY

2011-05-08 Thread Damjan Marion
On May 8, 2011, at 9:58 AM, Adrian Chadd wrote: > On 8 May 2011 01:22, Damjan Marion wrote: > >> I would like to implement support for embedded switch on WRT350Nv2 router >> which is based on 88F5181L SoC (ARM). FreeBSD already have support for >> embedded gigabit card (if_mge) but in case if

Re: Embedded switch instead of stadard PHY

2011-05-08 Thread Adrian Chadd
On 8 May 2011 01:22, Damjan Marion wrote: > I would like to implement support for embedded switch on WRT350Nv2 router > which is based on 88F5181L SoC (ARM). FreeBSD already have support for > embedded gigabit card (if_mge) but in case if this router MAC is connected > directly to 8-port ether