[Etherboot-developers] Re: Re: Etherboot has eepro100.c for 82559....?
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: atul s. <atu...@re...> - 2002-08-29 14:11:56
|
Hello all,
I queried my question regarding ethrboot 82557 driver
and 82559 cards on eepro mailing list as well..
i gotone reply which i am pasting below would be helpful and
guiding for others in similar confusion.
though all my problems are not solved but i am quite ahead .
now my problem is in timeout and currticks() functions in
main.c which is leading me in a infinite loop in
await_reply()..probably i have to port them appropiately on mips
idt.
if anybody has any input on these pls. advise me..
below is the 82559 and 82559er related stuffs.
********************************************************
On 28 Aug 2002, atul srivastava wrote:
> this driver is written for 82557 but i am using
82559
> card .
> my question is that can a 82557 driver
aplicable to both 82559 and
> 82559ER ?
For the most part, yes. The '559 and '559ER
were designed to be fully
backwards compatible, with new features. But,
as is typical with such
things, they do their own set of bugs.
> also my card reports status 0090 before and
after Transmit command
> that as per manual indicates no resources,
There are various bugs that trigger a "no
resources" report. In this
case my guess is that you have encountered the
timing bug when loading
the SCBPointer, RxAddrLoad or CUCmdBase.
These operations used to be
effectively instantaneous (less than a PCI bus
transaction). But a
firmware change in a later chip caused them to
take an unpredictable (or
just undocumented) amount of time.
outl(0, ioaddr + SCBPointer);
inl(ioaddr + SCBPointer); /* Flush
to
PCI. */
udelay(10); /* Bogus, but it
avoids
the bug. */
/* Note: these next two operations can take a
while. */
do_slow_command(dev, RxAddrLoad);
do_slow_command(dev, CUCmdBase);
********************************************************
__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com. Sign up for Rediffmail Pro today!
Know more. http://www.rediffmailpro.com/signup/
|