diff options
author | wpaul <wpaul@FreeBSD.org> | 2005-01-24 18:18:12 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2005-01-24 18:18:12 +0000 |
commit | 361515a4123365d5eb5137c5f6a99d0db50f2532 (patch) | |
tree | 1c0aadaea645e3e592893a0cc4e411d7f0e6b3a9 /sys/dev/pccard/pccarddevs | |
parent | 9797bcb293408b39a9ccf1af6d41f9297ce7bec3 (diff) | |
download | FreeBSD-src-361515a4123365d5eb5137c5f6a99d0db50f2532.zip FreeBSD-src-361515a4123365d5eb5137c5f6a99d0db50f2532.tar.gz |
Begin the first phase of trying to add IRP support (and ultimately
USB device support):
- Convert all of my locally chosen function names to their actual
Windows equivalents, where applicable. This is a big no-op change
since it doesn't affect functionality, but it helps avoid a bit
of confusion (it's now a lot easier to see which functions are
emulated Windows API routines and which are just locally defined).
- Turn ndis_buffer into an mdl, like it should have been. The structure
is the same, but now it belongs to the subr_ntoskrnl module.
- Implement a bunch of MDL handling macros from Windows and use them where
applicable.
- Correct the implementation of IoFreeMdl().
- Properly implement IoAllocateMdl() and MmBuildMdlForNonPagedPool().
- Add the definitions for struct irp and struct driver_object.
- Add IMPORT_FUNC() and IMPORT_FUNC_MAP() macros to make formatting
the module function tables a little cleaner. (Should also help
with AMD64 support later on.)
- Fix if_ndis.c to use KeRaiseIrql() and KeLowerIrql() instead of
the previous calls to hal_raise_irql() and hal_lower_irql() which
have been renamed.
The function renaming generated a lot of churn here, but there should
be very little operational effect.
Diffstat (limited to 'sys/dev/pccard/pccarddevs')
0 files changed, 0 insertions, 0 deletions