* ibm_ocp_enet.c - PHY implementation requirements?
@ 2002-05-07 14:15 Allen Curtis
2002-05-07 15:49 ` Armin
0 siblings, 1 reply; 4+ messages in thread
From: Allen Curtis @ 2002-05-07 14:15 UTC (permalink / raw)
To: linuxppc-embedded
We have an 405GP design, very similar to the Walnut LSP. One of the major
differences is that we have a BroadCom 9-port switch instead of a dedicated
PHY for Ethernet. Supporting the switch is much easier than a dedicated PHY
because you can always assume: 100Mb, Full-Duplex and you do not have to
handle disconnect and mode change interrupts. The problem is that the OCP
Ethernet implementation has become much more complex and it is not obvious
what must be supported when adding a new interface and what could be a stub.
(and its expected result)
Another issue is that the switch supports both the MII and SPI interfaces.
These are mutually exclusive, determined by first access to the device. Our
design requires the use of the SPI interface. All currently supported PHY
are MII, which is expected. Do you forsee any problems using SPI within
ibm_ocp_phy.c?
TIA
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* ibm_ocp_enet.c - PHY implementation requirements?
@ 2002-05-07 14:16 Allen Curtis
0 siblings, 0 replies; 4+ messages in thread
From: Allen Curtis @ 2002-05-07 14:16 UTC (permalink / raw)
To: linuxppc-dev
We have an 405GP design, very similar to the Walnut LSP. One of the major
differences is that we have a BroadCom 9-port switch instead of a dedicated
PHY for Ethernet. Supporting the switch is much easier than a dedicated PHY
because you can always assume: 100Mb, Full-Duplex and you do not have to
handle disconnect and mode change interrupts. The problem is that the OCP
Ethernet implementation has become much more complex and it is not obvious
what must be supported when adding a new interface and what could be a stub.
(and its expected result)
Another issue is that the switch supports both the MII and SPI interfaces.
These are mutually exclusive, determined by first access to the device. Our
design requires the use of the SPI interface. All currently supported PHY
are MII, which is expected. Do you forsee any problems using SPI within
ibm_ocp_phy.c?
TIA
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ibm_ocp_enet.c - PHY implementation requirements?
2002-05-07 14:15 ibm_ocp_enet.c - PHY implementation requirements? Allen Curtis
@ 2002-05-07 15:49 ` Armin
2002-05-08 5:03 ` Allen Curtis
0 siblings, 1 reply; 4+ messages in thread
From: Armin @ 2002-05-07 15:49 UTC (permalink / raw)
To: acurtis; +Cc: linuxppc-embedded
Allen Curtis wrote:
> We have an 405GP design, very similar to the Walnut LSP. One of the major
> differences is that we have a BroadCom 9-port switch instead of a dedicated
> PHY for Ethernet. Supporting the switch is much easier than a dedicated PHY
> because you can always assume: 100Mb, Full-Duplex and you do not have to
> handle disconnect and mode change interrupts. The problem is that the OCP
> Ethernet implementation has become much more complex and it is not obvious
> what must be supported when adding a new interface and what could be a stub.
> (and its expected result)
>
> Another issue is that the switch supports both the MII and SPI interfaces.
> These are mutually exclusive, determined by first access to the device. Our
> design requires the use of the SPI interface. All currently supported PHY
> are MII, which is expected. Do you forsee any problems using SPI within
> ibm_ocp_phy.c?
>
> TIA
There are a few stubs for the zmii bridge
The MII functions can most likly be placed into it's own file and you
might want to think about creating a spi.c file for its implimentation.
This would allow us to have them be complied in depending on what mode
is configured. The questions is can we come up with a common api to mii
& spi?
armin
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: ibm_ocp_enet.c - PHY implementation requirements?
2002-05-07 15:49 ` Armin
@ 2002-05-08 5:03 ` Allen Curtis
0 siblings, 0 replies; 4+ messages in thread
From: Allen Curtis @ 2002-05-08 5:03 UTC (permalink / raw)
To: Armin; +Cc: linuxppc-embedded
> There are a few stubs for the zmii bridge
I guess I am confused about how to create stubs. I looked at the code and it
appears that it wants to schedule mii functions to be completed for config,
ack, shutdown, ... I didn't see anything in the list processing that would
avoid the queue process. For instance, if you wanted to just initialize the
phy_status field from the config(), how could you do this without having it
go into the mii_queue processor? (setup for 100Mb, Full-Duplex)
> The MII functions can most likely be placed into it's own file and you
> might want to think about creating a spi.c file for its implementation.
I totally agree.
> This would allow us to have them be complied in depending on what mode
> is configured. The questions is can we come up with a common api to mii
> & spi?
The phy_info structure looks general enough. It is the function list
processing that concerns me. I will think about it tomorrow when the brain
is a little clearer. (and I have to come up with a viable solution)
THX
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-05-08 5:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-07 14:15 ibm_ocp_enet.c - PHY implementation requirements? Allen Curtis
2002-05-07 15:49 ` Armin
2002-05-08 5:03 ` Allen Curtis
-- strict thread matches above, loose matches on Subject: below --
2002-05-07 14:16 Allen Curtis
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).