I tried handling the EvtDeviceFilterRemoveResourceRequirements in the
function driver and tried to remove the memory resource, but, the device
yellow banged in device manager.
I also read from the forums and WDK documentation that a bus filter driver
could handle the IRP_MN_QUERY_RESOURCE_REQUIREMENTS (
EvtDeviceResourceRequirementsQuery in WDF?) and alter the resource
requirements.
Question 1: Since my device is a PCI device (Bus X, Dev Y, Fn Z) that has
pci.sys as the bus driver, how do I install a bus filter driver for this
device? I need my function driver to install as well so would greatly
appreciate any pointers on how to setup the inf file for this filter driver
(I would prefer a separate inf file for this filter driver if possible, so I
can choose to install this filter or not). I'm assuming writing this filter
driver itself shouldn't be a big deal as it could be a regular WDF driver
that adds the specific PNP event handler that I need.
Question 2: Can I add this PDO event handler in my function driver itself?
If so, will it automatically get tied to the PDO that my function driver is
connecting to?
Appreciate any help/pointers that would allow me to remove the Memory BAR
allocation by the PNP Manager and still allow my function driver to load
fine.
Thanks,
Vasu.
--PA
"Vasudevan Srinivasan" <vas...@gmail.com> wrote in message
news:C4834CE0.2A19%vas...@gmail.com...
"Vasudevan Srinivasan" <vas...@gmail.com> wrote in message
news:C4834CE0.2A19%vas...@gmail.com...
Thanks,
Vasu.
On 6/22/08 3:15 AM, in article #5OriEF1...@TK2MSFTNGP04.phx.gbl, "Pavel
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Alexander Grigoriev" <al...@earthlink.net> wrote in message
news:%23RyohmG...@TK2MSFTNGP06.phx.gbl...
If you own the function driver, as the last sentence implies, then why
can't you just modify the driver to ignore the resource? No one else is
going to try to access your memory space.
--
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.
Thanks,
Vasu.
On 6/23/08 8:57 PM, in article s1s064d7mhp3gr30i...@4ax.com,