Thread (1 message) 1 message, 1 author, 2003-07-09

Re: Ethernet PHY chip discovery not working on 855T with 971/972 chips

From: Wolfgang Denk <hidden>
Date: 2003-07-09 21:21:40

In message [ref] you wrote:
I think the search should be made smarter (especially, keep going to
the next address until it has gone through ALL address w/o finding a
valid ID).  The kernel could still panic if it can't find any PHY chip,
but not the first time it reads the floating line and can't find the
answer in its table.  The odds of reading a valid PHY ID from the
floating line is phenominally low.  I'd submit a proposed patch for
this, but it doesn't sound like anyone else thinks this is important
enough to warrant a change.
I agree that it makes little sense for th kernel to panic if it finds
an unsupported PHY id.
the automatic PHY search will work.  Unless the pullup is required for
non-search applications (which I assert it isn't), then I think the code
should be fixed, not the hardware.
We changed this in our kernel tree some time ago. If no valid PHY  is
found  we simply do not enable the interface, but we do not panic any
more.


Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"A witty saying proves nothing."                           - Voltaire

** 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