From 9a7c33526378b3901cefc5407b491c1ec4d0e3b9 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Wed, 17 Nov 2004 13:10:01 +0000 Subject: [PATCH] Implement NdisOverrideBusNumber. svn path=/trunk/; revision=11686 --- reactos/drivers/net/ndis/ndis/50gone.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/net/ndis/ndis/50gone.c b/reactos/drivers/net/ndis/ndis/50gone.c index 51b863ca76b..24c3fbaea99 100644 --- a/reactos/drivers/net/ndis/ndis/50gone.c +++ b/reactos/drivers/net/ndis/ndis/50gone.c @@ -259,7 +259,7 @@ NdisMapIoSpace( /* - * @unimplemented + * @implemented */ VOID EXPORT @@ -274,7 +274,12 @@ NdisOverrideBusNumber( * NDIS 4.0 */ { - UNIMPLEMENTED + PWRAPPER_CONTEXT WrapperContext = (PWRAPPER_CONTEXT)WrapperConfigurationContext; + PLOGICAL_ADAPTER Adapter = (PLOGICAL_ADAPTER)MiniportAdapterHandle; + + WrapperContext->BusNumber = BusNumber; + if (Adapter) + Adapter->BusNumber = BusNumber; }