--- In John-Mark Gurney <> wrote:
>
> Hello, I ported FreeBSD to the TS-7200 about a year ago, and recently
> updated the port, but continue to have an issue w/ transmitting some
> frames...
>
> The boot dmesg:
> http://people.freebsd.org/~jmg/dmesg.ts7200
>
> I currently don't have a sepcial PHY driver for the PHY, do I need one?
No. All PHYs share the same first few registers. Micrel vendor
specific registers are nothing special. Linux doesn't even have PHY
drivers like *BSD (though I wish it did) and typically couples the PHY
logic straight to the MAC driver for every board that has an ep93xx.
If your driver can talk to a generic PHY, that should be good enough.
However, make sure you're talking to the PHY MDIO at a low clock rate
(~3Mhz)-- theres really no reason to speed that up much and the Micrel
has problems with high speed MDIO (~10Mhz)
> Those are two dns queries that for some reason have both the Loss of
> CRS and TX Underrun bits set... These packets never hit the wire, and
> I have similar issues w/ some ICMP packets...
One thing you should make sure is you're setting the full duplex bit
in the MAC if you get full duplex from the PHY autonegotiation.
Excessive collisions might also make an error like that happen though
I'm not 100% on that. There also is an errata on the ep93xx ethernet,
though I think that has to do with small frame reception and not TX.
Another thing is the MAC has to arbitrate for access to the ep93xx AHB
bus against USB, the CPU, and other peripherals so if that internal
bus is busy, it is feasible that a TX underrun could happen every now
and again though I hardly think it is a horrible failure worthy of the
users attention. If you're really worried about it, I'm pretty sure
theres a register in the ep93xx somewhere to increase the arbiter
priority of the MAC.
//Jesse Off
------------------------ Yahoo! Groups Sponsor --------------------~-->
You can search right from your browser? It's easy and it's free. See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|