Date: Thu, 24 Feb 2005 22:54:15 +0000 (UTC) From: Bill Paul <wpaul@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndis_usb.c Message-ID: <200502242254.j1OMsFl3098794@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 2005-02-24 22:54:15 UTC
FreeBSD src repository
Modified files:
sys/dev/if_ndis if_ndis.c if_ndis_usb.c
Log:
Apparently, the probe routine in if_ndis_usb.c can be called twice
for a given device in some circumstances, so move the PDO creation
to the attach routine so we don't end up creating two PDOs.
Also, when we skip the call to ndis_convert_res() in if_ndis.c:ndis_attach(),
initialize sc->ndis_block->nmb_rlist to NULL. We don't explicitly zero
the miniport block, so this will make sure ndis_unload_driver() does
the right thing.
Revision Changes Path
1.81 +2 -0 src/sys/dev/if_ndis/if_ndis.c
1.2 +7 -9 src/sys/dev/if_ndis/if_ndis_usb.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502242254.j1OMsFl3098794>
