Hello Everyone,

I am writing NDIS-WDM Miniport Driver for my USB Network Device. I have
the sample code from Eliyas.

I am able to understand the Win2k/XP way of NDIS-WDM as NDIS5.x supports
built-in NDIS-WDM functionality.

I want to understand what additions or changes required for making the
NDIS-WDM (USB) miniport driver work on Win98/Me.

Thanks in advance for the great help.

Best Regards,

GNRaj

Re: Help on NDIS WDM (USB) Miniport for Win9x by Eliyas

Eliyas
Mon Nov 17 08:43:52 CST 2003

http://support.microsoft.com/default.aspx?scid=kb;en-us;224784

To be compatible on 9x:

a.. Queue incoming packets and use an NdisTimerProc to empty this queue and
indicate packets to upper network layers. This is done in order to guarantee
that the protocols receive these packets at DPC level using a binary
compatible method.

--
--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.




"GNRaj" <gnraj@amplewave.com> wrote in message
news:ODHdYtNrDHA.1096@TK2MSFTNGP11.phx.gbl...
> Hello Everyone,
>
> I am writing NDIS-WDM Miniport Driver for my USB Network Device. I have
> the sample code from Eliyas.
>
> I am able to understand the Win2k/XP way of NDIS-WDM as NDIS5.x supports
> built-in NDIS-WDM functionality.
>
> I want to understand what additions or changes required for making the
> NDIS-WDM (USB) miniport driver work on Win98/Me.
>
> Thanks in advance for the great help.
>
> Best Regards,
>
> GNRaj
>



Re: Help on NDIS WDM (USB) Miniport for Win9x by GNRaj

GNRaj
Mon Nov 17 21:19:36 CST 2003

Thanks Eliyas.

I would like to know the differences in the initialization code. In
NDIS5.x (Win2k and above), the NDIS does everything for WDM like
AddDevice, IoAttachDeviceToDeviceStack, etc. But in case of Win9x
(98/ME), NDIS4.x does not do this. So, what should be the initialization
procedure for setting up the WDM stack with NDIS?

Thanks in advance

Best Regards,

GNRaj

Eliyas Yakub [MSFT] wrote:
> http://support.microsoft.com/default.aspx?scid=kb;en-us;224784
>
> To be compatible on 9x:
>
> a.. Queue incoming packets and use an NdisTimerProc to empty this queue and
> indicate packets to upper network layers. This is done in order to guarantee
> that the protocols receive these packets at DPC level using a binary
> compatible method.
>


Re: Help on NDIS WDM (USB) Miniport for Win9x by Eliyas

Eliyas
Tue Nov 18 10:26:44 CST 2003

You should specify 5.0 as your NDIS version on 98SE and ME for NDIS-WDM to
work.

--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx



Re: Help on NDIS WDM (USB) Miniport for Win9x by GNRaj

GNRaj
Tue Nov 18 22:26:11 CST 2003

Thanks Eliyas.

I got to know that Win98SE and WinME have NDIS 4.x. If I specify my NDIS
version as 5.0 how does it work? Does this mean that 98SE and ME have
support for NDIS 5.0 drivers and NDIS-WDM Drivers? Can I use all the
features of NDIS5.0 like unload handler etc. on 98SE and ME?

Do I have to install any patch for making the NDIS-WDM (5.0) work on
98SE and ME?

What should I do for the Win98 Gold (version previous to SE)?

Thanks in advance for the great help.

--GNRaj

Eliyas Yakub [MSFT] wrote:
> You should specify 5.0 as your NDIS version on 98SE and ME for NDIS-WDM to
> work.
>


Re: Help on NDIS WDM (USB) Miniport for Win9x by Eliyas

Eliyas
Tue Nov 18 23:58:42 CST 2003

My knowledge of 9x system is very close to zero. All I know is that Win98 SE
and ME support NDIS 5.0. So just try it out and see what works and what
doesn't. May be you can post your experience here for posterity. Several
folks have written ndis-wdm drivers successfully for these OSes. Byran
Burgin from MS knows more about 9x NDIS. Contact MS support and he might be
able to help you.

--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.



Re: Help on NDIS WDM (USB) Miniport for Win9x by Stephan

Stephan
Wed Nov 19 12:53:11 CST 2003

Windows 98 "gold" supports NDIS 4.1, 98SE and ME support NDIS 5.0, see
also section "NDIS Versions" in the DDK docs
(http://msdn.microsoft.com/library/en-us/network/hh/network/103prog_4qjr.asp).

Note, however, that support for NDIS 5.0 in SE is not complete, don't
remember for ME. For instance, IIRC, NdisMInitializeScatterGatherDma()
is a no-op in SE.

I don't know about WDM support in SE/ME, but there *might* be
restrictions.

Stephan
---
On Wed, 19 Nov 2003 09:56:11 +0530, GNRaj <gnraj@amplewave.com> wrote:

>Thanks Eliyas.
>
>I got to know that Win98SE and WinME have NDIS 4.x. If I specify my NDIS
>version as 5.0 how does it work? Does this mean that 98SE and ME have
>support for NDIS 5.0 drivers and NDIS-WDM Drivers? Can I use all the
>features of NDIS5.0 like unload handler etc. on 98SE and ME?
>
>Do I have to install any patch for making the NDIS-WDM (5.0) work on
>98SE and ME?
>
>What should I do for the Win98 Gold (version previous to SE)?
>
>Thanks in advance for the great help.
>
>--GNRaj
>
>Eliyas Yakub [MSFT] wrote:
>> You should specify 5.0 as your NDIS version on 98SE and ME for NDIS-WDM to
>> work.