[vortex] newbie q. about 3c59x.c (16Aug2000 version)

Asgharifard Massoud masu_a@yahoo.com
Mon, 2 Oct 2000 00:44:56 -0700 (PDT)


Hi, 

I was studying the 3c59x.c (whose version string is 
static char version[] =
"3c59x.c 16Aug00 Donald Becker and others
http://www.scyld.com/network/vortex.html\n";) 

I have a few questions, and would be very grateful if
someone kindly answers them.

1- At boomerang_rx(), when driver refills the
rx_ring[]
why sends a UpUnStall at the end of EACH skb
allocation? Isn't it a Better idea (tm?) to send the
UpUnStall to NIC after all skb's has been allocated?

2- At the end of boomerang_interrupt(), when driver
wants to acknowledge the interrupts (and after line 
outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); )

why the driver doesn't wait a little to let the driver
get this and set the InterruptLatch to zero?

thanks in advance, 

M. A. Sharabiani











__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/