Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2008 14:46:05 -0700
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Coleman Kane <cokane@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: ndis(4) patch to replace obsolete if_watchdog interface
Message-ID:  <20080529214604.GA68753@citylink.fud.org.nz>
In-Reply-To: <1212093692.1681.8.camel@localhost>
References:  <1212093692.1681.8.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 29, 2008 at 04:41:32PM -0400, Coleman Kane wrote:
> Hi,
> 
> I just replaced the obsoleted if_watchdog interface in ndis(4) with a
> local implementation. This should remove the obnoxious warning message
> on device init. Anyone using -CURRENT with an ndis card, could you send
> me success/fails?
> 
> The patch is here:
>   * http://people.freebsd.org/~cokane/patches/if_ndis-new_wd.patch


This works different to the rest of the network drivers. The existing
drivers use a callout tick that runs while the driver is up and an
integer counter.

 if (x && --x == 0)
	 ...timeout...

You arm the callout and stop it after each Tx, does this have any
perfornace impact?


Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080529214604.GA68753>