cvs commit: src/sys/compat/ndis kern_ndis.c ndis_var.h subr_ndis.c

Brian F. Feldman green at FreeBSD.org
Thu Dec 25 15:14:03 PST 2003


Bill Paul <wpaul at FreeBSD.org> wrote:
> wpaul       2003/12/25 13:34:16 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/compat/ndis      kern_ndis.c ndis_var.h subr_ndis.c 
>   Log:
>   Give the timer API one last overhaul: this time, use the new callout
>   API instead of the old timeout/untimeout mechanism.


This may be a bug in ndis_create_timer():

	timer->nmt_ktimer.nk_header.dh_sigstate = TRUE;

But even with FALSE, I'm getting an ndis_cancel_timer() for a timer that has 
not been set, just created.  I guess that we DTRT as much as can be expected 
right now, though, since redundant cancels aren't harmful anymore.

ndis0: <ORiNOCO 802.11abg ComboCard Gold> mem 0xf0110000-0xf011ffff irq 9 at device 0.0 on cardbus0
ndis0: failed to enable port mapping!
ndis0: failed to enable port mapping!
can't re-use a leaf (sleepMode)!
can't re-use a leaf (shortPreamble)!
can't re-use a leaf (radioEnable)!
can't re-use a leaf (BusType)!
ndis_open_file("regAdd.txt", 18446744073709551615)
ndis: ndis_create_timer ndis_miniport_timer == 0xc2f31080
ndis: ndis_create_timer ndis_miniport_timer == 0xc2f31480
ndis: ndis_create_timer ndis_miniport_timer == 0xc2f1e200
ndis: ndis_create_timer ndis_miniport_timer == 0xc2eef500
ndis: ndis_create_timer ndis_miniport_timer == 0xc2f1e880
ndis: ndis_create_timer ndis_miniport_timer == 0xc2f1e980
ndis: ndis_set_periodic_timer ndis_miniport_timer == 0xc2f31480
ndis: ndis_set_periodic_timer ndis_miniport_timer == 0xc2f1e980
ndis: ndis_cancel_timer ndis_miniport_timer == 0xc2f1e880
ndis: ndis_cancel_timer ndis_miniport_timer == 0xc2f1e880
ndis: ndis_set_timer ndis_miniport_timer == 0xc2f31080
ndis0: 802.11 address: 00:20:a6:4d:09:9a


-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\




More information about the cvs-src mailing list