Prev: SDIO devices using SDIO bus Driver on Windows Mobile 6.1
Next: alternate of FSCTL_GET_RETRIEVAL_POINTER_BASE for windows xp
From: Cameroon on 30 Sep 2009 13:25 Could someone tell me if when Windows issues the IRP_MJ_POWER to a device driver that controls a PCI device, it does it sequentially, i.e, it waits for each device driver to complete the request before issuing the IRP_MJ_POWER to the next device driver (there is no relation between the 2 devices)? Or does it send the IRP_MJ_POWER asynchronously to all device drivers? Thanks in advance
From: Maxim S. Shatskih on 2 Oct 2009 06:49 MJ_POWER/System is sequential. MJ_POWER/Device is not, depends on how the PPOs call PoStartNextPowerIrp. -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com "Cameroon" <Cameroon(a)discussions.microsoft.com> wrote in message news:68D445C9-19CE-4D84-80E7-0D92A5B115F9(a)microsoft.com... > Could someone tell me if when Windows issues the IRP_MJ_POWER to a device > driver that controls a PCI device, it does it sequentially, i.e, it waits for > each device driver to complete the request before issuing the IRP_MJ_POWER to > the next device driver (there is no relation between the 2 devices)? Or does > it send the IRP_MJ_POWER asynchronously to all device drivers? > > Thanks in advance > >
From: Cameroon on 5 Oct 2009 10:54 Thanks Maxim. Is the powering down of devices by Windows follow the order by which they've been enumerated on the PCI bus, i.e if 2 independent devices have been enumerated on the PCI as bus:device:function = 4:0:0 and 5:0:0 respectively, will device 4:0:0 always receive the IRP_MJ_POWER (system) before device 5:0:0. Is there a specific order Windows follows for powering down devices? Thanks "Maxim S. Shatskih" wrote: > MJ_POWER/System is sequential. > > MJ_POWER/Device is not, depends on how the PPOs call PoStartNextPowerIrp. > > -- > Maxim S. Shatskih > Windows DDK MVP > maxim(a)storagecraft.com > http://www.storagecraft.com > > "Cameroon" <Cameroon(a)discussions.microsoft.com> wrote in message news:68D445C9-19CE-4D84-80E7-0D92A5B115F9(a)microsoft.com... > > Could someone tell me if when Windows issues the IRP_MJ_POWER to a device > > driver that controls a PCI device, it does it sequentially, i.e, it waits for > > each device driver to complete the request before issuing the IRP_MJ_POWER to > > the next device driver (there is no relation between the 2 devices)? Or does > > it send the IRP_MJ_POWER asynchronously to all device drivers? > > > > Thanks in advance > > > > >
From: Maxim S. Shatskih on 5 Oct 2009 11:53 No such guarantee. -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com "Cameroon" <Cameroon(a)discussions.microsoft.com> wrote in message news:3D983899-D9EC-434A-9A30-1480DE3EE0ED(a)microsoft.com... > Thanks Maxim. > Is the powering down of devices by Windows follow the order by which > they've been enumerated on the PCI bus, i.e if 2 independent devices have > been enumerated on the PCI as bus:device:function = 4:0:0 and 5:0:0 > respectively, will device 4:0:0 always receive the IRP_MJ_POWER (system) > before device 5:0:0. Is there a specific order Windows follows for powering > down devices? > > Thanks > > "Maxim S. Shatskih" wrote: > >> MJ_POWER/System is sequential. >> >> MJ_POWER/Device is not, depends on how the PPOs call PoStartNextPowerIrp. >> >> -- >> Maxim S. Shatskih >> Windows DDK MVP >> maxim(a)storagecraft.com >> http://www.storagecraft.com >> >> "Cameroon" <Cameroon(a)discussions.microsoft.com> wrote in message news:68D445C9-19CE-4D84-80E7-0D92A5B115F9(a)microsoft.com... >> > Could someone tell me if when Windows issues the IRP_MJ_POWER to a device >> > driver that controls a PCI device, it does it sequentially, i.e, it waits for >> > each device driver to complete the request before issuing the IRP_MJ_POWER to >> > the next device driver (there is no relation between the 2 devices)? Or does >> > it send the IRP_MJ_POWER asynchronously to all device drivers? >> > >> > Thanks in advance >> > >> > >>
From: Cameroon on 12 Oct 2009 07:19
Hi, Do you know the order that Windows server 2003 employs? Or is there any entry in the registry that controls the PCI device powerdown order, since I'm seeing different behaviour from one machine to another, with exactly same OS and adapters. Regards "Maxim S. Shatskih" wrote: > No such guarantee. > > -- > Maxim S. Shatskih > Windows DDK MVP > maxim(a)storagecraft.com > http://www.storagecraft.com > > "Cameroon" <Cameroon(a)discussions.microsoft.com> wrote in message news:3D983899-D9EC-434A-9A30-1480DE3EE0ED(a)microsoft.com... > > Thanks Maxim. > > Is the powering down of devices by Windows follow the order by which > > they've been enumerated on the PCI bus, i.e if 2 independent devices have > > been enumerated on the PCI as bus:device:function = 4:0:0 and 5:0:0 > > respectively, will device 4:0:0 always receive the IRP_MJ_POWER (system) > > before device 5:0:0. Is there a specific order Windows follows for powering > > down devices? > > > > Thanks > > > > "Maxim S. Shatskih" wrote: > > > >> MJ_POWER/System is sequential. > >> > >> MJ_POWER/Device is not, depends on how the PPOs call PoStartNextPowerIrp. > >> > >> -- > >> Maxim S. Shatskih > >> Windows DDK MVP > >> maxim(a)storagecraft.com > >> http://www.storagecraft.com > >> > >> "Cameroon" <Cameroon(a)discussions.microsoft.com> wrote in message news:68D445C9-19CE-4D84-80E7-0D92A5B115F9(a)microsoft.com... > >> > Could someone tell me if when Windows issues the IRP_MJ_POWER to a device > >> > driver that controls a PCI device, it does it sequentially, i.e, it waits for > >> > each device driver to complete the request before issuing the IRP_MJ_POWER to > >> > the next device driver (there is no relation between the 2 devices)? Or does > >> > it send the IRP_MJ_POWER asynchronously to all device drivers? > >> > > >> > Thanks in advance > >> > > >> > > >> > |