diff options
author | wpaul <wpaul@FreeBSD.org> | 2005-04-01 16:40:22 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2005-04-01 16:40:22 +0000 |
commit | 5f091f4a37dbaf121ca0924090a7a29b2b2e5e68 (patch) | |
tree | 5785f1e1b32b93898e84adf6637fae5138dbe185 /sys/compat | |
parent | a3666578080a1518f6b1e3fc82046685cefa8bce (diff) | |
download | FreeBSD-src-5f091f4a37dbaf121ca0924090a7a29b2b2e5e68.zip FreeBSD-src-5f091f4a37dbaf121ca0924090a7a29b2b2e5e68.tar.gz |
Fix another KeInitializeDpc()/amd64 calling convention issue:
ndis_intrhand() has to be wrapped for the same reason as ndis_timercall().
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/ndis/kern_ndis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/ndis/kern_ndis.c b/sys/compat/ndis/kern_ndis.c index 3c512cc..1552826 100644 --- a/sys/compat/ndis/kern_ndis.c +++ b/sys/compat/ndis/kern_ndis.c @@ -93,6 +93,7 @@ static image_patch_table kernndis_functbl[] = { IMPORT_FUNC(ndis_getdone_func), IMPORT_FUNC(ndis_resetdone_func), IMPORT_FUNC(ndis_sendrsrcavail_func), + IMPORT_FUNC(ndis_intrhand), { NULL, NULL, NULL } }; @@ -1718,7 +1719,7 @@ NdisAddDevice(drv, pdo) sc->ndis_block = block; sc->ndis_chars = IoGetDriverObjectExtension(drv, (void *)1); - IoInitializeDpcRequest(fdo, ndis_intrhand); + IoInitializeDpcRequest(fdo, kernndis_functbl[6].ipt_wrap); /* Finish up BSD-specific setup. */ |