Hi,
I have a little problem with the new networking code in kernel 2.4 . In
the 2.2 kernels was the dev->tbusy variable to make sure that
the dev->hard_start_xmit funktion is not called next before the old
packet is completly sent out. My problem is that I wanna write a driver
for a Siemens or better now an Infinion chip called ESCC2, it's for sync
serial communication, it have a 32 byte deep FIFO what actually problem
is. Because I get a packet from the upper layer and which is normally
bigger than 32 byte, I write the first 32 byte out to the chip and then
I have to wait for an interrupt that the FIFO is ready again. The spot
of my problem is how can I make sure that dev->hard_start_xmit
funktion is not called again form the kernel until the whole buffer is
sent out.
Thanks in advance
Bernhard Jansen
P.S. if you need the whole source code or more information, let me know.
|