Thread (2 messages) flat view 2 messages, 2 authors, 2002-05-02

Re: Linux on 440GP Networking issues

From: Todd Poynor <hidden>
Date: 2002-05-01 19:23:23

quoted
Yep, the kernel tries to setup the second controller. But there is someting
very strange. Eventhough there is no network cable connected to the second
ethernet port , the OCP ENET driver says that it is 10Mbps, Link up and half
duplex.
The above is the default provided when autonegotiation doesn't turn up
anything useful, at least for the AMD Am79C875* PHYs (see ibm_ocp_phy.c:
mii_parse_Am79C875_pcr), which probably isn't the way to go.  And
handling of the "no link" case does seem to need some work.

Could verify whether the lockup is related to configuring 2 EMACs by a
hack to ppc405_enet_open to return -ENODEV if fep->emac_num > 0.  If
that boots fine then see if ppc405_eth_mal_dump shows registers such as
EMAC0's TXCTP0R or RXCTP0R changing values after EMAC1 is configured.
If so, that FIXME in the ppc405_enet_open code probably needs revisiting.


--
Todd


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help