Hi all,
we have developed a NDIS miniport driver for our device.I want know,whether there is any way to write an IOCTL interface to a NDIS miniport driver,so that our propritory applications can write/read device registers for some debugging purposes.Already PCI memory base address is avalable on the miniport driver.So if the application has some interface to driver to call CreateFile/ReadFile/WriteFile, to the miniport,miniport is able to repond to those request.
Welcome any suggestion.
Thanks in advance,
Reeja
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
Reeja,
-
Take a look at NdisMRegisterDevice in the DDK (don’t use
IoCreateDevice/IoCreateSymbolicName in a miniport).
-
or you can have a thin protocol driver bound to your miniport that
exposes a IOCTL interface to your user-space application (via
IoCreateDevice and IoCreateSymbolicName) and then passes your miniport
private OIDs via NdisRequest. See the NDISUIO sample.
-
or review use of IOCTL_NDIS_QUERY_GLOBAL_STATS in the NT4 DDK MACADDR
sample for passing OIDs down to your miniport. This method is not
available in 9x/ME.
Bryan S. Burgin
xxxxx@microsoft.com
This posting is provided “AS IS” with no warranties, and confers no
rights (c) 2002 Microsoft Corporation. All rights reserved.
-----Original Message-----
From: xxxxx@amd.com [mailto:xxxxx@amd.com]
Sent: Tuesday, February 12, 2002 10:42 AM
To: NT Developers Interest List
Subject: [ntdev] ioctl interface on NDIS miniport ?
Hi all,
we have developed a NDIS miniport driver for our device.I want
know,whether there is any way to write an IOCTL interface to a NDIS
miniport driver,so that our propritory applications can write/read
device registers for some debugging purposes.Already PCI memory base
address is avalable on the miniport driver.So if the application has
some interface to driver to call CreateFile/ReadFile/WriteFile, to the
miniport,miniport is able to repond to those request.
Welcome any suggestion.
Thanks in advance,
Reeja
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
See the PCAUSA KB Topic "NDIS Miniport User-Mode Interface Techniques: at
the URL:
http://www.pcausa.com/support/KB10290101.htm
(Please let me know if anyone finds any bum info in this note…)
Good luck,
Thomas F. Divine
PCAUSA - Tools & Resources For Network Software Developers
NDIS Protocol/Intermediate/Hooking - TDI Client/Filter
http: - http:
wrote in message news:xxxxx@ntdev…
>
> Hi all,
> we have developed a NDIS miniport driver for our device.I want
know,whether there is any way to write an IOCTL interface to a NDIS
miniport driver,so that our propritory applications can write/read device
registers for some debugging purposes.Already PCI memory base address is
avalable on the miniport driver.So if the application has some interface to
driver to call CreateFile/ReadFile/WriteFile, to the miniport,miniport is
able to repond to those request.
>
> Welcome any suggestion.
> Thanks in advance,
> Reeja
>
—
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</http:></http:>