freebsd-nq/sys/compat
Bill Paul d7e92f7b85 In NDIS 5.1 miniport drivers, the shutdown handler function pointer
is provided to NDIS via the the miniport characteristics structure
supplied in the call to NdisMRegisterMiniport(). But in NDIS 5.0
and earlier, you had to call NdisMRegisterAdapterShutdownHandler()
and supply both a function pointer and context pointer.

We try to handle both cases in ndis_shutdown_nic(). If the
driver registered a shutdown routine and a context,then used
that context, otherwise pass it the adapter context from
NdisMSetAttributesEx().

This fixes a panic on shutdown with the sample Intel 82559 e100bex.sys
driver from the Windows DDK.
function pointer
2003-12-12 05:27:58 +00:00
..
freebsd32 regen 2003-12-11 02:36:37 +00:00
ia32 Move the ia32_sigtramp.S file back under amd64/. This interfaces closely 2003-12-11 01:09:51 +00:00
linprocfs Use mp_ncpus instead of the hw.ncpu sysctl. 2003-12-07 17:38:20 +00:00
linux Do not call VOP_GETATTR in getdents function. It does not serve any 2003-11-19 04:12:32 +00:00
ndis In NDIS 5.1 miniport drivers, the shutdown handler function pointer 2003-12-12 05:27:58 +00:00
netbsd Don't include <sys/buf.h> needlessly. 2003-04-01 09:02:58 +00:00
pecoff Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
svr4 Do not call VOP_GETATTR in getdents function. It does not serve any 2003-11-19 04:12:32 +00:00