I do have a sample template driver that describes how an NDIS driver can
interface with USB stack. Send me a note with your email address that
accepts Zip files and I will email it to you.
-Eliyas
-----Original Message-----
From: Mathias Ellinger [mailto:xxxxx@ellisoft.de]
Sent: Wednesday, January 03, 2001 12:07 PM
To: NT Developers Interest List
Subject: [ntdev] Re: sample program for NDIS_WDM driver ??
Hello ,
jtc> 1). Is it possible to use the thread to IRP_MJ_READ pending on
the
jtc> NIC driver ?
Why using a thread? The only reason for a thread. is to do some things
at passive level. When I have a archirecture with a async notification
than I can use this events for my data pump.
starts with IRP_MJ_READ/IRP_MJ_INTERENAL_DEVICE_CONTORL
NdisSend/NdisWanSend/CoSendPacket ->
IRP_MJ_WRITE/IRP_MJ_INTERENAL_DEVICE_CONTORL
NdisMSendComplete
NdisMWanSendComplete <– IOCompletionHandler
NdisMCoSendComplete (IRP_MJ_WRITE)
NdisMCoIndicateReceivePacket
NdisMWanIndicateReceive <– IOCompletionHandler
NdisMIndicateReceivePacket (IRP_MJ_READ)
starts next IRP_MJ_READ/IRP_MJ_INTERENAL_DEVICE_CONTORL
When you use a thread you can trigger this thread with the IO
completion.
jtc> if possible, Is it suitable for MS syntax(ie. WHQL) ?
jtc> 2). I have NIC dirver ver 3.0. is It possible that use the nic
dirver
jtc> to convert NDIS-WDM Driver?
If this a full NIC driver than this is a great job. The best way, is to
design
a new architecture and use new code. Ok with copy and past you can reuse
some
old code.
jtc> 3). Who has the sample source about NDIS-WDM(or NDIS/USB)?
Here is no sample. From my point of view this is very simple and
normal driver - driver communication.
elli
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com