Thanks to both p and d for pointing out a logical bug when it comes down to
PnP type device.
So for start time equals boot, sure Zw*() might not work as peter pointed
out…
And yes, it should wait for the PNP start device to be finished.
Also the firmware download I mentioned was for (sort of remote ) device(s),
forgot most of the
detail, and it was on nt4.0 so was bit hodge-podge I suppose to todays std.
-pro
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Doron Holan
Sent: Monday, November 15, 2004 5:36 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] download firmware file to device
AddDevice is not the correct time b/c your device is not fully powered
yet. If it is a PCI device, the bars are accessible, but the remainder
of the device outside of config space is not. For any pnp driver, you
must wait for start to complete back to your FDO before you attempt to
touch your hw outside of config space.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Programmers
Society Prokash Sinha
Sent: Monday, November 15, 2004 5:28 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] download firmware file to device
For PnP enabled ( which is a must by the way yes DriverEntry is not
the right place, but there are drivers which like to do handshaking with
the other end after downloading firmware from DriverInitialization (
whatever be the form >, and only becomes alive if all are Okay. Have
seen and designed(ported ) two of them to NT4.0. So may be the closest I
was thinking would be in AddDevice(), but then for multifunction it
would be called multipletimes, again would be a bad idea, well of course
it could verify by putting one extra field to the extension, and check
(though I dont like those kinds including static vars :)…
-pro
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com