I am using pci card, PNP manager allocate resources for that PCI card, in
start device, i use this resource for read as write operation. IN worst case
what are the possiblities PNP manager not to allocate resources for my pci
card. How i test this situation in MY pc.

Regards;
B.sudhakar.

Re: When will PNP manager do not allocate resources for PCI card. by Doron

Doron
Tue Dec 27 09:57:23 CST 2005

if the pnp manager cannot assign resources to your driver, the device will
never get a start device irp. you will go from the AddDevice state ->
IRP_MN_REMOVE_DEVICE.

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.


"sudhakar" <sudhakar@discussions.microsoft.com> wrote in message
news:52EFB200-EA8A-4AED-8B07-E5A9CD1C00BA@microsoft.com...
>I am using pci card, PNP manager allocate resources for that PCI card, in
> start device, i use this resource for read as write operation. IN worst
> case
> what are the possiblities PNP manager not to allocate resources for my pci
> card. How i test this situation in MY pc.
>
> Regards;
> B.sudhakar.



Re: When will PNP manager do not allocate resources for PCI card. by pavel_a

pavel_a
Tue Dec 27 10:29:04 CST 2005

"Doron Holan [MS]" wrote:
> if the pnp manager cannot assign resources to your driver, the device will
> never get a start device irp. you will go from the AddDevice state ->
> IRP_MN_REMOVE_DEVICE.

Doron,
in this case why Windows loads the driver and calls AddDevice at all?

--PA


Re: When will PNP manager do not allocate resources for PCI card. by Doron

Doron
Tue Dec 27 20:06:08 CST 2005

because the driver stack can potentially change the resource requirements
before the resource arbitration is completed. that is the role of
IRP_MN_FILTER_RESOURCE_REQUIREMENTS; this is where the FDO or an other
devobj in the stack other then the PDO can change the io resource
requirements list(s) before they are finalized.

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.


"Pavel A." <pavel_a@NOwritemeNO.com> wrote in message
news:95C1029E-38E2-4674-8ADE-7E5E93D3F92F@microsoft.com...
> "Doron Holan [MS]" wrote:
>> if the pnp manager cannot assign resources to your driver, the device
>> will
>> never get a start device irp. you will go from the AddDevice state ->
>> IRP_MN_REMOVE_DEVICE.
>
> Doron,
> in this case why Windows loads the driver and calls AddDevice at all?
>
> --PA
>