Ethernet driver (MAC connected to switch instead of PHY)

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 [at] 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
Rajat Jain [ Mo, 30 Juni 2008 14:58 ] [ ID #1958490 ]

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

>
> 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 [at] 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
Washington Ratso [ Sa, 08 Oktober 2011 02:21 ] [ ID #2065400 ]
Linux » gmane.linux.newbie » Ethernet driver (MAC connected to switch instead of PHY)

Vorheriges Thema: Building kernel 3.0.0-rc4 - kernel hangs on booting.
Nächstes Thema: Linux-net mail list