Subject: Re: [network driver] if_start
To: Vikram <vikram@controlnet.co.in>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 06/20/2000 13:03:26
On Mon, Jun 19, 2000 at 05:26:07PM +0530, Vikram wrote:
> Hello NetBSD gurus!!,
>     As I am reading all the code related to network drivers I found that whenever if_flags field of (strict ifnet) is changed the if_start field is always reupdated.. why?Especially it is modified when IFF_OACTIVE 
>     May I know  when and why should anybody use this reupdation of the transmit routine?

I don't know, this seems specific to the if_de driver and I suspect it's
not needed.

>     ( I am using if_de.c as my reference driver code. )
>     Is there any other code also which I should refer along with if_de.c driver?

Any other network driver :) if_tl isn't a good example because it doesn't
use bus_dma yet but if_vr or if_rl can be good.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--