netdev
[Top] [All Lists]

Re: The networking code in Kernel 2.4

To: Bernhard Jansen <bjansen@xxxxxx>
Subject: Re: The networking code in Kernel 2.4
From: Andi Kleen <ak@xxxxxx>
Date: Thu, 11 Jan 2001 13:37:03 +0100
Cc: netdev@xxxxxxxxxxx, alan@xxxxxxxxxx
In-reply-to: <3A5A0264.457F967D@tdt.de>; from bjansen@tdt.de on Tue, Jan 09, 2001 at 04:30:02PM +0100
References: <3A5A0264.457F967D@tdt.de>
Sender: owner-netdev@xxxxxxxxxxx
On Tue, Jan 09, 2001 at 04:30:02PM +0100, Bernhard Jansen wrote:
> 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.

Read http://www.firstfloor.org/~andi/softnet


-Andi

-- 
This is like TV. I don't like TV.

<Prev in Thread] Current Thread [Next in Thread>