Ethernet driver (MAC connected to switch instead of PHY)

Ethernet driver (MAC connected to switch instead of PHY)

am 30.06.2008 14:58:49 von Rajat Jain

Hi,

Perhaps not a relevant question on this list, but still trying before
posting on linux-net:

I'm doing a network driver for the MPC8313E-rdb board, which has 2
ethernet MACs. I'm successfully able to bring up the second MAC that is
connected to a Marvell PHY (and hence has a given phy address). So far
so good, but here is the problem:

As per the board documents, the first MAC is connected to an L2 switch
(Vitesse VSC7385) which is a 5 port switch (and the board actually has 5
RJ-45 ports on it). There are no phy addresses provided in the board
document for this, and as per the diagram, there is no MDC / MDIO signal
between the MAC & the Switch. So my questions:

1) In my case where MAC is connected to a 5 port switch instead of a
PHY. Is this functionally equivalent to MAC being connected to 5 PHYs?

2) Can I use the kernel generic MII routines to init / manage the
switch?

Thanks,

Rajat
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: Ethernet driver (MAC connected to switch instead of PHY)

am 08.10.2011 02:21:35 von Washington Ratso

>
> As per the board documents, the first MAC is connected to an L2 switch
> (Vitesse VSC7385) which is a 5 port switch (and the board actually has 5
> RJ-45 ports on it). There are no phy addresses provided in the board
> document for this, and as per the diagram, there is no MDC / MDIO signal
> between the MAC & the Switch. So my questions:
>




I am also looking for the phy addresses of the VSC7385. Does anyone know where
they are documented? I am waiting to hear from Vitesse but thought I'd ask in
case someone knows.




--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs