- NDIS miniport driver
- Posted by Michal Filka on April 19th, 2005
Hi all,
I've following problem. I need low level access to NIC, so I want to create
own NDIS miniport driver.
Questions are:
- is it possible to have two NDIS miniports running for one card in one time
(one which drives card, sends packets and so on = manages normal traffic ...
and second one which is responsible for running my own NIC's commands
sequence and nothing else)?
- I suppose that driver responsible for normal traffic should be "suspended"
during working time of the second one. Is that true?
Thanks for your time ...
Michal
- Posted by Arkady Frenkel on April 19th, 2005
Even that possible to stop OEM miniport driver and start yours and v.v. , do
you know how to talk to OEM's firmware ?
Arkady
"Michal Filka" <michal.filka@atlas.cz> wrote in message
news:O0cO4VMRFHA.3496@TK2MSFTNGP12.phx.gbl...
- Posted by Pavel A. on April 19th, 2005
Hi,
Can you please elaborate what is your "command sequence"?
Does it talk directly to hardware?
You can stop the normal NIC driver, then replace it with yours and start the
device. Then swap your driver in again. But not two drivers at the same time.
--PA
"Michal Filka" wrote:
- Posted by Maxim S. Shatskih on April 20th, 2005
No.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
- Posted by Michal Filka on April 20th, 2005
Hi,
in original driver.
.... and what about original driver initialization if I swap it back? Is it
done again?
MF
- Posted by Michal Filka on April 20th, 2005
I hope so. However, I don't know if changes which I do by this way will
survive restarting
original driver.
MF
"Arkady Frenkel" <arkadyf@hotmailxdotx.com> píše v diskusním příspěvku
news:e6qeoKORFHA.2356@TK2MSFTNGP14.phx.gbl...
- Posted by Michal Filka on April 20th, 2005
Even if I have to write some data into NIC's memory? It sounds impossible
.... It's the
point I want to do ... flush some data into NIC.
MF
- Posted by Arkady Frenkel on April 20th, 2005
If you set them into registry keys driver read from on start that will work
Arkady
"Michal Filka" <michal.filka@atlas.cz> wrote in message
news:u3RM5xYRFHA.164@TK2MSFTNGP12.phx.gbl...
- Posted by Arkady Frenkel on April 20th, 2005
Usually on start miniport driver set firmware with
NdisMapFile() , so if that not reset data you wrote that OK otherwise you
can't .
Arkady
"Michal Filka" <michal.filka@atlas.cz> wrote in message
news:%239QsjUZRFHA.3144@tk2msftngp13.phx.gbl...
- Posted by Pavel A. on April 20th, 2005
"Michal Filka" <michal.filka@atlas.cz> wrote in message news:O6$pehXRFHA.244@TK2MSFTNGP12.phx.gbl...
Anyway - after unloading, yes, the driver will be loaded again and
will do it's initialization.
--PA
- Posted by Michal Filka on April 21st, 2005
Is it possible to somehow suspend miniport driver for some time? I want to
temporary upload my own NDIS miniport, do somethig and then let original
driver run. But I'd like to avoid original driver re-initialization.
Thank's for answers
MF
- Posted by Calvin Guan on April 21st, 2005
Nope. You better off working with the NIC vendor to solve your problem.
---------------------------------
Calvin Guan, Windows DDK MVP
Software Engineer, NT Driver
ATI Technologies Inc. www.ati.com
"Michal Filka" <michal.filka@atlas.cz> wrote in message
news:e$78aLlRFHA.2736@TK2MSFTNGP09.phx.gbl...